You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Petr Jurak <10...@seznam.cz> on 2007/07/20 09:17:50 UTC

Struts-config parsing exception on Sun Java System Application Server 8.2

Hello to all,
these days I'm trying to run my Struts webapp on Sun's AppServer 8.2. It
runs on Java v1.5.0_11. My webapp is built on Struts v1.3.8.
The first problem was to start ActionServlet because of missing method in
Digester. I mean method parse(URL). But this problem I corrected using a
hint from Struts JIRA [STR-2610]. So it's working now.
The strange thing I've encountered is parsing exception when parsing
struts-config. I found that this exception was raised when attemting to read
form-bean config. 
    
    <form-beans>
        <form-bean name="NAH003MenuForm"
type="cz.cpost.eip.nah.beans.NAH003MenuBean"/>
    </form-beans>

But when I chage <form-bean name="NAH003MenuForm"
type="cz.cpost.eip.nah.beans.NAH003MenuBean"/>

to <form-bean name="NAH003MenuForm"
type="cz.cpost.eip.nah.beans.NAH003MenuBean "/>
or <form-bean name="NAH003MenuForm"
type="cz.cpost.eip.nah.beans.NAH003Menubean"/>
or <form-bean name="NAH003MenuForm"
type="cz.cpost.eip.nah.beans.NAH003MenuForm"/>
it works okay! But I don't want to rename all my beans objects. :/

I have to say this webapp works okay on Sybase EAServer 5.x and on the same
JVM.
I tried to replace Xerces 2.6.2 by 2.9.0, but without effect. In
/WEB-INF/lib I don't have any jars files
related to Xerces. I'm little disappointed. Is there anybody how could help
me???
Thanx.

Peter


DTD of struts-config:

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
          "http://struts.apache.org/dtds/struts-config_1_3.dtd">

WEB-INF/lib:
antlr-2.7.2.jar
bsf-2.3.0.jar
commons-beanutils-1.7.0.jar
commons-beanutils-bean-collections.jar
commons-beanutils-core.jar
commons-chain-1.1.jar
commons-fileupload-1.1.1.jar
commons-io-1.1.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
dir.list
dom4j.jar
eipcommon.jar
itext-1.4.8.jar
jstl-1.0.2.jar
Log.jar
log4j.jar
oro-2.0.8.jar
spring-aspects.jar
spring-mock.jar
spring.jar
standard-1.0.2.jar
struts-core-1.3.8.jar
struts-el-1.3.8.jar
struts-extras-1.3.8.jar
struts-faces-1.3.8.jar
Struts-Layout-1.2.jar
struts-mailreader-dao-1.3.8.jar
struts-scripting-1.3.8.jar
struts-taglib-1.3.8.jar
struts-tiles-1.3.8.jar

-- 
View this message in context: http://www.nabble.com/Struts-config-parsing-exception-on-Sun-Java-System-Application-Server-8.2-tf4115450.html#a11703286
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts-config parsing exception on Sun Java System Application Server 8.2

Posted by Petr Jurak <10...@seznam.cz>.
Supplementation:

I found the problem is caused by extending my custom form class, which
extends Struts ValidatorForm class. 
My custom form class is located in some jar file in WEB-INF/lib. Problem is
fixed if I only extend ValidatorForm. But it isn't a solution at all,
because I want create an ancestor with some business methods. :-(

Peter  
-- 
View this message in context: http://www.nabble.com/Struts-config-parsing-exception-on-Sun-Java-System-Application-Server-8.2-tf4115450.html#a11708435
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org