.
Thanks
Lawrence.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am having some troubles getting JDBC session persistance to work. I have
set up my Oracle DB and server.xml correctly (as I have verified that the
session is indeed stored in the DB), but then after restarting tomcat, it
appears that the session is not getting swapped in correctly.
Here
Greetings All,
Getting stuck with a Tomcat installation. Got jakarta-tomcat-4.0.2.src and
gunzipped /tar it no problems. However there is no bin folder, I was
expected this to run the startup command - does the src file needed to be
executed or something?
I have installed already (on Linux
Depends what shell your using and what your setup is :-))
I'm using tcsh on debian and the file to set my variables in is
/etc/csh.cshrc
I've got:
setenv JAVA_HOME /usr/java/j2sdk1.4.0
setenv JAKARTA_HOME /usr/java/jakarta
setenv ANT_HOME $JAKARTA_HOME/jakarta-ant-1.4.1
setenv TOMCAT_HOME
Greetings All,
Got tomcat going well on linux, but deployment is giving me a headache :-((
I'm looking at the documentation and the example web.xml file and I'm not
sure what I need to do to set up a webapp ???
I've got my folder in webapps: groupa
Directory Structure:
groupa
Lol :-) No time for reading books - I need to get this going :-)
I've found http://www.onjava.com/lpt/a//onjava/2001/04/19/tomcat.html so
hopefully that provides me with a better starting point than the tomcat
documentation.
-Original Message-
From: Micael Padraig Og mac Grene
for it to work. but it still
isn't being picked up the init.d version of tomcat4.
On Wed, 27 Mar 2002, Lawrence, Gareth wrote:
Depends what shell your using and what your setup is :-))
I'm using tcsh on debian and the file to set my variables in is
/etc/csh.cshrc
I've got:
setenv
to export for it to work. but it still
isn't being picked up the init.d version of tomcat4.
On Wed, 27 Mar 2002, Lawrence, Gareth wrote:
Depends what shell your using and what your setup is :-))
I'm using tcsh on debian and the file to set my variables in is
/etc/csh.cshrc
I've got:
setenv
/classes folder.
This should get you started (without needing a long book - although they can
be very exciting reading :-))
:-) Lol :-)
G.
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 March 2002 3:02 p.m.
To: '[EMAIL PROTECTED]'
Subject: Deployment
btw:
It isn't necessary to add all servlets to the web.xml file; it's only
necessary when the servlet requires additional information, such as
initialization parameters.
So in most cases you wont need to worry about this :-))
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL
Zoe,
The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.
G.
-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question
Hi,
This
meaningful responses so I guess that means the path setting is OK.
I don't use startup.sh as that file didn't seem to exist(?). I do
tomcat4 start from the /etc/init.d folder.
Z.
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: 27 March 2002 21:06
To: 'Tomcat Users List
:-) lol :-) Well this horse was floating long before he went home yesterday
:-)
Full web-app deployment going no problem.
The best way to learn web dev is from the web with mailing lists, forums,
tutorials and articles. Books are for reference, learning by example is a
much quicker way :-)
You need to deploy a web application properly :-)
http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html
Notes:
1. Create Directory in web-apps (eg test) create sub-folder WEB-INF with
sub-folders inside lib and classes
2. Add the following entry to the TOMCAT_HOME/conf/server.xml file,
Ignore Notice again that the name we are using is onjava.
Lol :-)
G.
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 2:47 p.m.
To: 'Tomcat Users List'
Subject: RE: RE: Configuring Tomcat 4
You need to deploy a web application
Greetings All,
Just when I though everything was sweet I'm having a nasty problem. I'm running:
Debian Linux, Tomcat 4.0.3, Mysql, Ant, MM JDBC driver.
Basically I've set everything up sweet and when I run a test file from the command
line (java test.class) I get a connection to the
database
FilterChain.java:247)
...
Root Cause:java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
Gareth Lawrence
Institute
Check whether tomcat classpath contains $Java_home\lib\tools.jar
Hope this helps ..
Thanks
SPula
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 3:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet Exception - Please Help
AM
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet Exception - Please Help
I would try installing it from a ZIP file in the usual way -- it's
possible that the installer did not correctly recognize where
your JDK is
installed.
Craig
On Tue, 28 Aug 2001, Lawrence, Gareth wrote
and classpath you have ..
--Saritha
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 4:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet Exception - Please Help
Hi Saritha,
Thanks for your email. I addeded c:\jdk1.3.1 and c:\jdk1.3.1
Okay,
This is what I should have done the first time ;)
I was thinking that I may need to add CATALINA_HOME as a variable this file
seems to reference it ;) I'll try that and install the release version.
Thanks again everybody. G
He's my catalina.bat:
@echo off
rem
Greetings All,
I installed the release version of Tomcat and it works great.
Thanks again to everyone who made suggestions though you guys rock.
G.
application from
the command prompt, and I can retrieve data from the
DB2, everything seem to works fine.
Any hint of what I should try?
Thanks!
Lawrence
__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
checked and rechecked all my settings, I have even successfully
loaded other dll files.
Could you please help, or post a more up to date no
corrupt version of this file.
Thanks,
Lawrence
3.2.2. I have checked and rechecked all my
settings, I have even successfully loaded other dll files. I have tried to
download the zipped version, nothing seems to work
Could you please help, or post a more up to date no
corrupt version of this file.
Thanks,
Lawrence
think it had anything to do with typos, etc., although
in some cases, that could be the problem. However, I think it's simply just
the way regedit handles the info.
Lawrence
- Original Message -
From: Rex Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 11:30 AM
- Original Message -
From:
Lawrence
Kemdirim
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 6:07 AM
Subject: Corrupt isapi_redirect.dll and
ISS5
Dear Fellow Tocaters:
Could someone tell me how to obtain a non corrupt
version of the isapi_redirect.dll. I have spent my
My guess is that your settings are correct as far
as finding the dll file. However, I don't believe that this means that this is a
carte blanche for all your other settings (i.e. worker.properties, logs, and
workeruri, etc.).
Lawrence
- Original Message -
From:
Winer
Howdy,
I've noticed that sporadically my tomcat process dies with the following
error in the Catalina.out. Anyone have any ideas on whats going on?
Obviously an exception of somesort, but why the exception?
Thanks,
-gabe
[InMemoryReplicationManager] storing attribute 'artifactbinding' with
Has any one submitted a request to get dropping privs into the JDK? Or
escalating privs to grab one of these ports and then dropping them
again?
As I see this request over and over again on this list I think there is
a large number of people who would like to see it or would vote for it
in the
-Original Message-
From: Lawrence, Gabriel [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 4:06 PM
To: Tomcat Users List
Subject: RE: Running Tomcat as Non-Root
Has any one submitted a request to get dropping privs into the JDK? Or
escalating privs to grab one of these ports and then dropping
in
the JVM...all services would run as the same user? Seems like that
would
end up being pretty messy to manage.
John
On Fri, 18 Jul 2003 13:24:42 -0700, Lawrence, Gabriel
[EMAIL PROTECTED]
wrote:
Right. I'm saying has anyone looked into submitting something to sun
asking them to make
model is out of scope.
Why don't particular flavors of the OS allow for 1024 to be non-root?
Lukas
Lawrence, Gabriel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
So I'm going to take that as a no. No one has bothered to pester sun
about this.
And yes, the way things tend to work
before Tomcat actually handles any
request). It also allows you to stop (gracefully) by sending a SIGTERM
signal, or to restart by sending a SIGHUP. I'm pretty happy with it on the
Linux box that I'm using it on.
Lawrence, Gabriel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Right. I'm
Howdy,
The mod_ssl faq says to do the following:
The first reason is that the SSL implementation in some MSIE versions
has some subtle bugs related to the HTTP keep-alive facility and the SSL
close notify alerts on socket connection close. Additionally the
interaction between SSL and HTTP/1.1
Does setting the proxyName help?
See docs at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html
-Original Message-
From: Erin Dalzell [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 4:31 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat not working behind a NAT?
Try running netstat on the linux box to see how many connections are out
there. This might give you some more visibility into what network
connections are actually being used and where they are going.
-gabe
-Original Message-
From: Barclay A. Dunn [mailto:[EMAIL PROTECTED]
Sent: Friday,
There was a config option to stop this and make oracle just use 1521
that I used a couple years back for this very purpose...
Here's a discussion about how the problem and how to get oracle to just
use a single port:
http://www.stunnel.org/examples/oracle.html
-gabe
-Original Message-
I'm using the tomcat 4 clustering stuff found at:
http://cvs.apache.org/~fhanik/index.html
And I have one issue. I have a service that tracks some information that
is reported outside the users session. This is examined by a different
client then the users client. I want to keep this global
an do it, is to implement the java.io.Externilizable
interface,
and when the data gets
deserialized, then set the stuff in your global variable, just remember
to
only set it once.
do you see where I am going with this?
Filip
-Original Message-
From: Lawrence, Gabriel [mailto:[EMAIL
Howdy,
I'm running tomcat 5.0.16, jdk 1.4.1_02-b06 on Solaris 8 and am running
into an issue with IE. It seems that when I use IE wihtout SSL things
work fine, but when I use IE with SSL the form posts I'm sending don't
always submit properly. I know it sounds crazy, but, I'm wondering if
there
debug=10
printToScreen=true
useDirtyFlag=true
Although I have the debug/printToScreen attributes, I'm not seeing any debug
information about session replication. How can I get some debug info?
Any help greatly appreciated!
Thanks,
Sam Lawrence
5.0.19, to make
it more modularized.
Also, the debug flag is a thing of the past, the clustering module is
currently using the commons logger, same way all the other
components are using it.
Filip
- Original Message -
From: Sam Lawrence [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent
will need to change / for \ and $ for
%%
but I am sure you can figure that for yourself :)
Filip
- Original Message -
From: Sam Lawrence [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 10:00 AM
Subject: RE: Clustering with 5.0.19
Thanks Filip,
Do
Filip,
Not sure if you saw this yesterday, I think there were some email problems.
Any help would be greatly appreciated.
Thanks,
Sam.
-Original Message-
From: Sam Lawrence [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 11:27
To: Tomcat Users List
Subject: RE: log4j logging in Tomcat
I'm working on a tool to pull out the private key. It should be done by
the end of the day. I will send something to the list when I have it
finished. Kind of funny how just as I'm getting around to a project that
has been on my plate all week someone else needs it too ;-)
-gabe
-Original
I've noticed that on tomcat 5 the working directory that it execs the
cgi script in is different then it was on tomcat 4. I haven't solved my
problem yet, but I have isolated that to be my problem.
-gabe
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
Sent:
The hibernate project as a uuid class, you could look at how they do
it... Here's the docs:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapp
ing-s1-4-uuid
-gabe
-Original Message-
From: Tom Ly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 12:10 PM
If you are running java 1.4 you might be better off setting it up to run in a headless
environment. I add this to my JAVA_OPTS when running startup.sh for tomcat to do this:
JAVA_OPTS=-Djava.awt.headless=true
Cheers,
-gabe
-Original Message-
From: Patrick Willart [mailto:[EMAIL
the archives and Google for this error and while I found
no information about a potential cause, I did see many JSP pages
which inadvertently got themselves indexed with this message as
their very first line ;)
What is Error 200?
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
(the proper way to do this), but for now the easiest path
would seem to be to have the servlet purge itself from the servlet
container such that it will be completely reloaded on the next
request. Is this possible?
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business
they never report it.
What I'm hoping is someone familiar with the sources can check the
tomcat/jasper sources to see if it is in there somewhere (or maybe
mod_jk?) as this error is itself an error: It should report to the
stderr log, not the servlet output stream.
--
Gary Lawrence Murphy [EMAIL
, this
sounds like exactly the process we'd need; where can I learn more
about this process?
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers
Hello,
Does anyone have an explaination or remedy for this error?
I get this error when I try to run Tomcat with the SSL invoked, Tomcat/4.0.2-b1 --
Windows 2000 Pro.
I followed the instructions given in the documentation to the letter, but I still get
this error.
Hello,
Hi,
Does someone or anyone have an explaination or remedy for this error?
I get this error when I try to run Tomcat with the SSL invoked, Tomcat/4.0.2-b1 --
Windows 2000 Pro.
I followed the instructions on installing SSL given in the documentation to the
letter, but I still get this
Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED
, it doesn't
work.
Can I _exclude_ a pattern from JkMount? Is JkMount a proper regexp?
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo
Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
Help please:
I don't know if tomcat-users can help or if I'll have to go over to the JINI
site but I do feel this is a Tomcat issue as it ran under Tomcat 3.1.
I have a website that uses JINI lookup discovery to find services that it
can use. It worked under Tomcat 3.1 and know works under Tomcat
Please HELP:
I have the following in my web.xml file:
servlet-mapping
servlet-nameCardServlet/servlet-name
url-pattern/Cards/*/url-pattern
/servlet-mapping
The servlet at this point only writes out a simple hello page and debug
output of getPathInfo() and getRequestURI() but
Please HELP:
I don't know if what I am seeing is standard behavior or something I am
doing wrong.
I have the following in my web.xml file:
servlet-mapping
servlet-nameCardServlet/servlet-name
url-pattern/Cards/*/url-pattern
/servlet-mapping
The servlet at this point only
Please HELP:
I don't know if what I am seeing is standard behavior or something I am
doing wrong.
I have the following in my web.xml file:
servlet-mapping
servlet-nameCardServlet/servlet-name
url-pattern/Cards/*/url-pattern
/servlet-mapping
The servlet at this point only
Pier,
Great idea with the discussion forums!!
Of course one suggestion:-) how about a general forum area that my not need
to post to the user group but where we could discuss long winded topics
without eating mail bandwidth? Things I am thinking of would be like a
thread on development
HELP!!! :-)
I am running on win2kpro, java version 1.3.1_01, Apache Tomcat/4.0-b7
I am getting the following stack trace:
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception
I have the same problem under 4.0.1 and the reason I posted this to the
Tomcat
group was that the exact same website with absolutely no changes works on
the
Solaris box. And the class not being found is actually a JINI bass class
that I use
in multiple other non web based apps on NT with not
That particular include statement actually pulls the second file as
part of the source file before Tomcat compiles it. In so doing
Tomcat uses the timestamp on the main file and never checks the included
file. All you have to do is resave the master file and you should see
you're changes.
Lance
Any recommendations for JDBC connection pool software? I'd seen
Turbine mentioned in this context, but couldn't figure out how to
extract just that functionality from it. Any other recommended
packages for a simple but robust pool?
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics
Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
appear to
be any easy transformation short of creating my own subclasses of the
format classes.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers
Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
Check out the discussons on the jakarta turbine page.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
, I want to log events in my application and log them
in a format that can be used by programs like awstats.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give
it?
Also, since the TurbineServices is a Singleton, it should have been
initialized when the class is loaded, and the constructor reduces to
BaseInitableBroker() which does nothing; there does not appear to be
any opportunity for the constructor to fail!
--
Gary Lawrence Murphy [EMAIL PROTECTED
)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
at java.lang.Thread.run(Thread.java:498)
--
Gary Lawrence Murphy
the docs for Jakarta-Turbine as an
alternative application environment that sits on top of Tomcat and
provides many services, including db connection pools.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
the API
docs) but be aware that this does not prevent trouble, it just ensures
your app will abort quickly when a problem arises.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless
is
considerable.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless. They can only give you answers.(Pablo Picasso)
Slightly related to this thread, is it possible to have a JSP page
using extended path parameters?
for example: http://host/app/index.jsp/parm1/parm2
I tried the Apache directive JkMount /*.jsp/* ajp12
but that did not work.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics
in about a month for our first public web product.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
Also www.superb.net has no applications per-se (they are an ISP) but
any you do find on superb-hosted sites are running on the Tomcat 3.2
that Lu Vo and I installed.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http
"J" == Jeff Finley [EMAIL PROTECTED] writes:
J Where are the outputs for these going in Tomcat 4.01beta? I
J cannot find them in any logs! Please help, need it to debug a
J servlet.
Bad choice. IMHO, you should be using org.apache.log4j
--
Gary Lawrence Murphy [EMAIL
I know I can initialize a servlet when tomcat boots by entering it
into the web.xml file, but is there an elegant way to initialze an
application-scoped jsp:useBean? Right now, I just hit the page with
Lynx when the tomcat script boots, but that's pretty kludgy.
--
Gary Lawrence Murphy [EMAIL
, couldn't resist.
--
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
is not allowing the application to write into
WEB-INF/logs subdirectory. How do I direct Tomcat to allow this
functionality?
Tomcat 4.1.30
Thanks
-
Lawrence Winkler
UW-Madison
Division of Information Technology
608-265-4610
[EMAIL PROTECTED
85 matches
Mail list logo