i have the tomcat only working, without apache (in linux).
how can i logs the web entries?,
in apoache there is very easy bit in tomcat?
Hi guys,
i use Tomcat as a Servlet Engine and want to create a Initial Context...but
what is the Initial Context Factory i have to USE?
ciao
Chriss
Hi,
I tried starting tomcat before apache. I see the startupscript
being executed, but tomcat doesn't start.
Has anybody working Unix startupscripts for Tomcat?
Jan
-Original Message-
From: AC [mailto:[EMAIL PROTECTED]]
Sent: maandag 11 december 2000 8:58
To: [EMAIL PROTECTED]
Subject:
The below code runs servlet "myservlet" with pathinfo "pages/welcome.jsp".
frame NAME="main" SRC="%= context %/servlet/myservlet/pages/welcome.jsp"
NORESIZE
It functions correctly with Tomcat 3.1, but Tomcat 3.2 returns error message
"The page cannot be found".
Tomcat 3.2 doesn't interpret it
Hello,
bear with me please if my mail is a bit too long.
I am using apache + tomcat (Linux) for few days and until now every
thing worked Ok.
yesterday I stopped tomcat(./shutdown.sh)and started tomcat
again(./startup.sh). I got the following error Message
(FATAL:java.net.BindException:
Yes you need tools.jar from the jdk to compile jsp
-Original Message-
From: Sanjay Gulabani [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 7:25 AM
To: [EMAIL PROTECTED]
Subject: does tomcat jsp runtime require jdk ?
Does Tomcat release of jsp runtime require
Hello
Hello,
bear with me please if my mail is a bit too long.
I am using apache + tomcat (Linux) for few days and until now every
thing worked Ok.
yesterday I stopped tomcat(./shutdown.sh)and started tomcat
again(./startup.sh). I got the following error Message
(FATAL:java.net.BindException:
Hi all,
is there already any workaround or solution to the problem described in
bugreport #64 "URLs changed by mod_rewrite are not taken into account by
AjpConnectionHandler"? I'm currently using tomcat 3.2: the problem is still
there... Thanks Peter
I am using tomcat for running servlets using jdk1.2.
I am trying to connect to orcale using the driver :
oracle.jdbc.driver.OracleDriver
But it is giving me an error that driver not found.
How can i solve the problem? Please help me.
Thanks
Sonal Agarwal.
This may or may not concern your
problem:
One change that I have noticed and that had me
wondering for an hour or two was the fact that 3.2 treats paths and filenames
case-sensitive under Windows OSs. With me, a taglib wasn't found because my
META-INF directory was in fact named
There are two issues here:
First: check the permissions of your installation. Especially the
$TOMCAT_HOME/work and $TOMCAT_HOME/conf directory has to be writeable by the
user tomcat is running as (you?)
Second: Another App is running on Port 8080 propably tomcat is already
started.
Regards,
Tomcat didn't shut down properly the last time.
It looks like your starting tomcat from a different account than last
time:
/usr/local/jakarta-tomcat/conf/tomcat-apache.conf (Permission denied)
Verify with
ls -l /usr/local/jakarta-tomcat/conf/tomcat-apache.conf
id
Make
I'm a Tomcat user in the UK, I'm just upgrading to 3.2. When I run the
servlet examples (e.g. Hello) they all crash with error 500
"java.util.MissingResourceException: can't find resource for
LocalStrings_en_GB".
I've unzipped the war file and created a
hello,
Thanks for your help, tomcat was still running, I killed the process and
started again , now it's OK.
Mohammed
Ralph Einfeldt schrieb:
Tomcat didn't shut down properly the last time.
It looks like your starting tomcat from a different account than last
time:
Hi
Put your oracle driver file your classpath variable. (normally this driver
file is classes111.zip or classes12.zip)
Normally this file found on ORACLE_HOME/jdbc/lib directory.
In WinNT or 98 System.
set CLASSPATH =
%CLASSPATH%;c:\Oracle\Ora81\jdbc\lib\classes12.zip;c:\Oracle\Ora81\jdbc\nls_
Sonal Agarwal wrote:
I am using tomcat for running servlets using jdk1.2.
I am trying to connect to orcale using the driver :
oracle.jdbc.driver.OracleDriver
But it is giving me an error that driver not found.
How can i solve the problem? Please help me.
Thanks
Sonal Agarwal.
This is an
The designated location for things like odbc_drivers is /WEB-INF/lib
so unjar your oracle driver to that path.
- Original Message -
From: "John Clark L. Naldoza" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 11:35 AM
Subject: Re: very urgent
Sonal Agarwal
with this code in web.xml:
context-param
param-namedatabase_dsn/param-name
param-valuejdbc:mysql://localhost/test?user=testpassword=test/param-value
/context-param
i get this error:
Starting tomcat. Check logs/tomcat.log for error
messages ERROR reading
Craig R. McClanahan typed the following on 11:40 08/12/2000 -0800
I'm need to create a simple tool for Tomcat so that I can see how many users
have active sessions for the available Contexts. e.g. how many sessions are
active for /admin with details for each.
...
Under a servlet 2.3
apparently is an illegal character.
but how do i solve this problem?
i've thought of url_encoding this, but that's an ugly sollution.
anybody got a better idea?
No, you need to *xml* encode it - use amp; instead of .
Jon
Hello,
I have one jsp page say index.jsp. I use Apache 1.3.12 and Tomcat 3.1
version on win98.
code for index.jsp is below.
html
head
titleInclude Problem/title
/head
body
h2some html + jsp code/h2
!-- myinclude.jsp - Start --
%@ include file="include/myinclude.jsp" %
!-- myinclude.jsp - End
Sorroundthe data, with a CDATA tag your web.xml excerpert will look
like:
context-param
param-namedatabase_dsn/param-name
param-value![CDATA[jdbc:mysql://localhost/test?user=testpassword=test]]/
param-value
/context-param
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Sam
Thanx, it workes.
Sam.
- Original Message -
From: "Jon Skeet" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 11:50 AM
Subject: Re: context-param: illegal char
apparently is an illegal character.
but how do i solve this problem?
i've thought of
param-valuejdbc:mysql://localhost/test?user=testpassword=test/param-value
I
think the character is causing the problem, try replacing
it
with
amp;
Regards
Nagaraj.
-Original Message-From: Sam Terburg
[mailto:[EMAIL PROTECTED]]Sent: Monday, December 11, 2000
11:50 AMTo:
Hello,
is it possible to reroute the output of a processed jsp page into a String
or
StringBuffer object in order to send it as an email message with the Java
Mail API?
We use Tomcat 3.2 final with beans and jsp pages and want to use the parse
mechanism
of jsp pages of Tomcat to generate user
Craig,
thanks a lot, easy solution indeed!
All,
When the startup-script is run at server-boot-time, tomcat starts
(errors.log is created filled normaly) but immediately afterwards tomcat
is killed.
This we can see at the server's display when booting the machine.
When the machine has finished booting and the script is run from the
Hi ,
I am not sure about tomact..
But u can connect to oracle driver by writing the
classpath of classes111.zip in ur autoexec file..
This classes111.zip is in oracle -- jdbc-lib
directory..
so give a trial with this i hope it works for u...
regards
boppana
--- "John Clark L. Naldoza"
Hi Jose,
I except with NT Workstation the problem will never be fixed... :-(
Perhaps it is in SP 6.a but I don't think so.
NT Workstation is no server OS!
NT Workstation therefore should never used as heavyly used webserver.
Try Linux. It's nice and cheap and works fine.
regards,
Thomas
I want to use Apache + Tomcat to run JSP AND Servlet programs such that
http://server-ip/jsp/*.jsp will map to JSP directory AND
http://server-ip/servlet/* will map to servlet directory.
How to do this???
Joseph
I use this configuration...
...
JkMount /tf/*.jsp ajp13
JkMount /tf/*.Svlt ajp13
...
where tf is the name of my webapp. I use for each servlet the servlet
mapping config in web.xml. I've found a great performance improvement using
this configuration!!
andrea
At 20.51 11/12/2000 +0800, you
At 09.19 11/12/2000 +0100, you wrote:
i have the tomcat only working, without apache (in linux).
You should not..
andrea
I'm using using forward to pass a request from my servlet to a JSP
page i.e.ServletContext.getRequestDispatcher ("my.jsp").forward(req,
res).
This is fine (the JSP gets displayed no problem) but any relative
links in the JSP get messed up with a "/servlet" in the
Hi,
I just have a little bit extra to add to Andrea's email:
The problem is that when a browser has loaded a page containing
relative urls to other files, the *browser* resolves these into absolute
references by merging them with the URL that it *thinks* the
parent page was loaded from.
You should use servlet mapping. If you have http://myhost/myjsp.jsp the
servlet that call your jsp should be mapped as http://myhost/myservlet . In
this way all the relative links are still good.
An additional hint.. if you map your servlet with an extension, for
instance myservlet.Svlt
Try "/my.jsp" - if it is at the context root.
Wellington
-Original Message-
From: AC [mailto:[EMAIL PROTECTED]]
Sent: 11 December 2000 15:10
To: [EMAIL PROTECTED]
Subject:Re: Forward problems
I am getting the following with Tomcat 3.2 but things seem to work.
Should I worry?
java.lang.NullPointerException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.init(Compiled Code)
An Enviroment variable is not a java parmeter so you have to set them before
you start Tomcat.
$TOMCAT_HOME/bin/startup.sh might be a good place.
Regards,
Andreas
-Original Message-
From: Catherine Jung [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 12:58 PM
To: [EMAIL
Hi every user !
Actually i have a Apache-Tomcat server runnin' well with mod_jk installed.
Apache 1.3.14
Tomcat 3.2 final Rel.
I am newbie in Java servers as whith Apache... but i completed out my
job !
My pb is followin':
I set UserDir at www in Apache, and my users have each a directory in
I had this problem too and have resolved it with help from people here.
However the solution is not nice.
For forwards via the RequestDispatcher you can place a / in front of the
resource name and the servlet container correctly works out that the path is
relative to the context root ( the name
I have a servlet that works without any problems if i
run the Tomcat startup.sh script from the directory
where the main class of the servlet is
(webapps/etc/WEB-INF/classes) However, if I run the
startup.sh
script from the tomcat-home directory
(/usr/local/tomcat/bin), I get the error below
I've got a servlet that use the O'Reilly package to manage multipart
request. If I use mod_jserv everything works fine. Once I use mod_jk the
same servlet fails!!!
Any solutions??
andrea
Christian,
i use Tomcat as a Servlet Engine and want to create a Initial Context...but
what is the Initial Context Factory i have to USE?
Tomcat 3.x does not include a JNDI server yet, so you can't use any
InitialContext unless you use a third-party naming service such as
WebLogic Server.
This a known bug it seems fixed in the 3.3 branch and will hopefully be
integrated into a 3.2.x maintainace release.
-Original Message-
From: AC [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 5:49 PM
To: [EMAIL PROTECTED]
Subject: Multipart and mod_jk
I've got a
Hi
Betty,
Link to
jk_nt_service.exe documentation:
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/NT-Service-howto.html
and select the
hyperlinkRevision 1.2/ (as text)
--
Susmitha
Vuyyuru
Developermailto:[EMAIL PROTECTED]
1.650.314.0936
I've not seen any design docs on the site anywhere, so Ijust downloaded
www.togetherj.com, the free whiteboard edition and imported the tomcat
source. This gave me some
useful UML diagrams. Good luck.
Sean Kroah
Sean wrote:
Developers or other users ...
I was wondering if anyone knew of any
"Lipner, Tomas" wrote:
The below code runs servlet "myservlet" with pathinfo "pages/welcome.jsp".
frame NAME="main" SRC="%= context %/servlet/myservlet/pages/welcome.jsp"
NORESIZE
It functions correctly with Tomcat 3.1, but Tomcat 3.2 returns error message
"The page cannot be found".
Christian Sell wrote:
This may or may not concern your problem: One change that I have noticed and
that had me wondering for an hour or two was the fact that 3.2 treats paths
and filenames case-sensitive under Windows OSs. With me, a taglib wasn't found
because my META-INF directory was in
I have a util.java that has a function get_html_header to return "HTML
etc..."
I would like to call that function from inside another servlet...
Other Servlet:
Package util;
util.get_html_header()
How do I compile this servlet so it should know what where that function
is?
Hi all,
I know this has probably been addressed before, but I can't find
documentation on this anywhere, I checked the list archive, I've looked in
the documentation, I've checked the readmes and I've looked at the mod_jk
documentation very closely. I can get Tomcat up and running just
When you start apache from the command line what does
it tell you? I am guessing you have Tomcat in
standalone pointing to the same port as apache wants to
use. Check your tomcat.conf.
Quoting "Hernandez, Rey" [EMAIL PROTECTED]:
Hi all,
I know this has probably been addressed before,
Dear Tomcatters,
I tried to update my Apache/JServ installation to Tomcat, and had some
problems. Could you please comment??
Thanks,
Steve Kispersky
Environment:
- Solaris 7, SPARC Ultra 5
- Tomcat 3.2 source
- Apache 1.3.12
Problems:
- In the README, "servletapi" is
Note that with mod_jk, you have to start Tomcat first, then Apache. If you
followed the directions in the howto, you'll see that you include in
httpd.conf a file that is not present until Tomcat is running.
-Original Message-
From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Hi all,
Well, with the help of the comments I figured out the problem. I
did not wish to use the auto-generated file because I wanted to change a few
things manually. I thought that I had copied enough from the auto-conf to
have my manual conf work. The problem was this:
I set these
How do I compile this servlet so it should know what where
that function is?
I think you'd be better off learning Java first, *then* going into
servlets - trying to learn both at once may well be much trickier
than learning one at a time.
Jon
I basically want to know if a servlet is using a function in another package
how do you compile that servlet? What tags do I include or how do I
reference the package when I compile.
Thanks
-Original Message-
From: Jon Skeet [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000
Jan, I'm using tomcat apache on a Linux machine which uses a Unix SysV type
init .
Here's how I start it at boot time. Created a symlink in /etc/init.d called
'tomcat' that links
to the tomcat.sh script wherever you put the tomcat/bin directory.
Then in each rcX.d subdirectory (where X is a
This sounds to me like your program is attempting to reference an array
element that is out of bounds.
It would be worth the effort to track the problem down.
Mark.
- Original Message -
From: William Au [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 12, 2000 2:34 AM
Hi,
I am using the isapi redirector with IIS4. it is all configured and works
fine.
the problem is I get a 404 error from IIS on the isapi_redirect.dll when I
have more than 3 or 4 concurrent users. if the user hits refresh the
jsp/servlet is usually shown fine.
is anyone else having this
I basically want to know if a servlet is using a function in
another package how do you compile that servlet? What tags do
I include or how do I reference the package when I compile.
And what I've said, and what I'll repeat, is that you should learn Java
*first*. If you knew Java, you'd know
it says right in the tomcat docs that windows does not support relative
paths. I should have thought of that ;-)
At 12:35 PM 12/11/2000 -0800, Hernandez, Rey wrote:
Hi all,
Well, with the help of the comments I figured out the problem. I
did not wish to use the auto-generated file
I basically want to know if a servlet is using a function in another package
how do you compile that servlet? What tags do I include or how do I
reference the package when I compile.
These are the main techniques.
* If the "other package" exists as a JAR, then use:
javac -classpath
Hi,
Looking through the archives I've only foudn a little discussion about
this problem, so hopefully this message isn't something that has been
discussed to death already.
I'm running with Tomcat 3.1 on Windows 98 for some development work that
I'm doing. I am running in cases where the
I'm trying to load a properties file at startup in a servlet by doing a
ClassLoader loader = Thread.currentThread().getContextClassLoader();
InputStream is = null;
is = getServletContext().getResourceAsStream( propFileName );
while(loader != null is == null) {
is =
Hi
all,
I am using some
non-english characters in HTTP request POST data. When I post it to the servlet
and do a request.getParameter() in the servlet code, I get all the non-English
characters replaced by a '?'.
This is happening
when the Tomcat is running on Solaris. I have tried using
Hi,
I got apache-tomcat working on linux. now i would like to load jsp page
without having to type the parent folder. i.e. (without making change in
existing directory structure)
localhost/myApp/test.jsp - localhost/test.jsp
I made some changes on server.xml and tomcat.conf file (Context
Catherine Jung wrote:
Hi, one of my servlets needs to open a connection to a database, now, if I
were accessing this database in a normal java program I'd need to have set
an environment variable LD_LIBRARY_PATH to point to it's native
librarys. How can I do something similar in a servlet?
I made some changes on server.xml and tomcat.conf file (Context path,
Alias...etc), but it didn't work. for example, i changed the line in
tomcat.conf file Alias /myApp
"/usr/local/jakarta-tomcat-3.2/webapps/myApp"
to Alias / "/usr/local/jakarta-tomcat-3.2/webapps/myApp" Then i got error.
I
I tried starting tomcat before apache. I see the startupscript
being executed, but tomcat doesn't start.
Has anybody working Unix startupscripts for Tomcat?
Tomcat should start after Apache during reboot. Also remember to set your
classpath in the startup script.
I'm trying to start Tomcat
You don't have to unjar the file. It works in a zip or jar file just the
same.
Iwan
: -Original Message-
: From: Sam Terburg [mailto:[EMAIL PROTECTED]]
: Sent: Monday, December 11, 2000 5:44 AM
: To: [EMAIL PROTECTED]
: Subject: Re: very urgent
:
:
: The designated location for things
I think you may be confusing environment with environment.
The env-entry describes an entry for the Java environment.
But the LD_LIBRARY_PATH is a Unix environment variable similar to PATH on a
windows system.
to set this path, you will have to modify the tomcat.sh script.
on top of the script
hi madhu,
I have the web.xml in the WEB-INF directory and i also tried by adding
servlet mappings but still I am not able to execute the servlets at all. But
if I have my apps in the tomcat/webapps dir the servlets are running fine.
Is there anything i have to do in the apache server ?
thanks
Iwan Eising wrote:
You don't have to unjar the file. It works in a zip or jar file just the
same.
Iwan
May I inquire as to how?
--
/) John Clark Naldoza y Lopez (\
/ )Software Design Engineer II ( \
_( (__
Here's a simple one, don't be afraid to answer me more than once! (better
than not at all)
If I want every *.jsp in the entire directory tree to be redirected from
apache to tomcat, but still have the jsp files in the apache htdocs area,
what would my server.xml look like?
(i'm not interested
Sean Dowd wrote:
I'm trying to load a properties file at startup in a servlet by doing a
ClassLoader loader = Thread.currentThread().getContextClassLoader();
InputStream is = null;
is = getServletContext().getResourceAsStream( propFileName );
while(loader != null is == null) {
is =
You don't have to unjar the file. It works in a zip or jar file just the
same.
May I inquire as to how?
You may. Java understands zip files.
Dave
I don't know if anyone else has encountered this problem before, but going
by the number of mod_jk compile problems, it can only help!
With: Solaris 2.6/Apache 1.3.14/Tomcat 3.2Final/mod_jk
I found that the suggested apxs command for building mod_jk didn't work
properly. The compile went
I am a linux newbie so this might be a stupid question but...
I have linux 6.2 installed (using Redhat).
I have Apache 1.3.14 running well.
I have JDK 1.3 installed and working.
Now to get to where I want to be, I want to get Tomcat 3.2 running with
Apache. There are no RPM's for it as of last
This is described in the user-document of Tomcat. You set it in one of the
.conf files.
Iwan
: -Original Message-
: From: Joseph Wong [mailto:[EMAIL PROTECTED]]
: Sent: Monday, December 11, 2000 7:51 AM
: To: [EMAIL PROTECTED]
: Subject: Servlet Mapping
:
:
: I want to use Apache +
Tomcat is a pure Java application.
there is a tar on the jakarta.apache.org website.
just un-tar it and you are installed. so no need for an RPM since tomcat
works of the relative directory structure.
Filip
- Original Message -
From: "David Thompson" [EMAIL PROTECTED]
To: [EMAIL
Hi,
I have troubles with tomcat 3.1
I tried to configure a new path or URL for my application and I think I
did something wrong and now tomcat tell me very frecuently:
Context log: path="/inscripciones" Error in default service() : There is no
proc
ess to read data written to a pipe.
David Thompson wrote:
I am a linux newbie so this might be a stupid question but...
I have linux 6.2 installed (using Redhat).
I have Apache 1.3.14 running well.
I have JDK 1.3 installed and working.
Now to get to where I want to be, I want to get Tomcat 3.2 running with
Apache. There are
I am trying to compile mod_jk on Solaris 2.8. I have installed Java, Apache with DSO
support etc.
I issue the following command per the instructions at:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
# /usr/apache/bin/apxs -o mod_jk.so -DSOLARIS \
-I../jk
What about the mod_jserv.so or whatever that connects Apache to Tomcat?
dt
-Original Message-
From: John Clark L. Naldoza [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 4:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about Linux install of Tomcat 3.2 (is there an RPM
yet)
There's RPMs for Tomcat (and a lot of other Apache stuff) listed at
http://rpmized.free.fr/ It's also indexed at http://rpmfind.net.
Specifically, you can get tomcat at
ftp://ftp.falsehope.com/home/gomez/tomcat/
Once you've installed the RPM, fix and run `/etc/rc.d/init.d/tomcat
start`, point
Try here for RPM's:
http://rpmized.free.fr
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 6:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about Linux install of Tomcat 3.2 (is there an RPM
yet)
Tomcat is a pure Java
David Thompson wrote:
What about the mod_jserv.so or whatever that connects Apache to Tomcat?
dt
it's now mod_jk.so..;-)
--
/) John Clark Naldoza y Lopez (\
/ )Software Design Engineer II ( \
_( (__ Web-Application
Metamata is pleased to announce Metamata Debug Tomcat Edition. This is
a version of Metamata Debug 2.0 that enables several key features from
our Enterprise Edition for use with Tomcat:
* JSP source level debugging
* servlet output stream monitoring
* customized servlet API object
Use mod_jk with AJP12 (not AJP13) will work
Kenneth Kwan
-Original Message-
From: AC [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 12:49 AM
To: [EMAIL PROTECTED]
Subject:Multipart and mod_jk
I've got a
Mailing List;
Okay, I've done some digging around.
If I disable the JIT compiler, it works. (Very quickly too, I might add.) I'm not
sure why this helps, but it's a workaround I can live with.
I'll try upgrading to JDK 1.3 sometime in the future and see if this allows me to run
with the JIT
91 matches
Mail list logo