My god, I'm sorry.
I posted the directory structure wrong.
Web-inf is the root of the project
WEB-INF/web.xml
WEB-INF/content/*.jsp
WEB-INF/src
What I posted earlier wouldn't have been a problem at all. Looking at the
time, I think my mind was still on autopilot
The problem is with the conte
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 unsubscr
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
-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 li
Hi,
I'm currently running a tomcat application within apache2.
To do so, I added the following lines to jk.conf...
Alias / "/usr/share/tomcat6/webapps/"
">
Options Indexes FollowSymLinks
DirectoryIndex index.html
allow from all
When I now try to access the appli
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 a
> 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
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
-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 tha
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 runni
Hmmm, we have a webapp that requires authentication to launch a specific
function and we spawn multiple windows with window.open() and we don't
have any problem with the browser session IDs being changed. Are you
switching from http to https or vice versa? This would certainly result
in different
The file is called "cacerts" and is located in your Java SDK directory's
jre/lib/security folder. I'm running Ubuntu and it's actually a simlink
to a sub-directory in /etc. A fellow engineer is running Fedora 7 and
it's not a simlink.
Regarding your error, do you have gcj installed? And if so,
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 appl
-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 memo
-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 t
-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 whe
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 U
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
Classpath with ant has always been sticky.
This is what I compiled from the docs.
My CATALINA_HOME enviroment variable points correctly .
I had done an echo ${CATALINA_HOME} and it worked. I had been tryi
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
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 kno
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
> 97
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 kno
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
org.omg.CORBA
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 t
You can precompile jsp using
wget and jsp_precompile=true
for example I use this:
#!/usr/bin/posix/sh
for aJSP in $(find $HELIOS -name "*.jsp" | sed -e "s:$HELIOS::g") ; do
wget http://vhpuw51:$aJSP?jsp_precompile=true
done
Le 11/10/2007 15:26, Pid a écrit :
Arun wrote:
jspc:
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
> 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
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.
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 org.apache
> 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 CONF
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 t
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, e-mail
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 "
Do
David,
My webapp runs and works correctly. I just want to precompile jsps to
increase initial performance. Is there anyway for Jasper to skip these
errors, and continue compilation.
On 10/11/07, David Smith <[EMAIL PROTECTED]> wrote:
>
> Why are you mixing el expressions with <%= ... %> expressio
Script A (the problem script) continues to run after 2 minutes (with partial
output some of the time). But script A ran under the command line (as opposed
to the browser/Tomcat) is very fast -- under a second and gives full output.
Script B runs under less than a second and gives full output.
-
Why are you mixing el expressions with <%= ... %> expressions? I'd
replace <%=request.getContextPath()%> with ${request.contextPath}.
--David
Arun wrote:
jspc:
BUILD FAILED
/home/build/mobchannel/mobchannelWEB/build.xml:199:
org.apache.jasper.JasperException:
file:/home/build/mobchannel/mob
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 fro
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
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.
>
>
http://tomcat.apache.o
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
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,
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] jk_han
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
44 matches
Mail list logo