Sorry Richard, I found why it doesn't works and it was my fault... I made ​​a 
mistake in the mapping file.

Now it works fine at : http://data.lirmm.fr/d2rq/

Thanks again for all.

Best

Julien

-----Message d'origine-----
De : Richard Cyganiak [mailto:[email protected]] 
Envoyé : jeudi 31 mars 2011 08:46
À : <[email protected]>
Cc : [email protected]
Objet : Re: [d2rq-dev] Problem with tomcat

Julien,

This is an issue with the way the war file is created. Recent versions of 
Tomcat have become more picky about the structure of the war file.

I updated the build.xml file to hopefully solve this. To use the updated build, 
you have two options:

1. Check out the latest development version of D2RQ + D2R Server
   from Github, and build it with Ant:
   https://github.com/cygri/d2rq
   (note that the war file is now called d2rq.war)

2. Update the build.xml in the latest D2R Server release. Don't
   try this if you're not familiar with Apache Ant. You have to
   replace the war task in the build.xml with that from here:
   https://github.com/cygri/d2rq/raw/master/build.xml

Either way, run "ant war" and it should hopefully produce a war file that's 
compatible with the latest Tomcat.

Best,
Richard
   


On 31 Mar 2011, at 06:19, <[email protected]> 
<[email protected]> wrote:

> Hi,
>  
> I have a problem with running D2R on tomcat. I have compiled for a file. war 
> then I put the file. war in the webapps folder of tomcat and I restart tomcat 
> and the logfile contain the following result:
>  
> 31 mars 2011 02:23:40 org.apache.catalina.loader.WebappClassLoader 
> validateJarFile
> INFO: 
> validateJarFile(/var/lib/tomcat6/webapps/d2r-server/WEB-INF/lib/servlet-api-2.5-6.1.10.jar)
>  - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
> javax/servlet/Servlet.class
> 02:23:40 INFO  D2RServer            :: using config file: 
> file:/var/lib/tomcat6/webapps/d2r-server/WEB-INF/mapping.n3
> 31 mars 2011 02:23:41 org.apache.catalina.core.StandardContext start
> SERIOUS: Error listenerStart
> 31 mars 2011 02:23:41 org.apache.catalina.core.StandardContext start
> SERIOUS: Error Starting context [/d2r-server] following the previous 
> errors
> 31 mars 2011 02:23:41 org.apache.catalina.loader.WebappClassLoader 
> clearReferencesJdbc
> SERIOUS: The web application [/d2r-server] registered the JBDC driver 
> [com.mysql.jdbc.Driver] but failed to unregister it when the web application 
> was stopped. To prevent a memory leak, the JDBC Driver has been forcibly 
> unregistered.
> Exception creating the logger
> Commons logging jar files in WEB-INF/lib/?
> Null
>  
> I have jdbc driver for mysql already installed.
>  
> An idea of why it doesn’t work ?
>  
> Julien.
> ----------------------------------------------------------------------
> -------- Create and publish websites with WebMatrix Use the most 
> popular FREE web apps or write code yourself; WebMatrix provides all 
> the features you need to develop and publish your website. 
> http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to