Re: Eclipse Galileo Tomcat 6 - Win Vista IIS HTTP Error 500.24 - Internal Server Error

2010-03-10 Thread André Warnier

henry23 wrote:

I have a laptop with Win Vista SP2 installed on it, and on which all of the
IIS features with IIS in the name have been turned off.


Obviously not :
...

Server Error in Application DEFAULT WEB SITEInternet Information Services
7.0


...

An ASP.NET setting has been detected that does not apply in Integrated
managed pipeline mode. Detailed Error InformationModule

...


Move this application to an application pool using Classic .NET mode - for
example, %SystemRoot%\system32\inetsrv\appcmd set app Default Web Site/
/applicationPool:Classic .NET AppPool 

...

Try disabling the IIS service in My Computer..Manage..Services, if 
such a thing exists under Vista.
Also, while you're at it, disable whatever is called UAP / User Account 
Protection, since that will probably interfere too.
Then de-install whichever version of Tomcat you have now, since it seems 
to be a rather old one.
(At this point, you may also want to de-install Windows Vista and 
install a serious OS like Linux, but hey, that's your choice)

Then install the latest Tomcat version for your platform, from this page :
http://tomcat.apache.org/download-60.cgi

If you choose the service installer, it will install everything 
automatically for you, and you will have a working latest Tomcat, 
independent of Eclipse.  You can then set Eclipse to use it.
But that version of Tomcat does not have all the files which may come in 
handy later on a development system.


If you choose the .zip version of Tomcat (my recommendation) :
- unzip it to the new directory of your choice, preferably one without 
spaces in the name (c:\tomcat6.0 may be the easiest).
Then read the content of the file RUNNING.txt in the top Tomcat 
directory.  Really.
In the directory tomcat\bin, you will also find a file service.bat 
which allows you to install Tomcat as a Windows Service, and run it that 
way.



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



Re: jvm exits without trace

2010-03-10 Thread Taylan Develioglu
Sorry I wasn't clear.

I didn't mean 2172 concurrent requests. Just sessions. 
It hadn't occured to me that the number of sessions does not necessarily
equal the number of connections (duh).

the number of established connections indeed equals the number of
threads. So what Chuck said was true.




On Tue, 2010-03-09 at 19:29 +0100, André Warnier wrote:
 Taylan Develioglu wrote:
  Chuck, if that is true how can we explain I see only 637 busy threads on
  a server that is serving 2172 clients ?
 
 Woaw ! can you give us your trick ?
 
  
  If every connection requires its own thread there should be 2172
  threads.
 
 Seriously now : when a thread is finished serving a request, there is 
 still some time during which the response bytes are cascading through 
 the network to the clients.
 I think you need to defined serving 2172 clients a bit more precisely 
 before you can say this, no ?
 
 
  
  On Tue, 2010-03-09 at 16:40 +0100, Caldarale, Charles R wrote:
  From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com]
  Subject: RE: jvm exits without trace
 
  where peak busy-threads used to be ~50 with APR, now it has become ~200
  with JIO.
  To be expected when you have unlimited keep-alives configured.  Each HTTP 
  connection requires a separate thread with JIO, whereas the NIO and APR 
  connectors use a single poller thread.
 
   - 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.
 
 
  __
  This email has been scanned by the MessageLabs Email Security System.
  For more information please visit http://www.messagelabs.com/email 
  __
  
  
  
  -
  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
 



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



Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-10 Thread Pid

On 09/03/2010 19:46, Malcolm Warren wrote:

Ok, thanks.

In fact just after receiving this email from you I also got one from
Apple saying that it's a bug and that they're trying to solve it.
Sorry for the bother, and thanks again.


Given that it usually takes about 18months for Apple to release Java 
updates, you might try the SoyLatte / OpenJDK 7 builds. YMMV



p



Malcolm

Il 09/03/10 18.25, Caldarale, Charles R ha scritto:

From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24

I can't be categorical, because I have never used Tomcat on an Apple
machine, but neither here nor in the attachments do I spot anything
that might be Tomcat-related.

It's definitely an Apple JVM problem; Tomcat is not involved. Good luck.

- 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







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



Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread Jimmy Spam


Please, excuse my poor english.

When I deploy an java app (.war file) with tomcat manager, it create  
the folder of this app inside of webapps with user: tomcat, group:  
tomcat  and permissions 750. I need, at least, have write privilege  
for group (770), since some user of my system (wich are inside of  
tomcat group), need can modify files of the apps.


Can I change this behavior?

Thank you very much




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



6.0.24 Pid Problem

2010-03-10 Thread emerson cargnin
We have a wrapper script that is in charge of starting and stopping tomcat.

Since we moved from 6.0.20 to 6.0.24 we started to get a few issues
with the pid not been removed properly making the start script to fail
and never starting tomcat.

I know of the change that added a delay parameter to the start/stop
steps. Is anyone aware of any other change that might had affected our
wrapper script?

Regards
Emerson

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



Re: 6.0.24 Pid Problem

2010-03-10 Thread Pid

On 10/03/2010 09:59, emerson cargnin wrote:

We have a wrapper script that is in charge of starting and stopping tomcat.

Since we moved from 6.0.20 to 6.0.24 we started to get a few issues
with the pid not been removed properly making the start script to fail
and never starting tomcat.

I know of the change that added a delay parameter to the start/stop
steps. Is anyone aware of any other change that might had affected our
wrapper script?


Where did you get the wrapper script from?


p

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



Re: Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread André Warnier

Jimmy Spam wrote:


Please, excuse my poor english.

It sounds fine.


When I deploy an java app (.war file) with tomcat manager, it create the 
folder of this app inside of webapps with user: tomcat, group: tomcat  
and permissions 750. I need, at least, have write privilege for group 
(770), since some user of my system (wich are inside of tomcat group), 
need can modify files of the apps.


Can I change this behavior?


Hi.

Maybe not directly in Tomcat (although since it is open-source, you 
could modify the Manager application yourself).


But if you are under Linux, and the filesystem where Tomcat resides 
allows it (supports ACL), there is another way (ACL) : look up the commands

setfacl, getfacl etc..
The point is : you can set permissions for the webapps 
directory/subdirectory, which will override what the Manager says.

Be prepared : these commands are a bit hard to understand; but they work.

Make sure that you understand the security implications of what you are 
doing, and make sure the Manager itself is well-protected.  It has been 
used in the past for attacks, to upload applications which in turn act 
as Trojans e.g.


Also, in the above, the logic itself of your requirement does raise some 
doubts : apparently thus, you deploy an application from a .war file 
through the Manager. This generates (explodes) a series of directories 
and files under tomcat/webapps.

And then, you allow some people to go and modify these files directly.
You probably know what you are doing, but as a general mechanism that 
does not sound like a very safe/consistent thing to do. For example, it 
means that if someone modifies a file, and then the application is 
redeployed using the Manager, the changes are lost.



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



Re: Possible issues with Jasper in latest Tomcat release (6.0.24)

2010-03-10 Thread Sai Pullabhotla
Thanks, Konstantin. I will test it out.

Regards,
Sai Pullabhotla





On Tue, Mar 9, 2010 at 8:11 PM, Konstantin Kolinko
knst.koli...@gmail.com wrote:
 2010/3/9 Sai Pullabhotla sai.pullabho...@jmethods.com:
 Do you know when the 6.0.26 with this patch will be available?

 A release candidate for 6.0.26 has been proposed for voting several hours ago.
 See the thread [VOTE] Release build 6.0.26 on the dev list.

 You may participate in the testing.

 Best regards,
 Konstantin Kolinko

 -
 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



Software caused connection abort Error in Tomcat on AIX

2010-03-10 Thread Sharanabasavaraj Mudgal
Hi!

I am running tomcat 6.0.20 on AIX with Tomcat-native(1.1.16) enabled.  I get 
the following exception during  Tomcat Shutdown.   

SEVERE: Socket accept failed
Throwable occurred: org.apache.tomcat.jni.Error: Software caused connection 
abort
at org.apache.tomcat.jni.Socket.accept(Native Method)
at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1128)
at java.lang.Thread.run(Thread.java:736)

There are quite a few cases where the Acceptor thread raises the exception when 
the file descriptor limits are reached/there is issue with the file descriptor 
limit.  It’s interesting that in our case this exception is raised during 
shutdown.  Did search quite a bit on the net and mailing-list for similar 
issues but not  quite successful.   Tested by binding to a specific ip as weil 
with no luck.

1)can anyone point to conditions that can cause this error?  
2)Any debug options that can be used for the native code?  
3)What is the impact of this error? Functionally,  there seems to be no issue 
but we get this in the logs on shutdown.

Thanks in Advance for the help.

Sharan.





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



Re: Software caused connection abort Error in Tomcat on AIX

2010-03-10 Thread Konstantin Kolinko
2010/3/10 Sharanabasavaraj Mudgal sharanu_mud...@yahoo.com:
 Hi!

 I am running tomcat 6.0.20 on AIX with Tomcat-native(1.1.16) enabled.  I get 
 the following exception during  Tomcat Shutdown.

 SEVERE: Socket accept failed
 Throwable occurred: org.apache.tomcat.jni.Error: Software caused connection 
 abort
 at org.apache.tomcat.jni.Socket.accept(Native Method)
 at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1128)
 at java.lang.Thread.run(Thread.java:736)

 There are quite a few cases where the Acceptor thread raises the exception 
 when the file descriptor limits are reached/there is issue with the file 
 descriptor limit.  It’s interesting that in our case this exception is raised 
 during shutdown.

This message (at shutdown time) is nothing to worry about, it is expected.
It occurs because Socket.accept() call (waiting for an incoming
connection) is being aborted. Because the accept() call terminates
abnormally and cannot return a socket handle, return from the call is
performed via an exception (*.jni.Error is used here). That is what
you are seeing.

6.0.26 and later will not log this error.
http://svn.apache.org/viewvc?view=revisionrevision=918495

https://issues.apache.org/bugzilla/show_bug.cgi?id=48584
also mentions this issue.

Best regards,
Konstantin Kolinko

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



Re: Installation differences between 6.0.24 and 5.5.28

2010-03-10 Thread David kerber

Konstantin Kolinko wrote:

2010/3/10 Christopher Schultz ch...@christopherschultz.net:

I don't mean to belabor the point, but upgrading from Tomcat 5.5 to 6.0
should have been this easy:

0. Stop Tomcat 5.5
1. Install Tomcat 6.0
2. Copy yourapp.war from Tomcat 5.5\webapps - Tomcat 6.0\webapps


If my original installation was that simple, it would have been. 
Unfortunately, that's not where my .war was to start with, and I also 
need to create an additional context path for it.




3. Start Tomcat 6.0

Here are some potential things you'd have to change:

1. Copy JDBC library from Tomcat 5.5\common\lib into Tomcat 6.0\lib


Yes, I figured that one out.



2. Connector port numbers in Tomcat 6.0\conf\server.xml


No problem there; that didn't change.



3. Cluster configuration in server.xml


Don't use clusters.



4. Global environment entries in server.xml


After using it for a while, I decided global environment entries were 
too cumbersome to handle in the server.xml, so I came up with my own 
.properties file that I use with the java.util.properties class.  Makes 
it much easier to change (and particularly add new ones).







A document that might add to the above:
http://tomcat.apache.org/migration.html

5. In Tomcat 5.5 the commons-logging library was bundled with Tomcat
and was visible to all installed applications. In Tomcat 6 you have to
deploy it explicitly, if your application uses it.

Best regards,
Konstantin Kolinko


Thanks for the comments!
D



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



Re: Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread Peter Crowther
On 10 March 2010 10:51, André Warnier a...@ice-sa.com wrote:

 Jimmy Spam wrote:


 Please, excuse my poor english.

 It sounds fine.


 When I deploy an java app (.war file) with tomcat manager, it create the
 folder of this app inside of webapps with user: tomcat, group: tomcat  and
 permissions 750. I need, at least, have write privilege for group (770),
 since some user of my system (wich are inside of tomcat group), need can
 modify files of the apps.

 Can I change this behavior?

  Hi.

 Maybe not directly in Tomcat (although since it is open-source, you could
 modify the Manager application yourself).

 Check the umask at the instant Tomcat starts.  If you're starting it as a
service, it may well be starting with umask 027.  You should be able to
override that in the startup script and start Tomcat with umask 007 -
although this would cause *any* file Tomcat writes to be group-writable.

I can't think of a way of doing this on a per-webapp basis.

- Peter


Re: Secured photo rendering

2010-03-10 Thread János Löbb


On Mar 9, 2010, at 9:35 AM, David kerber wrote:


Caldarale, Charles R wrote:

From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Secured photo rendering

But it should not, if the server sends the image with the  
appropriate

no caching and/or expires HTTP headers.
The headers don't matter, since the client has the image in hand.   
Browsers, for example, allow a right-click to save the image,  
regardless of the caching state.


I've seen javascript used to prevent right-clicking to save the  
image, but nothing can prevent them from taking a screen shot.





When I use the DVD Player from Apple, I cannot take a screenshot even  
if I click myself to the Finder first.  So there is something already  
in practice that prevents from taking a screenshot :-)




Now how one would set such headers easily in Tomcat for static
documents, that I don't know.

Filters - but it won't help.
- Chuck



-
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: Secured photo rendering

2010-03-10 Thread Peter Crowther
On 10 March 2010 15:30, János Löbb janos.l...@yale.edu wrote:

 When I use the DVD Player from Apple, I cannot take a screenshot even if I
 click myself to the Finder first.  So there is something already in practice
 that prevents from taking a screenshot :-)

 Yes - for an application that runs as a process on a particular operating
system, and generates the images within that application.  Even then, I
suspect there are ways of scraping the pixels from the video card's frame
buffer.

However, showing an image from a web server in a web browser does not give
you operating system protection.

- Peter


Re: Secured photo rendering

2010-03-10 Thread André Warnier

Peter Crowther wrote:

On 10 March 2010 15:30, János Löbb janos.l...@yale.edu wrote:


When I use the DVD Player from Apple, I cannot take a screenshot even if I
click myself to the Finder first.  So there is something already in practice
that prevents from taking a screenshot :-)

Yes - for an application that runs as a process on a particular operating

system, and generates the images within that application.  Even then, I
suspect there are ways of scraping the pixels from the video card's frame
buffer.


Like using a camera to make a picture ?



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



Re: Secured photo rendering

2010-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter,

On 3/10/2010 10:37 AM, Peter Crowther wrote:
 On 10 March 2010 15:30, János Löbb janos.l...@yale.edu wrote:
 
 When I use the DVD Player from Apple, I cannot take a screenshot even if I
 click myself to the Finder first.  So there is something already in practice
 that prevents from taking a screenshot :-)

 Yes - for an application that runs as a process on a particular operating
 system, and generates the images within that application.  Even then, I
 suspect there are ways of scraping the pixels from the video card's frame
 buffer.

I think the OP is trying to prevent casual stealing of the images, or
just borrowing them for another site.

Just for the sake of mental mast... er, fun! you could write a
javascript event handler that watched for un-focus events for the page
(which would likely happen if you were using an external utility to take
a screenshot) and/or key events for all environments you can think of,
and put a big, fat, black rectangle over the images.

 However, showing an image from a web server in a web browser does not give
 you operating system protection.

Yup, and my technique above only works with pages that /you/ control, so
if someone links to your images from elsewhere, your images are again
stealable.

My advice to the OP (which hasn't bothered to comment since the original
question, which is kinda irritating) is:

1. Watermark your images
2. Claim copyright on your images
3. Advertise your acceptable use policy for your images
4. Sue anyone who misuses them

All technological tricks are bound to take you a lot of time and not
cover all possibilities, so just forget it.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuXvs4ACgkQ9CaO5/Lv0PCOZQCgwd3JQYu8YSIxHqUyzG1NJY9K
A7wAoL5QVHomZHCYUTOK2HYK6f5EO13D
=jUYx
-END PGP SIGNATURE-

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



Re: Secured photo rendering

2010-03-10 Thread Hassan Schroeder
On Wed, Mar 10, 2010 at 7:46 AM, Christopher Schultz
ch...@christopherschultz.net wrote:

 Just for the sake of mental mast... er, fun! you could write a
 javascript event handler that ...

..would work until the user switched off JavaScript?  or kicked off `wget`
with the image URL?  :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

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



RE: Secured photo rendering

2010-03-10 Thread Joseph Morgan
On Wed, Mar 10, 2010 at 7:46 AM, Christopher Schultz
ch...@christopherschultz.net wrote:

 Just for the sake of mental mast... er, fun! you could write a
 javascript event handler that ...

..would work until the user switched off JavaScript?  or kicked off
`wget`
with the image URL?  :-)

... or someone is using screen recording software such as Camtasia or
other similar software.




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



Re: 6.0.24 Pid Problem

2010-03-10 Thread emerson cargnin
That is an script we use for a while already, as after restarting,
there is a one or two things that need to be done.
The thing is that the wrapper worked before until 6.0.20. It was on
6.0.24 that the pid started to be left after stop.

It seems like tomcat is taking longer to stop, and the standard 5
seconds isn't enough and then it fails, leaving behind the pid file.

I am testing now increasing the timeout parameter.

Emerson

On 10 March 2010 10:20, Pid p...@pidster.com wrote:
 On 10/03/2010 09:59, emerson cargnin wrote:

 We have a wrapper script that is in charge of starting and stopping
 tomcat.

 Since we moved from 6.0.20 to 6.0.24 we started to get a few issues
 with the pid not been removed properly making the start script to fail
 and never starting tomcat.

 I know of the change that added a delay parameter to the start/stop
 steps. Is anyone aware of any other change that might had affected our
 wrapper script?

 Where did you get the wrapper script from?


 p

 -
 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: Secured photo rendering

2010-03-10 Thread André Warnier

Christopher Schultz wrote:
...


Just for the sake of mental mast... er, fun! you could write a
javascript event handler that watched for un-focus events for the page
(which would likely happen if you were using an external utility to take
a screenshot)


Actually it doesn't.  On my PC, I use IrfanView as a kind of swiss army 
knife for many picture-like things.  It has several options for taking a 
screenshot, and the one I usually use is hit F11 to make a screenshot 
of the Window which currently has the focus.  It then reduces itself to 
a icon on the menu bar, and you select the Window of which you want the 
screenshot (which gives it focus), and hit F11 (with takes the screenshot).


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



Re: 6.0.24 Pid [file] Problem

2010-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Emerson,

On 3/10/2010 4:59 AM, emerson cargnin wrote:
 We have a wrapper script that is in charge of starting and stopping tomcat.
 
 Since we moved from 6.0.20 to 6.0.24 we started to get a few issues
 with the pid not been removed properly making the start script to fail
 and never starting tomcat.

It looks like this was added to the start portion of catalina.sh in
6.0.24:

  if [ ! -z $CATALINA_PID ]; then
if [ -f $CATALINA_PID ]; then
  echo PID file ($CATALINA_PID) found. Is Tomcat still running? \
Start aborted.
  exit 1
fi
  fi

This is probably what you're running into.

 I know of the change that added a delay parameter to the start/stop
 steps. Is anyone aware of any other change that might had affected our
 wrapper script?

I think it's only a delay with stop: I don't see anything in
catalina.sh to delay a start, but there is logic to wait for Tomcat to
stop and then remove the PID file.

The default sleep time is 5 seconds. If your webapp and/or Tomcat can't
shut down in that time, the pid file will remain. Have you tried
increasing the timeout? It looks like calling this from your script
would extend the sleep time:

$CATALINA_HOME/bin/catalina.sh stop 25

This will give Tomcat 25 seconds to stop.

You might want to use jstack to see what Tomcat is doing when its taking
a long time to shut down. Perhaps you can change your webapp to shut
down more quickly.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuXxJUACgkQ9CaO5/Lv0PCciQCgs4f+U0BLGrCE9CbO0w0B6epb
eiEAoKwPyFhlPO70GGVOVfcqXZ/8Aei7
=u4y8
-END PGP SIGNATURE-

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



Not getting an error that I though I should be getting

2010-03-10 Thread David kerber
As part of my migration from tc 5.5.x to 6.0.x, I'm reviewing my 
deployment scripts, and noticed that in one of them, I'm deleting the 
jdbc driver jar, jodbc.jar from the WEB-INF/lib folders, because it's 
already on the system in jre/lib/ext.


However, I hadn't put that script into use on my TC 6 test box, so both 
of my webapps still have the jodbc.jar in their WEB-INF/lib folder, and 
I discovered that I can successfully run both of them at the same time 
without running into the already loaded error I had been getting in 
5.5 (which is what caused me to put that stuff in the deployment script 
in the first place).


Is this a behavior change in 6.0, or is this error something that 
requires something else to trigger it?


Thanks!
D

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



Tomcat DBCP : testOnBorrow not working (?)

2010-03-10 Thread José Paumard

Hello all,

Here is my problem. I have a very classical configuration where a webapp 
with some Hibernate code in it accesses a MySQL DB. Everything is 
installed in Tomcat 6.


After some time, Hibernate complains about dropped connections, the 
error message looks like this :
com.mysql.jdbc.CommunicationsException : Communications link failure The 
last packet successfully received from the server was 204 734 
milliseconds ago. The last packet sent successfully to the server was 0 
milliseconds ago.
java.io.EOFException : Can not read response from server. Expected to 
read 4 bytes, read 0 bytes before connection was unexpectedly lost.


Refeshing the page once or twice usually fixes the problem.

I could narrow the problem and reproduce it on demand, juste by setting 
the wait timeout parameter of MySQL to a very low value : 10s (the 
default value is 8 hours). If I use my webapp fast enough (less than 10s 
between clicks) everything runs fine. If I wait just 12s, this problem 
shows up, 100% of the time. Reloading the page once or twice fixes it.


So my guess here is that Hibernate is provided with a closed connection 
(please correct me if you think I'm wrong on that point). Setting 
autoReconnect=true on the connection string doesnt help (I red somewhere 
that it was not expected to help in the case of MySQL for some reason, 
so I guess it's normal).


The configuration is the following : the datasource is configured in a 
context.xml file in the META-INF dir of the webapp.

 Resource name=jdbc/myds auth=Container type=javax.sql.DataSource
   maxActive=20 maxIdle=10 maxWait=3
   username=*** password=*** 
driverClassName=com.mysql.jdbc.Driver
   
url=jdbc:mysql://localhost/mydb?useUnicode=truecharacterEncoding=utf8/


Then the webapp uses it through a declaration in a persistence.xml file 
(JPA standard file).


   persistence-unit name=MyDataService
   providerorg.hibernate.ejb.HibernatePersistence/provider
   non-jta-data-sourcejava:/comp/env/jdbc/myds/non-jta-data-source
   !-- JPA stuff removed --
   /persistence-unit

To be sure that DBCP is not providing closed connections to Hibernate, I 
added the following to the Resource element, but with no success :

 Resource name=jdbc/myds auth=Container type=javax.sql.DataSource
   maxActive=20 maxIdle=10 maxWait=3
   username=*** password=*** 
driverClassName=com.mysql.jdbc.Driver
   
url=jdbc:mysql://localhost/mydb?useUnicode=truecharacterEncoding=utf8

   validationQuery=select 1 testOnBorrow=true/

From what I understand in the DBCP docs :
- the validation query has to be set to some legal value for DBCP to 
test the connection, which is the case

- testOnBorrow is true by default, setting it again cant harm can it ?

I tried to tune timeBetweenEvictionRunsMillis, numTestsPerEvictionRun 
and minEvictableIdleTimeMillis with testWhileIdle set to true, but with 
no more success.


Any hint would be much appreciated, especially on the logging side 
(Tomcat / DBCP), since I cant see how to get more information on what is 
going on with those buggy connections.


Thank you,

José




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



security-constraint in web.xml - order/priority

2010-03-10 Thread Mats Eklund
Hi,

If I have more than one security-constraint tags in my web.xml (some with, some 
without auth-constraints), which one takes precedence for a specific request?

Thanks,
Mats



  

RE: security-constraint in web.xml - order/priority

2010-03-10 Thread Caldarale, Charles R
 From: Mats Eklund [mailto:mats.ekl...@yahoo.com]
 Subject: security-constraint in web.xml - order/priority
 
 If I have more than one security-constraint tags in my web.xml (some
 with, some without auth-constraints), which one takes precedence for a
 specific request?

Generally, the longest match.  However, you really should read section 12 of 
the servlet spec, in particular SRV.12.7.

http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html

 - 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: Commons DBCP in Tomcat 6.x

2010-03-10 Thread Propes, Barry L
And in TC 6, versus the 4 series and older versions, you should be able to cram 
all of the Resource params into one element or attribute tag. 

-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Tuesday, March 09, 2010 2:36 PM
To: Tomcat Users List
Subject: RE: Commons DBCP in Tomcat 6.x

 From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com]
 Subject: Re: Commons DBCP in Tomcat 6.x
 
 Context path=/myapp docBase=myapp debug=0
 reloadable=true crossContext=true

Context elements should not be placed in server.xml:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

 Resource name=jdbc/myserver auth=Container
 type=javax.sql.DataSource /

To re-emphasize Konstantin's comment:

   Note, that you have to specify className=... explicitly.

 ResourceParams name=jdbc/myserver

This is completely wrong.  ResourceParams haven't been used in ages; you 
might try reading the documentation for the level of Tomcat you're using:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html

Looks like you're following some very, very out of date documentation or 
examples.

 - 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


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



axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Terence Coffey
Hello,
If someone can point me in the right direction, it would be great.
I'm a new user to TomCat, Axis2 etc. I've read the documentation and have tried 
to get my development environment up and running but it does
not appear to be running as expected.
What I'm trying to achieve is to run some of the sample war files.

The steps i'm following are at
http://ws.apache.org/axis2/1_5_1/installationguide.html#standalone3.
I've started the axis2 server. (~/Axis/axis2-1.5.1/bin$ ./axis2server.sh)
and done ant create.war. this creates the axis2.war file.

At the next stage,I'm not sure if I've made a mistake. This is what I've
done for the section Installing Axis2 in a Servlet Container in the above 
document.
In ~/Axis/axis2-1.5.1/webapp directory,I've entered ant return. This 
generates the axis2.war file again ? 
I've copied the axis2.war file into the Servlet container
 cp axis2.war /home/tc/TomCat/apache-tomcat-6.0.24/webapps/
At this stage I restarted the apache web server (sudo /etc/init.d/apache2 stop 
sudo /etc/init.d/apache2 start) and axis server.
 In my browser i type http://localhost:8080/axis2/, I see a screen that
shows a heading Deployed services followed by a version on the next line and 
getVersion on the following line. the URL is now shown as  
http://localhost:8080/axis2/service.

This screen is different from what is shown in the above document. I'm not 
seeing the validation or Administrator hyperlinks ? 

I've also started the Tomcat servlet but i have a number of errors. 
Where have i made a mistake? Thanks in advance.

cd $CATALINA_HOME
r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24

 ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out 
-errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap

logs/catalina.err
::
(Error 1)
10-Mar-2010 17:37:43 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use null:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)

...( Error 2)

10-Mar-2010 17:37:43 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 17:37:48 org.apache.jasper.EmbeddedServletOptions init
SEVERE: The scratchDir you specified: /home/tc/TomCat/apache-tomcat-6.0.24/work/
Catalina/localhost/axis2 is unusable.
(Error 3 No such file or directory)

10-Mar-2010 17:37:48 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample2.war
10-Mar-2010 17:37:48 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/sample2] 
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/samp
le2/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)


Config Details
---
I'm running Ubuntu 9.10(karmic koala)on Sun virtual Box.

The software I've installed is as follows
Ubuntu 9.10(karmic koala) 
apache-ant-1.8.0
Axis2-1.5.1
jdk1.6.0_18
apache-tomcat-6.0.24
glassfishv3 (J2EE )









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



Re: Tomcat DBCP : testOnBorrow not working (?)

2010-03-10 Thread Konstantin Kolinko
2010/3/10 José Paumard jose.paum...@orange.fr:
 To be sure that DBCP is not providing closed connections to Hibernate, I
 added the following to the Resource element, but with no success : (...)

Note, that META-INF/context.xml of a web application is copied to
${catalina.base}/conf/Catalina/localhost/yourappname.xml
when your application is deployed on Tomcat.

(the path will be different if you have different Service and Host
names. The above ones are the defaults).

Look there and make sure that your updates to context.xml were picked
up by Tomcat.

Best regards,
Konstantin Kolinko

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



RE: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Caldarale, Charles R
 From: Terence Coffey [mailto:terence_j_cof...@yahoo.co.uk]
 Subject: axis2: not seeing validation or administrator links from axis2
 
 I'm a new user to TomCat

It's Tomcat, not TomCat.  Fix your spelling.

 10-Mar-2010 17:37:43 org.apache.coyote.http11.Http11Protocol init
 SEVERE: Error initializing endpoint
 java.net.BindException: Address already in use null:8080

You already have something using port 8080 (possibly another instance of 
Tomcat), so you're not going to get this one to work until you find and 
eliminate the conflict.

 - 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



How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread testwreq wreq
Hello, I do not know much on setting up tomcat on linux. I am new to both.

However, I ran yum install tomcat5 to install tomcat from centos5 built. I
could see the version with the below command.

# /etc/init.d/tomcat5 version
Server version: Apache Tomcat/5.5.23
Server built:   Jul 27 2009 05:23:29
Server number:  5.5.23.0
OS Name:Linux
OS Version: 2.6.18-128.1.10.el5
Architecture:   i386
JVM Version:1.6.0-b09
JVM Vendor: Sun Microsystems Inc.
I need help to proceed further. Please guide me how to set-up TOMCAT on
centos5?  The base installation, I think is located in /user/share/tomcat5
and I see java in /usr/bin/jvm

Please help.


RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread Caldarale, Charles R
 From: testwreq wreq [mailto:testw...@gmail.com]
 Subject: How do I set up and run Tomcat 5.5.23 on Cetos5.3
 
 I need help to proceed further. Please guide me how to set-up
 TOMCAT on centos5?

Since you're using a non-standard version of Tomcat, the instructions on the 
Tomcat web site might not correspond exactly with the CentOS distribution.  
Regardless, start here:
http://tomcat.apache.org/tomcat-5.5-doc/index.html

Note that the version of Tomcat you've chosen to use is three years old, and 
several fixes for a variety of problems (including security) have gone in since 
then.  You might want to consider discarding that one and loading the latest 
Tomcat from here:
http://tomcat.apache.org/download-60.cgi

If you do choose to use Tomcat 6.0 (highly recommended), its doc starts here:
http://tomcat.apache.org/tomcat-6.0-doc/index.html

If you have specific questions, please ask.

 - 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: Comet event.setTimeOut Bug!! Still no answer

2010-03-10 Thread Filip Hanik - Dev Lists

once a timeslot for free support opens up, I will answer :)

Filip

On 03/09/2010 12:24 AM, Animesh Sonkar wrote:

Hi,

I am not sure why my previous mail was not answered? I hope that i
will get the reply this time

So here is the same query again...
Was curious what event.setTimeOut(timeOutValue) means on a comet event.

1. Does it mean that the request will timeout after timeOutValue and the
server will close the connection and call the END event.

I am trying to establish a persistent connection for asynchronous message
delivery using comet.

I create a chunked request (using socket) send HTTP POST with content. Then
create thread which reads from the socket outputstream.

On the server side on a comet event for the POST request
1. I set the event timeout to timeOutValue
2. Create a new thread passing the request,response and event
3. The event method of CometProcessor returns.

Observations:
1. If there is no activity on the response object (i.e no data is sent) and
if the comet client does not send any chunked data to the sever for
timeOutValue + 1 an END event is called by the server.

2. To prevent the calling of END event in Observation 1. i send a chunked
data from the client for every inactive interval of (timeOutValue -1)
[Heartbeat kind of mechanism].
In this case every time i send a heartbeat, the event method on the server
is triggered and event.setTimeOut is called again.
This prevents the server from calling the END event of the request and my
asynch message delivery from the thread i created runs fine and no END event
is called

Now from observation 2 what i found is as below:
a. Every time event.setTimeout is called for the same http request (can be
done for a chunked request sending some chunked data) the request timeout
increases to
(number of time event.setTimeOut is called) * (timeOutValue)
I.e on consequetive calls to event.setTimeOut the timeout value is increased
to (newtimeOutValue =oldTimeOutValue + timeOutValue)

1. Is this a bug in Comet? Or is this the desired behaviour?
2. What is the exact role of event.setTimeOut in case of normal request and
in case of chunked request in which chunked data can be sent again and
again?
3. For the asynch message delivery using comet as mentioned above is it
required to refresh the connection after some inactive time,probably the
timeOutValue? If yes, how can we assure that the END event is never called
for this request, considering my applications lifetime for message delivery
is the lifetime of the server once the thread is started.

Thanks,
Animesh

   



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



Re: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Konstantin Kolinko
2010/3/10 Terence Coffey terence_j_cof...@yahoo.co.uk:

Note, that
 At this stage I restarted the apache web server (sudo /etc/init.d/apache2 
 stop sudo /etc/init.d/apache2 start) and axis server.

you have restarted Apache HTTPD, not Apache Tomcat

  In my browser i type http://localhost:8080/axis2/,

and browsed an address served by Tomcat (port 8080), not by HTTPD (port 80)

 I see a screen that
 shows a heading Deployed services followed by a version on the next line 
 and getVersion on the following line. the URL is now shown as
 http://localhost:8080/axis2/service.


If you will not get an answer here, you might better try the axis
project users list,
http://ws.apache.org/axis2/mail-lists.html

I do not really know, but does content of your war file looks like is
listed here?:
http://ws.apache.org/axis2/1_5_1/quickstartguide.html#services

Best regards,
Konstantin Kolinko

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



Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread testwreq wreq
Unfortunately, I cannot use 6.0 because my boss believes that we should use
the one that comes with the centos built as this is tested.

Thanks a lot for the link. Since I am new, I am not sure what unix daemon
setup is and that is what this document is asking to do? Do I have to run
./configure script first or do I have to set some environment variables?
Currently, I am logged to my test machine as root. But, I want to run tomcat
as non privileged user.




On Wed, Mar 10, 2010 at 2:04 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: testwreq wreq [mailto:testw...@gmail.com]
  Subject: How do I set up and run Tomcat 5.5.23 on Cetos5.3
 
  I need help to proceed further. Please guide me how to set-up
  TOMCAT on centos5?

 Since you're using a non-standard version of Tomcat, the instructions on
 the Tomcat web site might not correspond exactly with the CentOS
 distribution.  Regardless, start here:
 http://tomcat.apache.org/tomcat-5.5-doc/index.html

 Note that the version of Tomcat you've chosen to use is three years old,
 and several fixes for a variety of problems (including security) have gone
 in since then.  You might want to consider discarding that one and loading
 the latest Tomcat from here:
 http://tomcat.apache.org/download-60.cgi

 If you do choose to use Tomcat 6.0 (highly recommended), its doc starts
 here:
 http://tomcat.apache.org/tomcat-6.0-doc/index.html

 If you have specific questions, please ask.

  - 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: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread Caldarale, Charles R
 From: testwreq wreq [mailto:testw...@gmail.com]
 Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3
 
 I cannot use 6.0 because my boss believes that we should use
 the one that comes with the centos built as this is tested.

Not nearly as well as the testing done by Tomcat committers and users.

 Since I am new, I am not sure what unix daemon setup is and that
 is what this document is asking to do?

Sorry, but I don't think anyone here has the time to give you training in Linux 
fundamentals (unless you want to pay for it).

 Currently, I am logged to my test machine as root. But, I want
 to run tomcat as non privileged user.

Read the FAQ:
http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F

I would not recommend adding httpd to the mix (unnecessary complexity and 
performance impacts); use either jsvc or iptables.

 - 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: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread André Warnier

testwreq wreq wrote:

Hello, I do not know much on setting up tomcat on linux. I am new to both.

However, I ran yum install tomcat5 to install tomcat from centos5 built. I
could see the version with the below command.

# /etc/init.d/tomcat5 version
Server version: Apache Tomcat/5.5.23
Server built:   Jul 27 2009 05:23:29
Server number:  5.5.23.0
OS Name:Linux
OS Version: 2.6.18-128.1.10.el5
Architecture:   i386
JVM Version:1.6.0-b09
JVM Vendor: Sun Microsystems Inc.
I need help to proceed further. Please guide me how to set-up TOMCAT on
centos5?  The base installation, I think is located in /user/share/tomcat5
and I see java in /usr/bin/jvm

Please help.

Well, according to what it says above, you are done. That's the nice 
part about these packages.  Tomcat is installed, and probably running. 
So what else do you need ?



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



Re: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Terence Coffey
hi,
The contents of my war file looks a bit different.
when i do a jar -xvf axis2.war I get the following output which is different 
from what's shown in your supplied web link. As you will see
it appears to be much larger. 
Thanks for your assistance.

t...@tc-laptop:~/Axis/axis2-1.5.1/conf$ jar -xvf axis2a.war
  created: META-INF/
 inflated: META-INF/MANIFEST.MF
  created: axis2-web/
  created: axis2-web/css/
  created: axis2-web/Error/
  created: axis2-web/images/
  created: axis2-web/include/
  created: WEB-INF/
  created: WEB-INF/classes/
  created: WEB-INF/classes/org/
  created: WEB-INF/classes/org/apache/
  created: WEB-INF/classes/org/apache/axis2/
  created: WEB-INF/classes/org/apache/axis2/webapp/
  created: WEB-INF/conf/
  created: WEB-INF/lib/
  created: WEB-INF/modules/
  created: WEB-INF/services/
 inflated: axis2-web/ActivateService.jsp
inflated: axis2-web/admin.jsp
 inflated: axis2-web/css/axis-style.css
 inflated: axis2-web/disengage.jsp
 inflated: axis2-web/EngageToServiceGroup.jsp
 inflated: axis2-web/engagingglobally.jsp
 inflated: axis2-web/engagingtoanoperation.jsp
 inflated: axis2-web/engagingtoaservice.jsp
 inflated: axis2-web/Error/AuthError.html
 inflated: axis2-web/Error/error404.jsp
 inflated: axis2-web/Error/error500.jsp
 inflated: axis2-web/Error/GenError.html
 inflated: axis2-web/error.jsp
 inflated: axis2-web/errorModule.jsp
 inflated: axis2-web/globalModules.jsp
 inflated: axis2-web/HappyAxis.jsp
 inflated: axis2-web/images/asf-logo.gif
 inflated: axis2-web/images/axis.gif
 inflated: axis2-web/images/axis.jpg
 inflated: axis2-web/images/axis_l.jpg
 inflated: axis2-web/InActivateService.jsp
 inflated: axis2-web/include/adminfooter.inc
 inflated: axis2-web/include/adminheader.inc
inflated: axis2-web/include/adminheader.jsp
 inflated: axis2-web/include/footer.inc
 inflated: axis2-web/include/header.inc
 inflated: axis2-web/include/httpbase.jsp
 inflated: axis2-web/include/link-footer.inc
 inflated: axis2-web/include/link-footer.jsp
 inflated: axis2-web/index.jsp
 inflated: axis2-web/LeftFrame.jsp
 inflated: axis2-web/listFaultyService.jsp
 inflated: axis2-web/listGroupService.jsp
 inflated: axis2-web/listModules.jsp
 inflated: axis2-web/listService.jsp
 inflated: axis2-web/ListServiceGroup.jsp
 inflated: axis2-web/listServices.jsp
 inflated: axis2-web/listSingleService.jsp
 inflated: axis2-web/Login.jsp
 inflated: axis2-web/MainFrame.jsp
 inflated: axis2-web/SelectService.jsp
 inflated: axis2-web/ServiceParaEdit.jsp
 inflated: axis2-web/TopFrame.jsp
 inflated: axis2-web/upload.jsp
inflated: axis2-web/ViewContexts.jsp
 inflated: axis2-web/ViewGlobalHandlers.jsp
 inflated: axis2-web/viewphases.jsp
 inflated: axis2-web/viewServiceContext.jsp
 inflated: axis2-web/viewServiceGroupContext.jsp
 inflated: axis2-web/ViewServiceHandlers.jsp
 inflated: WEB-INF/classes/commons-logging.properties
 inflated: WEB-INF/classes/log4j.properties
 inflated: WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class
 inflated: WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class
 inflated: WEB-INF/conf/axis2.xml
 inflated: WEB-INF/lib/activation-1.1.jar
 inflated: WEB-INF/lib/activation-LICENSE.txt
 inflated: WEB-INF/lib/annogen-LICENSE.txt
 inflated: WEB-INF/lib/antlr-2.7.7.jar
 inflated: WEB-INF/lib/axiom-api-1.2.8.jar
 inflated: WEB-INF/lib/axiom-api-LICENSE.txt
 inflated: WEB-INF/lib/axiom-dom-1.2.8.jar
 inflated: WEB-INF/lib/axiom-dom-LICENSE.txt
 inflated: WEB-INF/lib/axiom-impl-1.2.8.jar
 inflated: WEB-INF/lib/axiom-impl-LICENSE.txt
 inflated: WEB-INF/lib/axis2-adb-1.5.1.jar
 inflated: WEB-INF/lib/axis2-adb-codegen-1.5.1.jar
inflated: WEB-INF/lib/axis2-codegen-1.5.1.jar
 inflated: WEB-INF/lib/axis2-corba-1.5.1.jar
 inflated: WEB-INF/lib/axis2-fastinfoset-1.5.1.jar
 inflated: WEB-INF/lib/axis2-java2wsdl-1.5.1.jar
 inflated: WEB-INF/lib/axis2-jaxbri-1.5.1.jar
 inflated: WEB-INF/lib/axis2-jaxws-1.5.1.jar
 inflated: WEB-INF/lib/axis2-jibx-1.5.1.jar
 inflated: WEB-INF/lib/axis2-json-1.5.1.jar
 inflated: WEB-INF/lib/axis2-kernel-1.5.1.jar
 inflated: WEB-INF/lib/axis2-LICENSE.txt
 inflated: WEB-INF/lib/axis2-metadata-1.5.1.jar
 inflated: WEB-INF/lib/axis2-mtompolicy-1.5.1.jar
 inflated: WEB-INF/lib/axis2-saaj-1.5.1.jar
 inflated: WEB-INF/lib/axis2-spring-1.5.1.jar
 inflated: WEB-INF/lib/axis2-transport-http-1.5.1.jar
 inflated: WEB-INF/lib/axis2-transport-local-1.5.1.jar
 inflated: WEB-INF/lib/axis2-xmlbeans-1.5.1.jar
 inflated: WEB-INF/lib/bcel-5.1.jar
 inflated: WEB-INF/lib/commons-codec-1.3.jar
 inflated: WEB-INF/lib/commons-codec-LICENSE.txt
 inflated: WEB-INF/lib/commons-fileupload-1.2.jar
 inflated: WEB-INF/lib/commons-fileupload-LICENSE.txt
inflated: WEB-INF/lib/commons-httpclient-3.1.jar
 inflated: WEB-INF/lib/commons-httpclient-LICENSE.txt
 inflated: WEB-INF/lib/commons-io-1.4.jar
 inflated: WEB-INF/lib/commons-io-LICENSE.txt
 inflated: WEB-INF/lib/commons-logging-1.1.1.jar
 inflated: WEB-INF/lib/commons-logging-LICENSE.txt
 inflated: WEB-INF/lib/dom4j-1.6.1.jar
 inflated: 

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread Hassan Schroeder
On Wed, Mar 10, 2010 at 11:19 AM, testwreq wreq testw...@gmail.com wrote:
 Unfortunately, I cannot use 6.0 because my boss believes that we should use
 the one that comes with the centos built as this is tested.

I love the smell of delusional thinking in the morning ...  :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

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



TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Gustavo A. Daud
Hello,

I'm trying to install the tomcat 6 in a OpenSuse system, but when I start the 
aplication I recieved the following message:

Using CATALINA_BASE:   /opt/tomcat6
Using CATALINA_HOME:   /opt/tomcat6
Using CATALINA_TMPDIR: /opt/tomcat6/temp
Using JRE_HOME:/usr/lib/jvm/jdk1.6
Using CLASSPATH:   /opt/tomcat6/bin/bootstrap.jar
Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/catalina/startup/Bootstrap
Caused by: java.lang.ClassNotFoundException: 
org.apache.catalina.startup.Bootstrap
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program 
will exit.

I try to find any documentation on google about this, but I don't find 
anything. I also tried to change the JRE_HOME and CLASSPATH, but, nothing.

I don't find any archive bootstrap.jar on system!

I'm using:
-OpenSuse 11
-Tomcat 6
-JDK 1.6

I will thank's for any help.

Ass: Gustavo


Esta mensagem é emitida exclusivamente com fins informativos, não devendo ser 
entendida ou utilizada como uma oferta, requerimento para a compra ou venda de 
qualquer instrumento financeiro ou confirmação de qualquer transação ou 
negócio. No caso desta mensagem conter dados ou outras informações utilizadas 
pelo mercado financeiro deverão estes ser considerados como meras estimativas, 
não lhes sendo outorgadas qualquer garantia quanto a sua correção, estando 
sujeitos a mudanças sem prévio aviso. Qualquer(Quaisquer) comentário(s) ou 
declaração(ões) aqui enunciadas não reflete(m), necessariamente, o 
posicionamento do Banco Sofisa S/A, suas coligadas, subsidiárias ou filiais.


RE: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Caldarale, Charles R
 From: Gustavo A. Daud [mailto:gust...@sofisa.com.br]
 Subject: TOMCAT 6 Error: Exception in thread main
 java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
 
 Using CATALINA_BASE:   /opt/tomcat6
 Using CATALINA_HOME:   /opt/tomcat6
 Using CATALINA_TMPDIR: /opt/tomcat6/temp
 Using JRE_HOME:/usr/lib/jvm/jdk1.6
 Using CLASSPATH:   /opt/tomcat6/bin/bootstrap.jar

Does /opt/tomcat6/bin/bootstrap.jar actually exist?

Does the userid you're running Tomcat with have access to it?

 - 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Konstantin Kolinko
2010/3/10 Terence Coffey terence_j_cof...@yahoo.co.uk:
 hi,
 The contents of my war file looks a bit different.
 when i do a jar -xvf axis2.war I get the following output which is different 
 from what's shown in your supplied web link. As you will see
 it appears to be much larger.

It looks like the one in the manual. So I think it is a correct one.
 http://ws.apache.org/axis2/1_5_1/quickstartguide.html#services

Try to browse the following URL:
http://localhost:8080/axis2/axis2-web/

Best regards,
Konstantin Kolinko

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



RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Gustavo A. Daud
The path /opt/tomcat6/bin exists and contain this files:

catalina-tasks.xml  digest.shshutdown.sh   version.bat
catalina.batservice.bat startup.bat version.sh
catalina.sh setclasspath.bat  startup.sh
cpappend.batsetclasspath.sh   tool-wrapper.bat
digest.bat  shutdown.bat tool-wrapper.sh

But as you can see, bootstrap.jar, is not in there, actually, isn't in any 
where.

I'm running Tomcat as a root user!

Ass: Gustavo



De: Caldarale, Charles R [chuck.caldar...@unisys.com]
Enviado: quarta-feira, 10 de março de 2010 17:19
Para: Tomcat Users List
Assunto: RE: TOMCAT 6 Error: Exception in thread main 
java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

 From: Gustavo A. Daud [mailto:gust...@sofisa.com.br]
 Subject: TOMCAT 6 Error: Exception in thread main
 java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

 Using CATALINA_BASE:   /opt/tomcat6
 Using CATALINA_HOME:   /opt/tomcat6
 Using CATALINA_TMPDIR: /opt/tomcat6/temp
 Using JRE_HOME:/usr/lib/jvm/jdk1.6
 Using CLASSPATH:   /opt/tomcat6/bin/bootstrap.jar

Does /opt/tomcat6/bin/bootstrap.jar actually exist?

Does the userid you're running Tomcat with have access to it?

 - 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

Esta mensagem é emitida exclusivamente com fins informativos, não devendo ser 
entendida ou utilizada  como uma oferta, requerimento para a compra ou venda de 
qualquer instrumento financeiro ou  confirmação de qualquer transação ou 
negócio. No caso desta mensagem conter dados ou outras  informações utilizadas 
pelo mercado financeiro  deverão estes ser  considerados como meras 
estimativas,  não lhes sendo outorgadas qualquer garantia quanto a  sua 
correção, estando  sujeitos a mudanças sem prévio aviso. Qualquer(Quaisquer) 
comentário(s) ou declaração(ões) aqui enunciadas não reflete(m), 
necessariamente, o posicionamento do Banco Sofisa S/A, suas coligadas, 
subsidiárias ou  filiais.


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



Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread testwreq wreq
It is not running yet.

There are a few things.

1/I already have apache running on port 80. If I start the tomcat service, I
think it will probably start on port 80 as well. Will it not clash?

2/ I have setup the following environment variables
JAVA_HOME=/usr/lib/jvm/java
CATALINA_HOME = /usr/share/tomcat5
 PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
chown -R tomcat /usr/share/tomcat5
 ln -s /usr/share/tomcat5 /usr/share/tomcat

I will be adding the first 4 variables to the profile file.

3/ if I run the startup command for tomcat, it will start the service as
root. It should be started as non privileged user on everystartup. I have
seen some links on that, which I will read and follow.

4/ Is there anything else that should be done to setup tomcat?

thanks.


On Wed, Mar 10, 2010 at 2:58 PM, André Warnier a...@ice-sa.com wrote:

  testwreq wreq wrote:

 Hello, I do not know much on setting up tomcat on linux. I am new to both.

 However, I ran yum install tomcat5 to install tomcat from centos5 built. I
 could see the version with the below command.

 # /etc/init.d/tomcat5 version
 Server version: Apache Tomcat/5.5.23
 Server built:   Jul 27 2009 05:23:29
 Server number:  5.5.23.0
 OS Name:Linux
 OS Version: 2.6.18-128.1.10.el5
 Architecture:   i386
 JVM Version:1.6.0-b09
 JVM Vendor: Sun Microsystems Inc.
 I need help to proceed further. Please guide me how to set-up TOMCAT on
 centos5?  The base installation, I think is located in /user/share/tomcat5
 and I see java in /usr/bin/jvm

 Please help.

 Well, according to what it says above, you are done. That's the nice part
 about these packages.  Tomcat is installed, and probably running. So what
 else do you need ?



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




RE: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Caldarale, Charles R
 From: Gustavo A. Daud [mailto:gust...@sofisa.com.br]
 Subject: RES: TOMCAT 6 Error: Exception in thread main
 java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
 
 But as you can see, bootstrap.jar, is not in there

So you have a corrupted Tomcat installation; start over.

 I'm running Tomcat as a root user!

Not a good idea.  If you're not using ports less than 1024, you can run as a 
normal user with no other considerations.  If you do need ports below 1024, use 
jsvc or iptables, as described in the Tomcat doc and FAQ.

 - 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Terence Coffey
Hi,
when i enter http://localhost:8080/axis2/axis2-web/ my browser redirects
it to http://localhost:8080/axis2/services/
I've tried the following example. maybe it helps to troubleshoot my problem ?

In the meantime I've tried the/Axis/axis2-1.5.1/samples/quickstart/README.txt 
The description is 
we are deploying a POJO after writing a services.xml and
creating an aar. We also test the gePrice and update methods using a browser. 
I've followed the steps but when I execute
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM

In the terminal in which i started axis2server.sh the follow error message
is shown
[INFO] [SimpleAxisServer] Started
[SimpleAxisServer] Started
[INFO] Listening on port 8080
[ERROR] The service cannot be found for the endpoint reference (EPR) 
/axis2/services/StockQuoteService/getPrice?symbol=IBM
org.apache.axis2.AxisFault: The service cannot be found for the endpoint 
reference (EPR) /axis2/services/StockQuoteService/getPrice?symbol=IBM
at 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at 
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
at 
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
at 
org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:245)
at 
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281)
at 
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at 
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)




--- On Wed, 10/3/10, Konstantin Kolinko knst.koli...@gmail.com wrote:

 From: Konstantin Kolinko knst.koli...@gmail.com
 Subject: Re: axis2: not seeing validation or administrator links from axis2
 To: Tomcat Users List users@tomcat.apache.org
 Date: Wednesday, 10 March, 2010, 20:30
 2010/3/10 Terence Coffey terence_j_cof...@yahoo.co.uk:
  hi,
  The contents of my war file looks a bit different.
  when i do a jar -xvf axis2.war I get the following
 output which is different from what's shown in your supplied
 web link. As you will see
  it appears to be much larger.
 
 It looks like the one in the manual. So I think it is a
 correct one.
  http://ws.apache.org/axis2/1_5_1/quickstartguide.html#services
 
 Try to browse the following URL:
 http://localhost:8080/axis2/axis2-web/
 
 Best regards,
 Konstantin Kolinko
 
 -
 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: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread Caldarale, Charles R
 From: testwreq wreq [mailto:testw...@gmail.com]
 Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3
 
 1/I already have apache running on port 80. If I start the tomcat
 service, I think it will probably start on port 80 as well.

The standard Tomcat downloads are configured to use port 8080 by default; what 
your version has isn't known, so you'll have to look in Tomcat's 
conf/server.xml file.

 2/ I have setup the following environment variables
 JAVA_HOME=/usr/lib/jvm/java

Good.

 CATALINA_HOME = /usr/share/tomcat5

You probably don't need that; the standard Tomcat startup scripts determine 
what the value should be.  However, since you're not using a standard Tomcat, 
it's hard to tell.

 PATH=$PATH:$JAVA_HOME/bin

Good.

 CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar

Get rid of CLASSPATH; never, never, never use the CLASSPATH environment 
variable (for any Java application).

 4/ Is there anything else that should be done to setup tomcat?

Go through the server.xml file and see if there's anything you need to change.  
Read the Tomcat docs for more information.

 - 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Konstantin Kolinko
2010/3/10 Terence Coffey terence_j_cof...@yahoo.co.uk:
 Hi,
 when i enter http://localhost:8080/axis2/axis2-web/ my browser redirects
 it to http://localhost:8080/axis2/services/

 In the terminal in which i started axis2server.sh the follow error message
 is shown

I missed that you have axis2server.sh running.
So .. you are running Axis standalone,  and not in Tomcat.

You cannot start Tomcat unless you stop that, because they are
configured to use the same port number (8080). That is the cause of
the startup error that you mentioned in your first message.

  ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out 
 -errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap

See RUNNING.txt in the root directory of Tomcat distributive.
It is easier to use *.sh files that are in the bin folder, than jsvc.

Best regards,
Konstantin Kolinko

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



Re: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Terence Coffey
Ok. One step in the right direction.
I've stopped axis2server.sh and restarted jsvc (Tomcat) I see two errors.
They seem to be related to setting the context. does this mean they
did not deploy correctly ?

SEVERE: Exception fixing docBase for context [/axis2] 
SEVERE: Exception fixing docBase for context [/sample2] 

I think the following error follow on as a result of the above errors
on:  start: :  java.io.IOException: Failed to copy resources


10-Mar-2010 21:16:01 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 21:16:02 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/axis2] 
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
2/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:173)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.ja
va:882)
at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:101
7)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:279)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:54
39)


---

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.jav
a:177)
10-Mar-2010 21:16:02 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive axis2.war
java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleExcepti
on:  start: :  java.io.IOException: Failed to copy resources
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:795)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)

---

10-Mar-2010 21:16:02 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/sample2] 
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/samp
le2/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:173)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.ja

---
10-Mar-2010 21:16:02 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive sample2.war
java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleExcepti
on:  start: :  java.io.IOException: Failed to copy resources
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:795)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)

--- On Wed, 10/3/10, Konstantin Kolinko knst.koli...@gmail.com wrote:

 From: Konstantin Kolinko knst.koli...@gmail.com
 Subject: Re: axis2: not seeing validation or administrator links from axis2
 To: Tomcat Users List users@tomcat.apache.org
 Date: Wednesday, 10 March, 2010, 20:59
 2010/3/10 Terence Coffey terence_j_cof...@yahoo.co.uk:
  Hi,
  when i enter http://localhost:8080/axis2/axis2-web/ my browser
 redirects
  it to http://localhost:8080/axis2/services/
 
  In the terminal in which i started axis2server.sh the
 follow error message
  is shown
 
 I missed that you have axis2server.sh running.
 So .. you are running Axis standalone,  and not in
 Tomcat.
 
 You cannot start Tomcat unless you stop that, because they
 are
 configured to use the same port number (8080). That is the
 cause of
 the startup error that you mentioned in your first
 message.
 
   ./bin/jsvc -cp ./bin/bootstrap.jar   
      -outfile ./logs/catalina.out
 -errfile ./logs/catalina.err     
    org.apache.catalina.startup.Bootstrap
 
 See RUNNING.txt in the root directory of Tomcat
 distributive.
 It is easier to use *.sh files that are in the bin folder,
 than jsvc.
 
 Best regards,
 Konstantin Kolinko
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 





RE: Memory settings

2010-03-10 Thread Mats Eklund
Thanks, I'm trying the JConsole, but I'm not sure I'm connecting to the 
relevant process? There are two local processes that I can connect to, one 
seems to be the JConsole itself, then other has no name. If I stop the Tomcat 
service, there are still the same to processes that I can connect to!?

--- On Tue, 3/9/10, Caldarale, Charles R chuck.caldar...@unisys.com wrote:

From: Caldarale, Charles R chuck.caldar...@unisys.com
Subject: RE: Memory settings
To: Tomcat Users List users@tomcat.apache.org
Date: Tuesday, March 9, 2010, 10:34 PM

 From: Mats Eklund [mailto:mats.ekl...@yahoo.com]
 Subject: Re: Memory settings
 
 In the Java tab I have the Java Options field with parameters such as
 -Dcatalina.home So I just add another few lines to it with the -
 Xms... parameters?

The -Xmx and -Xms settings should be specified in the extra memory pool boxes 
provided; the others go in the regular options box.  Keep the initial and 
maximum memory pool sizes the same to avoid heap thrashing.

 And finally, when nothing is specified here, what are the defaults?

Depends on the JVM version, the mode of the JVM, and the platform you're 
running on.  Easiest just to crank up JConsole and take a look.

 - 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Konstantin Kolinko
2010/3/11 Terence Coffey terence_j_cof...@yahoo.co.uk:
 INFO: Deploying web application archive axis2.war
 SEVERE: Exception fixing docBase for context [/axis2]
 java.io.FileNotFoundException: 
 /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
 2/META-INF/MANIFEST.MF (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.init(FileOutputStream.java:179)
        at java.io.FileOutputStream.init(FileOutputStream.java:131)
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)

Tomcat tries to unpack axis2.war, but cannot.
Maybe the target directory (see the message) is not writeable. Check
what user is used to run Tomcat (it must not be root), and what
permissions and ownership are on those directories.

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



RE: Memory settings

2010-03-10 Thread Caldarale, Charles R
 From: Mats Eklund [mailto:mats.ekl...@yahoo.com]
 Subject: RE: Memory settings
 
 Thanks, I'm trying the JConsole, but I'm not sure I'm connecting to the
 relevant process?

What flavor of Windows are you using?  If it's Vista, 2008, or later, you won't 
be able to access the service unless you run JConsole under the same account 
that the service is running under (and sometimes not even then - thank you, 
Microsoft) - even if you're an administrator.

But you don't need to access the Tomcat service to determine the default; just 
start a sleep-forever Java program using the same JVM and mode (client or 
server) that Tomcat is using, and attach JConsole to that.  The default heap 
size will show up in the VM Summary window.  Running JConsole on itself might 
not give you the right information, since you don't know which JVM or mode it's 
using, or if it fiddles with the heap size before starting its JVM.

 - 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: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread André Warnier

Caldarale, Charles R wrote:

From: testwreq wreq [mailto:testw...@gmail.com]
Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

1/I already have apache running on port 80. If I start the tomcat
service, I think it will probably start on port 80 as well.


The standard Tomcat downloads are configured to use port 8080 by default; what 
your version has isn't known, so you'll have to look in Tomcat's 
conf/server.xml file.


2/ I have setup the following environment variables
JAVA_HOME=/usr/lib/jvm/java


Good.


CATALINA_HOME = /usr/share/tomcat5


You probably don't need that; the standard Tomcat startup scripts determine 
what the value should be.  However, since you're not using a standard Tomcat, 
it's hard to tell.


PATH=$PATH:$JAVA_HOME/bin


Good.


CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar


Get rid of CLASSPATH; never, never, never use the CLASSPATH environment 
variable (for any Java application).


4/ Is there anything else that should be done to setup tomcat?


Go through the server.xml file and see if there's anything you need to change.  
Read the Tomcat docs for more information.



And we're back to the standard Tomcat vs packaged Tomcat discussion..

Testwreq,

The standard Tomcat is the one which you get and download from 
http://tomcat.apache.org.
That is the current version, and the one everyone here knows and loves, 
because for that one, everyone knows where the files are, what the 
standard settings are, and so on.
But is not a package that fits with the package manager software of 
any particular Unix/Linux version.


And then there are many pre-packaged Tomcats, which vary depending on 
which Unix/Linux type or distribution they are made for, and by whom, 
from which (generally older) version of the standard Tomcat.
For reasons mostly good but sometimes bad, these packages tend to vary 
from the original and between them, as to which locations they install 
the files in, which links to what they also set up, which settings they 
set by default, which ports they use, under which user they are started, 
how they are started, etc..


Unfortunately, the people here do not know all these versions, so our 
capacity to help is limited, except to provide general principles and 
direct you to the standard documentation.


So if you are having problems with a particular packaged version of 
Tomcat (like you are using), the best place to ask for help first is 
probably the help desk or help list of your particular Unix/Linux version.
Then once this packaged Tomcat is running, if you are having problem 
/using/ it, maybe we can help better.



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



AW: Multiple SSL certificates on same server

2010-03-10 Thread Steffen Heil
Hi

 I'm not using XP, but a Unix server OS, and my domains are radically
different - so the wildcard cert won't work either. sigh

This is not about the OS the tomcat is running on, but about the OS the
client browser is using...
There are certificates with multiple names (even radically different ones)
however, they will work for you.

Regards,
   Steffen



smime.p7s
Description: S/MIME cryptographic signature


Re: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Terence Coffey
Hi,
Another step in the right direction.

1) /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
The axis directory did not exist. All other directories were present.

r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24/webapps# ls -asl
total 19000
4 drwxr-xr-x 11 tc tc 4096 2010-03-10 17:43 .
4 drwxr-xr-x  9 tc tc 4096 2010-03-09 09:56 ..
18932 -rw-r--r--  1 tc tc 19383323 2010-03-10 12:02 axis2.war
4 drwxr-xr-x 10 tc tc 4096 2010-01-19 14:42 docs
4 drwxr-xr-x  5 tc tc 4096 2010-01-19 14:42 examples
4 -rw-r--r--  1 tc tc  376 2007-07-30 16:26 hello.jsp
4 drwxr-xr-x  5 tc tc 4096 2010-01-19 14:42 host-manager
4 drwxr-xr-x  2 tc tc 4096 2007-07-30 16:26 images
4 -rw-r--r--  1 tc tc  636 2007-07-30 16:26 index.html
4 drwxr-xr-x  5 tc tc 4096 2010-01-19 14:42 manager
4 drwxr-xr-x  2 tc tc 4096 2010-03-10 11:47 META-INF
4 drwxr-xr-x  3 tc tc 4096 2010-01-19 14:42 ROOT
8 -rw-r--r--  1 tc tc 4606 2010-03-08 23:31 sample.war

1st attempt : Tried to start jsvc as user tc. Failure

If I start the tomcat (jmvc) as user tc, I get the PID error

t...@tc-laptop:~/TomCat/apache-tomcat-6.0.24$ more logs/*
::
logs/catalina.err
::
10/03/2010 22:22:25 2878 jsvc.exec error: Cannot open PID file /var/run/jsvc.pid
, PID is 2878
10/03/2010 22:22:25 2877 jsvc.exec error: Service exit with a return value of 
255

2nd attempt as user root but switch to user tc on startup == Success
--
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
10-Mar-2010 22:42:49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 22:42:52 org.apache.axis2.deployment.util.TempFileManager clinit
INFO: TempFileManager::unable to delete /tmp/axis2-tmp-6334442305603549214.tmp
10-Mar-2010 22:42:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample2.war
10-Mar-2010 22:42:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample.war


The command line used was
./bin/jsvc -user tc -cp ./bin/bootstrap.jar -outfile 
./logs/catalina.out -errfile ./logs/catalina.err 
org.apache.catalina.startup.Bootstrap

I can now also see the congradulation page. If you can see this page you 
successfully configured tomcat. http://localhost:8080/

However the following is not working
http://localhost:8080/axis2/services/   displays
soapenv:Reason
−
soapenv:Text xml:lang=en-US
The service cannot be found for the endpoint reference (EPR) /axis2/services/
/soapenv:Text
/soapenv:Reason

and the sample project
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM
displays
soapenv:Reason
−
soapenv:Text xml:lang=en-US
The service cannot be found for the endpoint reference (EPR) 
/axis2/services/StockQuoteService/getPrice?symbol=IBM
/soapenv:Text
/soapenv:Reason






--- On Wed, 10/3/10, Konstantin Kolinko knst.koli...@gmail.com wrote:

 From: Konstantin Kolinko knst.koli...@gmail.com
 Subject: Re: axis2: not seeing validation or administrator links from axis2
 To: Tomcat Users List users@tomcat.apache.org
 Date: Wednesday, 10 March, 2010, 21:42
 2010/3/11 Terence Coffey terence_j_cof...@yahoo.co.uk:
  INFO: Deploying web application archive axis2.war
  SEVERE: Exception fixing docBase for context [/axis2]
  java.io.FileNotFoundException:
 /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
  2/META-INF/MANIFEST.MF (No such file or directory)
         at java.io.FileOutputStream.open(Native
 Method)
         at
 java.io.FileOutputStream.init(FileOutputStream.java:179)
         at
 java.io.FileOutputStream.init(FileOutputStream.java:131)
         at
 org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)
 
 Tomcat tries to unpack axis2.war, but cannot.
 Maybe the target directory (see the message) is not
 writeable. Check
 what user is used to run Tomcat (it must not be root),
 and what
 permissions and ownership are on those directories.
 
 -
 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Caldarale, Charles R
 From: Terence Coffey [mailto:terence_j_cof...@yahoo.co.uk]
 Subject: Re: axis2: not seeing validation or administrator links from
 axis2
 
 10-Mar-2010 22:42:52 org.apache.axis2.deployment.util.TempFileManager
 clinit
 INFO: TempFileManager::unable to delete /tmp/axis2-tmp-
 6334442305603549214.tmp

The above may be indicative of having the wrong owner and group on either /tmp 
or the files therein.  You need to clean out the /tmp directory so that Tomcat 
(or the webapps running under it) can get rid of the files created when Tomcat 
was running as root.

 - 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.



Tomcat 5.5 Thread Dump Questions

2010-03-10 Thread Tomcat Novice
Hi,

I am new to Tomcat and would like ask a question regarding Thread Dumps.

My Environment all running in 1 server:

Tomcat 5.5 (running as Windows service) Total of 4 Tomcat instances load
balanced.
Windows 2003 64 bit
IIS 6.0 64 Bit

My question is, I would like to get thread dumps from the individual Tomcat
instances. I know that if I run Tomcat using command line, I should just
press Control+Esc on the CMD Window. Since its running as a service, can I
do a thread dump without stopping the current service and running the
instance on the command line?

I have seen tomcat logs folder and there are a lot of log files. Which log
file can I use/check to see the thread dumps? The environment just
implements a basic 5.5 configuration. Which logs file would be beneficial in
case I need to trobleshoot crashing instances and how do I configure them?

Regards,

Tomcat Novice


RE: Tomcat 5.5 Thread Dump Questions

2010-03-10 Thread Caldarale, Charles R
 From: Tomcat Novice [mailto:tomcat.nov...@gmail.com]
 Subject: Tomcat 5.5 Thread Dump Questions
 
 I would like to get thread dumps from the individual
 Tomcat instances.

Use the jstack tool from the JDK to create the thread dumps and you can 
redirect the output wherever you want.  You can find the pid numbers for each 
Tomcat from Task Manager.  You may need to run jstack under the same account 
that the Tomcat services are running under (this varies depending on Windows 
version and possibly patches).

 - 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: Software caused connection abort Error in Tomcat on AIX

2010-03-10 Thread Sharan Mudgal
Thanks.  This is not observed on solaris or linux however. 
Any specific issue in the native implemenation on AIX or windows which causes 
accept() call to terminate abnormally and not return a socket handle?


--- On Wed, 3/10/10, Konstantin Kolinko knst.koli...@gmail.com wrote:

 From: Konstantin Kolinko knst.koli...@gmail.com
 Subject: Re: Software caused connection abort Error in Tomcat on AIX
 To: Tomcat Users List users@tomcat.apache.org
 Date: Wednesday, March 10, 2010, 6:03 PM
 2010/3/10 Sharanabasavaraj Mudgal
 sharanu_mud...@yahoo.com:
  Hi!
 
  I am running tomcat 6.0.20 on AIX with
 Tomcat-native(1.1.16) enabled.  I get the following
 exception during  Tomcat Shutdown.
 
  SEVERE: Socket accept failed
  Throwable occurred: org.apache.tomcat.jni.Error:
 Software caused connection abort
  at org.apache.tomcat.jni.Socket.accept(Native Method)
  at
 org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1128)
  at java.lang.Thread.run(Thread.java:736)
 
  There are quite a few cases where the Acceptor thread
 raises the exception when the file descriptor limits are
 reached/there is issue with the file descriptor limit.
  It’s interesting that in our case this exception is
 raised during shutdown.
 
 This message (at shutdown time) is nothing to worry about,
 it is expected.
 It occurs because Socket.accept() call (waiting for an
 incoming
 connection) is being aborted. Because the accept() call
 terminates
 abnormally and cannot return a socket handle, return from
 the call is
 performed via an exception (*.jni.Error is used here). That
 is what
 you are seeing.
 
 6.0.26 and later will not log this error.
 http://svn.apache.org/viewvc?view=revisionrevision=918495
 
 
 also mentions this issue.
 
 Best regards,
 Konstantin Kolinko
 
 -https://issues.apache.org/bugzilla/show_bug.cgi?id=48584
 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: axis2: not seeing validation or administrator links from axis2

2010-03-10 Thread Karthik Nanjangude
Hi

Off the topic

Alternatively is to download axis2-1.5.1-war.zip from AXIS2 1.5 web site

http://ws.apache.org/axis2/download/1_5_1/download.cgi
[WAR (Web Archive) Distribution

Rename it to axis2-1.5.1.war and deploy the same on TOMCAT server

I have done the same successfully.

How ever if u need to test AXIS with out tomcat as standalone then

http://ws.apache.org/axis2/download/1_5_1/download.cgi
Standard Binary Distribution


Please use any one of them to test not both simultaneously
TOMCAT  or Standalone


With regards
Karthik


-Original Message-
From: Terence Coffey [mailto:terence_j_cof...@yahoo.co.uk]
Sent: Wednesday, March 10, 2010 11:32 PM
To: users@tomcat.apache.org
Subject: axis2: not seeing validation or administrator links from axis2

Hello,
If someone can point me in the right direction, it would be great.
I'm a new user to TomCat, Axis2 etc. I've read the documentation and have tried 
to get my development environment up and running but it does
not appear to be running as expected.
What I'm trying to achieve is to run some of the sample war files.

The steps i'm following are at
http://ws.apache.org/axis2/1_5_1/installationguide.html#standalone3.
I've started the axis2 server. (~/Axis/axis2-1.5.1/bin$ ./axis2server.sh)
and done ant create.war. this creates the axis2.war file.

At the next stage,I'm not sure if I've made a mistake. This is what I've
done for the section Installing Axis2 in a Servlet Container in the above 
document.
In ~/Axis/axis2-1.5.1/webapp directory,I've entered ant return. This 
generates the axis2.war file again ?
I've copied the axis2.war file into the Servlet container
 cp axis2.war /home/tc/TomCat/apache-tomcat-6.0.24/webapps/
At this stage I restarted the apache web server (sudo /etc/init.d/apache2 stop 
sudo /etc/init.d/apache2 start) and axis server.
 In my browser i type http://localhost:8080/axis2/, I see a screen that
shows a heading Deployed services followed by a version on the next line and 
getVersion on the following line. the URL is now shown as
http://localhost:8080/axis2/service.

This screen is different from what is shown in the above document. I'm not 
seeing the validation or Administrator hyperlinks ?

I've also started the Tomcat servlet but i have a number of errors.
Where have i made a mistake? Thanks in advance.

cd $CATALINA_HOME
r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24

 ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out 
-errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap

logs/catalina.err
::
(Error 1)
10-Mar-2010 17:37:43 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use null:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)

...( Error 2)

10-Mar-2010 17:37:43 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 17:37:48 org.apache.jasper.EmbeddedServletOptions init
SEVERE: The scratchDir you specified: /home/tc/TomCat/apache-tomcat-6.0.24/work/
Catalina/localhost/axis2 is unusable.
(Error 3 No such file or directory)

10-Mar-2010 17:37:48 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample2.war
10-Mar-2010 17:37:48 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/sample2]
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/samp
le2/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)


Config Details
---
I'm running Ubuntu 9.10(karmic koala)on Sun virtual Box.

The software I've installed is as follows
Ubuntu 9.10(karmic koala)
apache-ant-1.8.0
Axis2-1.5.1
jdk1.6.0_18
apache-tomcat-6.0.24
glassfishv3 (J2EE )









-
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



Software caused connection abort: recv failed

2010-03-10 Thread Kranti™ K K Parisa
When we use the URL to hit the link of the webapplication running on tomcat,
getting following exception

java.net.SocketException: Software caused connection abort: recv failed

any specific reason for this?

Best Regards,
Kranti K K Parisa


Re: Software caused connection abort: recv failed

2010-03-10 Thread André Warnier

Kranti™ K K Parisa wrote:

When we use the URL to hit the link of the webapplication running on tomcat,
getting following exception

java.net.SocketException: Software caused connection abort: recv failed

any specific reason for this?


Yes, certainly.


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



Re: Software caused connection abort: recv failed

2010-03-10 Thread Kranti™ K K Parisa
could you please explain the reasons for this and any solution to avoid this
problem?

Best Regards,
Kranti K K Parisa



On Thu, Mar 11, 2010 at 1:14 PM, André Warnier a...@ice-sa.com wrote:

 Kranti™ K K Parisa wrote:

 When we use the URL to hit the link of the webapplication running on
 tomcat,
 getting following exception

 java.net.SocketException: Software caused connection abort: recv failed

 any specific reason for this?

  Yes, certainly.


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