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 84577 - When trying to launch debugger, I get a RuntimeException. Please see log
Summary: When trying to launch debugger, I get a RuntimeException. Please see log
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 17:09 UTC by adnem2000
Modified: 2007-01-10 15:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log (163.94 KB, text/xml)
2006-09-10 17:11 UTC, adnem2000
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adnem2000 2006-09-10 17:09:24 UTC
When I attempt to launch the Debugger, I receive a RuntimeException with this
message: 
" DOM graph creation failed:
org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Property "Realm"
already bound to a DOM node."

Here are the last actions I made in my system and Netbeans. I recently installed
an anti-virus software. I believe the debugger connects to a port to do its
work. But I believe I have sucessfully launched it before with that anti-virus.

In order to provide Datasource lookup to JNDI, I modified slightly "server.xml"
of Tomcat 5.5 server. Realizing that it could be the problem, I tried to re-open
the file to restore its original state, but for some reason, the server itself
has been removed from my list of servers in the "Runtime" view of netbeans. When
 I do "Tools > Server Manager", nothing happens. I tried re-adding Tomcat but
I'm unsure of what the catalina home base is
Comment 1 adnem2000 2006-09-10 17:11:44 UTC
Created attachment 33742 [details]
message log
Comment 2 Martin Entlicher 2006-09-11 09:27:32 UTC
A problem somewhere in deployment to a server...
Moving to J2EE for evaluation.
Comment 3 Petr Jiricka 2007-01-03 08:51:50 UTC
Comes from the Tomcat module.
Comment 4 Sherold Dev 2007-01-08 18:27:20 UTC
It looks like you have defined more than just one Realm in the Engine in the
server.xml file, which is not allowed according to the Tomcat documentation. The
current Tomcat module is unfortunately too restrictive in this matter.
Comment 5 Sherold Dev 2007-01-10 15:07:15 UTC
F.

Checking in src/org/netbeans/modules/tomcat5/resources/tomcat5_context.dtd;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_context.dtd,v
 <--  tomcat5_context.dtd
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd,v
 <--  tomcat5_server.dtd
new revision: 1.9; previous revision: 1.8
done