I don't see any need for this.
You can run a java service on ports 1024 without being root with
portmappers, proxies, iptables and several other tools, that let
sysadmins open well defined holes without compromising the security.
In the long term I would like to see ACL's in the os, that
Does it work with Apache 1.3 (I don't think so...) ?
mod_webapp is deprecated, you should use mod_jk(2):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
Yann
Hi,
i am looking for a connector between Apache 1.3 and TomCat 4.1.18. Can
anybody help me?
ok. So I try with Tomcat 4.1.24 :
[root /home]# tail -f /home/tomcat/logs/catalina.out
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at
Hello All,
I am configing Apache+SSL. A config file will be needed for OpenSSL.exe. I try to
download the config file from http://tud.at/programm/apache-ssl-win32-howto.php3, but
failed. Could you please give me a help about from where I can get the config file?
Thanks a lot.
Regards,
Tomcat Contexts are configured in server.xml
If docBase is a relative path it points to a sub-directory of tomcat/webapps
If you want to have your application directory somewhere else you need to
use an absolute pathname for docBase.
The docBase directory should contain the following
i think there should be no space between -d and the path, and no space between the two
paths, i think u must use ; to separate the paths ...
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 21. juli 2003 06:09
To: Tomcat Users List
Subject: trouble precompiling JSPs
I use Tomcat 4.1.18's SSL connector and MS IE6,and find that it have
not implement compress protocol.
Is IE6 or Tomcat not implements it?
Which version would implement it? If I use compress filter(servlet
2.3),that can match all type of Browser for all ContentType?
HuabingDu
YES! What I ask is how to get a bean instance in one web application that
is created in another web application.
Put class file in Shared,I can use the class in different web
applications,but
I still CAN'T get the bean value in one web application that is set in
another web application.
Martin.
Dear
I installed Tomcat 4.0 which is 4.40Mb in size in JDK1.3 .But I have a problem when I
am compiling servlets.I give a error javax.servlet.* package does't exist .Can't
resovle a symbol . My machine run in WIN 2000 Professional Edition.But JSP files
works properly.I write servlets and
Hi all,
I'm using apache tomcat4.1, in webapps i made a symbolic link for my directory
content, and I've modified the context configuration with below:
Resources className=org.apache.naming.resources.FileDirContext allowLinking=true
/
files inside the content can be accessed if i use port
if you try the example servlet Hello World the url must be
http://localhost:8080/examples/servlet/HelloWorldExample; cause this
servlet is located in webapps/examples/WEB-INF/classes.
bernd
Jeff Howard schrieb:
Thanks for everyone's help earlier today. Upgrading
to JDK 1.4.2 from 1.2.2 allowed
have the following problem:
I installed the SSL support for Tomcat 4.0 and almost everything works.
For instance when I type https://localhost:8443/ into my browser it works,
but how can I acces my localhost addres from another computer? or in other
words what should I type instead of
We already have Tomcat 4.1.18 talking well to Weblogic 5.1, and it was quite
the event of tearing jars et al apart and getting them placed in the proper
spots of the classloader hierarchy.
I'm now struggling with trying to do the same integration of Tomcat 4.1.18
to Weblogic 8.1, and it's not
From: Tim Funk [EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 5:43 PM
From the spec:
The web application classloader must load classes from the WEB-INF/
classes
directory first, and then from library JARs in the WEB-INF/lib directory.
So if you have patches - don't JAR them.
Since the
Using tomcat 4.0.3 under ensim; can't figure out permissions.
I get this error (or like this):
access denied (java.io.FilePermission
/var/www/html/WEB-INF/Torque.properties read)
Of course under ensim the real file is under
/home/virtual/sitexx/fst/var/www... not /var/www... the tomcat policy
Hi,
I am trying to set up Apache/2.0.40 to talk to Tomcat
4.1.24 using jk2 connector on Red Hat 9.0.
This is my first time setting something like this up
so can you please tell me where I can get a version
mod_jk2.so compatible with Apache/2.0.40 ?
or should I use mod_jk.so? or some other
Hi,
You have to set servlet.jar file on classpath before
compiling.That file is located in
TOMCAT_HOME/common/lib/servlet.jar;
Hope this will help you.
Cheers
Bikash
--- Ravi Jayasekara [EMAIL PROTECTED] wrote:
Dear
I installed Tomcat 4.0 which is 4.40Mb in size in
JDK1.3 .But I have a
I just had to uncomment the part that talk about the warp connection in the
server.xml file...
Now, I will search some information about virtualHost...
ok. So I try with Tomcat 4.1.24 :
[root /home]# tail -f /home/tomcat/logs/catalina.out
at
Hi.
I'm struggling a bit trying to coax server.xml to auto-generate an
acceptable copy of mod_jk.conf for me after modifying my
workers.properties and adding some virtual hosts.
AS I understand it, WARP is the alternative connector-protocol which I
can use instead of AJP13.
Are there any reasons
Hi,
Look through the archives and you will find numerous discussions on this
subject.
-e
On Sun, 20 Jul 2003, Seamus Hanly wrote:
Hi,
I am trying to set up Apache/2.0.40 to talk to Tomcat
4.1.24 using jk2 connector on Red Hat 9.0.
This is my first time setting something like this up
so
No it'sdeprecated and not any longer supported.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:40 AM
To: [EMAIL PROTECTED]
Subject: for my mod_jk : WARP vs AJP13 ???
Are there any reasons to prefer WARP over AJP ???
I've not used JK2 but I've had sucess with Tomcat + Apache (1.3.27 and
2.0.44) in Red Hat using mod_jk. You can download mod_jk for your OS
here:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4/bin/
If you download for *nix, make surre you chmod it to executable
Display Error Reported in bugzilla [21740]
Martin
- Original Message -
From: Christian FEARD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 20, 2003 2:47 AM
Subject: Re: Tomcat XML example
Martin,
try putting ':jsp' after 'xmlns'
christian
Hi,
I would like to configure TOMCAT 4.X with AWStats (a logfile
analyzer http://awstats.sourceforge.net/ http://awstats.sourceforge.net/ )
There are a HOWTO guides for Apache and IIS. Does anybody out
there has integrate with TomCat ?
Could
Hi,
I upgraded my Tomcat 4.1.18 to 4.1.24, connected to Apache 2 using mod_jk2.
However now Tomcat is not succeeding in sending any JSESSIONID cookies to
clients if they connect via Apache.
i.e:
http://myhost:8080/myapp --- Tomcat sends JSESSIONID cookie OK
http://myhost/myapp ---
Hi
Does the ErrorReportValve work with mod_jk? I'm having trouble with it.
I'm running iSeries, jdk 1.4, mod_jk 1.2.4, Apache 2.0.43, Tomcat 4.1.24.
Thanx, PLA
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Are you using mysql? If so, are you using this as your jdbc url:
jdbc:mysql://MACHINE_NAME/DBNAME?autoReconnect=true
-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 1:17 PM
To: '[EMAIL PROTECTED]'
You've not specified what platform you are using. Do you have a firewall
installed on your tomcat server computer and, if so, is it configured to
allow access to port 8443? Have you tried port 8080 via the same IP
address (http://your.ip.addr:8080/)?
Murray
-Original Message-
From:
Thanks, I got the idea. But I imagine that since my application is protected, any
request I make will be redirected to the login page. And since telnet doesn't support
sessions, I don't I'll every get rid of that, or can I?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Howdy,
You can do one of three things. A prerequisite to all three is to turn
on Tomcat's AccessLogValve (I like the combined pattern myself, but the
default common pattern works as well).
- Use something easier than AWStats (IMHO, YMMV): Webalizer, or
httpAnalyze for example.
- Use AWStats in
Howdy,
I have Tomcat installed and running. I'm trying to get it to see
a test sevlet but it can't seem to find it. I started looking at the
If you post the exact error you'll likely get the cause and solution
very quickly ;)
example code that comes with the 4.1.24 release. I can call
the
Telnet should support the full HTTP Spec. ;)
The tricky part is knowing the headers to send with your request and
remembering any special headers you get back for your next request. For example:
=
[EMAIL PROTECTED]: telnet jenny 80
Trying 10.0.1.20 ...
Connected to jenny
Escape
Howdy,
Actually, it looks like the first problem is with your administrator ;)
The second is likely with your webapps: why are they crashing tomcat? ;)
But given that neither of those can be changed, it seems your problem is
OS-specific. There's no tomcat lock file with the default installation
Howdy,
Annoying problem, good solution, good post. Thanks!
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Daniel Farinha [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:50 PM
To: [EMAIL PROTECTED]
Subject: Tomcat doesn't shutdown: java.net.ConnectException:
In my experience, if you have more than one virtual host, and more than one
webapp, you are better off making the changes to httpd.conf manually. The
auto stuff really doesn't work too well for more than the most simple
configurations. Search the archives within the last two weeks (and also
Mod_jk works just fine with Apache 1.3. JK2 might be a little more
difficult, but it might work.
John
On Mon, 21 Jul 2003 09:22:35 +0200, Nicolas Stienne [EMAIL PROTECTED]
wrote:
Does it work with Apache 1.3 (I don't think so...) ?
mod_webapp is deprecated, you should use mod_jk(2):
On Sun, 20 Jul 2003 23:18:28 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
IMO the auto-generated mod_jk.conf is only good for learning the proper
setup anyway ;-)
Agreed. It doesn't even work for complex environments. Single dev
environments and for newbie learning its great, but if you have
mod_jk.conf is included into httpd.conf.
If you make your changes in mod_jk.conf, they are included by default in
httpd.conf. There is no need to make them twice.
My HOWTO covers everything step-by-step, I really can't think of a way to
describe what's needed any better:
I have successfully implemented authentication in Tomcat, but I don't want
that 403 screen to ever show up.
Is that possible? I'd like that, for whatever reason, the login screen would
always show indicating an authentication failure and requesting a new login.
If that's not possible, how can I
Just the opposite: AJP is most definitely preferred over WARP.
Use WARP if you want, but it is currently not actively developed or
supported, and there is no support for it at all planned for Tomcat 5.
Don't get caught up in the auto-generation. Take it from me, please: if
you have more than
Add this to your web.xml and make a page called error.jsp .
error-page
error-code403/error-code
location/error.jsp/location
/error-page
-Original Message-
From: Christian J. Dechery - ACCENTURE
[mailto:[EMAIL PROTECTED]
Sent: 21.
I'd have to say the DOCUMENTATION would be a good place to start (hint,
hint):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
John
On Mon, 21 Jul 2003 02:07:40 +0100 (BST), seera naveen
[EMAIL PROTECTED] wrote:
Hi,
Where can I find information about Context? Currently I
where exactly in web.xml does this error-page go?
___
:: Christian J. Dechery
:: Accenture do Brasil
:: CHT - Solutions Operations
:: [EMAIL PROTECTED]
-Mensagem original-
De: Abid Ali Teepo [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 21 de julho
I never thought about doing it this way. Great solution! I'll let you know
how it turns out.
With kind regards,
Kevin Ritter
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 9:57 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I get the total
Hi Christian,
Its after the welcome-list. You can look at the dtd
(http://java.sun.com/dtd/web-app_2_3.dtd) for more info.
Peter
--
Peter Smith
Software Engineer
InfoNow Corporation
From: Christian J. Dechery - ACCENTURE [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Date:
Hi Christian,
Here the web-app element that show where the error-page element can be
inserted:
!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*, servlet*,
servlet-mapping*, session-config?,
mime-mapping*,
No unfortunately that didn't help.
Here is what I typed:
./jspc.sh /tmp/Stoichiometric.jsp
What I got in return was:
at org.apache.jasper.JspC.locateUriRoot(JspC.java:628)
at org.apache.jasper.JspC.execute(JspC.java:759)
at org.apache.jasper.JspC.main(JspC.java:823)
If
Hi,
I am using tomcat4.0 and developing a web application with jsp.
In my application I want to an admin to open a session. If the session is
not initialized user cant open the page, forward them notinitialized.jsp
I initialize session and put some variables to session in application_scope
in
Sometimes I get this error message... can someone give me a hint on the
probable causes??
___
:: Christian J. Dechery
:: Accenture do Brasil
:: CHT - Solutions Operations
:: [EMAIL PROTECTED]
Howdy,
When the admin opens a session, the session is associated with the
admin, not the user, so the user's session is still null/empty ?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Elif Akten [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:05 AM
To:
Usually you are interested in some secured resource, and you try to get it.
Because it's secured you will be redirected to a login-page, and after authenticating
yourself you will be redirected to the requested resource.
If you go directly to the login-page, where will it redirect you when you
yeah... I figured that.
I have a logoff page, and it used to call the login in case the user wanted
the re-authenticate... now I just have to link to the index page instead of
the login page and everything works fine.
Thanks!
___
:: Christian J. Dechery
:: Accenture
I'm new to this list, so please pardon any obvious idiocies.
When I compile Tomcat I'm getting syntax errors. My setup:
Server: SUN Enterprise 250 running Solaris 9
uname -a output: SunOS africa 5.9 Generic sun4u sparc SUNW,Ultra-250
Java version: 1.4.2 (SUN version of javac)
Ant version: 1.5.3
I have just loaded 4.1.24 and want to do as much as I can thru the admin and
manager functions without hand crafting the server.xml file.
Now this may not be possible but here goes:-
Previously I put the connection pooling entries in the server.xml file like
this:-
Context docBase=adultcf
You need to use tomcatId jvmRoute for stickySession to work (don't know if it works
with default settings), for example:
workers2.properties:
[channel.socket:localhost:8009]
tomcatId=tomcat1
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html#workers)
server.xml:
Check the DTD
!--
The web-app element is the root of the deployment descriptor for
a web application.
--
!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*, servlet*,
servlet-mapping*, session-config?, mime-mapping*,
Hi,
after installing TomCat 4.1.24 and making it run correctly with mod_jk
(jk1.2) I still have a little problem which I did not have in the former
TomCat 3.2.3 environment:
I have a HttpTunnelingServlet.class located under
/tomcat/webapps/ROOT/WEB-INF/classes/com/net/chat/util/tunnel3
which
How would I go about loading a new context so that it is live, without restarting the
tomcat server?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Mon, 21 Jul 2003 16:43:05 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
You need to use tomcatId jvmRoute for stickySession to work (don't know
if it works with default settings), for example:
workers2.properties:
[channel.socket:localhost:8009]
tomcatId=tomcat1
Hi -
Check servlet-mapping in the web.xml DTD.
Also: http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
On Mon, 21 Jul 2003 16:57:05 +0200, Volker [EMAIL PROTECTED] wrote:
Hi,
after installing TomCat 4.1.24 and making it run correctly with mod_jk
(jk1.2) I still have a little
See Auto Deploy:
http://jakarta.apache.org/tomcat/tomcat-4.1-
doc/config/host.html#Automatic%20Application%20Deployment
John
On Mon, 21 Jul 2003 10:58:41 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
How would I go about loading a new context so that it is live, without
restarting the
autodeploy=true ( the default )
I placed a context directory into webapps and it is not autodeploying
Does it only auto deploy if the context is packed as .war?
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:04 AM
To: Tomcat Users List
What do you mean, exactly, by I placed a context directory into webapps.
You just created the directory? Is there a valid structure there (WEB-INF,
etc)?
John
On Mon, 21 Jul 2003 11:23:13 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
autodeploy=true ( the default )
I placed a context
I created a directory in webapps
webapps/portal
This directory contains some jsp's
There is also webapp/portal/WEB-INF directory ( empty )
All files and directories in this context are owned by the tomcat user ( same as the
other contexts this tomcat server is running )
Should that work or not?
hmm no, if you have just one Tomcat, it shouldn't be necessary.
At 15:58 21.07.2003 +0100, you wrote:
On Mon, 21 Jul 2003 16:43:05 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
You need to use tomcatId jvmRoute for stickySession to work (don't know
if it works with default settings), for
Hi
I have successfully setup Tomcat with SSL and client authentication, and I
have successfully identified myself to the web application using a browser
certificate. But when I access a port with client authentication enabled
WITHOUT sending a certificate, I receive an error from Tomcat. I would
Hi,
I have seached and looked through the archives with no luck. I have also
experimented quite a bit and have a question:
I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI
redirector on Solaris. However it will not load the default page
(welcome page) such as index.jsp.
There's no web.xml file?
John
On Mon, 21 Jul 2003 11:40:29 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
I created a directory in webapps
webapps/portal
This directory contains some jsp's
There is also webapp/portal/WEB-INF directory ( empty )
All files and directories in this context
no
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:55 AM
To: Tomcat Users List
Subject: Re: Loading context
There's no web.xml file?
John
On Mon, 21 Jul 2003 11:40:29 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
I created a
Hi,
I have a web app inside which I have an errorPage.jsp file. My web.xml file
defines:
error-page
exception-typejava.lang.Throwable/exception-type
locationerrorPage.jsp/location
/error-page
And my errorPage.jsp is as follows:
%@ page isErrorPage=true %
%@ import=java.io.*;%
html
link
BTW the exception is being thrown from a method inside a servlet as follows:
public synchronized void writeOrder(HttpServletRequest request)
throws IOException {
Date d = new Date();
DateFormat df = DateFormat.getDateInstance();
String fileName = (request.getRemoteUser()
There should be one, as explained in the docs.
John
On Mon, 21 Jul 2003 12:03:42 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
no
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:55 AM
To: Tomcat Users List
Subject: Re: Loading
Ok.
When I restart the tomcat server, it will deploy an empty directory
And it will deploy contexts that do not have a web.xml file
Is this a definate need for the autodeploy function to work?
I know my version of tomcat has the autodeploy, since it has its value set in
conf/server.xml, so that
Hi all:
I'm running Tomcat 4.1.24 and I'm trying to configure TLS client authn.
I have created a SSL connector (in server.xml)
!-- Define a SSL Coyote HTTP/1.1 Connector on port 15445 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=15445
Hello,
Is there any more documentation on the registry settings used by the
isapi_redirect.dll than defined in the IIS How-To in the Tomcat documenation?
I'd like to configure two web sites defined in the same IIS server to use different
instances of the ISAPI redirector plug-in so that each
No, that is the whole point of auto-deploy...you can deploy when Tomcat is
running. There are various ways to do this, as outlined in the docs, not
to mention the Tomcat manager application.
As I read the docs, if you have a directory within appBase that has a valid
directory structure
Hi,
I created a Tomcat connection pool (4.1.18/Win2k) which gets exhausted fairly quickly
if a user refreshes a page a few times. I have all the pages with the following
code:p
-
Context initCtx = new InitialContext();
Context envCtx = (Context)
I put a web.xml file in there, still not autodeploying
The autodeploy is something that runs in the background, correct? Should just be able
to drop it down, and away it goes when it hits that deploy cycle?
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, July
Which Tomcat are you using? isapi_redirect.dll or isapi_redirect2.dll?
Nathan Ward [EMAIL PROTECTED] wrote:
Hello,
Is there any more documentation on the registry settings used by the
isapi_redirect.dll than defined in the IIS How-To in the Tomcat documenation?
I'd like to configure two web
Howdy,
Does it work if you set the exception-type as
java.io.FileNotFoundException in your web.xml?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Matthew Oatham [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:12 PM
To: [EMAIL PROTECTED]
Subject: Re:
I'm using Tomcat 4.1.24 and isapi_redirector.dll. Should I be using
isapi_redirectory2.dll? I saw something in a book about
isapi_redirectory2.dll, but I didn't see it yet in the Tomcat docs.
Nathan
- Original Message -
From: Lior Shliechkorn [EMAIL PROTECTED]
To: Tomcat Users List
The redirector2.dll file is a new implementation...I was told that it was faster. I
have a document you can use if you choose the redirector2.dll file. Let me know.
Nathan Ward [EMAIL PROTECTED] wrote:I'm using Tomcat 4.1.24 and
isapi_redirector.dll. Should I be using
isapi_redirectory2.dll? I
On Mon, 21 Jul 2003 17:41:13 +0200, Simon Pabst [EMAIL PROTECTED] wrote:
hmm no, if you have just one Tomcat, it shouldn't be necessary.
I guessed as much. The thing is, I can see that the browser is just never
getting the JSESSIONID cookies when accessing via Apache.
If you access directly to
Any subdirectory within the Application Base directory that appears to be an unpacked
web application (that is, it contains a /WEB-INF/web.xml file) will receive an
automatically generated Context element, even if this directory is not mentioned in
the conf/server.xml file. This generated
Hello everybody !
I am new Apache, Tomcat user and I try to learn how to make them communicate.
I use Apache 2.0.47, Tomcat 4.1.24 and I downloaded mod_jk_2.0.46.dll (Windows NT
platform) in Apache2/modules.
I try to do what is described in the Quick Start JK2 configuration guide
As far as I know. As I said, if this isn't working, and you have verified
this (how are you testing it, anyways?), then you should file a bug.
John
On Mon, 21 Jul 2003 12:48:47 -0400, Luc Foisy [EMAIL PROTECTED]
magic.com wrote:
Any subdirectory within the Application Base directory that
I am checking with the manager to see if the context is there, and I am trying to hit
that page
How else would you suppose I should test this, its there or not isnt it?
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:54 PM
To: Tomcat Users
I have the following code in my static class initialization code for loading
native code:
static
{
try
{
System.load(some_path_A);
}
catch (Exception e)
{
System.load(some_path_B);
}
..
The class is used in a JSP project. If I put my
Did you mean UnsatisiedLinkError ? Because that's all I can find in the
javadocs. In this case, your code won't catch this Error, since an
Error is not an Exception. So perhaps the container will end up catching
it and wrapping it in a JasperException. Is there a 'route cause' for
the
I was just asking.
So, you:
- created a directory called webapps/portal
- created a directory called webapps/portal/WEB-INF
- created a file called webapps/portal/WEB-INF/web.xml
- put some JSP in webapps/portal
With all of the above, you cannot resolve
http://www.host.com/portal/some.jsp?
If you are using mod_jk_2.0.46.dll, that would be mod_jk, not mod_jk2.
Check out my HOWTO for Windows, it covers everything step by step. The
version numbers are a little out of date, but it shouldn't matter.
http://www.johnturner.com/howto
Incidentally, I had a little trouble with the DLL
Hi Matthew,
The problem with your JSP is that it has a syntax error. When Tomcat fails to compile
the error page it uses it's internal error page.
You should delete the second line, and replace the first with the following
%@ page isErrorPage=true import=java.io.* %
The import is part of the
I have seen conflicting docs on where jni_connect.so should be placed.
Is it
1) $APACHE_HOME/modules or
2) $TOMCAT_HOME/bin
Thank you,
Patrick Sullivan
Centura Health
This communication is for the use of the intended recipient only. It may contain
information that is privileged and
Thanks Mike.
You are absolutely right.
I never verified if UnsatisiedLinkError is an Exception or not. It is in
fact an Error, not an Exception?
If I change my code to catch Throwable (which includes both Exception and
Error), everything works fine.
Thanks a lot for your help.
Regards
Peter
Hi John,
I read the document and made my web.xml under /tomcat/webapps/ROOT/WEB-INF/
look like this:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
Hello Members,
Im a bit new to Tomcat.I have installed Tomcat 4.1.24 and running.
Im have trouble accessing servlets from a static web page even though i can access
both the servlet and the static page independently.
Please shed some light.
Thanks.
Ls
I am using Tomcat 4.1.24, Java 1.4.1_02 on Mandrake Linux 9.1.
Tomcat will not run as a user, although I am using it on port 8080.
If I run Tomcat as user tomcat4 I get a starting tomcat4 [OK]. But it
does not start.
ps ax shows that no Tomcat processes running. It does work fine as root.
I
Hi all -
For those looking for an advanced Tomcat training class, I am giving a
four-day intensive in Colorado Springs, CO, August 18-21. The objective
of the course is to give users an in-depth knowledge of developing with
and administering Tomcat. Topics include JNDI, the ever-popular Apache
Howdy,
Your link from the static page to the servlet is probably wrong. What
does it look like?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Lenandlar Singh [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 1:32 PM
To: Tomcat Users List
Subject: Problem
I am running Tomcat 4.1.24 and Slide 1.0.16 and I have a problem (that I
originally thought was isolated to Slide) where I can no longer authenticate
any user. When I try to login to Tomcat admin webapp as 'admin' I am
refused stating Invalid username and password. this occurs with all of my
1 - 100 of 148 matches
Mail list logo