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,
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
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,
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
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
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]
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
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
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.
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.
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
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
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,
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
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
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
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.
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
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)
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
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
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
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
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
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
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
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
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
-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
-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
-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
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
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
-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
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
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
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
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
-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
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
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
41 matches
Mail list logo