Forum Stats

  • 3,840,393 Users
  • 2,262,599 Discussions
  • 7,901,261 Comments

Discussions

VisualVM Redefinition failed with error 67

3230544
3230544 Member Posts: 1

Hello,

I am running java VisualVM in jdk1.8.0_71 and I am running the Profiler setup on a local weblogic server on my machine. 

I am getting the error "Redefinition failed with error 67"

When I check the JVMTI documentation, it says this means:

"JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED (67)

A new class version does not declare a method declared in the old class version."

Then VisualVM continues to say "No profiling results available yet" and it seems to hang. 

Can anyone advise how to get around this issue so we can get profiling results?

----------------------------------

In my weblogic server log after the error it says:

<Oct 31, 2016 12:49:00 AM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch "Stuck

Thread" in module "Module-FMWDFW" with severity "Notice" on server "AdminServer"

has triggered at Oct 31, 2016 12:48:58 AM EDT. Notification details:

WatchRuleType: Log

WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-000337') OR (MSGID = 'BEA-0003

37'))

WatchData: DATE = Oct 31, 2016 12:45:13 AM EDT SERVER = AdminServer MESSAGE = [S

TUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has

been busy for "649" seconds working on the request "Workmanager: default, Versio

n: 0, Scheduled=false, Started=true, Started time: 649650 ms

", which is more than the configured time (StuckThreadMaxTime) of "600" seconds

in "server-failure-trigger". Stack trace:

        java.lang.Object.wait(Native Method)

        java.lang.Object.wait(Object.java:502)

        org.netbeans.lib.profiler.global.TransactionalSupport.beginTrans(Transac

tionalSupport.java:69)

        org.netbeans.lib.profiler.global.TransactionalSupport.beginTrans(Transac

tionalSupport.java:38)

        org.netbeans.lib.profiler.server.ProfilerInterface.classLoadHook(Profile

rInterface.java:888)

        java.lang.Class.getDeclaredConstructors0(Native Method)

        java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)

        java.lang.Class.getConstructor0(Class.java:3075)

        java.lang.Class.newInstance(Class.java:412)

        sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:4

03)

        sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:3

94)

        java.security.AccessController.doPrivileged(Native Method)

        sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.jav

a:393)

        sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGe

nerator.java:92)

        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA

ccessorImpl.java:55)

        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons

tructorAccessorImpl.java:45)

        java.lang.reflect.Constructor.newInstance(Constructor.java:422)

        java.lang.Class.newInstance(Class.java:442)

        weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:

162)

        weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.j

ava:189)

        weblogic.jdbc.wrapper.ResultSetMetaData.makeResultSetMetaData(ResultSetM

etaData.java:92)

        weblogic.jdbc.wrapper.ResultSet.getMetaData(ResultSet.java:252)

        org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.process

ResultSet(DatabaseAccessor.java:723)

        org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicEx

ecuteCall(DatabaseAccessor.java:655)

        org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.execute

Call(DatabaseAccessor.java:558)

        org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCa

ll(AbstractSession.java:1991)

        org.eclipse.persistence.sessions.server.ServerSession.executeCall(Server

Session.java:570)

        org.eclipse.persistence.sessions.server.ClientSession.executeCall(Client

Session.java:250)

        org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.ex

ecuteCall(DatasourceCallQueryMechanism.java:242)

        org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.ex

ecuteCall(DatasourceCallQueryMechanism.java:228)

        org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.ex

ecuteSelectCall(DatasourceCallQueryMechanism.java:299)

        org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.se

lectAllRows(DatasourceCallQueryMechanism.java:694)

        org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.select

AllRowsFromTable(ExpressionQueryMechanism.java:2738)

        org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.select

AllRows(ExpressionQueryMechanism.java:2691)

        org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery

(ReadAllQuery.java:495)

        org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuer

y(ObjectLevelReadQuery.java:1168)

        org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java

:899)

        org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevel

ReadQuery.java:1127)

        org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:4

03)

        org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork

(ObjectLevelReadQuery.java:1215)

        org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecute

Query(UnitOfWorkImpl.java:2896)

        org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(A

bstractSession.java:1793)

        org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(A

bstractSession.java:1775)

        org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(A

bstractSession.java:1740)

        org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImp

l.java:258)

        org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.j

ava:469)

        weblogic.persistence.QueryProxyImpl.getResultList(QueryProxyImpl.java:14

0)

        com.lexisnexis.model.session.BaseSessionEJBBean.retrieveByJPQL(BaseSessi

onEJBBean.java:236)

        com.lexisnexis.model.session.CmSessionEJBBean.findNextJobs(CmSessionEJBB

ean.java:384)

        com.lexisnexis.model.session.CmSessionEJBBean_nokypu_NoIntfViewImpl.__WL

_invoke(Unknown Source)

        weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Session

LocalMethodInvoker.java:33)

        com.lexisnexis.model.session.CmSessionEJBBean_nokypu_NoIntfViewImpl.find

NextJobs(Unknown Source)

        com.lexisnexis.model.schedule.WorkerSchedulerEJBBean.processWorkerJobs(W

orkerSchedulerEJBBean.java:54)

        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:62)

        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:43)

        java.lang.reflect.Method.invoke(Method.java:497)

        com.oracle.pitchfork.inject.Jsr250Metadata.invokeTimeoutMethodInternal(J

sr250Metadata.java:362)

        com.oracle.pitchfork.intercept.LifecycleEventCallbackInvocationContext.p

roceed(LifecycleEventCallbackInvocationContext.java:120)

        com.oracle.pitchfork.intercept.LifecycleEventCallbackInvocationContext.p

roceed(LifecycleEventCallbackInvocationContext.java:144)

        com.oracle.pitchfork.intercept.InterceptionMetadata.invokeTimeoutMethod(

InterceptionMetadata.java:531)

        weblogic.ejb.container.injection.EjbComponentCreatorImpl.invokeTimer(Ejb

ComponentCreatorImpl.java:71)

        weblogic.ejb.container.manager.BaseEJBManager.invokeTimeoutMethod(BaseEJ

BManager.java:176)

        weblogic.ejb.container.timer.TimerImpl.timerExpired(TimerImpl.java:340)

        weblogic.timers.internal.TimerImpl.run(TimerImpl.java:304)

        weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWo

rkManagerImpl.java:548)

        weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

        weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACT

IVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' MSGI

D = BEA-000337 MACHINE = LNGRDUL-7005662 TXID =  CONTEXTID = 93966118-3917-4754-

9ed2-6a9904003421-00000027 TIMESTAMP = 1477889113478

WatchAlarmType: AutomaticReset

WatchAlarmResetPeriod: 600000

>

<Oct 31, 2016 12:49:03 AM EDT> <Emergency> <oracle.dfw.incident> <BEA-000000> <i

ncident 124 created with problem key "BEA-000337 [WebLogicServer]">

*** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor306 t

hat should be instrumented is not loaded by target VM

*** Requested classloader: [email protected], its class

= class sun.reflect.DelegatingClassLoader, index = 1060, hashcode = 1457272643

*** Profiler engine warning: target VM cannot load class to instrument sun.refle

ct.GeneratedConstructorAccessor306

*** probably it has been unloaded recently

Profiler Agent: 250 classes cached.

*** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor307 t

hat should be instrumented is not loaded by target VM

*** Requested classloader: [email protected], its class

= class sun.reflect.DelegatingClassLoader, index = 1063, hashcode = 1463596994

*** Profiler engine warning: target VM cannot load class to instrument sun.refle

ct.GeneratedConstructorAccessor307

*** probably it has been unloaded recently

This discussion has been closed.