|
Re: Eclipse (WTP) [message #649521 is a reply to message #649402] |
Wed, 19 January 2011 14:34 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On 1/19/2011 2:08 AM, M& wrote:
> Hi,
> i have 2 problems, please help me
> (My versions: eclipse(3.6) helios, jkd: jdk1.6.0_21 & Tomcat v6.0)
> ----------------------------------
> 1) when i debug my web project, right click in project, debug az, debug
> on server: it gives me this error
>
> SEVERE: Error starting static Resources
> java.lang.IllegalArgumentException: Document base
> D:\workspace\WP\.metadata\.plugins\org.eclipse.wst.server.co
> re\tmp1\wtpwebapps\KicsIdCard does not exist or is not a readable directory
> at org.apache.naming.resources.FileDirContext.setDocBase(FileDi
> rContext.java:142)
> at org.apache.catalina.core.StandardContext.resourcesStart(Stan
> dardContext.java:4048)
> at org.apache.catalina.core.StandardContext.start(StandardConte
> xt.java:4217)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:722)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
> at org.apache.catalina.core.StandardService.start(StandardServi
> ce.java:516)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:583 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
>
> ------------------------------------------------------------
> ----------------------
> 2) when i open eclipse or restart it, i have this error:
>
> Preferences --> mercurial
> Mercurial Executable: hg
>
> problem occurred:
> process start failed: hg -y debuginstall
> can not run program "hg": create process error=2, the system can not
> find the file specified.
>
>
> Tnx for Help
>
For the first problem, does the requested directory exist? That is
where WTP would publish an "assembled" webapp for Tomcat to serve. If
it's not there then Tomcat's complaint is expected. Do you get the same
behavior with Run on Server?
Cheers,
Larry
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03768 seconds