You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by rady66 <ra...@hotmail.com> on 2013/07/18 14:00:30 UTC

AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded

Hello 

Could you give hint how to resolve this on [MacOS 10.8] with [Java HotSpot
64-bit 1.6.0_43]?:

java.lang.IllegalStateException: Unable to initialize agent
	at org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:94)
	at org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:84)
	at
org.apache.openejb.assembler.classic.Assembler$PersistenceClassLoaderHandlerImpl.addTransformer(Assembler.java:2236)
	at
org.apache.openejb.persistence.PersistenceUnitInfoImpl.addTransformer(PersistenceUnitInfoImpl.java:286)
	at
org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:261)
	at
org.apache.openejb.assembler.classic.EntityManagerFactoryCallable.call(EntityManagerFactoryCallable.java:55)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:116)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.<init>(ReloadableEntityManagerFactory.java:102)
	at
org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:150)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:684)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:546)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:542)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.openejb.javaagent.Agent.dynamicLoadAgent(Agent.java:139)
	at org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:92)
	... 47 more
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open
socket file: target process not responding or HotSpot VM not loaded
	at
sun.tools.attach.MacosxVirtualMachine.<init>(MacosxVirtualMachine.java:82)
	at
sun.tools.attach.MacosxAttachProvider.attachVirtualMachine(MacosxAttachProvider.java:34)
	at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:195)
	... 53 more


Thanks
Rado



--
View this message in context: http://openejb.979440.n4.nabble.com/AttachNotSupportedException-Unable-to-open-socket-file-target-process-not-responding-or-HotSpot-VM-nd-tp4664272.html
Sent from the OpenEJB User mailing list archive at Nabble.com.