Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 99680 - Plugin fails to parse a jazn-data.xml of a 10.1.2 oc4j
Plugin fails to parse a jazn-data.xml of a 10.1.2 oc4j
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: OC4J
PC Linux
: P3 (vote)
Assigned To: Michal Mocnak
Depends on:
  Show dependency treegraph
Reported: 2007-04-02 13:27 UTC by irockel
Modified: 2007-04-03 15:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT

system-jazn-data.xml (6.22 KB, text/xml)
2007-04-02 13:29 UTC, irockel

Note You need to log in before you can comment on or make changes to this bug.
Description irockel 2007-04-02 13:27:38 UTC
In my ongoing effort of setting up a oc4j-container with a 10.1.2 oc4j in 
netbeans I now have this problem:

INFORMATIONAL *********** Exception occurred ************ at 1:56 PM on Apr 2, 
[catch] at 
        at org.openide.WizardDescriptor.updateState(
        at org.openide.WizardDescriptor.access$1000(
        at org.openide.WizardDescriptor.access$1100(
        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

the plugin seems to be unable to find the user in it (xpath-query string 

Btw. I had to rename "jazn-data.xml" to "system-jazn-data.xml" as the plugin 
looks for this name.
Comment 1 irockel 2007-04-02 13:29:59 UTC
Created attachment 40255 [details]
Comment 2 Petr Blaha 2007-04-02 13:52:11 UTC
Hi reporter, thanks for your help. Does it mean that system-jazn-data.xml file
was missing on your OC4J installation? If yes, the fix would be easy since when
the system-jazn-data.xml isn't located in installation we can use jazn-data.xml
instead. However, I'm curious why this file is missing in your config.
Comment 3 irockel 2007-04-03 11:07:46 UTC
no, the bug is about the oc4j-plugin failing to find the user-data in the 
jazn-data.xml. I renamed it.
Comment 4 Petr Blaha 2007-04-03 13:22:40 UTC
I guess that issue would be that in attached file missing oc4j-administrators
role. Try to add this role in your file:
                                <display-name>OC4J Admin Role</display-name>
                                <description>Administrative role for

and the server registration should work. 
Comment 5 Petr Blaha 2007-04-03 13:28:24 UTC
Michale, fix would be merge users in oc4j-administrators and administrators group.
Comment 6 irockel 2007-04-03 15:09:32 UTC
I added this change and retestet, now the plugin seems to find my user "admin" 
but the exception still occurs and if I enter the admin password and click 
on "initialize" and popup comes up asking for an "oc4jadmin" password (I don't 
have a user with this name) and a lot more NullPointerExceptions with the 
stack above come up.
Comment 7 Michal Mocnak 2007-04-03 15:13:33 UTC
It's due to you don't have oracle's default configuration. Your server is
customized. I'll implement same changes to avoid these exceptions.
Comment 8 Petr Blaha 2007-04-03 15:13:52 UTC
Thanks for your help. It seems that plugin assumes that oc4jadmin is created in
server by default but this isn't valid for your configuration where you use
admin instead of oc4jadmin.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo