That's not the issue!!
1.I add at httpd.conf :JkSet config.file
/full/system/path/to/workers2.properties
2. I receive a message like the following : [notice] uriEnv.setAttribute()
the worker directive is depriciated
for EVERY Uri mapping ( like [uri:localhost/*.jsp]
Hi,
How do you precompile jsps for tomcat? Is it possible to package
compiled jsps in a jar file to be included in the WEB-INF dir of another
war file?
If this is documented somewhere, I'd appreciate a shove in the right
direction.
thanks
Nathan
--
Hi,
is it possible to package jsp files within a jar file so that the jsps
will be available if the jar is placed within the WEB-INF dir of some
web application.
I have developed a utility for web-apps that has both jsp and servlet
components. I am lazy and so would like to be able to make th
You place the class files in /WEB-INF/classes, then hand-code servlet mappings in
web.xml pointing from each xxx.jsp name to the corresponding class.
-Original Message-
From: Lukas Bradley [mailto:[EMAIL PROTECTED]
Sent: Sat 7/12/2003 10:58 AM
To: [EMAIL
I am try to setup a JNDI datasource. This is the exerp from my context. I
store app context in $CATALINA_HOME/webapp/myapp.xml file
Does anyone have any insight on this, when starting tomcat I get:
Apache Tomcat/4.1.24
Jun 6, 2003 9:50:00 AM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
/usr/lib/apache2/jkjni.so: /usr/lib/apache2/jkjni.so: undefined symbol:
apr_md5_final
G'day folks,
I currently have an existing Tomcat 4.1.24 and J2SE 1.4.2 set up under
Windows XP Pro and all seems to be sweet. Now I'd like to extend things a
bit and add Jboss into the loop for EJB support. Are there HOWTO's floating
around which describe the installation and configuration of To
Hi,
mod_jk and JK2 are configured totally different from each other. No more
JkMount's or anything. Since I'm not a pro at mod_jk I can't tell you
what's exactly is still supported but just by looking at it I'd say slim
to none.
-e
On Sat, 12 Jul 2003, Jay Garala wrote:
> Folks,
>
> Maybe
Tomcat 5.0.3 on W2K hangs on startup whenever I deploy an app whose web.xml has
a definition that contains a element, either with or
without a number. This happens consistently on my TC installation, which has
unpackWARs set to true. Has anyone seen this behavior before?
Thanks,
Mike
--
Mike
Folks,
Maybe i should try this before posting(hmm) .. Does JK2 support the
same directives as JK in Apache? I know of JkSet and Jk(??)URI. But how
about the others??
Thanks
Jay
Simon Pabst wrote:
set the following in workers2.properties to avoid log messages:
# Global logfile level set to emergency errors
[logger]
level=EMERG
thx that worked smoothly and had effekt on httpd and catalina
-
To unsubscr
Noel J. Bergman wrote:
map to invalid worker /examples ajp13:localhost:8009
Do you have a worker listening on localhost:8009? I thought you had gone
with sockets, which is the example documented on the above Wiki page.
apache errors from OLD non socket directives in httpd.conf
everything el
> on every request following debug information is printed into catalina.out
> what is it and how can i stop it ?
It is debugging code for Costin. See the source. Remember that jk2 is
still maturing, although I think that it works quite well.
--- Noel
--
> well finally i made it
Glad to hear it.
> the problem was i had to use --with-pcre at compile time
Interesting ... I didn't have to do anything explicit with that when I did
my build, which was done on RH8 against the RH8 httpd distribution.
I'll probably do a new build within a couple of wee
hi
and another question ;-)
i use jk2 with UNIX-Sockets.
on every request following debug information is printed into catalina.out
[Sat Jul 12 21:55:21 2003] ( info ) [jk_jni_aprImpl.c (472)] jkInvoke() invoke
4d2757f0
what is it and how can i stop it ?
-
Change Apache User and Group in httpd.conf to same as Tomcat User.
Make a script in /etc/init.d for tomcat which starts up tomcat with
cd /path/to/tomcat
su - tomcatuser -c bin/startup.sh
(su needs root privileges to run without password)
set the following in workers2.properties to avoid log messa
Use something like:
su - -c /usr/local/tomcat/bin/startup.sh tomcat
Where 'tomcat' is the name of the user you want to own the process...
On Saturday, July 12, 2003, at 11:57 AM, Nicolas wrote:
hi
how can i start tomcat as another user at startup, say apache
that the socket file has the right
Double part question:
First, when I pre-compile JSPs, what directory are the JSP class files
placed? In WEB-INF/jsp or WEB-INF/classes?
Second, without the actual JSP on the server, can the files be reached as
normally? Will //localhost/myfile.jsp still map correctly to the class in
Tomcat?
Th
hi
how can i start tomcat as another user at startup, say apache
that the socket file has the right permissions to use UNIX sockets.
thx4help
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Have you tried www.oreilly.com?
Regards,
Susan Hoddinott
http://www.hexworx.com
- Original Message -
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 2:02 AM
Subject: [off-topic] - Where can i find Oreilly's packa
Hello,
I had exactly the same problem and found that gifs need to be referenced as
"/MyGif.gif". This makes it look in the web root directory (i.e. where your
HTMLs and JSPs are). If you have a sub-directory then it might become
"/images/MyGif.gif". I messed around with this for ages trying the
List,
I thought I'd try a few things, to try and get my application to make use of
javax.mail.*
I'm running IBM java131 and Tomcat 3.3.1
I've got a fairly extensive webapp written and running. Moved it to a RedHat 9 Linux
server without any changes (cool!).
I'm now trying to add some new fu
That was vague.
http://jakarta.apache.org/tomcat/faq/
Probably in particular:
http://jakarta.apache.org/tomcat/faq/misc.html#compile
-Tim
Bhanu wrote:
Hello there,
I hope this mail will find you best in your health, well I am facing a problem in using with tomcat. Actually I am the associate of
For me when you close the browser the session is invalidated...
also, tomcat also has a 30min default expiry for inactive sessions
(elimating the need for below)
- Original Message -
From: "Rick Roberts" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, July
//Invalidate session if inactive for more than 1 hour
if(!session.isNew()){ // skip new sessions
Date hourAgo = new Date(System.currentTimeMillis() - 60*60*1000);
Date accessed = new Date(session.getLastAccessedTime());
if(accessed.before(hourAgo)) session.invalidate();
}
FIkayo Otun wrote:
G
Yea! :)
Noel J. Bergman wrote:
That subscriber was removed about 7 hours ago.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
well finally i made it
the problem was i had to use --with-pcre at compile time now everyworks
over the socket except that i have to chmod 666 to jk.socket because
apache can't access the file (starting as nobody).
how can i start tomcat as another user ?
and on every request following log mes
ditto.
There is no sure fire way from the system aspect (CPU, run queue, etc)
that will tell you what's going on. You need to peek inside the VM and
see what it's doing.
-e
On Fri, 11 Jul 2003, John Turner wrote:
>
> Like I said, I'm no guru. Sounds like you need to bust out a profiler.
>
> J
I have two pages (mailer1.jsp and mailer2.jsp). Both are almost
identical : they receive four parameters (to, from, subject and
message), and generate an email message using Javamail.
mailer1.jsp uses a JSP scriplet, invoking standard Java Mail API calls
to send the message.
mailer2.jsp uses taglib
Hai ,
I deployed the service fine.
But when I try to call using client I am getting the following
error.
I set the classpath for tomcathome/webapps/soap/WEB-INF/classes
also.
The call failed:
Fault Code = SOAP-ENV:Server.BadTargetObjectURI
Fault String = Unable to resolve target obje
That subscriber was removed about 7 hours ago.
--- Noel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Good day(Sir/ma), I am a java programmer just starting to explore the J2ee platform. I
use jdk1.4.2... and tomcat to develop and deploy my servlet. I however need a way to
end my session when ever I close my browser. I noticed when I close my browser my
session will still be on. I am currently
Hello there,
I hope this mail will find you best in your health, well I am facing a problem in
using with tomcat. Actually I am the associate of www.finditat.com and now a days we
are shifting the website on a new server there we are facing a problem that our jsp
pages are not compiling, we had
This moron has to go!
Yesterday there were about 30 today I've lost count. Somebody please get him
off the list.
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.com
Spam and virus scanning available
#
This message (a
Please ban indeed, my account won't allow so much mail!
-Original Message-
From: jo outen [mailto:[EMAIL PROTECTED]
Sent: zaterdag 12 juli 2003 8:25
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: No valid command found (Please ban this guy)
Can someone please ban this guy from the
35 matches
Mail list logo