Thanks ! it works.

Quintin Beukes-2 wrote:
> 
> Yes, you get the WAR for Tomcat, OpenEJB in Geronimo, embedded run by
> creating an InitialContext using LocalInitialContextFactory, and
> standalone (which is a client/server you start by running bin/openejb
> in the distribution).
> 
> By default the standalone starts an agent. So I figure your's is embedded?
> 
> Further, you can just do -javaagent:[agent-jar]. You [agentjar] has to
> found in the path you give. So in your case it would have to be in the
> same directory you're running the java command from. Try giving it a
> full path to an existing openejb-javaagent jar. Check your "lib/"
> directory in the OpenEJB distribution, or give me your OpenEJB version
> and I'll give you it's filename.
> 
> Quintin Beukes
> 
> 
> 
> On Wed, Oct 21, 2009 at 6:16 PM, El Arbi Aboussoror
> <[email protected]> wrote:
>> By "standalone" you mean that I didn't use an app server ?
>>
>> 2009/10/21 Quintin Beukes <[email protected]>
>>
>>> Is this the standalone?
>>
>> I assume so from the Java Agent error - at
>>> least, I don't see how the Java Agent could work in embedded unless
>>> you explicitly tell it to?
>>>
>>> Quintin Beukes
>>>
>>>
>>>
>>> On Wed, Oct 21, 2009 at 4:08 PM, El Arbi Aboussoror
>>> <[email protected]> wrote:
>>> > Hello,
>>> >
>>> >
>>> >  I've a problem with the "classpath.ear". I've added the OpenEJB lib
>>> to
>>> my
>>> > EJB eclipse project. And I'v started a JUnit test. And this is the
>>> trace:
>>> >
>>> > *...
>>> > ERROR - Application could not be deployed:  classpath.ear
>>> > org.apache.openejb.OpenEJBException: Creating application failed:
>>> > classpath.ear: ParsedName{path=openejb/client/javassist/comp/env,
>>> > component=env}
>>> > ....*
>>> >
>>> > I have also an error using the PersistenceProvider, I've put
>>> > <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
>>> > in my pesistence.xml but I still have this error:
>>> > *ERROR - JAVA AGENT NOT INSTALLED. The JPA Persistence Provider
>>> requested
>>> > installation of a ClassFileTransformer which requires a JavaAgent.
>>>  See
>>> > http://openejb.apache.org/3.0/javaagent.html*
>>> >
>>> > Any help ?
>>> >
>>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Undeploying-app%3A-classpath.ear-tp25993266p25998577.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to