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 2008/11/07 05:21:19 UTC
Deployment Web App on Debian
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I am having difficulty while deploying my web application on Debian.
FYI, I am using Debian Testing.
Before I deploy on Debian, I had successfully deployed on Windows. I
just copy one folder of my web application folder to
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mywebapp
Do some little configuration, restart the tomcat, voila! It works on
http://localhost:8080/mywebapp
But how do I do it on Debian GNU/Linux?
- --
Zaki Akhmad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org
iEYEARECAAYFAkkTwjIACgkQT4k8JfIMt5fw5ACeMZQXkW0RUQXSOV4hqwhzQc+P
fpgAnje/rgMHC/f1vPfDjnkWrsrV1HFF
=hbKI
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by David Smith <dn...@cornell.edu>.
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission org.apache.tapestry.enable-reset-service
> read)
>
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
Your tomcat is running with the security manager. You'll have to
configure it to allow access to your webapp's classes.
--David
Zaki Akhmad wrote:
>
> Or maybe I misconfigure tomcat? There are something I miss? Here's the
> error[1]
>
> -za,
> [1]error
>
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Could not load class
> com.iaodt.epns.web.EpnsEngine from WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@128f6ee
> : null
>
> org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:676)
>
> org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
>
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>
> root cause
>
> org.apache.tapestry.ApplicationRuntimeException: Could not load class
> com.iaodt.epns.web.EpnsEngine from WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@128f6ee
> : null
>
> org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:107)
>
> org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
>
> org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
>
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>
> root cause
>
> java.lang.ExceptionInInitializerError
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:247)
>
> org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:103)
>
> org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
>
> org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
>
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>
> root cause
>
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission org.apache.tapestry.enable-reset-service
> read)
>
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
>
> java.security.AccessController.checkPermission(AccessController.java:546)
> java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>
> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
> java.lang.System.getProperty(System.java:652)
> java.lang.Boolean.getBoolean(Boolean.java:221)
> org.apache.tapestry.engine.AbstractEngine.(AbstractEngine.java:349)
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:247)
>
> org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:103)
>
> org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
>
> org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
>
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5 logs.
> Apache Tomcat/5.5
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Marcus Better <ma...@better.se>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zaki Akhmad wrote:
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission org.apache.tapestry.enable-reset-service
> read)
As already noted you have the security manager enabled (which is the default on Debian). Edit /etc/default/tomcat5.5 to disable it, or add the necessary permissions in a file in /etc/tomcat5.5/policy.d.
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkX+2MACgkQXjXn6TzcAQmOhwCgtwAbRR+JEHTYv0+PxHb+6ZYN
9FQAoLp/oG+Z2N509ziJUMgAGYXuY3za
=TPqU
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Zaki Akhmad <za...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Or maybe I misconfigure tomcat? There are something I miss? Here's the error[1]
- -za,
[1]error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Could not load class
com.iaodt.epns.web.EpnsEngine from WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
- ----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@128f6ee
: null
org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:676)
org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
org.apache.tapestry.ApplicationRuntimeException: Could not load class
com.iaodt.epns.web.EpnsEngine from WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
- ----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@128f6ee
: null
org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:107)
org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
java.lang.ExceptionInInitializerError
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:247)
org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:103)
org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
java.security.AccessControlException: access denied
(java.util.PropertyPermission org.apache.tapestry.enable-reset-service
read)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
java.security.AccessController.checkPermission(AccessController.java:546)
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
java.lang.System.getProperty(System.java:652)
java.lang.Boolean.getBoolean(Boolean.java:221)
org.apache.tapestry.engine.AbstractEngine.(AbstractEngine.java:349)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:247)
org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:103)
org.apache.tapestry.ApplicationServlet.createEngine(ApplicationServlet.java:665)
org.apache.tapestry.ApplicationServlet.getEngine(ApplicationServlet.java:380)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:192)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.
Apache Tomcat/5.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org
iEYEARECAAYFAkkUQMoACgkQT4k8JfIMt5c5BACgqGsERbgY5xmzQqStY8//KJhh
03AAoI2MMXwVGsdLJaW+uZUJ2ay8xm8P
=tlVw
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
Kevin Jackson:
> Do you have the JDK installed or just the jre? Remember tomcat really
> needs a jdk to compile jsps
No, it doesn't. A JRE is enough for modern Tomcat versions - at least
this is true for the official builds from Apache.
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by David Smith <dn...@cornell.edu>.
As written in the tomcat 5.5 RUNNING.txt file:
Out of the box, Tomcat 5.5 requires the Java 2 Standard Edition Runtime
Environment (JRE) version 5.0 or later.
The OP really should post log information related to deploying their
webapp on Debian.
--David
Kevin Jackson wrote:
> Do you have the JDK installed or just the jre? Remember tomcat really
> needs a jdk to compile jsps
>
> Kev
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Zaki Akhmad <za...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Nov 7, 2008 at 7:57 PM, Kevin Jackson wrote:
> Do you have the JDK installed or just the jre? Remember tomcat really
> needs a jdk to compile jsps
Yes I have. I have succesfully deploy sample.war from Tomcat example.
But my own web application still failed :(
- --
Zaki Akhmad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org
iEYEARECAAYFAkkUPwQACgkQT4k8JfIMt5cEsgCfcm0TjRwRh3bqYS+dU7GftHVW
SfoAn1KmZbLN8xjODLSQGMGinFedRTXS
=YohK
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Kevin Jackson <fo...@gmail.com>.
Do you have the JDK installed or just the jre? Remember tomcat really
needs a jdk to compile jsps
Kev
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Marcus Better <ma...@better.se>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zaki Akhmad wrote:
> But how do I do it on Debian GNU/Linux?
Drop the WAR file in /var/lib/tomcat5.5/webapps. It should auto-deploy.
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkUB7wACgkQXjXn6TzcAQl6KgCg41o4gOstjzqa9jRTJngWpV1j
KMcAoPdK6umkKCGcR3p1wtE3/829oFvR
=4Awk
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Zaki Akhmad <za...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Nov 7, 2008 at 2:32 PM, Leon Rosenberg wrote:
> you should also check which java version is installed.
> If its not suns - remove it.
Done that.
za@zara:~$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
- --
Zaki Akhmad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org
iEYEARECAAYFAkkT/CYACgkQT4k8JfIMt5ddwwCfcNGDJYS7a47TgaaYX0VF/leg
l+EAoKeB71OMnubgzw6UR8jEHfTgvvvW
=wUCx
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Leon Rosenberg <ro...@googlemail.com>.
you should also check which java version is installed.
If its not suns - remove it.
Leon
On Fri, Nov 7, 2008 at 8:22 AM, Youssef Mohammed
<yo...@gmail.com> wrote:
> There shouldn't be any difference if you have same same version of tomcat
> (recall java in platform independent).
> You should look at your logs and see why it fails. If could be for example
> that you don't have your database setup or jdbc drivers is done added the
> classpath.
> You should also deploy a WAR not the webbapp folder (though it sometimes
> works both ways).
>
> Regards, Youssef
>
>
> On Fri, Nov 7, 2008 at 6:21 AM, Zaki Akhmad <za...@gmail.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> Hello all,
>>
>> I am having difficulty while deploying my web application on Debian.
>> FYI, I am using Debian Testing.
>>
>> Before I deploy on Debian, I had successfully deployed on Windows. I
>> just copy one folder of my web application folder to
>> C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mywebapp
>>
>> Do some little configuration, restart the tomcat, voila! It works on
>> http://localhost:8080/mywebapp
>>
>> But how do I do it on Debian GNU/Linux?
>>
>> - --
>> Zaki Akhmad
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: http://getfiregpg.org
>>
>> iEYEARECAAYFAkkTwjIACgkQT4k8JfIMt5fw5ACeMZQXkW0RUQXSOV4hqwhzQc+P
>> fpgAnje/rgMHC/f1vPfDjnkWrsrV1HFF
>> =hbKI
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deployment Web App on Debian
Posted by Youssef Mohammed <yo...@gmail.com>.
There shouldn't be any difference if you have same same version of tomcat
(recall java in platform independent).
You should look at your logs and see why it fails. If could be for example
that you don't have your database setup or jdbc drivers is done added the
classpath.
You should also deploy a WAR not the webbapp folder (though it sometimes
works both ways).
Regards, Youssef
On Fri, Nov 7, 2008 at 6:21 AM, Zaki Akhmad <za...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hello all,
>
> I am having difficulty while deploying my web application on Debian.
> FYI, I am using Debian Testing.
>
> Before I deploy on Debian, I had successfully deployed on Windows. I
> just copy one folder of my web application folder to
> C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mywebapp
>
> Do some little configuration, restart the tomcat, voila! It works on
> http://localhost:8080/mywebapp
>
> But how do I do it on Debian GNU/Linux?
>
> - --
> Zaki Akhmad
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: http://getfiregpg.org
>
> iEYEARECAAYFAkkTwjIACgkQT4k8JfIMt5fw5ACeMZQXkW0RUQXSOV4hqwhzQc+P
> fpgAnje/rgMHC/f1vPfDjnkWrsrV1HFF
> =hbKI
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>