Re: Native Library Not found

2007-10-11 Thread Arun
That worked finally with the increase in PermGen space. Filip, I am a bit concerned about my server memory. See my top (not mine ofcourse) top - 09:38:18 up 9:16, 3 users, load average: 0.27, 0.18, 0.10 Tasks: 72 total, 2 running, 70 sleeping, 0 stopped, 0 zombie Cpu(s): 49.1%us,

Re: Native Library Not found

2007-10-11 Thread Arun
And finally after 2 days of struggle I got my new server up. Check ibaaz.com, that is what I was trying to bring up. Thanks for the help. Being said that, I am going to use a heap profiler to see what is happening in JVMs head. And see if I can match its intelligence. On 10/11/07, Arun [EMAIL

Non-standard webapp layout

2007-10-11 Thread Glen Vermeylen
Hi all, Recently I moved to a (ancient) project which uses following layout: content/ *.jsp /WEB-INF/web.xml, struts-config.xml,... /src I'm used to working in the standard J2EE layout where I can just point tomcat to my project directory and it can run the application from there,

Re: Native Library Not found

2007-10-11 Thread Arun
Why I did not test this before is because, I donot thought this was a soultion though. Tomorrow another developer add something to the product and there we go. I will be asked Hey guy increase the memory of the server, that may be the problem, last time it was!!. Then I might need to empoy a guy

RE: Setting up Tomcat instance ..HELP !!!

2007-10-11 Thread Quodras, Naveen
Thanks a lot Bruno !!! -Original Message- From: Bruno Vilardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 6:38 PM To: Tomcat Users List Subject: Re: Setting up Tomcat instance ..HELP !!! Naveen, First you need to download the Tomcat. Then you need to extract it on the

mod_jk: Could not init service for worker

2007-10-11 Thread Hans van Zijst
Hi, Since I updated my system last monday, mod_jk doesn't work anymore. Tomcat starts up just fine, no errors or warnings. I checked that the AJP1.3 connector runs, it listens on port 8009. Apache runs fine as well, but as soon as I connect to the URL I mapped to Tomcat, I get: [error]

JAAS Realms, cookies and authentication

2007-10-11 Thread Emsley, I (Iain)
Hi, I'm trying to implement a solution to log in users to one of our web apps which runs on Tomcat via cookies to which I've had several false starts and I'd like to ask some advice on the best way of implementing this securely. What I'm trying to achieve is when the user logs in on main site

Precompile JSPs

2007-10-11 Thread Arun
Hi, I want to precompile jsps for apache tomcat 6. Which ant task should i use . Is there a simple example for that. I am using a build.xml exported from MyEclipse. Where would the JSP classes go in WEB-INF/classes. What structure does it have. -- Thanks Arun George

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: Hi, I want to precompile jsps for apache tomcat 6. Which ant task should i use . Is there a simple example for that. I am using a build.xml exported from MyEclipse. Where would the JSP classes go in WEB-INF/classes. What structure does it have.

Re: Precompile JSPs

2007-10-11 Thread Arun
Ok, Thanks On 10/11/07, Pid [EMAIL PROTECTED] wrote: Arun wrote: Hi, I want to precompile jsps for apache tomcat 6. Which ant task should i use . Is there a simple example for that. I am using a build.xml exported from MyEclipse. Where would the JSP classes go in WEB-INF/classes.

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: jspc: What is wrong? You're sending me twice as many mails as you need to, for a start. Reply-to-all is unnecessary - just reply to the list please. The error message tells you what's wrong, on line 10. navigation.jsp(10,20) attribute for % is not properly terminated Does

Re: Precompile JSPs

2007-10-11 Thread Arun
jspc: BUILD FAILED /home/build/mobchannel/mobchannelWEB/build.xml:199: org.apache.jasper.JasperException: file:/home/build/mobchannel/mobchannelWEB/WebRoot/jsp/toolbox/navigation.jsp(10,20) attribute for % is not properly terminated I got this error on using the jspc task. I have copied the from

Tomcat library hierarchy

2007-10-11 Thread Andrew Hole
Hello! What's the difference between common/lib , common/endorsed and common/classes? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Precompile JSPs

2007-10-11 Thread Arun
Ok, I fixed that up and I have an error coming from the ant script that I copied from tomcat docs. The error said, there is no such directory called /usr/local/bin/apache-tomcat-6.0.13/common/lib. There is no folder called common/lib in my tomcat 6 home directory. When I commented that line from

RE: Tomcat library hierarchy

2007-10-11 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Tomcat library hierarchy What's the difference between common/lib , common/endorsed and common/classes? Look at the doc: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Precompile JSPs

2007-10-11 Thread Arun
The build output I got after fixing, if that helps. jspc: precompile-jsps: [javac] Compiling 370 source files to /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/classes [javac] /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/src/org/apache/jsp/home_jsp.java:7: package

Re: Tomcat library hierarchy

2007-10-11 Thread Andrew Hole
Only thing that doc says: All unpacked classes and resources in $CATALINA_HOME/common/classes, as well as classes and resources in JAR files under the $CATALINA_HOME/commons/endorsed, $CATALINA_HOME/commons/i18n and $CATALINA_HOME/common/lib directories, are made visible through this class loader.

RE: Tomcat library hierarchy

2007-10-11 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat library hierarchy I don't know difference between put a jar in common lib or common endorsed p.e. The endorsed classloader is functionally equivalent to using the bootstrap classloader (it's actually between the bootstrap and

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: Ok, I fixed that up and I have an error coming from the ant script that I copied from tomcat docs. The error said, there is no such directory called /usr/local/bin/apache-tomcat-6.0.13/common/lib. Correct, Tomcat 6 uses doesn't use 3 different directories (common, server, shared)

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
here is a script that precompiles just like Tomcat runtime, meaning, you still keep the ability to reload your JSPs instead of converting them to servlets http://people.apache.org/~fhanik/tomcat-6-precompile.xml Filip Arun wrote: Hi, I want to precompile jsps for apache tomcat 6. Which ant

Re: Tomcat library hierarchy

2007-10-11 Thread Martin Gainty
Andrew endorsed libraries are used to override standard libraries (newer endorsed libraries override the older endorsed libraries) http://java.sun.com/javase/6/docs/technotes/guides/standards/ endorsed packages includes the following JAVA packages (partial listing): javax.rmi.CORBA

Re: Native Library Not found

2007-10-11 Thread Juha Laiho
Arun wrote: That worked finally with the increase in PermGen space. I am a bit concerned about my server memory. See my top (not mine ofcourse) top - 09:38:18 up 9:16, 3 users, load average: 0.27, 0.18, 0.10 PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 9770

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
yes, it was a long time ago since I looked into the other way of doing it. Since compiling JSPs into servlets defeats the purpose of reloadable JSPs Filip Arun wrote: Filip, That works cool. Thank you for the reply. I do not know why the one specified in tomcat docs does not work. All I

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: Filip, That works cool. Thank you for the reply. I do not know why the one specified in tomcat docs does not work. All I know is that it throws an error telling me that it cant find org.apache.jasper.runtime package. But that is there in the lib directory of tomcat's home in

Re: Precompile JSPs

2007-10-11 Thread Arun
Filip, That works cool. Thank you for the reply. I do not know why the one specified in tomcat docs does not work. All I know is that it throws an error telling me that it cant find org.apache.jasper.runtime package. But that is there in the lib directory of tomcat's home in jasper.jar. All I

Re: Precompile JSPs

2007-10-11 Thread Arun
Classpath with ant has always been sticky. This is what I compiled from the docs. property environment=env / property name=tomcat.home value=${env.CATALINA_HOME} / property name=webapp.path value=WebRoot / import file=${tomcat.home}/bin/catalina-tasks.xml / target name=jspc jasper

Re: Precompile JSPs

2007-10-11 Thread Martin Gainty
Arun- download and uncompress apache-tomcat-6.0.14-src distro from http://tomcat.apache.org/download-60.cgi cd to the folder you downloaded \apache-tomcat-6.0.14-src ant use the jasper.jar located in \output\build\lib M-- - Original Message - From: Arun [EMAIL PROTECTED] To: Tomcat Users

Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?

2007-10-11 Thread Moran Ben-David
Can anyone tell me if mod_jk does a copy of memory when it moves tomcat output to apache through mod_jk? My assumption has been that the two processes (in linux) communicate by copying data from each other's memory spaces. If this is the case... does anyone know if there are plans to use the new

Re: Non-standard webapp layout

2007-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glen, Glen Vermeylen wrote: Hi all, Recently I moved to a (ancient) project which uses following layout: content/ *.jsp /WEB-INF/web.xml, struts-config.xml,... /src I'm used to working in the standard J2EE layout where I can

Re: JAAS Realms, cookies and authentication

2007-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain, Emsley, I (Iain) wrote: What I'm trying to achieve is when the user logs in on main site and clicks the link to the Java calendar, the link will read the cookie (extracting the user name/password and converting into hex to send back to the

Re: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)?

2007-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Moran, Moran Ben-David wrote: Can anyone tell me if mod_jk does a copy of memory when it moves tomcat output to apache through mod_jk? My assumption has been that the two processes (in linux) communicate by copying data from each other's memory

RE: Dynamic logging configuration updates in Tomcat

2007-10-11 Thread Adam Gordon
Wow, no one had any ideas as to what is going on? Anyway. We never figured out why Tomcat has an issue with this, but we found a suitable workaround by basically doing what the LogHandler does when it re-reads and refreshes the logging configuration - we take the new logging level values and

tc security

2007-10-11 Thread Chris Pat
Hello I have 5.028 running in development production with a simple tomcat-users.xml, it works. When I run it in my ide, jb05, with the same tomcat-users.xml in the same config folder as server.xml, that it uses to run, it fails the security. The only possible reason I can assume is it is

Re: Dynamic logging configuration updates in Tomcat

2007-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Gordon wrote: Wow, no one had any ideas as to what is going on? I have no idea if Tomcat supports this -- the logging-related configuration directives in the docs should say if it is directly supported. If you're using log4j, I know

alternative tag pool implementation

2007-10-11 Thread Dmitry Beransky
Hi, I've noticed that there are two implementations of the tag pool: TagHandlerPool and PerThreadTagHandlerPool. I haven't been able to figure out how to tell Jasper to use the per-thread implementation. Any pointers? Thanks Dmitry

Specifying multiple IP's for tcpListenAddress in clustering environment

2007-10-11 Thread Burnett, Adam
In our environment we have multiple boxes each with multiple NICs. In order for clustering to work I had to explicitly specify the address of eth0 for the tcpListenAddress because auto wasn't working. Is it possible to specify failover address for this attribute? In the case that just eth0

Re: Specifying multiple IP's for tcpListenAddress in clustering environment

2007-10-11 Thread Filip Hanik - Dev Lists
you can only specify a single address, currently there is no fail over. if you have two nics, and you want fail over between them, do it on the OS level. for example, on Linux, you can bond two nics into one IP address, and the OS will automatically fail over between them much better doing it

mod_jk - no permission to access index file

2007-10-11 Thread Albert Greinoecker
Hi, I'm currently running a tomcat application within apache2. To do so, I added the following lines to jk.conf... Alias /my_app /usr/share/tomcat6/webapps/my_app Directory /usr/share/tomcat6/webapps/my_app Options Indexes FollowSymLinks DirectoryIndex index.html

Re: [OT] mod_jk - no permission to access index file

2007-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albert, Note that this has nothing to do with mod_jk. In fact, mod_jk appears to be working properly according to your report. Albert Greinoecker wrote: I'm currently running a tomcat application within apache2. To do so, I added the following

RE: Tomcat 5.5.25 - 6.0.14 upgrade problem

2007-10-11 Thread aku1234
Thanks for telling me about your issue. I experimented unsuccessfully with different locations for the jar files in Tomcat 6. Glassfish v2 is now stable. I was able to use that without running into the JNDI problems that I had with Tomcat 6. Paul Anderson-12 wrote: Hi, I had a problem

Groovy scripts to setup multiple Tomcat instances with single install base.

2007-10-11 Thread thebugslayer
Hi all, Just want to share these tools to the user groups. Hope you find it useful. http://docs.codehaus.org/display/GROOVY/Tomcat+tools Cheers, -- /bugslayer - To start a new topic, e-mail: users@tomcat.apache.org To