Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Where to specify JAR files dependant on a Java component

8 posts in Java J2EE specific Last posting was on 2008-10-16 10:00:03.0Z
Anuj Kumar Posted on 2008-10-08 12:31:36.0Z
Sender: 45b4.48eca4fd.1804289383@sybase.com
From: Anuj Kumar
Newsgroups: sybase.public.easerver.j2ee
Subject: Where to specify JAR files dependant on a Java component
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48eca828.4639.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Oct 2008 05:31:36 -0700
X-Trace: forums-1-dub 1223469096 10.22.241.41 (8 Oct 2008 05:31:36 -0700)
X-Original-Trace: 8 Oct 2008 05:31:36 -0700, 10.22.241.41
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7884
Article PK: 208310

Hi I am trying to deploy a Java component that refrences
some Java classes present in a jar file. I have kept the
dependant JAR files in java/classes subdirectory but still
EAServer 6 is not able to locate them. Does anyone have any
idea where Do i have to include the dependant jar files and
how. I read in the Sybase manuals that I need to specify the
com.sybase.jaguar.component.java.classes or
com.sybase.jaguar.application.java.classes property.
I specified this property in the advanced tab of my
component deployed under CORBA PAckage. So the hierarchy in
the MAnagement Console looks like this: Sybase Management
Console ->EAServer Manager -> Local Server -> CORBA PAckages
-> <my package name> -> Components -> <myComponent> and then
when i click on My Component I get two tabs in the right
pane of the management console : General and Advanced. I
specify the property
com.sybase.jaguar.component.java.classes in the advanced tab
by saying add property and the value to this property is a
comma seperated list of JAR files that are present in the
java/classes subdirectory. The list of JAR files have
following values hessian-3.0.20.jar,spring-aop.jar.
But it is not working and I am getting
java.lang.NoClassDefFoundError.
Can anyone point me to the right direction?


Evan Ireland Posted on 2008-10-08 18:35:30.0Z
From: Evan Ireland <eireland@sybase.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
References: <48eca828.4639.1681692777@sybase.com>
In-Reply-To: <48eca828.4639.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48ecfd72$1@forums-1-dub>
Date: 8 Oct 2008 11:35:30 -0700
X-Trace: forums-1-dub 1223490930 10.22.241.152 (8 Oct 2008 11:35:30 -0700)
X-Original-Trace: 8 Oct 2008 11:35:30 -0700, vip152.sybase.com
Lines: 32
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7885
Article PK: 208311

Anuj,

Either you can edit the "Class Path" property of the "ejb.components.<my
package name>" Class Loader (in the web console), which will permit
refresh of these classes, or if the classes are going to be potentially
shared by multiple packages you can put them in the lib/ext directory.

Anuj Kumar wrote:
> Hi I am trying to deploy a Java component that refrences
> some Java classes present in a jar file. I have kept the
> dependant JAR files in java/classes subdirectory but still
> EAServer 6 is not able to locate them. Does anyone have any
> idea where Do i have to include the dependant jar files and
> how. I read in the Sybase manuals that I need to specify the
> com.sybase.jaguar.component.java.classes or
> com.sybase.jaguar.application.java.classes property.
> I specified this property in the advanced tab of my
> component deployed under CORBA PAckage. So the hierarchy in
> the MAnagement Console looks like this: Sybase Management
> Console ->EAServer Manager -> Local Server -> CORBA PAckages
> -> <my package name> -> Components -> <myComponent> and then
> when i click on My Component I get two tabs in the right
> pane of the management console : General and Advanced. I
> specify the property
> com.sybase.jaguar.component.java.classes in the advanced tab
> by saying add property and the value to this property is a
> comma seperated list of JAR files that are present in the
> java/classes subdirectory. The list of JAR files have
> following values hessian-3.0.20.jar,spring-aop.jar.
> But it is not working and I am getting
> java.lang.NoClassDefFoundError.
> Can anyone point me to the right direction?


Anuj Kumar Posted on 2008-10-09 10:47:26.0Z
Sender: 45b4.48eca4fd.1804289383@sybase.com
From: Anuj Kumar
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48ede13e.6e31.1681692777@sybase.com>
References: <48ecfd72$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Oct 2008 03:47:26 -0700
X-Trace: forums-1-dub 1223549246 10.22.241.41 (9 Oct 2008 03:47:26 -0700)
X-Original-Trace: 9 Oct 2008 03:47:26 -0700, 10.22.241.41
Lines: 62
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7886
Article PK: 208312

Evan,
I tried what you told me to. But its not working still. I
changed the class path of my ejb.components.<my corba
package> Class Loader and still it didnt work.
Here are the key value pairs that are displayed in my
classloader:

Class
Path:~/deploy/ejbjars/anujtest;~/genfiles/java/classes;
Parent Loader: default
Parent First (the check box is ticked)
Resolve First Locally: (blank)
Resolve First By Parent: (blank)
Resolve First By System:org.apache.commons.logging.**,
javax.xml.parsers.**, org.w3c.dom.**, org.xml.sax.**,
org.apache.axis.**
Clean Up Delay Time: 10


I also tried keeping my JAR files in lib/ext directory, but
again it didnt work. :-(

Its driving me nuts to figure out the exact place where and
how to include my JAR Files.

> Anuj,
>
> Either you can edit the "Class Path" property of the
> "ejb.components.<my package name>" Class Loader (in the
> web console), which will permit refresh of these classes,
> or if the classes are going to be potentially shared by
> multiple packages you can put them in the lib/ext
> directory.
>
> Anuj Kumar wrote:
> > Hi I am trying to deploy a Java component that refrences
> > some Java classes present in a jar file. I have kept the
> > dependant JAR files in java/classes subdirectory but
> > still EAServer 6 is not able to locate them. Does anyone
> > have any idea where Do i have to include the dependant
> > jar files and how. I read in the Sybase manuals that I
> > need to specify the
> > com.sybase.jaguar.component.java.classes or
> > com.sybase.jaguar.application.java.classes property. I
> > specified this property in the advanced tab of my
> component deployed under CORBA PAckage. So the hierarchy
> > in the MAnagement Console looks like this: Sybase
> > Management Console ->EAServer Manager -> Local Server ->
> > CORBA PAckages -> <my package name> -> Components ->
> > <myComponent> and then when i click on My Component I
> > get two tabs in the right pane of the management console
> > : General and Advanced. I specify the property
> > com.sybase.jaguar.component.java.classes in the advanced
> > tab by saying add property and the value to this
> > property is a comma seperated list of JAR files that are
> > present in the java/classes subdirectory. The list of
> > JAR files have following values hessian-3.0.20.jar
> > ,spring-aop.jar. But it is not working and I am getting
> > java.lang.NoClassDefFoundError.
> > Can anyone point me to the right direction?


Evan Ireland [Sybase] Posted on 2008-10-09 21:12:37.0Z
From: "Evan Ireland [Sybase]" <eireland@sybase.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
References: <48ecfd72$1@forums-1-dub> <48ede13e.6e31.1681692777@sybase.com>
In-Reply-To: <48ede13e.6e31.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48ee73c5$1@forums-1-dub>
Date: 9 Oct 2008 14:12:37 -0700
X-Trace: forums-1-dub 1223586757 10.22.241.152 (9 Oct 2008 14:12:37 -0700)
X-Original-Trace: 9 Oct 2008 14:12:37 -0700, vip152.sybase.com
Lines: 72
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7887
Article PK: 208314

Anuj,

Can we see a stack trace showing the class loading error(s) you get when
the JAR files are placed in the lib/ext folder?

(Any JARs ion the folder get added to the -classpath option with which
the server is started, so they will be loaded by the system class loader
(i.e. the default Java class loader).

Anuj Kumar wrote:
> Evan,
> I tried what you told me to. But its not working still. I
> changed the class path of my ejb.components.<my corba
> package> Class Loader and still it didnt work.
> Here are the key value pairs that are displayed in my
> classloader:
>
> Class
> Path:~/deploy/ejbjars/anujtest;~/genfiles/java/classes;
> Parent Loader: default
> Parent First (the check box is ticked)
> Resolve First Locally: (blank)
> Resolve First By Parent: (blank)
> Resolve First By System:org.apache.commons.logging.**,
> javax.xml.parsers.**, org.w3c.dom.**, org.xml.sax.**,
> org.apache.axis.**
> Clean Up Delay Time: 10
>
>
> I also tried keeping my JAR files in lib/ext directory, but
> again it didnt work. :-(
>
> Its driving me nuts to figure out the exact place where and
> how to include my JAR Files.
>
>
>
>> Anuj,
>>
>> Either you can edit the "Class Path" property of the
>> "ejb.components.<my package name>" Class Loader (in the
>> web console), which will permit refresh of these classes,
>> or if the classes are going to be potentially shared by
>> multiple packages you can put them in the lib/ext
>> directory.
>>
>> Anuj Kumar wrote:
>>> Hi I am trying to deploy a Java component that refrences
>>> some Java classes present in a jar file. I have kept the
>>> dependant JAR files in java/classes subdirectory but
>>> still EAServer 6 is not able to locate them. Does anyone
>>> have any idea where Do i have to include the dependant
>>> jar files and how. I read in the Sybase manuals that I
>>> need to specify the
>>> com.sybase.jaguar.component.java.classes or
>>> com.sybase.jaguar.application.java.classes property. I
>>> specified this property in the advanced tab of my
>> component deployed under CORBA PAckage. So the hierarchy
>>> in the MAnagement Console looks like this: Sybase
>>> Management Console ->EAServer Manager -> Local Server ->
>>> CORBA PAckages -> <my package name> -> Components ->
>>> <myComponent> and then when i click on My Component I
>>> get two tabs in the right pane of the management console
>>> : General and Advanced. I specify the property
>>> com.sybase.jaguar.component.java.classes in the advanced
>>> tab by saying add property and the value to this
>>> property is a comma seperated list of JAR files that are
>>> present in the java/classes subdirectory. The list of
>>> JAR files have following values hessian-3.0.20.jar
>>> ,spring-aop.jar. But it is not working and I am getting
>>> java.lang.NoClassDefFoundError.
>>> Can anyone point me to the right direction?


Anuj Kumar Posted on 2008-10-14 08:57:32.0Z
Sender: 51e5.48f44de1.1804289383@sybase.com
From: Anuj KUmar
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48f45efc.5350.1681692777@sybase.com>
References: <48ee73c5$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 Oct 2008 01:57:32 -0700
X-Trace: forums-1-dub 1223974652 10.22.241.41 (14 Oct 2008 01:57:32 -0700)
X-Original-Trace: 14 Oct 2008 01:57:32 -0700, 10.22.241.41
Lines: 591
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7888
Article PK: 208317

Hi Evan,
Sorry for replying late.
Here is the stack trace that I am getting when i place my
jar file containing
org/springframework/context/support/ClassPathXmlApplicationContext
java class in the lib/ext directory.
Also, I went a step further and included my JAR file in all
the possible Java folders under EAServer6 directory and
still I got the same error.

Also I would like to bring to your notice that in the class
loader folder in the management console, there are few class
loaders that have ~/java/classes set in their classpath
variable which is not correct as there is no Java/classes
folder under the Easerver deployment directory. Acc to me
it should be genfiles/java/classes.

Here is the stack trace:

2008-10-09 16:14:12.118 INFO Thread-83 [SystemException]
java.rmi.RemoteException was thrown by method
ejb.components.anujtest.testanujRemote.test()
2008-10-09 16:14:12.118 INFO Thread-83
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
class loader: ejb.components.anujtest, class name :
org.springframework.context.support.ClassPathXmlApplicationContext
2008-10-09 16:14:12.118 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError: class loader:
ejb.components.anujtest, class name :
org.springframework.context.support.ClassPathXmlApplicationContext
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader.java:858)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLoader_DJC.java:1042)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:150)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1168)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:122)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1126)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:102)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1084)
2008-10-09 16:14:12.118 INFO Thread-83 | at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
2008-10-09 16:14:12.118 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:12.118 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:12.118 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:12.118 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:12.118 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:12.118 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:12.118 INFO Thread-83
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:12.118 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:12.118 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:12.118 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:12.118 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:12.118 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:12.118 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:12.118 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:12.118 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:12.118 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:12.165 INFO Thread-83 [SystemException]
com.sybase.djc.SystemException was thrown by method
com.sybase.jaguar.server.JaguarServer.iiopHandler
2008-10-09 16:14:12.165 INFO Thread-83
com.sybase.djc.SystemException
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:12.165 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:12.165 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:12.165 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:12.165 INFO Thread-83 Caused by:
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
class loader: ejb.components.anujtest, class name :
org.springframework.context.support.ClassPathXmlApplicationContext
2008-10-09 16:14:12.165 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError: class loader:
ejb.components.anujtest, class name :
org.springframework.context.support.ClassPathXmlApplicationContext
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader.java:858)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLoader_DJC.java:1042)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:150)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1168)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:122)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1126)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:102)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1084)
2008-10-09 16:14:12.165 INFO Thread-83 | at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
2008-10-09 16:14:12.165 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:12.165 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:12.165 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:12.165 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:12.165 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:12.165 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:12.165 INFO Thread-83
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:12.165 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:12.165 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:12.165 INFO Thread-83 ... 7 more
2008-10-09 16:14:20.650 INFO Thread-83 [ConsoleOutput] It
worked again!!!
2008-10-09 16:14:20.650 INFO Thread-83 [SystemException]
java.rmi.RemoteException was thrown by method
ejb.components.anujtest.testanujRemote.test()
2008-10-09 16:14:20.650 INFO Thread-83
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:20.650 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:20.650 INFO Thread-83
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:20.650 INFO Thread-83 [SystemException]
com.sybase.djc.SystemException was thrown by method
com.sybase.jaguar.server.JaguarServer.iiopHandler
2008-10-09 16:14:20.650 INFO Thread-83
com.sybase.djc.SystemException
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:20.650 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:20.650 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:20.650 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:20.650 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:20.650 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:20.650 INFO Thread-83
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:20.650 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:20.650 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:20.650 INFO Thread-83 ... 7 more
2008-10-09 16:14:34.743 INFO Thread-83 [ConsoleOutput] It
worked again!!!
2008-10-09 16:14:34.743 INFO Thread-83 [SystemException]
java.rmi.RemoteException was thrown by method
ejb.components.anujtest.testanujRemote.test()
2008-10-09 16:14:34.743 INFO Thread-83
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:34.743 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:34.743 INFO Thread-83
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:34.743 INFO Thread-83 [SystemException]
com.sybase.djc.SystemException was thrown by method
com.sybase.jaguar.server.JaguarServer.iiopHandler
2008-10-09 16:14:34.743 INFO Thread-83
com.sybase.djc.SystemException
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:34.743 INFO Thread-83 at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
java.rmi.RemoteException: java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
java.lang.NoClassDefFoundError:
org/springframework/context/support/ClassPathXmlApplicationContext
2008-10-09 16:14:34.743 INFO Thread-83 | at
org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:34.743 INFO Thread-83 | at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
2008-10-09 16:14:34.743 INFO Thread-83 | at
com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-10-09 16:14:34.743 INFO Thread-83 | at
java.lang.Thread.run(Thread.java:619)
2008-10-09 16:14:34.743 INFO Thread-83
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
2008-10-09 16:14:34.743 INFO Thread-83 at
com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
2008-10-09 16:14:34.743 INFO Thread-83 at
ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
2008-10-09 16:14:34.743 INFO Thread-83 ... 7 more
2008-10-09 16:14:47.275 INFO btpool0-3
[TilesRequestProcessor] Tiles definition factory found for
request processor '/easmgmplugin'.

> Anuj,
>
> Can we see a stack trace showing the class loading
> error(s) you get when the JAR files are placed in the
> lib/ext folder?
>
> (Any JARs ion the folder get added to the -classpath
> option with which the server is started, so they will be
> loaded by the system class loader (i.e. the default Java
> class loader).
>
> Anuj Kumar wrote:
> > Evan,
> > I tried what you told me to. But its not working still.
> > I changed the class path of my ejb.components.<my corba
> > package> Class Loader and still it didnt work.
> > Here are the key value pairs that are displayed in my
> > classloader:
> >
> > Class
> > Path:~/deploy/ejbjars/anujtest;~/genfiles/java/classes;
> > Parent Loader: default
> > Parent First (the check box is ticked)
> > Resolve First Locally: (blank)
> > Resolve First By Parent: (blank)
> > Resolve First By System:org.apache.commons.logging.**,
> > javax.xml.parsers.**, org.w3c.dom.**, org.xml.sax.**,
> > org.apache.axis.**
> > Clean Up Delay Time: 10
> >
> >
> > I also tried keeping my JAR files in lib/ext directory,
> > but again it didnt work. :-(
> >
> > Its driving me nuts to figure out the exact place where
> > and how to include my JAR Files.
> >
> >
> >
> >> Anuj,
> >>
> >> Either you can edit the "Class Path" property of the
> >> "ejb.components.<my package name>" Class Loader (in
> the >> web console), which will permit refresh of these
> classes, >> or if the classes are going to be potentially
> shared by >> multiple packages you can put them in the
> lib/ext >> directory.
> >>
> >> Anuj Kumar wrote:
> >>> Hi I am trying to deploy a Java component that
> refrences >>> some Java classes present in a jar file. I
> have kept the >>> dependant JAR files in java/classes
> subdirectory but >>> still EAServer 6 is not able to
> locate them. Does anyone >>> have any idea where Do i have
> to include the dependant >>> jar files and how. I read in
> the Sybase manuals that I >>> need to specify the
> >>> com.sybase.jaguar.component.java.classes or
> >>> com.sybase.jaguar.application.java.classes property. I
> >>> specified this property in the advanced tab of my
> >> component deployed under CORBA PAckage. So the
> hierarchy >>> in the MAnagement Console looks like this:
> Sybase >>> Management Console ->EAServer Manager -> Local
> Server -> >>> CORBA PAckages -> <my package name> ->
> Components -> >>> <myComponent> and then when i click on
> My Component I >>> get two tabs in the right pane of the
> management console >>> : General and Advanced. I specify
> the property >>> com.sybase.jaguar.component.java.classes
> in the advanced >>> tab by saying add property and the
> value to this >>> property is a comma seperated list of
> JAR files that are >>> present in the java/classes
> subdirectory. The list of >>> JAR files have following
> values hessian-3.0.20.jar >>> ,spring-aop.jar. But it is
> not working and I am getting >>>
> java.lang.NoClassDefFoundError. >>> Can anyone point me to
> the right direction?


Evan Ireland [Sybase] Posted on 2008-10-14 19:34:46.0Z
From: "Evan Ireland [Sybase]" <eireland@sybase.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
References: <48ee73c5$1@forums-1-dub> <48f45efc.5350.1681692777@sybase.com>
In-Reply-To: <48f45efc.5350.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48f4f456@forums-1-dub>
Date: 14 Oct 2008 12:34:46 -0700
X-Trace: forums-1-dub 1224012886 10.22.241.152 (14 Oct 2008 12:34:46 -0700)
X-Original-Trace: 14 Oct 2008 12:34:46 -0700, vip152.sybase.com
Lines: 603
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7890
Article PK: 208316

Anuj,

If the Spring framework classes are contained inside the EJB-JAR as well
as in lib/ext, then take them out of the EJB-JAR and have them just in
lib/ext. (You could also try (as a workaround) having the Spring
framework classes inside the EJB-JAR and nowhere else).

If this is not the case, I suggest working with Technical Support. I
doubt that there is an EAServer bug here, but we might require a
reproduction of the issue to be able to pinpoint the cause and suggest a
resolution.

Anuj KUmar wrote:
> Hi Evan,
> Sorry for replying late.
> Here is the stack trace that I am getting when i place my
> jar file containing
> org/springframework/context/support/ClassPathXmlApplicationContext
> java class in the lib/ext directory.
> Also, I went a step further and included my JAR file in all
> the possible Java folders under EAServer6 directory and
> still I got the same error.
>
> Also I would like to bring to your notice that in the class
> loader folder in the management console, there are few class
> loaders that have ~/java/classes set in their classpath
> variable which is not correct as there is no Java/classes
> folder under the Easerver deployment directory. Acc to me
> it should be genfiles/java/classes.
>
> Here is the stack trace:
>
> 2008-10-09 16:14:12.118 INFO Thread-83 [SystemException]
> java.rmi.RemoteException was thrown by method
> ejb.components.anujtest.testanujRemote.test()
> 2008-10-09 16:14:12.118 INFO Thread-83
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> class loader: ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicationContext
> 2008-10-09 16:14:12.118 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError: class loader:
> ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicationContext
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader.java:858)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLoader_DJC.java:1042)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:150)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1168)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:122)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1126)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:102)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1084)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:12.118 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:12.118 INFO Thread-83
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:12.118 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:12.165 INFO Thread-83 [SystemException]
> com.sybase.djc.SystemException was thrown by method
> com.sybase.jaguar.server.JaguarServer.iiopHandler
> 2008-10-09 16:14:12.165 INFO Thread-83
> com.sybase.djc.SystemException
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:12.165 INFO Thread-83 Caused by:
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> class loader: ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicationContext
> 2008-10-09 16:14:12.165 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError: class loader:
> ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicationContext
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader.java:858)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLoader_DJC.java:1042)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:150)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1168)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:122)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1126)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassLoader.java:102)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedClassLoader_DJC.java:1084)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:12.165 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:12.165 INFO Thread-83
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:12.165 INFO Thread-83 ... 7 more
> 2008-10-09 16:14:20.650 INFO Thread-83 [ConsoleOutput] It
> worked again!!!
> 2008-10-09 16:14:20.650 INFO Thread-83 [SystemException]
> java.rmi.RemoteException was thrown by method
> ejb.components.anujtest.testanujRemote.test()
> 2008-10-09 16:14:20.650 INFO Thread-83
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:20.650 INFO Thread-83
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:20.650 INFO Thread-83 [SystemException]
> com.sybase.djc.SystemException was thrown by method
> com.sybase.jaguar.server.JaguarServer.iiopHandler
> 2008-10-09 16:14:20.650 INFO Thread-83
> com.sybase.djc.SystemException
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:20.650 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:20.650 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:20.650 INFO Thread-83
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:20.650 INFO Thread-83 ... 7 more
> 2008-10-09 16:14:34.743 INFO Thread-83 [ConsoleOutput] It
> worked again!!!
> 2008-10-09 16:14:34.743 INFO Thread-83 [SystemException]
> java.rmi.RemoteException was thrown by method
> ejb.components.anujtest.testanujRemote.test()
> 2008-10-09 16:14:34.743 INFO Thread-83
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:34.743 INFO Thread-83
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:34.743 INFO Thread-83 [SystemException]
> com.sybase.djc.SystemException was thrown by method
> com.sybase.jaguar.server.JaguarServer.iiopHandler
> 2008-10-09 16:14:34.743 INFO Thread-83
> com.sybase.djc.SystemException
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:153)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
> java.rmi.RemoteException: java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:34.743 INFO Thread-83 Caused by:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicationContext
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(SimpleObject.java:31)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.java:60)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:60)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:264)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java:9)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:625)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:326)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 2008-10-09 16:14:34.743 INFO Thread-83 | at
> java.lang.Thread.run(Thread.java:619)
> 2008-10-09 16:14:34.743 INFO Thread-83
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(ExceptionFactory.java:100)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote.java:78)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.access$101(testanujRemote_DJC.java:4)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testanujRemote_DJC.java:325)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:675)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSupported(TransactionManager.java:631)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRemote_DJC.java:350)
> 2008-10-09 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanujRemote_DJC.java:138)
> 2008-10-09 16:14:34.743 INFO Thread-83 ... 7 more
> 2008-10-09 16:14:47.275 INFO btpool0-3
> [TilesRequestProcessor] Tiles definition factory found for
> request processor '/easmgmplugin'.
>
>
>
>> Anuj,
>>
>> Can we see a stack trace showing the class loading
>> error(s) you get when the JAR files are placed in the
>> lib/ext folder?
>>
>> (Any JARs ion the folder get added to the -classpath
>> option with which the server is started, so they will be
>> loaded by the system class loader (i.e. the default Java
>> class loader).
>>
>> Anuj Kumar wrote:
>>> Evan,
>>> I tried what you told me to. But its not working still.
>>> I changed the class path of my ejb.components.<my corba
>>> package> Class Loader and still it didnt work.
>>> Here are the key value pairs that are displayed in my
>>> classloader:
>>>
>>> Class
>>> Path:~/deploy/ejbjars/anujtest;~/genfiles/java/classes;
>>> Parent Loader: default
>>> Parent First (the check box is ticked)
>>> Resolve First Locally: (blank)
>>> Resolve First By Parent: (blank)
>>> Resolve First By System:org.apache.commons.logging.**,
>>> javax.xml.parsers.**, org.w3c.dom.**, org.xml.sax.**,
>>> org.apache.axis.**
>>> Clean Up Delay Time: 10
>>>
>>>
>>> I also tried keeping my JAR files in lib/ext directory,
>>> but again it didnt work. :-(
>>>
>>> Its driving me nuts to figure out the exact place where
>>> and how to include my JAR Files.
>>>
>>>
>>>
>>>> Anuj,
>>>>
>>>> Either you can edit the "Class Path" property of the
>>>> "ejb.components.<my package name>" Class Loader (in
>> the >> web console), which will permit refresh of these
>> classes, >> or if the classes are going to be potentially
>> shared by >> multiple packages you can put them in the
>> lib/ext >> directory.
>>>> Anuj Kumar wrote:
>>>>> Hi I am trying to deploy a Java component that
>> refrences >>> some Java classes present in a jar file. I
>> have kept the >>> dependant JAR files in java/classes
>> subdirectory but >>> still EAServer 6 is not able to
>> locate them. Does anyone >>> have any idea where Do i have
>> to include the dependant >>> jar files and how. I read in
>> the Sybase manuals that I >>> need to specify the
>>>>> com.sybase.jaguar.component.java.classes or
>>>>> com.sybase.jaguar.application.java.classes property. I
>>>>> specified this property in the advanced tab of my
>>>> component deployed under CORBA PAckage. So the
>> hierarchy >>> in the MAnagement Console looks like this:
>> Sybase >>> Management Console ->EAServer Manager -> Local
>> Server -> >>> CORBA PAckages -> <my package name> ->
>> Components -> >>> <myComponent> and then when i click on
>> My Component I >>> get two tabs in the right pane of the
>> management console >>> : General and Advanced. I specify
>> the property >>> com.sybase.jaguar.component.java.classes
>> in the advanced >>> tab by saying add property and the
>> value to this >>> property is a comma seperated list of
>> JAR files that are >>> present in the java/classes
>> subdirectory. The list of >>> JAR files have following
>> values hessian-3.0.20.jar >>> ,spring-aop.jar. But it is
>> not working and I am getting >>>
>> java.lang.NoClassDefFoundError. >>> Can anyone point me to
>> the right direction?


Anuj Kumar Posted on 2008-10-16 10:00:03.0Z
Sender: 51e5.48f44de1.1804289383@sybase.com
From: Anuj Kumar
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: Where to specify JAR files dependant on a Java component
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48f710a3.382c.1681692777@sybase.com>
References: <48f4f456@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 16 Oct 2008 03:00:03 -0700
X-Trace: forums-1-dub 1224151203 10.22.241.41 (16 Oct 2008 03:00:03 -0700)
X-Original-Trace: 16 Oct 2008 03:00:03 -0700, 10.22.241.41
Lines: 827
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7891
Article PK: 208318

Hi Evan,
A Very BIG Thank You to you for helping me out through my
first experience with Sybase EaServer. I have finally been
able to deploy and call my Java Based component from Power
Builder. I reinstalled the server just to be sure that its
clean. I put my dependant JAR files in lib/ext directory and
nowhere else. And I deployed my Java component. It worked.
But I think I will still require your help going further as
the things will only become complicated from here. So don't
go away plz. :-)

> Anuj,
>
> If the Spring framework classes are contained inside the
> EJB-JAR as well as in lib/ext, then take them out of the
> EJB-JAR and have them just in lib/ext. (You could also
> try (as a workaround) having the Spring framework classes
> inside the EJB-JAR and nowhere else).
>
> If this is not the case, I suggest working with Technical
> Support. I doubt that there is an EAServer bug here, but
> we might require a reproduction of the issue to be able
> to pinpoint the cause and suggest a resolution.
>
> Anuj KUmar wrote:
> > Hi Evan,
> > Sorry for replying late.
> > Here is the stack trace that I am getting when i place
> > my jar file containing
> >
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext java class in the lib/ext directory.
> > Also, I went a step further and included my JAR file in
> > all the possible Java folders under EAServer6 directory
> > and still I got the same error.
> >
> > Also I would like to bring to your notice that in the
> > class loader folder in the management console, there are
> > few class loaders that have ~/java/classes set in their
> > classpath variable which is not correct as there is no
> > Java/classes folder under the Easerver deployment
> > directory. Acc to me it should be genfiles/java/classes.
> >
> > Here is the stack trace:
> >
> > 2008-10-09 16:14:12.118 INFO Thread-83
> > [SystemException] java.rmi.RemoteException was thrown by
> > method ejb.components.anujtest.testanujRemote.test()
> > 2008-10-09 16:14:12.118 INFO Thread-83
> > java.rmi.RemoteException:
> > java.lang.NoClassDefFoundError: class loader:
> > ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:12.118 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError: class loader:
> > ejb.components.anujtest, class name :
> >
> org.springframework.context.support.ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:12.118 INFO Thread-83 |
> > at
> com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader
> > .java:858) 2008-10-09 16:14:12.118 INFO Thread-83 |
> > at
> com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLo
> > ader_DJC.java:1042) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:150) 2008-10-09 16:14:12.118 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1168) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:122) 2008-10-09 16:14:12.118 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1126) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:102) 2008-10-09 16:14:12.118 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1084) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:3
> > 19) 2008-10-09 16:14:12.118 INFO Thread-83 | at
> >
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:12.118 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:12.118 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:12.118 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:12.118 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:12.118 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:12.118 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:12.118 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:12.118 INFO Thread-83
> > 2008-10-09 16:14:12.118 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:12.118 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:12.118 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:12.118 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:12.118 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:12.118 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:12.118 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:12.165 INFO Thread-83 [SystemException]
> > com.sybase.djc.SystemException was thrown by method
> > com.sybase.jaguar.server.JaguarServer.iiopHandler
> > 2008-10-09 16:14:12.165 INFO Thread-83
> > com.sybase.djc.SystemException 2008-10-09 16:14:12.165
> > INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:153) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:12.165 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:12.165 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:12.165 INFO Thread-83 Caused by:
> > java.rmi.RemoteException:
> java.lang.NoClassDefFoundError: class loader:
> > ejb.components.anujtest, class name :
> org.springframework.context.support.ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:12.165 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError: class loader:
> > ejb.components.anujtest, class name :
> >
> org.springframework.context.support.ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:12.165 INFO Thread-83 |
> > at
> com.sybase.djc.util.NamedClassLoader.load(NamedClassLoader
> > .java:858) 2008-10-09 16:14:12.165 INFO Thread-83 |
> > at
> com.sybase.djc.util.NamedClassLoader_DJC.load(NamedClassLo
> > ader_DJC.java:1042) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:150) 2008-10-09 16:14:12.165 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1168) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:122) 2008-10-09 16:14:12.165 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1126) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.util.NamedClassLoader.loadClass(NamedClassL
> > oader.java:102) 2008-10-09 16:14:12.165 INFO Thread-83
> > | at
> com.sybase.djc.util.NamedClassLoader_DJC.loadClass(NamedCl
> > assLoader_DJC.java:1084) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:3
> > 19) 2008-10-09 16:14:12.165 INFO Thread-83 | at
> >
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:12.165 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:12.165 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:12.165 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:12.165 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:12.165 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:12.165 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:12.165 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:12.165 INFO Thread-83
> > 2008-10-09 16:14:12.165 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:12.165 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:12.165 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:12.165 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:12.165 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:12.165 INFO
> > Thread-83 ... 7 more 2008-10-09 16:14:20.650
> > INFO Thread-83 [ConsoleOutput] It worked again!!!
> > 2008-10-09 16:14:20.650 INFO Thread-83
> > [SystemException] java.rmi.RemoteException was thrown by
> > method ejb.components.anujtest.testanujRemote.test()
> > 2008-10-09 16:14:20.650 INFO Thread-83
> > java.rmi.RemoteException:
> > java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:20.650 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError:
> >
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:20.650 INFO Thread-83 |
> > at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:20.650 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:20.650 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:20.650 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:20.650 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:20.650 INFO Thread-83
> > 2008-10-09 16:14:20.650 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:20.650 INFO Thread-83 [SystemException]
> > com.sybase.djc.SystemException was thrown by method
> > com.sybase.jaguar.server.JaguarServer.iiopHandler
> > 2008-10-09 16:14:20.650 INFO Thread-83
> > com.sybase.djc.SystemException 2008-10-09 16:14:20.650
> > INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:153) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:20.650 INFO Thread-83 Caused by:
> > java.rmi.RemoteException:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:20.650 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError:
> >
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:20.650 INFO Thread-83 |
> > at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:20.650 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:20.650 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:20.650 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:20.650 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:20.650 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:20.650 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:20.650 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:20.650 INFO Thread-83
> > 2008-10-09 16:14:20.650 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:20.650 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:20.650 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:20.650 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:20.650 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:20.650 INFO
> > Thread-83 ... 7 more 2008-10-09 16:14:34.743
> > INFO Thread-83 [ConsoleOutput] It worked again!!!
> > 2008-10-09 16:14:34.743 INFO Thread-83
> > [SystemException] java.rmi.RemoteException was thrown by
> > method ejb.components.anujtest.testanujRemote.test()
> > 2008-10-09 16:14:34.743 INFO Thread-83
> > java.rmi.RemoteException:
> > java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:34.743 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError:
> >
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:34.743 INFO Thread-83 |
> > at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:34.743 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:34.743 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:34.743 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:34.743 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:34.743 INFO Thread-83
> > 2008-10-09 16:14:34.743 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:34.743 INFO Thread-83 [SystemException]
> > com.sybase.djc.SystemException was thrown by method
> > com.sybase.jaguar.server.JaguarServer.iiopHandler
> > 2008-10-09 16:14:34.743 INFO Thread-83
> > com.sybase.djc.SystemException 2008-10-09 16:14:34.743
> > INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:153) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> > java.lang.Thread.run(Thread.java:619) 2008-10-09
> > 16:14:34.743 INFO Thread-83 Caused by:
> > java.rmi.RemoteException:
> java.lang.NoClassDefFoundError:
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:34.743 INFO Thread-83
> > Caused by: java.lang.NoClassDefFoundError:
> >
> org/springframework/context/support/ClassPathXmlApplicatio
> > nContext 2008-10-09 16:14:34.743 INFO Thread-83 |
> > at
> org.oclc.lbs.infra.framework.spring.SimpleObject.test(Simp
> > leObject.java:31) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanuj_EJB.test(testanuj_EJB.jav
> > a:60) 2008-10-09 16:14:34.743 INFO Thread-83 | at
> >
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:60) 2008-10-09 16:14:34.743 INFO Thread-83 |
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:34.743 INFO Thread-83 | at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:34.743 INFO Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarSe
> > rver.java:264) 2008-10-09 16:14:34.743 INFO Thread-83
> > | at
> com.sybase.jaguar.server.RequestHandler.processRequest(Req
> > uestHandler.java:9) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.processReque
> > st(MessageHandler.java:625) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageH
> > andler.java:326) 2008-10-09 16:14:34.743 INFO Thread-83
> > | at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
> > eadPoolExecutor.java:885) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP
> > oolExecutor.java:907) 2008-10-09 16:14:34.743 INFO
> > Thread-83 | at java.lang.Thread.run(Thread.java:619)
> > 2008-10-09 16:14:34.743 INFO Thread-83
> > 2008-10-09 16:14:34.743 INFO Thread-83 at
> >
> com.sybase.ejb.server.ExceptionFactory.getRemoteException(
> > ExceptionFactory.java:100) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote.test(testanujRemote
> > .java:78) 2008-10-09 16:14:34.743 INFO Thread-83
> > at
> ejb.components.anujtest.testanujRemote_DJC.access$101(test
> > anujRemote_DJC.java:4) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC$2.invoke(testan
> > ujRemote_DJC.java:325) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported1(TransactionManager.java:675) 2008-10-09
> > 16:14:34.743 INFO Thread-83 at
> com.sybase.djc.transaction.TransactionManager.invokeNotSup
> > ported(TransactionManager.java:631) 2008-10-09
> > 16:14:34.743 INFO Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.test(testanujRe
> > mote_DJC.java:350) 2008-10-09 16:14:34.743 INFO
> > Thread-83 at
> ejb.components.anujtest.testanujRemote_DJC.$invoke(testanu
> > jRemote_DJC.java:138) 2008-10-09 16:14:34.743 INFO
> > Thread-83 ... 7 more 2008-10-09 16:14:47.275
> > INFO btpool0-3 [TilesRequestProcessor] Tiles definition
> > factory found for request processor '/easmgmplugin'.
> >
> >
> >
> >> Anuj,
> >>
> >> Can we see a stack trace showing the class loading
> >> error(s) you get when the JAR files are placed in the
> >> lib/ext folder?
> >>
> >> (Any JARs ion the folder get added to the -classpath
> >> option with which the server is started, so they will
> be >> loaded by the system class loader (i.e. the default
> Java >> class loader).
> >>
> >> Anuj Kumar wrote:
> >>> Evan,
> >>> I tried what you told me to. But its not working
> still. >>> I changed the class path of my
> ejb.components.<my corba >>> package> Class Loader and
> still it didnt work. >>> Here are the key value pairs that
> are displayed in my >>> classloader:
> >>>
> >>> Class
> >>> Path:~/deploy/ejbjars/anujtest;~/genfiles/java/classes
> ; >>> Parent Loader: default
> >>> Parent First (the check box is ticked)
> >>> Resolve First Locally: (blank)
> >>> Resolve First By Parent: (blank)
> >>> Resolve First By System:org.apache.commons.logging.**
> , >>> javax.xml.parsers.**, org.w3c.dom.**, org.xml.sax.**
> , >>> org.apache.axis.**
> >>> Clean Up Delay Time: 10
> >>>
> >>>
> >>> I also tried keeping my JAR files in lib/ext directory
> , >>> but again it didnt work. :-(
> >>>
> >>> Its driving me nuts to figure out the exact place
> where >>> and how to include my JAR Files.
> >>>
> >>>
> >>>
> >>>> Anuj,
> >>>>
> >>>> Either you can edit the "Class Path" property of the
> >>>> "ejb.components.<my package name>" Class Loader (in
> >> the >> web console), which will permit refresh of
> these >> classes, >> or if the classes are going to be
> potentially >> shared by >> multiple packages you can put
> them in the >> lib/ext >> directory.
> >>>> Anuj Kumar wrote:
> >>>>> Hi I am trying to deploy a Java component that
> >> refrences >>> some Java classes present in a jar file.
> I >> have kept the >>> dependant JAR files in java/classes
> >> subdirectory but >>> still EAServer 6 is not able to
> >> locate them. Does anyone >>> have any idea where Do i
> have >> to include the dependant >>> jar files and how. I
> read in >> the Sybase manuals that I >>> need to specify
> the >>>>> com.sybase.jaguar.component.java.classes or
> >>>>> com.sybase.jaguar.application.java.classes property.
> I >>>>> specified this property in the advanced tab of my
> >>>> component deployed under CORBA PAckage. So the
> >> hierarchy >>> in the MAnagement Console looks like
> this: >> Sybase >>> Management Console ->EAServer Manager
> -> Local >> Server -> >>> CORBA PAckages -> <my package
> name> -> >> Components -> >>> <myComponent> and then when
> i click on >> My Component I >>> get two tabs in the right
> pane of the >> management console >>> : General and
> Advanced. I specify >> the property >>>
> com.sybase.jaguar.component.java.classes >> in the
> advanced >>> tab by saying add property and the >> value
> to this >>> property is a comma seperated list of >> JAR
> files that are >>> present in the java/classes >>
> subdirectory. The list of >>> JAR files have following >>
> values hessian-3.0.20.jar >>> ,spring-aop.jar. But it is
> >> not working and I am getting >>> >>
> java.lang.NoClassDefFoundError. >>> Can anyone point me to
> >> the right direction?