Re: Failed to deploy application

2010-05-04 Thread Luís de Sousa
Hello again,

Today I was able to get an application deployed with auto-deploy, by
simply copying the directory into webapps.

I still can't deploy an application at another disk location using the
GUI or the URL call, same error:

FAIL - Failed to deploy application at context path /JSPTut2

Thank you,

Luís

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



Re: Failed to deploy application

2010-05-03 Thread Jie Sheng Chua
Hi Luís de Sousa,

Could you provide your
OS:
Tomcat Version:
JDK:

If you trying to deploy pointing it to a folder, you need to ensure that the
folder have the needed permission.

2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com

 Hello,

 I'm trying to deploy an application that is located under the webapps
 directory. I'm using the http call:


 http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTuttag=JSPTut

 And I'm getting this answer back:

 FAIL - Failed to deploy application at context path
 /var/lib/tomcat6/webapps/JSPTut

 Reading documentation in the web I found references to a possible
 missing web.xml file but such isn't the case. I've also browsed the
 log files but can't find any occurrence for today.

 What may be the problem?

 Thank you,

 Luís

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




-- 
Jie Sheng, Chua
(+65) 97520245
chuajiesh...@gmail.com

The contents of this email are confidential to the intended recipient and
may not be disclosed. Although it is believed that this email and any
attachments are virus free, it is the responsibility of the recipient to
confirm this.


Re: Failed to deploy application

2010-05-03 Thread Luís de Sousa
On Mon, May 3, 2010 at 1:09 PM, Jie Sheng Chua chuajiesh...@gmail.com wrote:
 Hi Luís de Sousa,

 Could you provide your
 OS:
 Tomcat Version:
 JDK:

Hi, sorry for not including this info,

OS: Ubuntu 9.10
Tomcat: Apache Tomcat/6.0.20
JDK: OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu3)

Out of desperation I already granted execute and read to permission to
all on the application directory (and all its contents).

Thank you,

Luís

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



Re: Failed to deploy application

2010-05-03 Thread Konstantin Kolinko
2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com:

 I'm trying to deploy an application that is located under the webapps
 directory. I'm using the http call:

 http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTuttag=JSPTut

 And I'm getting this answer back:

 FAIL - Failed to deploy application at context path
 /var/lib/tomcat6/webapps/JSPTut


For reference, documentation is here:
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html

Looking at your command, you are trying to deploy a previous (tagged)
version of an application. Does that match your expectations?

http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Deploy%20A%20New%20Application%20from%20a%20Local%20Path

Best regards,
Konstantin Kolinko

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



Re: Failed to deploy application

2010-05-03 Thread Luís de Sousa
Hello,

Trying with this command:

http://localhost:8080/manager/deploy?path=/JSPTutwar=file:/var/lib/tomcat6/webapps/JSPTut

The result is the same:

FAIL - Failed to deploy application at context path /JSPTut

Thank you,

Luís

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



Re: Failed to deploy application

2010-05-03 Thread Konstantin Kolinko
2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com:
 Hello,

 Trying with this command:

 http://localhost:8080/manager/deploy?path=/JSPTutwar=file:/var/lib/tomcat6/webapps/JSPTut

 The result is the same:

 FAIL - Failed to deploy application at context path /JSPTut


Do you try to automate something?
Or you just do not know about GUI application,

http://localhost:8080/manager/html


Do you have autoDeploy turned off for your Host? Because if it is on
(the default), then your JSPTut is already deployed automatically if
it is in Tomcat's webapps folder.

Best regards,
Konstantin Kolinko

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



Re: Failed to deploy application

2010-05-03 Thread Luís de Sousa
Hi Konstantin,

I initially tried to access the application without deploying and got
the server not found message. I then tried deploying it with the GUI
and was also unsuccessful. I then dug out of some old notes the
command that had the tag and tried it, receiving the FAIL message. I
though this was the proper way to submit the subject to the list.

btw, I'm now trying this with a simple Hello World html file.

Thank you,

Luís

On Mon, May 3, 2010 at 3:25 PM, Konstantin Kolinko

 Do you try to automate something?
 Or you just do not know about GUI application,

 http://localhost:8080/manager/html


 Do you have autoDeploy turned off for your Host? Because if it is on
 (the default), then your JSPTut is already deployed automatically if
 it is in Tomcat's webapps folder.

 Best regards,
 Konstantin Kolinko


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



RE: Failed to deploy application

2010-05-03 Thread Caldarale, Charles R
 From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com]
 Subject: Re: Failed to deploy application
 
 I initially tried to access the application without deploying and got
 the server not found message.

Let's stop here and go back to the basics: can you access *anything* on this 
Tomcat?  A server not found message indicates that Tomcat may not be running, 
or there's something blocking the port.

 - 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Failed to deploy application

2010-05-03 Thread Luís de Sousa
On Mon, May 3, 2010 at 3:43 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:

 Let's stop here and go back to the basics: can you access *anything* on this 
 Tomcat?  A server not found message indicates that Tomcat may not be 
 running, or there's something blocking the port.

Hi Chuck,

I can access Tomcat's welcome page and the manager GUI. It is up and running.

Thanks,

Luís

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



Re: Failed to Deploy

2009-01-09 Thread Zaki Akhmad
-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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Failed to Deploy

2009-01-09 Thread Zaki Akhmad
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Failed to Deploy

2009-01-09 Thread Konstantin Kolinko
2009/1/9 Zaki Akhmad zakiakh...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Failed to Deploy

2009-01-09 Thread Caldarale, Charles R
 From: Zaki Akhmad [mailto:zakiakh...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org