You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zaki Akhmad <za...@gmail.com> on 2009/01/09 09:23:55 UTC

Failed to Deploy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

I am trying to deploy my web application with Tomcat Web App Manager.
Unfortunately, it takes time so long (more than 5 minutes). I add:
the context path
XML configuration file URL
Directory URL

I check the /var/lib/tomcat5.5/webapps directory, and my web
application directory is in there:
$ ls -l
total 16
drwxr-xr-x 8 tomcat55 nogroup 4096 2008-11-14 16:29 lpse

But I can't access it, and I don't see it on Tomcat Web Application
Manager. Is there any log, I can use as a hint? Where's the location
of the log?

- --
Zaki Akhmad


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklnCgUACgkQI3d58oE7Pt4VvQCfRxO6JMeqjtpWVxta7kPyr8uv
c4cAnA9r+wgaZM2OHkoLPfpdmSZSNkQV
=/EGl
-----END PGP SIGNATURE-----

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


RE: Failed to Deploy

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Zaki Akhmad [mailto:zakiakhmad@gmail.com]
> Subject: Re: Failed to Deploy
>
> Here's the log I found on /var/log/syslog
>
> java.util.jar.Manifest.read(libgcj.so.90)    at

Not only should you install a real Tomcat from tomcat.apache.org (as Konstantin's search link points out), but you also *MUST* install a real JVM to run Tomcat under.  The gcj project is a toy, and should not be considered for any kind of real Java work.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Failed to Deploy

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/1/9 Zaki Akhmad <za...@gmail.com>:

> Here's the log I found on /var/log/syslog
>

> gnu.java.util.jar.JarUtils

http://www.google.com/search?q=%22install+a+real+tomcat%22+site%3Awww.nabble.com

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


Re: Failed to Deploy

Posted by Zaki Akhmad <za...@gmail.com>.
Here's the log I found on /var/log/syslog

Jan  9 15:51:41 freelance2 jsvc.exec[3664]: 9-Jan-09 3:51:41 PM
org.apache.catalina.core.ApplicationContext log INFO: HTMLManager:
install: Installing context configuration at
'/home/za/tomcat/lpse/WEB-INF/web.xml' from '/home/za/tomcat/lpse'
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: 9-Jan-09 3:51:41 PM
org.apache.catalina.startup.HostConfig deployDescriptor SEVERE: Error
deploying configuration descriptor lpse2.xml
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: 9-Jan-09 3:51:41 PM
org.apache.catalina.core.StandardContext start SEVERE: Error in
dependencyCheck java.util.jar.JarException: Section should start with
a Name header: unexpected '
Jan  9 15:51:41 freelance2 jsvc.exec[3664]:
til.jar.JarUtils.readSectionName(libgcj.so.90)    at
gnu.java.util.jar.JarUtils.readIndividualSections(libgcj.so.90)    at
java.util.jar.Manifest.read(libgcj.so.90)    at
java.util.jar.Manifest.<init>
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: (libgcj.so.90)    at
java.util.jar.JarInputStream.readManifest(libgcj.so.90)    at
java.util.jar.JarInputStream.<init>(libgcj.so.90)    at
org.apache.catalina.util.ExtensionValidator.getManifest(Exten
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: sionValidator.java:373)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:184)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:406
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: 4)    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
   at org.apache.catalina.core.St
Jan  9 15:51:41 freelance2 jsvc.exec[3664]:
andardHost.addChild(StandardHost.java:544)    at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:519
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: )    at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at java.lang.reflect.Method.invoke(libgcj.so.90)    at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.jav
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: a:458)    at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
   at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerI
Jan  9 15:51:41 freelance2 jsvc.exec[3664]: nterceptor.java:120)    at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
   at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(Defa
Jan  9 15:51:41 freelance2 jsvc.exec[3664]:
ultMBeanServerInterceptor.java:120)    at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
   at mx4j.server.interceptor.ContextClassLoaderMBeanServ
Jan  9 15:51:41 freelance2 jsvc.exec[3664]:
erInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
   at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
at org.apache.catalina.manager.ManagerServlet.check(Manag

-za

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


Re: Failed to Deploy

Posted by Zaki Akhmad <za...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Now the Tomcat Web Application Manager, shows my web application on
its list. But the message shown is: FAIL - Application at context path
/abcd could not be started. I try to undeploy and deploy it again.
This time didn't take much time.

Any hint?

- -za,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklnDboACgkQI3d58oE7Pt7DNwCeNScdCOqdezPHx5d5Nn9E0215
oK8AnRDccXyWbnuKb/0CPP92l9AD65Y6
=uyUA
-----END PGP SIGNATURE-----

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