Hi Khurram,
As a Pure Java workaround, I would use a Singleton to collect work
orders from various servlet-threads. That singleton would create one
worker thread and feed it sequentially with work for the native code.
Regards,
Peter Henningsen
Senior Consultant
Is it possible to configure
Hi!
I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two
tomcats (5.5.17) on other servers using a load balacer. (All running
debian.) I also have mounted a jkstatus on a directory.
My problem is that the jkstatus is never displaying the runtime state of
the workers. I always
is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\/pathToJar.jar!include.jsp\%
afaik the jasper compiler can load taglibs out of JARs, might be that there\'s
already a solution to do this with JARs?
thank you
sputnik wrote:
is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\/pathToJar.jar!include.jsp\%
afaik the jasper compiler can load taglibs out of JARs, might be that there\'s
already a solution to do this with JARs?
You can precompile JSPs before deploying,
You can easily avoid this problem by introducing an abstraction layer
which is called by the servlet and which maps the calls to the one
internal thread, which is associated with native libs. You can use a
queue to synchronize the calls.
regards
Leon
On 3/21/07, kz [EMAIL PROTECTED] wrote:
Hi,
I am trying to use log4j with Tomcat. I created a log4j.properties file and
dumped it in WEB-INF/classes. I believe its still not being picked up by
Tomcat. Any ideas ?
Regards,
Gaurav Singh
Kushwahahttp://www.chakpak.com/MovieDetailAction-Dhoom-2-.do?movieId=18183
Ph: +91-9880110695
You may add servlet, something like this:
public class init extends HttpServlet implements ServletContextListener{
public void contextInitialized(ServletContextEvent event) {
//File propertiesFile - your log4j.properties
PropertyConfigurator.configure(propertiesFile.toString());
}
}
..and add to
Gaurav Kushwaha wrote:
I am trying to use log4j with Tomcat. I created a log4j.properties file and
dumped it in WEB-INF/classes. I believe its still not being picked up by
Tomcat. Any ideas ?
Regards,
Gaurav Singh
Kushwahahttp://www.chakpak.com/MovieDetailAction-Dhoom-2-.do?movieId=18183
Are ur tomcat started manually or by services? if it's started manually then
ur path is correct, otherwise u'll need to put the properties file into the
system folder.
HTH
Thanx.
Regards,
FooShyn
- Original Message -
From: sputnik [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent:
Please be patient this is not my area of expertise (I am a JOATMON)
I installed Apache2 2.0.59
Tomcat 6.0.10 mod_jk
on Solaris 10.
It all seems to work.
Looking at the catalina.out log file I see
'INFO: The Apache Tomcat Native library which allows optimal performance in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
Matthew wrote:
...get an answer to the following:
For Tomcat 5.5.20, how do I configure virtual hosts using a context.xml
file in the META-INF directory (of each domain's .war file) as opposed
to having to do the following in
Mikolaj Rydzewski wrote:
sputnik wrote:
is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\\\/pathToJar.jar!include.jsp\\\%
afaik the jasper compiler can load taglibs out of JARs, might be that
there\\\'s already a solution to do this with JARs?
You can use mod_jk (Tomcat connector) with apache to do virtual hosting.
As for who to pay? Well the mailing list is for technical help not
solicitations.
On 3/21/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
Matthew wrote:
...get an
Hello. How to configure a context that displays the contents of a
given disk directory, but without it being cached? I tried this, but
it does not work at all, i. e. I get an error message from tomcat when
trying to access /disk.
Context path=/disk
docBase=/home/lib/disk/
You don't have to pay anyone, most people on this mailing list are
helping each other for free. However, if you really want to waste money,
i can send you my bank account number :)
En l'instant précis du 21/03/07 06:53, Matthew s'exprimait en ces termes:
...get an answer to the following:
For
sputnik wrote:
I think this would work for standalone JSP scripts but not if just using
them as includes like
%@ import file=\checkLogin.jsp\ %
That's correct.
or
..
c:if test=\${page.header=\'true\'}\
jsp:import url=\/header.jsp\/
c/:if
This one should work, because jsp:import /
Artur Rataj wrote:
Context path=/disk
docBase=/home/lib/disk/
reloadable=true
Logger className=org.apache.catalina.logger.FileLogger
Source code of org.apache.catalina.logger.FileLogger
prefix=localhost_examples_log. suffix=.txt
use Apache VirtualHosts ..a fairly lightweight HTTP server
OR
but if you want to use only tomcat
if your URLs will always map to TomcatServer:TomcatPort
and if you configure the default catalina connector port for 80 you will only
need the TomcatServer
then map your webapp relative path for
Le mercredi 21 mars 2007 à 14:36 +0530, Gaurav Kushwaha a écrit :
I am trying to use log4j with Tomcat. I created a log4j.properties file and
dumped it in WEB-INF/classes. I believe its still not being picked up by
Tomcat. Any ideas ?
could you please precise your problem...
is your log4j
Hi All,
I would like to require a user to belong to two roles to access a certain
application (i.e. user must belong to role1 AND role2 to access). I've tried
the following in my web.xml
auth-constraint
role-namerole1/role-name
role-namerole2/role-name
Hi! I use tomcat 5.0.30 with java 1.4 for my app (constrained to them,
unfortunately). My os is Gnu/Linux Ubuntu 6.10.
I use hibernate plus Sun fscontext (class
com.sun.jndi.fscontext.RefFSContextFactory ) to create a jndi context
( stored in the filesystem) for my application, so hibernate can
From: Eugene Wong [mailto:[EMAIL PROTECTED]
Subject: Re: [Deployment] Tomcat 5.5, Single war into multiple apps
Where should I put context if not in seperate xml under
conf/Catalina/localhost?
Where you have them is fine, just take out the path attribute. Do not
put Context elements in
I have just copied the context from another one in the default
configuration file.
On 3/21/07, Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Artur Rataj wrote:
Context path=/disk
docBase=/home/lib/disk/
reloadable=true
Logger
Please help me. I tried this:
Context path=/disk docBase=/home/lib/disk debug=0
reloadable=true
/Context
with various combinations of slashes, with a symlink etc. it all gives
404 when trying
http://address/disk
John Minson wrote:
Please be patient this is not my area of expertise (I am a JOATMON)
I installed Apache2 2.0.59
Tomcat 6.0.10 mod_jk
on Solaris 10.
It all seems to work.
Looking at the catalina.out log file I see
'INFO: The Apache Tomcat Native library which allows optimal
all of mine look like this, with no slashes on docBase
Context path=/examples docBase=examples debug=0
in fact...I had a problem before when I did put slashes in the docBase
attribute.
-Original Message-
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 21, 2007 9:23
On 3/21/07, Artur Rataj [EMAIL PROTECTED] wrote:
it all gives
404 when trying
http://address/disk
Do you have a valid welcome file, or are you specifically trying a file
that you *know* is there? e.g. either
http://address/disk/index.jsp
or
http://address/disk/foo.html
Directory
Artur Rataj wrote:
Please help me. I tried this:
Context path=\/disk\ docBase=\/home/lib/disk\ debug=\0\
reloadable=\true\
/Context
with various combinations of slashes, with a symlink etc. it all gives
404 when trying
http://address/disk
Hello guys
i have this case:
for payments each object (a debt) can has more details about part of payment
(Set object) of the object
so, in the next part of code jsp,
the first for represents the list of the objects and the nested for (second)
represents the details or the Set objects for each
From: Ryan [mailto:[EMAIL PROTECTED]
Subject: requiring multiple roles for access
I would like to require a user to belong to two roles to
access a certain application (i.e. user must belong to role1
AND role2 to access). I've tried the following in my web.xml
auth-constraint
Thank you for help, it was indeed the listings setting in web.xml that
needed to be changed. Now it works ok.
Artur
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi everybody,
thanks for your help, which I really appreciate!
I still don't know exactly what it was, but I fixed it by doing the
following:
- uninstall tomcat
- reinstall it, not having it run as a windows service
- installing it in a directory tomcat_4_1 rather then the suggested
tomcat 4.1
Hi,
I don't you can or not to set none/never expire, but you can set a
longer days.
If you use keytool, using -validith days(say 10)
If you use openssl using -day days(say 10)
Hope it help you.
Jimmy
-Original Message-
From: Hoa Doan [mailto:[EMAIL PROTECTED]
Sent:
Yup it helped thanks, its better than the default one.
Zhan, Jimmy [EMAIL PROTECTED] wrote: Hi,
I don't you can or not to set none/never expire, but you can set a
longer days.
If you use keytool, using -validith days(say 10)
If you use openssl using -day days(say 10)
Hope it help
Hello,
Thanks for all the replies to my plea. I should point out that I am not
trying to do all the configuring of virtual hosts in the context.xml
file. I realize I still need the Host entries in server.xml, however,
I believe there is a way of specifying the context information in
Hello David,
If you care to send me the solution along with that bank account
number.. ;-)
David Delbecq wrote:
You don't have to pay anyone, most people on this mailing list are
helping each other for free. However, if you really want to waste money,
i can send you my bank account
From: Matthew [mailto:[EMAIL PROTECTED]
Subject: Re: Who do I have to pay (and how much) to...
I believe there is a way of specifying the context information in
context.xml that resides in the META-INF directory of the hosts .war
file.
That is the preferred mechanism. Read the doc:
Hello Chuck,
Actually, I'm getting a 400. I have read many pages (including the link
you've provided) and agree that the consensus is that the context tag
(in META-INF) should be empty if there at all. However, regardless of
how I populate the Host tag in server.xml, I always get a 400 (so
21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
com.sun.rave.web.ui.appbase.ApplicationException:
org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7
4: f:view
5: ui:page
I sent this yesterday. I am hoping someone can let me know as why this
is occurring or maybe give me some ideas of things to look at. Any help
would be greatly appreciated!
I am running Apache 2.0.52, jk2 2.0.4, and Tomcat 5.0.28. Recently I
changed the version of Java that Tomcat is using
Not sure if you read this:
http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
I've configured according to Approach #2 , as it makes it easy to switch off
projects in the development environment.
I was able to set up virtual hosts simply by following the above How-to.**
On
Hi,
Can I invoke mbean operations using JMX Proxy?
I am reading Using JMX Proxy Servlet Section of
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html, but it only
mentions reading and setting mbean attributes.
Thank you
--
Nicholas Sushkin, Senior Software Engineer
Open Finance
On 3/21/07, Matthew [EMAIL PROTECTED] wrote:
Here's the set up I imagine (a fixed size font may be needed to view the
directory structures below)...
In server.xml...
Host name=domain1.com appBase=?
/Host
Host name=domain2.com appBase=?
/Host
This is just not that difficult. Specify
Hello Hassan,
I quite agree, it should be easy. As it turns out, whilst I saw the link
mentioned by Rashmi and tried it a while ago, my configuration must have
been compromised elsewhere, as it did not work.
Now, retrying the same thing, it comes up fine and, as you said, with
hindsight, it
From: Matthew [mailto:[EMAIL PROTECTED]
Subject: Re: Who do I have to pay (and how much) to...
Actually, I'm getting a 400.
I should point out that the whole set up works when I add
a Context tag within the Host tag (in server.xml) and
set the docBase. I should not need (nor do I want)
Brandon Knitter wrote:
Attached and below. Let me know if this is considered large and I
should move this to a bugzilla issue. Only took us about 30 minutes to
apply it. Again, this is against 1.2.21!
It would be the best if you could open bugzilla issue, because
the patch is more the a
From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED]
Subject: RE: apache-tomcat on an ia64 rhel4?
Sun shows a 1.5 JDK for RHAS3.0 on Itanium2 at
http://java.sun.com/j2se/1.5.0/system-configurations.html.
Yup - but there's no IA64 entries on the actual download page. Bait and
switch?
-
Hi all,
has anyone already managed to integrate Tomcat into an IIS 7.0 using the
isapi_redirect.dll? I tried for several hours but did not succeed.
--Stefan
-
To start a new topic, e-mail: users@tomcat.apache.org
To
I couldn't find the binary to download either like Charles. Thanks for
the link though
On 3/21/07, Nelson, Tracy M. [EMAIL PROTECTED] wrote:
| From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, 20 March, 2007 16:44
|
| I would like to run apache-tomcat on an dual Itanium server I
Raghupathy, Gurumoorthy wrote:
How about Setting up jndi variables ?
I've had a closer look at Tomcat Configuration
Reference, which says you can set per-Server
JNDI variables (GlobalNamingResources), and
per-Context ones, but there's no mention of
per-Service variables.
Any idea whether/how
Mikolaj Rydzewski wrote:
Paul Singleton wrote:
I want to deploy the same war into different (5.5)
Services (e.g. test and live), and want it to
discover where it is and behave differently.
Is there a Tomcat-specific way to do this?
JMX and MBeans come to mind.
Is there a
From: Paul Singleton [mailto:[EMAIL PROTECTED]
Subject: Re: can a web app discover its Service?
I've had a closer look at Tomcat Configuration
Reference, which says you can set per-Server
JNDI variables (GlobalNamingResources), and
per-Context ones, but there's no mention of
per-Service
I'm still really unclear about what tomcat is. I have never used it I
play mostly with php and html.
I have another engineer that would like to use it. Is there a fully
open source alternative?
I guess tomcat itself is open source but it depends on java
development kit? is that right?
I'm more
Barry,
I'm looking for a way to disable the user by taking them out of one role,
but leaving them in the roles they were in before they were disabled (for
informational purposes). I didn't think it would be possible, but I wanted
to throw it out there in case I missed something. What you are
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Paul Singleton wrote:
I want to deploy the same war into different (5.5)
Services (e.g. test and live), and want it to
discover where it is and behave differently.
Is there a Tomcat-specific way to do this?
Is
Chuck,
I think you and Barry are correct, I will probably to define another role
for this purpose and segregate different parts of the application.
Thanks,
Ryan
On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Ryan [mailto:[EMAIL PROTECTED]
Subject: requiring multiple roles
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
I'm still really unclear about what tomcat is.
Many books and tutorials are available, most of them freely available on
the web.
I guess tomcat itself is open source but it depends on java
yeah and you might even add another table to tie it in, too. I've done that as
well.
Tomcat requires the users and user_roles tables, but that doesn't inhibit you
from customizing it further if needed.
-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 21,
Tomcat is really a whole service environment for running java servlets
and jsp. Don't think if it in terms of CGIs that just run for the
request and close down. Tomcat is more akin to Apache's httpd,
listening ports and responding to client requests on the http or https
protocol. It can be
--- Paul Singleton [EMAIL PROTECTED] wrote:
I want to deploy the same war into different
(5.5)
Services (e.g. test and live), and want it
to
discover where it is and behave differently.
I didn't explain *why* we want to do this, because I
don't want to spend time debating it with
I am going to add some more information to the question I asked
yesterday.
I am running a TLS test case to do a TLS handshake on port 8443 of our
server that is running Tomcat 5.5.
I noticed in the log file that there are two threads currently running
on the invocation of this test( there should
Bob Hall wrote:
--- Paul Singleton [EMAIL PROTECTED] wrote:
I want to deploy the same war into different
(5.5)
Services (e.g. test and live), and want it
to
discover where it is and behave differently.
I didn't explain *why* we want to do this, because I
don't want to spend time
Will do, please give me a day.
--
-bk
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 21, 2007 11:27 AM
To: Brandon Knitter
Cc: Tomcat Users List
Subject: Re: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is
1.2.21 broken?)
Brandon
How about installing everything from source ??
On 3/21/07, David Smith [EMAIL PROTECTED] wrote:
Tomcat is really a whole service environment for running java servlets
and jsp. Don't think if it in terms of CGIs that just run for the
request and close down. Tomcat is more akin to Apache's
From: vamsee movva [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
How about installing everything from source ??
Are you talking about building a JVM from the Sun source? That's a
decidedly non-trivial exercise, and still doesn't resolve the problem of
not having a
Hi Chuck,
I am talking about bulding JAVA SE from source. I thought it won't be a
problem.
My project supervisor told me , he built Java SE on IA64 bit machine.
I don't know whether Java SE comes with JRE or not.
I know we need not build java application again if we change the platform.
Excuse
From: vamsee movva [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
My project supervisor told me , he built Java SE on IA64 bit machine.
Yes, it can be done, but that still doesn't address the lack of a JIT to
convert byte codes into IA64 instructions. (The HotSpot
Ok, I got it.
Thanks
On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: vamsee movva [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
My project supervisor told me , he built Java SE on IA64 bit machine.
Yes, it can be done, but that still doesn't
What is the difference between Java Runtime Environment and having the
java binary to run? Is there one? If I have the java binary do I not
have the JRE?
rpm -qa|grep java
java-1.4.2-gcj-compat-1.4.2.0-27jpp
gcc-java-3.4.6-3.1
I know swing is not implemeted yet but do servlets use guis?
IA64
IBM's JRE is jikes I think I'll look into it it might also be an
opensource project.
Might I'll check it out. Thanks
On 3/21/07, David Smith [EMAIL PROTECTED] wrote:
Tomcat is really a whole service environment for running java servlets
and jsp. Don't think if it in terms of CGIs that just run
-- Forwarded message --
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Date: Mon, 19 Mar 2007 12:55:30 -0400
Subject: Re: Requesting files with non-English/international characters in
their names
-BEGIN PGP SIGNED MESSAGE-
Hash:
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
What is the difference between Java Runtime Environment and having the
java binary to run?
A myriad of library API implementations provided with a proper JRE but
not supported by gcj.
I know swing
On Yesterday at 2:54pm, FHDL=Filip Hanik - Dev Lists [EMAIL PROTECTED]...:
FHDL java.lang.OutOfMemoryError: unable to create new native thread
FHDL
FHDL There is not enough space to create a new thread. Threads(stacks).
FHDL if -Xmx solves your problem, then set it and be happy :)
FHDL
FHDL
Hi to all,
I have in webapps web application name test1.
In server.xml i define Resource for MySQL db,
Host name=localhost appBase=webapps ...
Context path=/test1 debug=0 reloadable=true crossContext=true
Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource
What about jikes will that work?
On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat on an ia64 rhel4?
What is the difference between Java Runtime Environment and having the
java binary to run?
A myriad of
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: [OT] apache-tomcat on an ia64 rhel4?
What about jikes will that work?
Jikes is just a Java compiler - not a runtime system. You still need a
JRE to load and execute the generated class files and provide the APIs.
Class files
The closing host tag's case doesn't match the opening Host tags case, I
don't know if it matters but just wanted to point it out.
It should be
Host
/Host
and not
Host
/host
-Rashmi
On 3/21/07, prt [EMAIL PROTECTED] wrote:
Host name=localhost appBase=webapps ...
Context path=/ debug=0
From: prt [mailto:[EMAIL PROTECTED]
Subject: Problem in MySQL JNDI Resource..
Host name=localhost appBase=webapps ...
Context path=/test1 debug=0 reloadable=true
The Context element should not be placed in server.xml, since changing
it requires restarting Tomcat. Put it in your webapp's
Yeah I was reading about this on the jikes sight I guess I need jdk?
I should be able to get this from any platform's binary distribution
and copy the classpath files
they should be compiled into bite code right?
Is this what you meant Charles by getting the x86 version?
and then compile jikes
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: [OT] apache-tomcat on an ia64 rhel4?
Yeah I was reading about this on the jikes sight I guess I need jdk?
Actually, just a JRE for the current versions of Tomcat. 5.0 and below
required a JDK.
I should be able to get this from
Is there an open source JRE?
On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: [OT] apache-tomcat on an ia64 rhel4?
Yeah I was reading about this on the jikes sight I guess I need jdk?
Actually, just a JRE for the current
I'm working on a web application which sometimes has several daemon
threads doing I/O processing in the background. The application seems
to be fine except when several tasks are running, sometimes Tomcat gets
a request and doesn't seem to process it. The request seems to time out
without
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
Thomas Peter Berntsen wrote:
Are you serving your pages in UTF-8 encoding? Usually, the browser uses
the response encoding from the previous request to submit the next
request's URI. If you are using ISO-8859-1 for your web pages, then
From: Jeff Sadowski [mailto:[EMAIL PROTECTED]
Subject: Re: [OT] apache-tomcat on an ia64 rhel4?
Is there an open source JRE?
The Sun JRE is at least partially open source as of sometime last year
(maybe all of it is by now - it's not really a concern); why are you
hung up about that?
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Paul Singleton wrote:
For now, I'm using ServletRequest.getLocalAddr() on the
first request and inferring deploy mode from that.
That seems pretty fragile, although I must admit that I can't
immediately think of a way to subvert it. I mean,
Because I am not finding the stuff I need to install as far as I know
there is no ia32 support on rhel4 running on my ia64 thus the ia32
jre's will not work. All my other servers are windows platforms which
I can not run anything other than what is running on them already.
Windows machines are
If all else fails I could run bochs and run linux on top of that boy
that would be ugly.
On 3/21/07, Jeff Sadowski [EMAIL PROTECTED] wrote:
Because I am not finding the stuff I need to install as far as I know
there is no ia32 support on rhel4 running on my ia64 thus the ia32
jre's will not
Hi Chris-
what happens when you log these events?
start of UDP loop
Accepting UDP packets on the loopback address.
log the buffer from UDP accept
goto start of UDP loop
start of loop to write to temp file
Reading standard out from a child process
log the buffer which is read from standard out
Drazen Nikolic wrote:
Is there a possibility to remove those connection, or to threat them somehow
not be become busy forever?
Configuring a time-out (to close them if they are open too long) and a
validation query (to fix any connections broken when the db goes down)
should help.
Mark
i use freebsd 6.2 , tomcat 6(gz file which not installed). java 1.5_07
anyone know how to solve?
Error information:
Mar 22, 2007 9:03:40 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.net.UnknownHostException:
java.net.UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
Could you post the snippet of code that throws this error?
-Rashmi
On 3/21/07, James liu [EMAIL PROTECTED] wrote:
SEVERE: Servlet.service() for servlet jsp threw exception
I don't know where error happen from this information.
It work well when i use winxp+tomcat6(same zip file)+java 1.6
It is index.jsp.
%@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8%
%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license
Maybe header.jsp output host cause it happen
Am i right? i m jsp newbie.
%@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8%
%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work
Gurdeep Kaur (gurdeep) wrote:
Any pointers, inputs will be greatly appreciated.
The handshake is handled by JSSE / the JDK. This looks like a JSSE /
JDK issue rather than a Tomcat one.
Mark
-
To start a new topic, e-mail:
i fix itjust modify my host name
Thk u,Rashmi
your system returns .chemease.local as a hostname, and naturally that
doesn't resolve to anything
two options
1. fix your hostname
2. possibly add .chemease.local into /etc/hosts to trick the server,
not sure how that is gonna work with the . prefix, but it just might
Filip
James liu wrote:
It work well when i use it in winxp+tomcat6+java1.6
Now i use freebsd6, use same tomcat6, my customer jar is put under
$TOMCAT_HOME/lib/,,,and set classpath to it.
but tomcat 6 seems not know it.
How to can i fix it?
--
regards
jl
Instead of setting CLASSPATH , I set
JAVA_HOME to the JDK home folder , CATALINA_HOME to Tomcat home folder
in system environment variables.
You can try the above and see if Tomcat 6 identifies the JAR files in
tomcat's lib folder.
-Rashmi
On 3/21/07, James liu [EMAIL PROTECTED] wrote:
Now i
This is some informat in my ~/.cshrc file .
I set all what u said.
setenv JAVA_HOME /usr/local/diablo-jdk1.5.0
setenv TOMCAT_HOME /tmp/apache-tomcat-6.0.10
setenv CATALINA_HOME /tmp/apache-tomcat-6.0.10
setenv CATALINA_BASE /tmp/apache-tomcat-6.0.10
setenv CATALINA_TMPIR
There's a file called RUNNING.txt , which is located under Tomcat's
root folder, which gives Tomcat configuration instructions.
The RUNNING.txt file mentions setting JAVA_HOME , and doesn't mention
any of the other environment variables like TOMCAT_HOME ,
CATALINA_HOME, CATALINA_BASE, CLASSPATH
1 - 100 of 105 matches
Mail list logo