Debian 4.0. and java 6

2008-04-25 Thread Toni Tortosa
Hello, I have compiled openbravo software in my local laptop with tomcat 5.5. and java 6 with no problems, but when I copy some new classes to my server it shows an error message (Bad version in class that I have just modified). My server is debian and it runs tomcat 5.5. and java 5. Well,

java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser (Permission denied)

2008-04-25 Thread Toni Tortosa
Hello, I've also this error Apr 25, 2008 7:37:41 AM org.apache.catalina.session.StandardManager doUnload SEVERE: IOException while saving persisted sessions: java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser (Permission denied)

RE: Wily Introscope

2008-04-25 Thread Antonio Vidal Ferrer
Hi: Actually, I have 10 tomcat 5.5 servers running on Solaris 10 (x86), and using Wily Introscope 7.1. If there is any doubt I can help you with, please let me know. Best, *** Antonio Vidal Ferrer 

Re: Runtime created files not accessible.Some progress.

2008-04-25 Thread Andreas
One big thnx to all of you who have shown interest in my situation. There has been some progress... Marcus, I didnt try your code, since the problem doesnt occur just with java, but also if i manually create a new folder/file in windows while the server is up. I get same problem. The other

Re: Default servlet doesn't encode URI on redirect?

2008-04-25 Thread Benoit Maisonny
Christopher Schultz wrote: Benoit, Benoit Maisonny wrote: | I suspect someone forgot to encode the URI in the Location: HTTP header | on the 302 response, but maybe there is something missing in our | configuration? What is the default character set of the running JVM? UTF-8, according to

Re: need help with connectionTimeout and connection_pool_timeout

2008-04-25 Thread Rainer Jung
Hello Pavel, Pavel Pragin wrote: 1)I am having an issue withTomcat running out of threads it seems: OS? Versions? ps -dfm | grep tomc tomcat 16983 1 0 Apr23 ?00:01:39 /usr/java/bin/java -Xmx2000m -Djava.awt.headless=true

Re: Runtime created files not accessible.SOLUTION FINALLY!!!

2008-04-25 Thread Andreas
ONCE AGAIN THNX TO ALL! It turned out that NetBeans deployment in Tomcat was destroying everything The solution was to clean and build the project with Netbeans, but manuall deploy the war file from the Tomcat Manager... Now everything works as it should... I just can't believe the

RES: Runtime created files not accessible.SOLUTION FINALLY!!!

2008-04-25 Thread Milanez, Marcus
Here comes NetBeans to 'save' the day... I had a similar problem working on a Swing project... My non java files kept being excluded all the time... -Mensagem original- De: Andreas [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 25 de abril de 2008 07:42 Para: Tomcat Users List

RE: java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser(Permission denied)

2008-04-25 Thread Caldarale, Charles R
From: Toni Tortosa [mailto:[EMAIL PROTECTED] Subject: java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser( Permission denied) Apr 25, 2008 7:37:41 AM org.apache.catalina.session.StandardManager doUnload SEVERE: IOException while saving persisted

RE: Debian 4.0. and java 6

2008-04-25 Thread Caldarale, Charles R
From: Toni Tortosa [mailto:[EMAIL PROTECTED] Subject: Debian 4.0. and java 6 Well, I tried to install java6 in my debian by means of backports unstable Why don't you install a real JVM download from the Sun web site? You should remove the existing one first to avoid confusion.

RE: Share session cookie across subdomains

2008-04-25 Thread Zach Cox
Hi Matthias - Unfortunately I think the Response class is just as ill-suited for wrapping/extending as the Request class is. Which boggles my mind - isn't wrapping the Request and/or Response one of the primary intended usages of Filters Valves? The Servlet API provides

Could not load java.lang.Object.

2008-04-25 Thread Jaime Schettini
Everytime I start Tomcat, I get this info: Could not load java.lang.Object. I'm using Tomcat 6.0.14 embedded in NetBeans + Hibernate + JSF1.2 + Richfaces 3.2.0. First of all I thought that I was missing some annotated class in hibernate.cfg.xml, but I filled it with all my classes and the info is

Tomcat -- manager

2008-04-25 Thread Khurram H Khan
I need to know if Tomcat is deployed on a production environment, how can I use its manager to stop and start a web application. I have created a role named manager and its username and password. When I go to URL http://IP_ADDRESS/manager/stop?path=/My_WebAp, it asks me for a username and

Re: Tomcat -- manager

2008-04-25 Thread Mark Thomas
Khurram H Khan wrote: I would appreciate it if someone could guide what I need to do differently in the case of production environment where tomcat is accessed through port 80. Nothing. Something in your production configuration is wrong/different. Maybe you are using a different realm

Re: Default servlet doesn't encode URI on redirect?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benoit, Benoit Maisonny wrote: | Christopher Schultz wrote: | | Benoit, | | Benoit Maisonny wrote: | | I suspect someone forgot to encode the URI in the Location: HTTP header | | on the 302 response, but maybe there is something missing in our | |

Re: Debian 4.0. and java 6

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Toni, Toni Tortosa wrote: | I have compiled openbravo software in my local laptop with tomcat 5.5. | and java 6 [snip] | My server is debian and it runs tomcat 5.5. and java 5. There's your problem: you are trying to run classes compiled using a

Re: Share session cookie across subdomains

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zach, Zach Cox wrote: | Hi Matthias - Unfortunately I think the Response class is just as ill-suited | for wrapping/extending as the Request class is. Which boggles my mind - | isn't wrapping the Request and/or Response one of the primary intended

Re: Could not load java.lang.Object.

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime, Jaime Schettini wrote: | Everytime I start Tomcat, I get this info: Could not load | java.lang.Object. I'm using Tomcat 6.0.14 embedded in NetBeans + Hibernate | + JSF1.2 + Richfaces 3.2.0. What OS? What JDK/JRE? Did you install it yourself?

Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Thierry Lam
I'm currently using the following realm configuration(Tomcat 5.5) and it's working fine: Realm className=org.apache.catalina.realm.JNDIRealm connectionName=[EMAIL PROTECTED] connectionPassword= connectionURL=ldap://domain.com;

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Thierry Lam wrote: | I'm currently using the following realm configuration(Tomcat 5.5) and | it's working fine: | |Realm className=org.apache.catalina.realm.JNDIRealm | connectionName=[EMAIL PROTECTED] |

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Christopher Schultz wrote: | userSearch=((sAMAccount={0})(|(OU=Mails)(OU=Services)) Hmm... that might not work. See the last comment on this page: http://confluence.atlassian.com/display/DEV/How+to+write+a+LDAP+search+filter Sorry :( -

RE: Wily Introscope

2008-04-25 Thread Vance A. Arocho
Fred and Antonio, thanks for responding. I'm working with one of the Unix admins in my department, and will ask him if he can try the wileytech.com site, since he should have a customer login ID. We tried updating one of the shell scripts for our Tomcat server, and now it refuses to start up

Fw: Wily Introscope

2008-04-25 Thread Vance A. Arocho
There's two versions of the 'setenv.sh' script that reference a 'WILY_JAVA_OPTIONS' environment variable, I'll check with the Unix admin I'm working with to see to which one he tried. - Forwarded by Vance A. Arocho/BHNSM/ISHSG/DIVADMIN/DOH on 04/25/2008 10:11 AM -

RE: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Thierry Lam
Does anyone know how I can specify two different realms so that each one of them search a different organization? From: Christopher Schultz [EMAIL PROTECTED] Sent: Friday, April 25, 2008 10:03 AM To: Tomcat Users List Subject: Re: Realm/active directory:

Re: Mini HOW-TO: Tomcat as a service on Windows Server 2003 64-bit edition

2008-04-25 Thread Swapnil.Kale
Hey folks, Finally i found the one i wanted. Did a google recently and found this: If you are looking for 64 bit amd exe for tomcat here is the solution. Background To install Tomcat in a 64bit architecture, download the ZIP installer from the Apache web site and unzipped. At this point •

Request Help: Tomcat and Quad core processor

2008-04-25 Thread Suhas Subramanya
Hello, I need your help and advice in resolving the following SocketException error I am getting from the catalina.log file. Apr 14, 2008 8:05:54 AM org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Software caused connection abort: socket write

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Thierry Lam wrote: | Does anyone know how I can specify two different realms so that each | one of them search a different organization? I have no experience with it, but my understanding is that JAASRealm is capable of utilizing multiple

Re: Request Help: Tomcat and Quad core processor

2008-04-25 Thread Mark Thomas
Suhas Subramanya wrote: Please let me know how this issue can be resolved. Tell your users not to click on the stop button whilst waiting for their page to appear. Mark - To start a new topic, e-mail:

Re: simple way to rewrite simple URL portion

2008-04-25 Thread Mark Thomas
DIGLLOYD INC wrote: I've got another issue-- Then start another thread. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Share session cookie across subdomains

2008-04-25 Thread Zach Cox
Again, I'll point out that Tomcat's Request class is not designed properly for extension and offer these two proposed solutions, both of which would need to be implemented in core Tomcat source code by Tomcat developers: 1) Let users specify the fully-qualified name of a Request subclass in

Re: Request Help: Tomcat and Quad core processor

2008-04-25 Thread Suhas Subramanya
Hello Mark, I confirmed that the users do not click on any of the buttons (stop, refresh, back etc) before the page gets loaded on the browser. The users have occasionally received the following message on the browser. Software caused connection abort: recv failed Thank you. Suhas On Fri, Apr

simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread DIGLLOYD INC
I previously asked about remapping URLs and got some helpful responses. In a nutshell, this was recommended: http://tuckey.org/urlrewrite/ Looks very good for some purposes. But I also want to solve a much simpler problem-- I have a very large amount of static content (articles), with each

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread David kerber
DIGLLOYD INC wrote: I previously asked about remapping URLs and got some helpful responses. In a nutshell, this was recommended: http://tuckey.org/urlrewrite/ Looks very good for some purposes. But I also want to solve a much simpler problem-- I have a very large amount of static content

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread DIGLLOYD INC
David, Yes, I understand how relative paths work. The problem is that the jsp include directives: - include an html page that is *not* in the same directory as the jsp page; - the relative links in the included html file are supposed to be relative to their own directory not the directory

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread David Smith
I see the problem. You could use absolute paths in jsp includes and the servlet container would understand them as relative to the webapp's root as opposed to the server's root: Say you have this file layout webapp |index.jsp |article1 |index.jsp |article1.html |

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lloyd, DIGLLOYD INC wrote: | My pages all use relative links eg .., ./, etc. So this works | ***when the page being included is in the same directory**. | | But when the include page is in another directory, none of the relative | links work. None

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread Hassan Schroeder
On Fri, Apr 25, 2008 at 1:00 PM, DIGLLOYD INC [EMAIL PROTECTED] wrote: The problem is that the jsp include directives: - include an html page that is *not* in the same directory as the jsp page; I've never -- and that's a long time, web-wise :-) -- liked relative paths for this reason, among

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-25 Thread Timothy Washington
Yeah. I had to bring that code up to the servlet level and strip it down before I saw it. It was buried between a lot of comments. So when you told me to look for the differences, it was like in pair-programming where someone points out the obvious. I knew it was something obvious!! Thanks

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread DIGLLOYD INC
Hassan, As I said there are other issues. Making them fixed paths would mean I couldn't edit them, copy them (for revisions, etc) without having to fix up numerous pages. And the uses are not only when routed through a web server. Lloyd On Apr 25, 2008, at 1:08 PM, Hassan Schroeder

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread DIGLLOYD INC
Christopher, Well, I'm not a web expert, so if there's a better way (redirect) I'm all ears. From what I can find by googling, redirects have a slew of issues of their own. But I'm a newbie at this, so I might be misunderstanding. How would I do a redirect in Tomcat for my stated issue,

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread DIGLLOYD INC
Thanks, I've tried that. Including with a full path still makes the included file relative to the directory in which the jsp resides. On Apr 25, 2008, at 1:02 PM, David Smith wrote: I see the problem. You could use absolute paths in jsp includes and the servlet container would understand

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread Hassan Schroeder
On Fri, Apr 25, 2008 at 1:12 PM, DIGLLOYD INC [EMAIL PROTECTED] wrote: As I said there are other issues. Making them fixed paths would mean I couldn't edit them, copy them (for revisions, etc) without having to fix up numerous pages. Right, it's work to fix them -- but you're spending time

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread David Smith
Never mind .. I saw your other responses and the best solution is the redirect option. After following the redirect, the browser will have the correct URL for calculating the full url of each of the page's resources. --David David Smith wrote: I see the problem. You could use absolute

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread David Fisher
Seconded. DIGLLOYD said the following: From what I can find by googling, redirects have a slew of issues of their own. But I'm a newbie at this, so I might be misunderstanding. The only trouble I've had with redirects is when you redirect to a page which redirects to a page which

Setting Tomcat memory usage

2008-04-25 Thread Chris Richmond
Hello all, I read the documentation on the Tomcat6 site and I have attempted to modify the max jvm memory settings when tomcat starts up by modifying Catalina.bat, but it *appears* to have no effect. Here is a summary of the situation and what I have done. I am using Tomcat6 stable

Re: Bending Jasper to My Will

2008-04-25 Thread Gennis Emerson
Andy Clark wrote: I want Jasper to look for JSP and Tag files in a specific location (e.g. based on a request param); and then fall back to a default location if the file is not found. This would be extremely useful for skinning a webapp. We do something a little like this in a database

Re: simple JSP redirect to another page -- how to deal with relative URLs

2008-04-25 Thread Bill Barker
DIGLLOYD INC [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christopher, Well, I'm not a web expert, so if there's a better way (redirect) I'm all ears. From what I can find by googling, redirects have a slew of issues of their own. But I'm a newbie at this, so I might be

Re: Request Help: Tomcat and Quad core processor

2008-04-25 Thread Bill Barker
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Suhas Subramanya wrote: Please let me know how this issue can be resolved. Tell your users not to click on the stop button whilst waiting for their page to appear. That one should probably be moved down to DEBUG. It

RE: Setting Tomcat memory usage

2008-04-25 Thread Caldarale, Charles R
From: Chris Richmond [mailto:[EMAIL PROTECTED] Subject: Setting Tomcat memory usage set JAVA_OPTS = -Xms512m -Xmx512m Take out the spaces around the equals sign. Windows interprets the above as a setting for JAVA_OPTS (note the trailing space) rather than JAVA_OPTS, so it will be ignored