Alfresco installation problem

2008-02-20 Thread persistence k
Hi, I'm trying to install Alfresco *Enterprise Content Management , on windows server 2003. After deploying the alfresco.war file in tomcat, when I open the alfresco at the following path , it is showing the exception ' *error *retrieving*attribute

Re: Alfresco installation problem

2008-02-20 Thread David Smith
I can think of two suggestions: 1. Check with the Alfresco folks whether this is a known issue and how to fix it. Seems like an enterprise CMS should be able to provide support to their customers. 2. Check your logs for better error information Just out of curiosity, did the message you

running servlet from java

2008-02-20 Thread Goran Jambrović
Hi! I would like to run a servlet(/FunPacmanServlet) from java.This servlet would then show a jsp page in web browser. The problem is that the contents of jsp page is shown in eclipse console, but the browser does not show the page. Any idea what i'm doing wrong? I am using eclipse 3.2,

Re: Tomcat Locking Up?

2008-02-20 Thread Mindaugas Žakšauskas
Hi, I think you need to make sure this is Tomcat's fault first. The best way to do this is to set up JMX console and keep monitoring it so you can see how much memory is allocated/used, same for CPU, threads, sockets, etc. Maybe you're running out of resources? We run 5.5 Tomcat on websites

Tomcat Locking Up?

2008-02-20 Thread Peter Sparkes
OOPS sorry previous email sent before I finished writing it. Hi, I am running Tomcat 5.5 I have a website running in a cocoon application under Tomcat5.5, every few days the pages will not load and eventually the browser times out. If I then stop tomcat and then start it everything then

Re: Tomcat Locking Up?

2008-02-20 Thread Peter Sparkes
Thanks Mindaugas, Will follow your advice Peter Hi, I think you need to make sure this is Tomcat's fault first. The best way to do this is to set up JMX console and keep monitoring it so you can see how much memory is allocated/used, same for CPU, threads, sockets, etc. Maybe you're running

tomcat ldap authentication problem

2008-02-20 Thread Christian Andersson
Hi, we have setup Tomcat (6.0.10) to authenticate using form authentication against openldap (2.3.27) with the jndirealm and everything works alright except one little bit of a problem. if the user name has national characters in it (åæø for norwegian) or the password does, the user cannot

Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
Hello, our tomcat, in a test environment, is shutting down unexpectedly. There is no messages about stopping webapp, or even receiving SHUTDOWN message from management port. It's just normal webapp behaviour in logs and that's all. We notice this when someone comes in and says reserver does

RE: Trying to know why tomcat shuts down

2008-02-20 Thread Peter Crowther
From: David Delbecq [mailto:[EMAIL PROTECTED] our tomcat, in a test environment, is shutting down unexpectedly. [...] (a linux 32bits box) Which Linux, and have you disabled the kernel option that nukes the largest process if the kernel can't allocate itself some memory? Can't remember its

Re: Trying to know why tomcat shuts down

2008-02-20 Thread Jim Cox
Is Tomcat getting killed by the OOM Killer? http://linux-mm.org/OOM_Killer On Feb 20, 2008 8:12 AM, David Delbecq [EMAIL PROTECTED] wrote: Hello, our tomcat, in a test environment, is shutting down unexpectedly. There is no messages about stopping webapp, or even receiving SHUTDOWN message

Re: Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
Everyday, learning something new, today is check linux system logs if your tomcat disappear [30575826.592000] Out of Memory: Killed process 734 (java) Thanks for your help, you got it right. That server might need a bit of additional memory ^^ En l'instant précis du 20/02/08 14:29, Peter

mod_jk Problems - worker went to error state and dont recover

2008-02-20 Thread Ahmed Musa
Hallo to all, After long unsuccessful research i hope someone can give me a hint to the following problems. Our Apache-mod_jk-Tomcat Infrastructur was running without Problems for about one year-than since two month mod_jk errors occurs. We upgraded the mod_jk Version, made improvements in the

RE: Tomcat Locking Up?

2008-02-20 Thread Caldarale, Charles R
From: Peter Sparkes [mailto:[EMAIL PROTECTED] Subject: Tomcat Locking Up? Am I right in assuming that all the Tomcat instances share the same memory and that if so it can't be a Tomcat memory problem? No, your are not right. Each Tomcat process is almost completely independent of the

mod_jk Problems - - worker went to error state and dont recover

2008-02-20 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=25608 Posted on behalf of a User Hallo to all, After long unsuccessful research i hope someone can give me a hint to the following problems. Our Apache-mod_jk-Tomcat Infrastructur was running without Problems for about one year-than since

Re: mod_jk Problems - - worker went to error state and dont recover

2008-02-20 Thread Rainer Jung
[EMAIL PROTECTED] wrote: See Thread at: http://www.techienuggets.com/Detail?tx=25608 Posted on behalf of a User Hallo to all, After long unsuccessful research i hope someone can give me a hint to the following problems. Our Apache-mod_jk-Tomcat Infrastructur was running without Problems for

OT: a java question - static initialization

2008-02-20 Thread Dave
class Foo { private static int; static { a = 100; } Foo() { } } Class.forName(package.Foo).newInstance(); The static init block of Foo is not called. I am using Java 1.5 update14. It is a bug? Thanks

Re: Accessing standalone Tomcat from an external IP address

2008-02-20 Thread Rashmi
Hi Chuck, Thank you for your reply, it is helpful to know that no further configuration is required in server.xml to make Tomcat accessible through an external IP. As you mentioned I may need to configure the firewall as described here:

Apache2 and tomcat5.5

2008-02-20 Thread elvberg
I'm running FedoraCore8.x86_64 on a machine placed in a LAN with router address 195.168.0.135. The Internet static IP address is 87.227.4.194. So, by hitting http://87.227.4.194 you'll come to the Apache2 welcome page because there is nothing in /var/www/html. My question: Is my tomcat5.5 to be

Re: OT: a java question - static initialization

2008-02-20 Thread Jim Cox
On Feb 20, 2008 10:47 AM, Dave [EMAIL PROTECTED] wrote: class Foo { private static int; static { a = 100; } Foo() { } } Class.forName(package.Foo).newInstance(); The static init block of Foo is not called. I am using Java 1.5

Re: Apache2 and tomcat5.5

2008-02-20 Thread Len Popp
Yes, Tomcat is a regular web server as well as an application server. To use Tomcat as your web server, 1. Don't run the Apache2 web server. 2. Configure Tomcat to listen on the correct HTTP port. In conf/server.xml where it says Connector port=8080 change it to Connector port=80 (or whatever

RE: a java question - static initialization

2008-02-20 Thread Caldarale, Charles R
From: Dave [mailto:[EMAIL PROTECTED] Subject: OT: a java question - static initialization class Foo { private static int; static { a = 100; } Foo() { } } Class.forName(package.Foo).newInstance(); The static init block of Foo

Re: mod_jk Problems - - worker went to error state and dont recover

2008-02-20 Thread Ahmed Musa
Hello, Wow -thank you very much Rainer for your very quick and informative answer. I will go to 1.2.26 and think about some smoother Values for reply_timeout and max_reply_timeouts. I will search for the requests which causes the Problems - becasue i still log the response time in your mentioned

RE: different context on different ports, but one tomcat

2008-02-20 Thread Caldarale, Charles R
From: Szabolcs Márton [mailto:[EMAIL PROTECTED] Subject: different context on different ports, but one tomcat I have ONE instance of Tomcat with 3 different webapps (context) instance#1: accept connection only on port 80 from anywhere instance#2: accept connections only on https port from

RE: different context on different ports, but one tomcat

2008-02-20 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: different context on different ports, but one tomcat From: Szabolcs Márton [mailto:[EMAIL PROTECTED] Subject: different context on different ports, but one tomcat I have ONE instance of Tomcat with 3 different webapps (context) instance#1:

RE: different context on different ports, but one tomcat

2008-02-20 Thread Reich, Matthias
If the webapps shall be completely isolated and shall not share connectors it could be an option to define three separate services in server.xml. Then the transport guarantee for webapp2 is given by the server configuration. You should be aware that you must assign separate thread pools to each

Re: mod_jk Problems - - worker went to error state and dont recover

2008-02-20 Thread Rainer Jung
Ahmed Musa wrote: Hello, Wow -thank you very much Rainer for your very quick and informative answer. I will go to 1.2.26 and think about some smoother Values for reply_timeout and max_reply_timeouts. I will search for the requests which causes the Problems - becasue i still log the response

Configuring Default ROOT Context

2008-02-20 Thread osubb
I am trying to configure Tomcat v6.0. I have a book that is about 4 years old and using it to install. I am having problems setting up for: 1) Servlet reloading (it shows you how to do it for versions 4.xx, but this doesn't seem to work (it tells you to key on a sentence to find where to add

Re: OT: a java question - static initialization

2008-02-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kenneth, Kenneth Westelinck wrote: | Did a quick test on 1.6.0 update 2 and the static block does get called. I | guess this is a bug. Er, this code doesn't look like it should compile: | class Foo { | | private static int; | Isn't there an

Re: Apache2 and tomcat5.5

2008-02-20 Thread elvberg
I have changed in server.xml (as root) to Connector port=80 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / !-- A Connector using the shared thread pool-- !-- Connector executor=tomcatThreadPool port=80 protocol=HTTP/1.1

Re: Apache2 and tomcat5.5

2008-02-20 Thread Len Popp
Does Tomcat work locally on the server? i.e. on the server computer itself, if you browse to http://localhost/ do you see Tomcat's welcome page? -- Len On Feb 20, 2008 3:57 PM, elvberg [EMAIL PROTECTED] wrote: I have changed in server.xml (as root) to Connector port=80 protocol=HTTP/1.1

Re: Apache2 and tomcat5.5

2008-02-20 Thread elvberg
I see Tomcat's welcome page if I browse http://localhost:8084/ or http://192.168.0.135:8084 /dan On Wed, 2008-02-20 at 16:12 -0500, Len Popp wrote: Does Tomcat work locally on the server? i.e. on the server computer itself, if you browse to http://localhost/ do you see Tomcat's welcome page?

Re: Apache2 and tomcat5.5

2008-02-20 Thread elvberg
The Tomcat server is not running as a service, it's running as an integrated part of the NetBeans IDE 6.0.1. 8084 is the port HTTP/1.1 I need tomcat as an application server (as well as a web server). /dan On Wed, 2008-02-20 at 13:19 -0800, Hassan Schroeder wrote: On Wed, Feb 20, 2008 at 12:57

Re: Apache2 and tomcat5.5

2008-02-20 Thread Hassan Schroeder
On Wed, Feb 20, 2008 at 1:27 PM, elvberg [EMAIL PROTECTED] wrote: The Tomcat server is not running as a service, it's running as an integrated part of the NetBeans IDE 6.0.1. Personally, I'd just install Tomcat standalone outside the IDE and make life a whole lot easier :-) But in any case,

Re: Apache2 and tomcat5.5

2008-02-20 Thread Len Popp
So Tomcat is running on port 8084 but the Connector config you posted earlier says it's on port 80... Something's wrong but I can't think what. Sorry. -- Len On Feb 20, 2008 4:16 PM, elvberg [EMAIL PROTECTED] wrote: I see Tomcat's welcome page if I browse http://localhost:8084/ or

Re: Apache2 and tomcat5.5

2008-02-20 Thread Alan Chaney
If you are running on Linux you may have problems using a 'plain' tomcat installation pointing at port 80. This is a system port and reserved for privileged access. You must 1. use some kind of redirection such as iptables and leave the tomcat mapping at 8080 OR 2 you must run tomcat as

Re: Form data refresh?

2008-02-20 Thread Alaska Winter
I would add a one time token to the request. Do you mean on the client side using javascript or something?

RE: not reading my /etc/tomcat5/tomcat5.conf file

2008-02-20 Thread Philip Cote
I concur that that's the easiest way to do this. However, if you MUST work with 3rd party repackaged tomcat (or 3rd party repackaged distro versions of anything for that matter), the Cent OS forums would probably be the best place to ask. On Tue, 2008-02-19 at 21:46 -0600, Caldarale, Charles R

Re: not reading my /etc/tomcat5/tomcat5.conf file

2008-02-20 Thread Kimberly Begley
Thanks - I did as you suggested and have a new Tomcat5 and JVM running - without any problems so far! Thanks so much, Kimberly On Thu, Feb 21, 2008 at 10:57 AM, Philip Cote [EMAIL PROTECTED] wrote: I concur that that's the easiest way to do this. However, if you MUST work with 3rd party

Re: Form data refresh?

2008-02-20 Thread David Smith
Alaska Winter wrote: I would add a one time token to the request. Do you mean on the client side using javascript or something? Nope... just either a hidden field in the form or if you are building URLs w/ parameters, just add it in. Very simple stuff. 1. tomcat receive's request

RE: JASPER libraries incompatibilities

2008-02-20 Thread Caldarale, Charles R
From: Hitesh Raghav [mailto:[EMAIL PROTECTED] Subject: RE: JASPER libraries incompatibilities Is there any URLs about these backward incompatibilities (i.e. Servlet/JSP specs backward incompatibilities)? The specs themselves usually document incompatibilities. Servlet spec:

Re: Form data refresh?

2008-02-20 Thread Alaska Winter
i think I understand: -- generate unique token=xyz123 and store in the session -- generated catalogue content so that addToCart url's look like this in the html source: http://my.domain.com/addToCart.do?itemId=HB0019?token=xyz123 -- when users adds an item to the cart, check form data token

Re: different context on different ports, but one tomcat

2008-02-20 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Szabolcs Márton [mailto:[EMAIL PROTECTED] Subject: different context on different ports, but one tomcat I have ONE instance of Tomcat with 3 different webapps (context) instance#1: accept connection only on port 80 from anywhere instance#2: accept connections

Re: running servlet from java

2008-02-20 Thread david . y . z . wang
Hi, You can change your eclipse setting to invoke a web browser instead of the default internal one. start from eclipse menu. Window - Preference - Internet - Web Browser Thanks Regards David Goran Jambrović [EMAIL PROTECTED] 02/20/2008 08:15 PM Mail Size: 12872 Please respond to Tomcat

setting up SSL

2008-02-20 Thread Daniel Blumenthal
I'm having a real problem getting SSL working with Tomcat. Back when I was using Apache and mod_jk2, I had SSL working with Tomcat. But now that I've switched to just using Tomcat, I can't seem to get it to work. I'm using Linux (Fedora Core 5) and Tomcat 5.5.26. I've reverted to a clean