J
JScoobyCed
Hi,
I am using Eclipse 3.0 and the Tomcat plugin from Sysdeo.
When I have a Tomcat project and I select the option to authorize the
update of server.xml, I have an error to "remove context".
I can sometimes update the context, and sometimes it failes.
When I look at the .log file, it looks it can't find the file:
(Note: I cut the classpath "com.sysdeo.eclipse.tomcat" to "c.s.e.t" for
readability)
On remove context:
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Nov 23, 2004 13:23:13.390
!MESSAGE java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
at java.lang.String.charAt(String.java:444)
at c.s.e.t.TomcatProject.getContextFileName(TomcatProject.java:685)
at c.s.e.t.TomcatProject.getContextFile(TomcatProject.java:679)
at c.s.e.t.TomcatProject.removeContextFile(TomcatProject.java:706)
at c.s.e.t.TomcatProject.removeContext(TomcatProject.java:698)
On update context:
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Nov 23, 2004 13:07:02.453
!MESSAGE java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
at java.lang.String.charAt(String.java:444)
at c.s.e.t.TomcatProject.getContextFileName(TomcatProject.java:685)
at c.s.e.t.TomcatProject.getContextFile(TomcatProject.java:679)
at c.s.e.t.TomcatProject.updateContextFile(TomcatProject.java:666)
at c.s.e.t.TomcatProject.updateContext(TomcatProject.java:640)
I have checked the path to server.xml is correct in my Tomcat
preferences of Eclipse, and the file is read/write.
Tomcat version: Version 4.1.x
My tomcat home: D:\java\tomcat4.1.30.1
Context declaration mode: server.xml
Configuration file: D:\java\tomcat4.1.30.1\conf\server.xml
In advanced Tab:
Tomcat base: D:\java\tomcat4.1.30.1
I use "tomcat4.1.30.1" because I have also "tomcat4.1.30.2" for other
projects.
Thank you.
JScoobyCed
I am using Eclipse 3.0 and the Tomcat plugin from Sysdeo.
When I have a Tomcat project and I select the option to authorize the
update of server.xml, I have an error to "remove context".
I can sometimes update the context, and sometimes it failes.
When I look at the .log file, it looks it can't find the file:
(Note: I cut the classpath "com.sysdeo.eclipse.tomcat" to "c.s.e.t" for
readability)
On remove context:
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Nov 23, 2004 13:23:13.390
!MESSAGE java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
at java.lang.String.charAt(String.java:444)
at c.s.e.t.TomcatProject.getContextFileName(TomcatProject.java:685)
at c.s.e.t.TomcatProject.getContextFile(TomcatProject.java:679)
at c.s.e.t.TomcatProject.removeContextFile(TomcatProject.java:706)
at c.s.e.t.TomcatProject.removeContext(TomcatProject.java:698)
On update context:
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Nov 23, 2004 13:07:02.453
!MESSAGE java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
at java.lang.String.charAt(String.java:444)
at c.s.e.t.TomcatProject.getContextFileName(TomcatProject.java:685)
at c.s.e.t.TomcatProject.getContextFile(TomcatProject.java:679)
at c.s.e.t.TomcatProject.updateContextFile(TomcatProject.java:666)
at c.s.e.t.TomcatProject.updateContext(TomcatProject.java:640)
I have checked the path to server.xml is correct in my Tomcat
preferences of Eclipse, and the file is read/write.
Tomcat version: Version 4.1.x
My tomcat home: D:\java\tomcat4.1.30.1
Context declaration mode: server.xml
Configuration file: D:\java\tomcat4.1.30.1\conf\server.xml
In advanced Tab:
Tomcat base: D:\java\tomcat4.1.30.1
I use "tomcat4.1.30.1" because I have also "tomcat4.1.30.2" for other
projects.
Thank you.
JScoobyCed