I am very grateful to JD Brennan for your nice
help.
Acctually, I have an Java Server which I call
IMServer. I have integrated it into JBoss with im.sar.
I have also a web application which is packed
in web.war. I am using Jetty Web container. I configured that im.sar depends on
Jetty Service(jboss.web:service=WebServer). im.sar is deployed after Jetty
Service starting but beforeweb.waris deployed. So the following
error happened:
2003-07-02 07:38:19,173 ERROR [STDERR]
org.xml.sax.SAXException: FWK005 parse may not be called while
parsing.2003-07-02 07:38:19,176 ERROR [STDERR] at
org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:249)2003-07-02
07:38:19,177 ERROR [STDERR] at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)2003-07-02
07:38:19,178 ERROR [STDERR] at
com.ssp.sspimserver.jabber.ubermq.JabberDatagramFactory.incoming(JabberDatagramFactory.java:98)2003-07-02
07:38:19,179 ERROR [STDERR] at
com.ubermq.kernel.AbstractConnectionInfo.processData(AbstractConnectionInfo.java:368)2003-07-02
07:38:19,181 ERROR [STDERR] at
com.ubermq.kernel.ConnectionInfo.readFrom(ConnectionInfo.java:93)2003-07-02
07:38:19,182 ERROR [STDERR] at
com.ubermq.kernel.ReadWriteTransformThread.acceptPendingRequests(ReadWriteTransformThread.java:121)2003-07-02
07:38:19,183 ERROR [STDERR] at
com.ubermq.kernel.ReadWriteTransformThread.run(ReadWriteTransformThread.java:52).
If i remove im.sar and wait until web.war is deployed completely then I
copy im.sar to deploy directory. JBoss start deploy im.sar. Evrything is
OK.
So, I think I should deploy im.sar after deploying web.war!
What doyou suggest,JD Brennan?
Snell Nguyen.
- Original Message -
From:
JD Brennan
To: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 12:10
AM
Subject: RE: [JBoss-user] SAR depends on
WAR!
Why does the SAR depend on the WAR?
Could you pull the
dependent parts out of the WAR into an EJB
JAR and then
have both the WAR and the SAR depend on the
JAR in
an EAR?
-Original Message-From: Snell Nguyen
[mailto:[EMAIL PROTECTED]Sent: Tuesday, July 01, 2003 10:24
PMTo: [EMAIL PROTECTED]Subject:
[JBoss-user] SAR depends on WAR!
How do i iplement a SAR which depends on
WAR.
I am grateful toyou for your
anyhelps!