SSL Port 443 for AIX

2011-11-12 Thread whoswho
Tomcat Version:  TOMCAT 6.0.x
Operating System:  IBM AIX 6.1

Problem:
Tomcat has been installed as a non-root user.  I want to use SSL port 443
and not the deafult port 8443.  When I modify the SSL connector, and try
connecting as 443, I get permission denied since the tomcat account owner
is non-root.

In Linux, I know we can use IPTABLES, how about AIX?

Ed


build.xml:2313: Compile failed; see the compiler error output for details

2011-11-12 Thread Cifer

this is the first time i post a question on mail list
i have googled for my question so much but still get no result
lastly , i find here and here is my last hope

i am sorry for my poor English if you get into trouble with my question

several days ago I downloaded the apache-tomcat-7.0.22-src.tar.gz
then i unpacked it and build the source files followed the BUILDING.txt 
(so i also download the ant,also the lastest version)


i followed the BUILDING.txt

- open the terminal
- cd /usr/local/tomcat7  ---that is where i unpacked my tar in
- and run ant

(i am not using a proxy , i am using my huawei 3G device to connect to 
Internet)


as the console scrolled down
hundred lines of errors rise up
most of them are something like
PoolingDataSource is not abstract and does not override abstract method 
getParentLogger() in CommonDataSource


and at the last line ,it shows

BUILD FAILED
/usr/local/tomcat7/build.xml:2211: The following error occurred while 
excuting the line:


/usr/local/tomcat7/build.xml:2313: Compile failed; see the compiler 
error output for details.



i downloaded the 7.0.22 version of tomcat
and i am working on Ubuntu 11.10


thanks for help 

--

/*send by Cifer*/


Re: SSL Port 443 for AIX

2011-11-12 Thread Tobias Crefeld
Am Sat, 12 Nov 2011 07:21:58 -0500 schrieb whoswho pongd...@gmail.com:

 Tomcat has been installed as a non-root user.  I want to use SSL port
 443 and not the deafult port 8443.  When I modify the SSL connector,
 and try connecting as 443, I get permission denied since the tomcat
 account owner is non-root.

It's a (Unix?-) principle that services with numbers below 1024 are
only allowed to get startet by root.

You can use NAT to exchange port numbers.
Or if it's possible to extract SSL-certificates you install Apache
(httpd) that is using it's own mechanism to start services with low
port numbers, setup SSL and use something like mod_proxy_ajp or mod_jk
to contact Tomcat's ajp-connector.


RU,
 Tobias.

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



Re: build.xml:2313: Compile failed; see the compiler error output for details

2011-11-12 Thread Konstantin Kolinko
2011/11/12 Cifer mantia...@gmail.com:
 this is the first time i post a question on mail list
 i have googled for my question so much but still get no result
 lastly , i find here and here is my last hope

 i am sorry for my poor English if you get into trouble with my question

 several days ago I downloaded the apache-tomcat-7.0.22-src.tar.gz
 then i unpacked it and build the source files followed the BUILDING.txt (so
 i also download the ant,also the lastest version)

 i followed the BUILDING.txt

 - open the terminal
 - cd /usr/local/tomcat7      ---that is where i unpacked my tar in
 - and run ant

 (i am not using a proxy , i am using my huawei 3G device to connect to
 Internet)

 as the console scrolled down
 hundred lines of errors rise up
 most of them are something like
 PoolingDataSource is not abstract and does not override abstract method
 getParentLogger() in CommonDataSource

 and at the last line ,it shows

 BUILD FAILED
 /usr/local/tomcat7/build.xml:2211: The following error occurred while
 excuting the line:

 /usr/local/tomcat7/build.xml:2313: Compile failed; see the compiler error
 output for details.


 i downloaded the 7.0.22 version of tomcat
 and i am working on Ubuntu 11.10


1. What Java version you are using.
Look at Ant documentation on how to install and run it.

IIRC you have to set JAVA_HOME and ANT_HOME variables before running it.

To compile Tomcat 7 you need Java 6 SDK.

2. Do not forget to create build.properties file and redefine
base.path property there. That is mentioned in RUNNING.txt.

3. If you just need to run Tomcat, download a binary version of it +
see RUNNING.txt. Compiling java programs is not necessary to run them,
because their binaries are cross-platform.

Best regards,
Konstantin Kolinko

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



Re: SSL Port 443 for AIX

2011-11-12 Thread Brian Burch

On 13/11/11 04:32, Tobias Crefeld wrote:

Am Sat, 12 Nov 2011 07:21:58 -0500 schrieb whoswhopongd...@gmail.com:


Tomcat has been installed as a non-root user.  I want to use SSL port
443 and not the deafult port 8443.  When I modify the SSL connector,
and try connecting as 443, I get permission denied since the tomcat
account owner is non-root.


It's a (Unix?-) principle that services with numbers below 1024 are
only allowed to get startet by root.


If you have the authbind package available under AIX, you can configure 
it so the tomcat user has permission to listen on low port numbers, e.g. 
80 and 443.



You can use NAT to exchange port numbers.
Or if it's possible to extract SSL-certificates you install Apache
(httpd) that is using it's own mechanism to start services with low
port numbers, setup SSL and use something like mod_proxy_ajp or mod_jk
to contact Tomcat's ajp-connector.


RU,
  Tobias.

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



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



Re: build.xml:2313: Compile failed; see the compiler error output for details

2011-11-12 Thread Cifer

On 11/13/2011 03:04 AM, Konstantin Kolinko wrote:

2011/11/12 Cifermantia...@gmail.com:

this is the first time i post a question on mail list
i have googled for my question so much but still get no result
lastly , i find here and here is my last hope

i am sorry for my poor English if you get into trouble with my question

several days ago I downloaded the apache-tomcat-7.0.22-src.tar.gz
then i unpacked it and build the source files followed the BUILDING.txt (so
i also download the ant,also the lastest version)

i followed the BUILDING.txt

- open the terminal
- cd /usr/local/tomcat7  ---that is where i unpacked my tar in
- and run ant

(i am not using a proxy , i am using my huawei 3G device to connect to
Internet)

as the console scrolled down
hundred lines of errors rise up
most of them are something like
PoolingDataSource is not abstract and does not override abstract method
getParentLogger() in CommonDataSource

and at the last line ,it shows

BUILD FAILED
/usr/local/tomcat7/build.xml:2211: The following error occurred while
excuting the line:

/usr/local/tomcat7/build.xml:2313: Compile failed; see the compiler error
output for details.


i downloaded the 7.0.22 version of tomcat
and i am working on Ubuntu 11.10


1. What Java version you are using.
Look at Ant documentation on how to install and run it.

IIRC you have to set JAVA_HOME and ANT_HOME variables before running it.

To compile Tomcat 7 you need Java 6 SDK.

2. Do not forget to create build.properties file and redefine
base.path property there. That is mentioned in RUNNING.txt.

3. If you just need to run Tomcat, download a binary version of it +
see RUNNING.txt. Compiling java programs is not necessary to run them,
because their binaries are cross-platform.

Best regards,
Konstantin Kolinko

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



thanks for such a fast reply
i am sorry i forget to tell my java version
i am using java7 and i followed your third advice
since there is no need to compile by myself
i got the tomcat started
thanks again

but i still in trouble why must i use java6 to compile tomcat7
how could it exist such a incompatible between them..

--

/*send by Cifer*/


RE: build.xml:2313: Compile failed; see the compiler error output for details

2011-11-12 Thread Caldarale, Charles R
 From: Cifer [mailto:mantia...@gmail.com] 
 Subject: Re: build.xml:2313: Compile failed; see the compiler error output 
 for details

 why must i use java6 to compile tomcat7

Because Sun (not Oracle) added methods to an interface class in JDK 7 that 
Tomcat does not implement, resulting in errors during compilation.  Tomcat 
cannot add the methods in question since doing so would make it impossible to 
run Tomcat on JDK 6.  Sun did not think that one through.

 how could it exist such a incompatible between them..

You will have to find and ask the responsible party who may or may not now work 
for Oracle.

 - 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



403 error starting tomcat 7.0.22 application on windows 7

2011-11-12 Thread basilk
Hi.

I  updated winXp to win7 and cannot start my tomcat 7.0.22 web-application.
The tomcat returns 403 error. When i run manager application everything is ok.

What seems to be my problem?
Thanks.