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.
Summary: | XML-Parsing Errors during creation of oc4j-server-entry | ||
---|---|---|---|
Product: | serverplugins | Reporter: | irockel <irockel> |
Component: | OC4J | Assignee: | Michal Mocnak <mmocnak> |
Status: | STARTED --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | server.xml |
Description
irockel
2007-04-02 09:36:05 UTC
Could you please attach your server.xml ? I haven't met this problem yet. Created attachment 40252 [details]
server.xml
I've attached the server.xml. Btw. I'm running netbeans with JDK1.6. But for stand-alone oc4j (from cmdline) I'm using 1.4.2. Maybe there's a difference in the parsers. Actually this is the problem with validation of your server.xml file. See this log from validation. XML validation started. Checking file:/home/marigan/downloads/server.xml... Invalid byte 1 of 1-byte UTF-8 sequence. [66] http://www.oracle.com/technology/ias/dtds/application-server-9_04.dtd XML checking finished. And just for clariifcation. You are using oc4j v 9x ... plugin supports oc4j 10x ... actually there is no check in the wizard ... i'll implement it soon (Issue 99671) Hmm, my oc4j reports: 07/04/02 13:21:22 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized so it is a 10g so I just need to remove the DOCTYPE line? Ahh, checked, yes removed the line and now it works, thanks! Btw. its in all server.xml I've seen so far. (Though I didn't check 10.1.3.x app server, they changed a lot of stuff in this release). Great ... actually it's strange cause i don't have this validation problems 10.1.3.x is checked and functional with plugin ... i'll make some changes in server.xml validation to prevent these issues. This is strange. I downloaded the latest OC4J 10g and there is the server.xml with correct doctype. However, your attached server.xml has defined 9.04 doctype: <!DOCTYPE application-server PUBLIC "-//Oracle//DTD OC4J Application-server 9.04//EN" "http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd"> I guess that there should be: <application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" ............. Where did you downloaded your OC4J installation or did you some changes in server.xml? It isn't a recent oc4j as oracle did some nasty changes in 10.1.3 which prevents our app (at least at the momment) from running in this release, it is a 10.1.2. Maybe the server.xml in this release has a bug using an old dtd. I got the tarball from a company's server but it should be unmodified (although I can't say that for sure). |