This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146212 - Glassfish javax.management.InstanceNotFoundException
Summary: Glassfish javax.management.InstanceNotFoundException
Status: RESOLVED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
: 134646 136758 137499 138725 145248 149143 150301 152757 170080 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-04 16:15 UTC by nullone
Modified: 2009-08-10 20:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nullone 2008-09-04 16:15:59 UTC
Two days ago, the glassfish on my development PC started to give message while started up:

javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"domain.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.security.config"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.security.config"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.dynamic.username.password"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.dynamic.username.password"

javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name
"server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.signature.key.alias"

I have been using Glassfish for more than one year, and it worked very well.
I don't know what happened, and I spent two days trying to find out the reason.

I found a lot of people had the same pain, ever since 2007.

URLs like:
http://www.nabble.com/Can%27t-Create-New-Enterprise-Application-Project-td19094638.html#a19094638
http://www.nabble.com/javax.management.InstanceNotFoundException-td18009805.html#a18009805
http://www.nabble.com/Exceptions-after-starting-GlassFish-v2-UR2-in-NB-6.1-RC2-td16897584.html#a16917969

It really hut my trust of the free Java EE application server.

Any
Comment 1 Vince Kraemer 2008-09-09 19:47:35 UTC
You have included some error message that appear in the server log... but you have not described what operation that you
are unable to perform.  P1 is for issues that are actively blocking your ability to do work in the IDE. Please describe
what development actions you are unable to perform after you see these messages in the server log.
Comment 2 Vince Kraemer 2008-09-09 23:02:30 UTC
it looks like initializing the tree of Nodes under the server is what triggers the messages.

doing more investigation.
Comment 3 Vince Kraemer 2008-09-09 23:17:09 UTC
I normally build the j2ee cluster, which doesn't have the compapp modules in it.

I can start the server from the IDE without seeing these message.

I built the compapp.manager.jbi module into my "regular" j2ee cluster build.

I start the IDE (j2ee+comp.manager.jbi).

I expand the node tree and see the messages.....

I stopped the server.

Stopped the IDE.

Cleaned compapp.manager.jbi project to pull the feature from my build.

Started the IDE

Started the server

expanded the node tree

    No messages about unknown objects/names.

I have to conclude that there are some incorrect assumptions being made in compapp.manager.jbi about the content of the
config namespace.
Comment 4 Vince Kraemer 2008-09-09 23:49:07 UTC
One thing that I did notice....

Most of the names that aren't found are of the form blah.blah.blah.property.foo.bar....

where foo.bar is the name of the property....

One thing I have also noticed is the GF V2 namespace doesn't have properties that have a dot in their name... you find
thing like

blah.blah.blah.property.foo
blah.blah.blah.property.bar
blah.blah.blah.property.fooBar
blah.blah.blah.property.FooBar
blah.blah.blah.property.foo-bar

the exceptions to that are the message-security-config element AND the property administrative.domain.name...

So, this may be a server bug that the JBI config manager tickles...

the jbi folks should probably work this out with the admin team to resolve this... the plugin is basically out of the
picture.

Comment 5 Vince Kraemer 2008-09-09 23:54:36 UTC
I opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=6042 against GF to track "that side" of the issue.
Comment 6 Jun Qian 2008-09-25 02:10:35 UTC
*** Issue 145248 has been marked as a duplicate of this issue. ***
Comment 7 Jun Qian 2008-10-04 07:03:50 UTC
*** Issue 149143 has been marked as a duplicate of this issue. ***
Comment 8 Jun Qian 2008-10-04 07:31:22 UTC
Since no obvious functionality is lost, I am downgrading it to P3.

I have filed this ticket against the JBI runtime: https://open-esb.dev.java.net/issues/show_bug.cgi?id=706
Comment 9 Jun Qian 2008-10-15 23:34:02 UTC
*** Issue 150301 has been marked as a duplicate of this issue. ***
Comment 10 Jun Qian 2008-10-17 08:41:05 UTC
The bug is in GlassFish, not in NetBeans or OpenESB. There is a GlassFish issue that was filed
on this: https://glassfish.dev.java.net/issues/show_bug.cgi?id=4518

I am leaving this ticket open for now as a place holder. 
Comment 11 schmandt 2008-11-12 08:48:34 UTC
*** Issue 138725 has been marked as a duplicate of this issue. ***
Comment 12 schmandt 2008-11-21 22:39:28 UTC
*** Issue 134646 has been marked as a duplicate of this issue. ***
Comment 13 Jun Qian 2009-01-15 00:35:26 UTC
*** Issue 136758 has been marked as a duplicate of this issue. ***
Comment 14 Jun Qian 2009-01-15 00:36:46 UTC
*** Issue 137499 has been marked as a duplicate of this issue. ***
Comment 15 Jun Qian 2009-01-15 00:38:01 UTC
*** Issue 152757 has been marked as a duplicate of this issue. ***
Comment 16 Jun Qian 2009-03-05 20:19:13 UTC
Closing this out as it is a GlassFish bug and is tracked in GlassFish IssueTracker.
Comment 17 Jun Qian 2009-08-10 20:34:30 UTC
*** Issue 170080 has been marked as a duplicate of this issue. ***