|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Can not set HttpConfiguration settings Please Help!!I'm trying to add HttpConfiguration setting to the openjms.xml file. This is the error i get when i add the config from the openjms website. This is the line i put in the openjms.xml file <HttpConfiguration port="3030" jndiPort="0" adminPort="0" bindAll="true" webServerHost="localhost" webServerPort="80" servlet="/openjms-tunnel/tunnel"/> And this is the error i get. Please help. C:\openjms\bin>shutdown.bat Using OPENJMS_HOME: C:\openjms Using JAVA_HOME: C:\Program Files\Java\jre1.6.0_04 Using CLASSPATH: C:\openjms/lib/derby-10.1.1.0.jar;C:\openjms\lib\openjms-0.7.7-beta-1.jar; C:\openjms\lib\openjms-tools-0.7.7-beta-1.jar ValidationException: 0 is less than the minimum allowable value of 1; - location of error: XPATH: Configuration/HttpConfiguration at org.exolab.castor.xml.validators.IntegerValidator.validate(IntegerValidator. java:258) at org.exolab.castor.xml.validators.IntegerValidator.validate(IntegerValidator. java:316) at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java: 248) at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptor Impl.java:891) at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptor Impl.java:753) at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptor Impl.java:753) at org.exolab.castor.xml.Validator.validate(Validator.java:122) at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java: 250) at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptor Impl.java:885) at org.exolab.castor.xml.Validator.validate(Validator.java:122) at org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:709) at org.exolab.jms.config.AttributeExpander$AttributeInterceptor.endElement (AttributeExpander.java:156) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Sou rce) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher .dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.jms.config.AttributeExpander.start(AttributeExpander. java:120) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:507) at org.exolab.jms.config.ConfigurationReader.read(ConfigurationReader.java:113) at org.exolab.jms.config.ConfigurationReader.read(ConfigurationReader.java:93) at org.exolab.jms.config.ConfigurationLoader.load(ConfigurationLoader.java:82) at org.exolab.jms.tools.admin.AdminMgr.main(AdminMgr.java:591) Failed to initialize AdminMgr. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ openjms-user mailing list openjms-user@... https://lists.sourceforge.net/lists/listinfo/openjms-user |
|
|
Re: Can not set HttpConfiguration settings Please Help!!Jay Mann <jmandawg@...> writes:
I figured it out, it doesn't like the value of "0" for jndiPort or adminPort. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ openjms-user mailing list openjms-user@... https://lists.sourceforge.net/lists/listinfo/openjms-user |
| Free Forum Powered by Nabble | Forum Help |