tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From secam secam <secam2...@yahoo.fr>
Subject Re: use of jar.exe to create a .war and deploy in tomcat
Date Wed, 28 Apr 2004 09:20:27 GMT
thanks,

i've got a reference in my web.xml
i've carried out to solve this prob

Pierre-alexandre 

--- "Emmanuil Batsis (Manos)" <mbatsis@netsmart.gr> a
écrit : >  From ehat I can see, you have a servlet 
> (fr.unis.ktopia.servlets.KtopiaServlet) accepting an
> HTTP GET. That 
> servlet uses a utility class/bean
> (fr.unis.ktopia.KtopiaBean) whose 
> generate method uses class fr.unis.dom.DOMUtil to
> parse an XML file in 
> it's parseXmlFile method.
> 
>  From what I see, the error is throws when the
> parser tries to resolve 
> an entity or something; that EmpruntsList.txt file
> is mentioned 
> somewhere in the DTD/XML file?
> 
> It's all in the stacktrace...
> 
> secam secam wrote:
> 
> > Here is my error message.
> >  
> > 
> > java.io.FileNotFoundException:
> C:\demo25\test\EmpruntsList.txt (Le chemin d'accès
> spécifié est introuvable)
> > 	at java.io.FileInputStream.open(Native Method)
> > 	at
>
java.io.FileInputStream.<init>(FileInputStream.java:103)
> > 	at
>
java.io.FileInputStream.<init>(FileInputStream.java:66)
> > 	at
>
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
> > 	at
>
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
> > 	at java.net.URL.openStream(URL.java:960)
> > 	at
>
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
> > 	at
>
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown
> Source)
> > 	at
>
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
> > 	at
> javax.xml.parsers.DocumentBuilder.parse(Unknown
> Source)
> > 	at
> fr.unis.dom.DOMUtil.parseXmlFile(DOMUtil.java:962)
> > 	at
> fr.unis.dom.DOMUtil.parseXmlFile(DOMUtil.java:45)
> > 	at
>
fr.unis.ktopia.KtopiaBean.generate(KtopiaBean.java:106)
> > 	at
>
fr.unis.ktopia.servlets.KtopiaServlet.doGet(KtopiaServlet.java:178)
> > 	at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > 	at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> > 	at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> > 	at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> > 	at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > 	at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> > 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > 	at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> > 	at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > 	at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
> > 	at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > 	at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> > 	at java.lang.Thread.run(Thread.java:536)
> > 
> > Thanks for help,
> >  
> > Pierre-Alexandre
> > 
> > */"Emmanuil Batsis (Manos)"
> <mbatsis@netsmart.gr>/* wrote:
> > 
> >     You will have to show us the complete message.
> I'm quite sure that your
> >     application tries to find some resource using
> that path...
> > 
> >     secam secam wrote:
> > 
> >      > Need some help on that topic
> >      >
> >      > I've create a demo.war with this command
> line:
> >      >
> >      > C:\demo>jar cvf demo.war .
> >      >
> >      > and then i copy the demo.war in the tomcat
> directory :
> >      > C:\tomcat\webapps
> >      >
> >      > And then my webapps works!
> >      >
> >      > but when i delete the directory C:\demo
> >      >
> >      > I've got an error message that says that my
> directory
> >      > C:\demo\... is not yet available! and my
> webapp
> >      > failed.
> >      >
> >      > I'don't understand why tomcat is not
> independant with
> >      > my directory c:\demo
> >      >
> >      > I just want to deploy my webapp using only
> demo.war
> >      >
> >      > Is any one can help me?
> >      >
> >      > Regard's
> >      > Pierre-Alexandre
> >      >
> >      >
> >      >
> >      >
> >      >
> >      >
> >      >
> >      >
> >      > Yahoo! Mail : votre e-mail personnel et
> gratuit qui vous suit
> >     partout !
> >      > Créez votre Yahoo! Mail sur
> http://fr.benefits.yahoo.com/
> >      >
> >      > Dialoguez en direct avec vos amis grâce à
> Yahoo! Messenger
> >     !Téléchargez Yahoo! Messenger sur
> http://fr.messenger.yahoo.com
> >      >
> >      >
>
---------------------------------------------------------------------
> >      > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> >      > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >      >
> 
=== message truncated === 


	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger
sur http://fr.messenger.yahoo.com

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


Mime
View raw message