MalformedURLException


Damn it. I did have webapps working but now I'm getting this exception:

Starting service Tomcat-Standalone
Apache Tomcat/4.0.6
java.net.MalformedURLException: no !/ in spec
at java.net.URL.(URL.java:571) at java.net.URL.(URL.java:434) at java.net.URL.(URL.java:383) at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas sLoader.java:1761) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo ader.java:1582) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav a:937) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1372) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1254) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo ader.java:1643) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav a:937) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1372) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1254) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.apache.tapestry.parse.SpecificationParser.]]>(SpecificationParser.j
ava:603)
at
org.apache.tapestry.ApplicationServlet.parseApplicationSpecification(Applica
tionServlet.java:632)
at
org.apache.tapestry.ApplicationServlet.constructApplicationSpecification(App
licationServlet.java:525)
at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:467)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Starting service Tomcat-Apache
Apache Tomcat/4.0.6


Looking at the server.xml the tomcat plugin produces it seems that it's
using backslashes for the document root. I think that's what tomcat's
having trouble with. How this was working before I have no idea.

sigh

Regards,

Glen




1 comment
Comment actions Permalink

Glen Stampoultzis wrote:

Damn it. I did have webapps working but now I'm getting this exception:

Starting service Tomcat-Standalone
Apache Tomcat/4.0.6
java.net.MalformedURLException: no !/ in spec


Interesting, check your xml files for this string above, you're missing
something.

at java.net.URL.<init>(URL.java:571)
at java.net.URL.<init>(URL.java:434)
at java.net.URL.<init>(URL.java:383)
at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas
sLoader.java:1761)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1582)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:937)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1372)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1643)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:937)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1372)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at
org.apache.tapestry.parse.SpecificationParser.<clinit>(SpecificationParser.j
ava:603)
at
org.apache.tapestry.ApplicationServlet.parseApplicationSpecification(Applica
tionServlet.java:632)
at
org.apache.tapestry.ApplicationServlet.constructApplicationSpecification(App
licationServlet.java:525)
at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:467)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Starting service Tomcat-Apache
Apache Tomcat/4.0.6


Looking at the server.xml the tomcat plugin produces it seems that it's
using backslashes for the document root. I think that's what tomcat's
having trouble with. How this was working before I have no idea.

sigh

Regards,

Glen


0

Please sign in to leave a comment.