When calling a sequence I get the following error:
log4j:ERROR No appenders could be found for category (SAXParser).
log4j:ERROR Please initialize the log4j system properly.
Server returned HTTP response code: 400 for URL: http://localhost:8080/orchestra
tor/OrchestratorGateway?xbd.sequence.uri=http://localhost:8080/orchestrator/Sequ
ences/UpdateSequence.xml
Any indea on why this error is occuring?
This are two errors. First the logging tool log4j complains that no properties file has been found. Thus it cannot initialize. This is not really a problem, but more a warning.
Second is the HTTP response from the server.
What are you doing? Using Java Tamino API? Look for a file log4j.properties. If it is in your classpath, everything is fine.
To be sure I will attach such a file.
Thanks, after adding the log4j.properties to my classpath. The log4j error disappeared. However, I am still getting the follwing error
Server returned HTTP response code: 400 for URL: http://localhost:8080/orchestra
tor/OrchestratorGateway?xbd.sequence.uri=http://localhost:8080/orchestrator/Sequ
ences/UpdateSequence.xml
And I am also getting this error
2003-05-27 11:22:36,345 FATAL - Public ID: null, System ID: null@(line, column):
(1, 1), org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
2003-05-27 11:22:36,345 ERROR - SagSequencer - com.softwareag.xbridge.exceptions
.XException MessageSAXParser.parse: org.xml.sax.SAXException: Public ID: null, S
ystem ID: null@(line, column): (1, 1), org.xml.sax.SAXParseException: The markup
in the document preceding the root element must be well-formed.
2003-05-27 11:22:36,345 ERROR - SagSequencer - Sequencer detected Error processi
ng
com.softwareag.xbridge.exceptions.XException: com.softwareag.xbridge.exceptions.
XException com.softwareag.xbridge.exceptions.XException MessageSAXParser.parse:
org.xml.sax.SAXException: Public ID: null, System ID: null@(line, column): (1, 1
), org.xml.sax.SAXParseException: The markup in the document preceding the root
element must be well-formed.
at com.softwareag.xbridge.infrastructure.MessageSAXParser.parse(Unknown
Source)
at com.softwareag.xbridge.infrastructure.Message.setPayload(Unknown Sour
ce)
at com.softwareag.xbridge.gateways.HttpGatewayImpl.httpReceive(Unknown S
ource)
at com.softwareag.xbridge.gateways.HttpGatewayImpl.modify(Unknown Source
)
at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(Unknown So
urce)
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(Unknown Source)
Please find attached the servlet file as well as the sequence where I am simply trying to update an entry in my tamino database.
And here is the servlet.
Admin note: topic moved here from the Miscellaneous Forum.
Greetings,
Trevor.
Second admin note: this topic is being addressed in this thread.
Further greetings,
Trevor.