[jdom-interest] question apache tomcat jdom?
philip.nelson at omniresources.com
philip.nelson at omniresources.com
Mon Oct 22 16:30:00 PDT 2001
Perhaps somebody with a Apache/Tomcat background would like to help you
offline, but this problem has nothing to do with JDOM. This is strictly
getting the server setup done correctly it would appear to me.
Good luck.
> I have a problem using Tomcat and Apache. I have built an
> application, that works perfect when only Tomcat is up. When
> I use Apache too, nothing happens.
>
> My servlet and Bean are found, but the xml parser stops at
> the point where the xml document is build. I'm using JDom as
> xml parser. And an Url to find the xml document.
>
> In tomcat I can use following url :
> http://myHost:8080/MyApp/MyDir/MyXMLFile.xml
> The xml document appears in the browser.
>
> With apache I use : http://myHost:80/MyApp/MyDir/MyXMLFile.xml
> This also works.
>
> When my application tries to acces the xml file, nothing
> happens and I have to restart Tomcat and Apache.
>
> There isn't an error in the xml document, because otherwise
> it wouldn't work with only tomcat up.
>
> I've set the ServerName in apache's httpd.conf to myHost.
> http://myHost shows the index.html in apache's htdocs.
> http://myHost/myApp/ shows the index.jsp in tomcats webapps/myApp dir.
>
> I hope anyone can help me.
>
> Dennis Knol
>
> On Sat, 20 Oct 2001 11:00:59
> Matthew MacKenzie wrote:
> >The problem is likely that SAXBuilder can't locate the file
> that needs to be
> >parsed, or there is an error in the XML, or possibly that
> your libraries are
> >screwed up and JDOM can't find a JAXP parser. Send the
> stack trace where
> >you say the error is occuring and we can probably tell you the exact
> >problem.
> >
> >Regards,
> >
> >Matt
> >
> >----- Original Message -----
> >From: "The Duke" <mini78 at lycos.com>
> >To: "Jdom interest mailinglist" <jdom-interest at jdom.org>
> >Sent: Friday, October 19, 2001 7:10 AM
> >Subject: [jdom-interest] question apache tomcat jdom?
> >
> >
> >> I'm using apache and tomcat 4.0. I have build an
> application that works
> >fine when only tomcat is up. If I use apache with tomcat,
> tomcat doesn't do
> >anything.
> >>
> >> I traced the error into a bean method that retreives
> something out of an
> >xml document. I use saxbuilder to create a document. And thats where
> >everything stops.
> >>
> >> Does anyone knows anything something about it?
> >>
> >> Dennis.
> >>
> >>
> >> Make a difference, help support the relief efforts in the U.S.
> >> http://clubs.lycos.com/live/events/september11.asp
> >> _______________________________________________
> >> To control your jdom-interest membership:
> >>
> >http://lists.denveronline.net/mailman/options/jdom-interest/y
ouraddr at yourhos
>t.com
>>
>
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourho
st.com
>
Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list