Although I am quite new to struts, I'd like to participate in this IPlanet
discussion because
we are probably going to deploy our app to the same AS.
But actially we haven't tested anything yet under that environment, so all
comments are warmly welcome.
 
Concerning your xml problems: 
To my experience xml parsing problems arise usually for 2 reasons:
- You're working behind a firewall and the parser isn't able to load the DTD
via internet,
  deleting the doctype -DTD definition of your xml-file or changing it to a
local path often solves this prob.
 
- Or, it could be as well that IPlanet comes with its own xml jars. If so,
you have to ensure that strut's
  conform xalan.jar, xerces.jar in version 1.2 are found in the application
servers classpath before any other 
  xml parsers.
 
Best regards
Martin
 
 

-----Original Message-----
From: Mikkel Bruun [mailto:[EMAIL PROTECTED]]
Sent: Montag, 9. Juli 2001 09:13
To: '[EMAIL PROTECTED]'
Subject: Still struggling with my Iplanet 4.1


Hi guys,
 
there hasnt been much response to my Iplanet mails, but here goes another
one...
 
I have finallt succeded in deploying the taglibs, getting IWS to recoqnize
the strust.dtd and the action servlet is ALMOST running....
However i get a SaxException when it tries to parse the config.xml from the
example application
 
Any suggestions???
------------------------------
 
org.xml.sax.SAXParseException: Attribute "forward" is not declared for
element "action".
        at com.sun.xml.parser.Parser.error(Parser.java:2795)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1357)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
        at org.apache.struts.digester.Digester.parse(Digester.java:725)
        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1302)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
        at javax.servlet.GenericServlet.init(GenericServlet.java:219)
        at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:3
77)
        at
com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java
:149)
        at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:461)
Parse Error at line 127 column -1: Attribute value for "type" is #REQUIRED.
org.xml.sax.SAXParseException: Attribute value for "type" is #REQUIRED.
        at com.sun.xml.parser.Parser.error(Parser.java:2795)
        at com.sun.xml.parser.Parser.defaultAttributes(Parser.java:1470)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1388)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
        at org.apache.struts.digester.Digester.parse(Digester.java:725)
        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1302)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
        at javax.servlet.GenericServlet.init(GenericServlet.java:219)
        at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:3
77)
        at
com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java
:149)
        at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:461)

Reply via email to