Hi.
I have downloadet the source version of mod_webapp and now I want to compile it with
-deapi.
I have unpacked the mod_webapp tar file with the source but there is no configure
file. The readme.txt file says that I could use the following command to compile
mod_webapp:
./configure -deapi
you need to run
./support/buildconf.sh
first. That will create the .configure file.
- Original Message -
From: Lars Nielsen Lind [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 12:04 AM
Subject: mod_webapp compile problems
Hi.
I have
Thanks. That is working fine now - but
When I use the ./make command I receive the following message:
make: *** No Targets. Stop
Whats wrong?
Best regards,
Lars Nielsen Lind
- Original Message -
From: Cavan Morris [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
I have fixed the problem. Just added --enable-debug to the compile command,
and then it was possible to use the make command.
Best regards,
Lars Nielsen Lind
- Original Message -
From: Lars Nielsen Lind [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21,
RTFM
Read the (friendly) manual.
For this and any other acronym questions, go to google and type in (say)
RTFM and acronym. You'll find it in no time.
Justin.
--
You're only jealous cos the little penguins are talking to me.
I have never used a debugger for java before,
can gdb be used on java? strange.
AIUI gdb can be used on anything that is gdb compliant. It uses an API to
talk to the debugger, rather than gdb taking over the program.
I may be subtly wrong, but you get the idea.
J.
--
You're only jealous
Hi
I have installed Tomcat 4.01 but cannot access any JSP pages. When I try I receive
HTTP error 503 saying the jsp service is not available.
I've read one or two queries like this on the mailing list but haven't seen any
replies that solve the problem.
Can anyone help me please ?
Thanks
The Tomcat Team is proud to announce the first beta release of Tomcat 4.0.2.
Highligts for this release include:
- specification compliance fixes
- better handling of SingleThreadModel servlets
- many other bugfixes in Catalina and Jasper
Downloads (source and binaries):
HI
I'm running Tomcat 4 on Win2k and get the following error when I try to
start Tomcat. Tomcat has always worked fine for me, so I don't know why
this error has suddenly appeared. Any help please.
Here is the error:
Starting service Tomcat-Standalone
Apache Tomcat/4.0
ERROR reading
How do I default a user to my servlet without blocking access
to other directories? Using a default mapping of / results in
failure to gain access to resources under my servlet directory.
I think I have a fairly standard set-up of tomcat 4.0.1 on win2k.
Within C:\jakarta-tomcat-4.0.1\webapps I
Does anyone know why I might get a
java.lang.IncompatibleClassChangeError
when the server tries to load the jasper.servlet.JSPServlet class ?
I'm running tomcat 4.0.1 on Windows NT with JDK 1.3
Thanks
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
At first sight it looks like a bad install. I don't know the cause of the
error specifically, but if the 'JSP service is unavailable' then it sounds
as though Tomcat not up and running properly.
Can you access the built-in webapps and not your own code, or do none of
them serve?If its the
There is help on this in the Tomcat documentation. Can't remember where off
the top of my head but have a dig around in the 'docs' dir. If not, a quick
web search will certainly turn up the file.
ian
- Original Message -
From: Venkat Dosapati [EMAIL PROTECTED]
To: Tomcat Users List
I would include the file in the same place as the class file (in the
app-root/web-inf/classes/...)- then you can use something like
yourclassname.class.getResourceAsStream(sub folder relative to class's
package/db.cfg); Then you can read the configuration properties from that
stream (Dont forget
I have a strange behaviour in Tomcat 3.3 that does not happen either in
Tomcat 4.x or in Tomcat 3.2.x (or any other servlet engine for the
matter : Orion, Resin, WebLogic). It looks like voodoo for me and I have
trouble understanding what's happening.
I am sending several different HTTP requests
5xx errors are generated by the server when it realises that it cannot
process a request or something prevented it from handling the request
correctly. Try deleting the work directory and restarting the tomcat. Also
check your JSP pages.
Thanks.
RS
Caroline Clewlow [EMAIL PROTECTED] on
Thanks. I have tried removing the install and done everything again to no avail.
I'll check the documentation again tho to ensure I have covered everything.
Apologies for the pleading but having posted a request twice previously with no
reponse I was beginning to get deperate.
I shall
Fair comment - I know it get s frustrating when you've got a prob and get
ignored.
So do the supplied webapps serve at all or is it just your own code? The
java.lang.IncompatibleClassChangeError is often caused by Tomcat's failure
to pick up a changed (recompiled) class correctly (the new one
Excuse my naiv question, but if I understand this correctly then the 503 error is
returned to the browser (client) by the Webserver due to some kind of problem between
the Webserver and the Appserver, in this case TomCat. If I had a servlet that sent of
a request to some kind of other server
fair point - are you using a webserver in front of Tomcat Caroline? or does
the error get thrown if you browse to Tomcat directly at port 8080 (by
default)?
ian
- Original Message -
From: Fred Schroomnig [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December
Hi all
Can anybody give me a template for a filer which reads and writes to/from
the servlet being filtered.
I'm having a problem where reads are being blocked. Must be something to do
with content length, I'm not sure.
Basically, it's the last day before Christmas and it doesn't work so if
Hi all,
I had some problems with tomcat 4.0. So i installed tomcat 4.0.1 and now when i try to
set it up and start tomcat, i get The system cannot find the path specified in the
command window where i executed:
%CATALINA_HOME%\bin\startup
also tried:
%CATALINA_HOME%\catalina\src\bin\startup
Directly from Tomcat .. no webserver involved. It's happening with the example
jsp files aswell - not my own code.
I'm assuming its some problem with servlet.jar.
Below is a sample from my logfile.txt. If you have time to look at it you'll be able
to see the exact errors I'm getting.
Hmm.
The fact that you only get this behaviour in 3.3 suggests very strongly a
problem in that release. Is there any reason why you can't use a different
release and avoid the error?
That aside, I have seen this error under different circumstances - doing a
response.sendredirect in a JSP
Perhaps your new install of 4.0.1 is using a path of
c:\jakarta-tomcat-4.0.1, in which case your env. var. needs updating.
ian
- Original Message -
From: Praveen Potineni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 3:18 PM
Subject: Path not found
Hi all,
I
Its a little clunky, but you could use your second 'foo' mapping, and then
have an index.htm that does a meta-refresh to redirect them to your servlet:
meta http-equiv=Refresh content=0; url=foo/
Not nice and invisible I know, but it'll work..
ian
- Original Message -
From: Scott
Hi,
Do u use tag for your web developpment ?
What's the advantages ?
In which situation do u use them ? examples maybe ?
thanks
Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
set the welcome file list element to the URL address you want to default to
Something like -
welcome-file-list
welcome-filepages/main.jsp/welcome-file
/welcome-file-list
This will default a user going to your context to the file pages/main.jsp -
Tomcat (4.1) has a few default context
why are you doing ServerName sol.lansa.co.uk:8080/test?
why not ServerName sol.lansa.co.uk
or ServerName sol.lansa.co.uk/test
the warp connector has nothing to do with 8080, that is an Apache config
thing.
Warp has had some problems in windows but I have it working in Linux RH6-7.1
try
Hi Ian,
I think the env variable is also fine. It is set to
C:\jakarta-tomcat-4.0.1\catalina\src
and when i execute %CATALINA_HOME%\bin\startup the tomcat window just popped
up and closed.
Any ideas...
Thanks
Praveen
- Original Message -
From: ian silvester [EMAIL PROTECTED]
To: Tomcat
hmm, in this context, the root cause of the error suggests that, as you say,
servlet.jar is for some reason being found as incompatible.
Is this the first time you've used any servlet technology on the machine its
failing on? I ask because I'm thinking along the lines that there might be
other,
Cheers Brian,
How do test that it works?
Dom
-Original Message-
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2001 15:35
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work
why are you doing ServerName sol.lansa.co.uk:8080/test?
why not ServerName
-Original Message-
From: ian silvester [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2001 15:18
To: Tomcat Users List
Subject: Re: [Tomcat 3.3] Strange behaviour w/ mixed POST/GET request
Hmm.
The fact that you only get this behaviour in 3.3 suggests very
strongly a
problem
Ah - as I understand it the env var CATALINA_HOME should be set to just
c:\jakarta-tomcat-4.0.1
For simplicity and greater visibility, its probably worth opening a DOS box
(assuming you're on Windows of course) and browse to
c:\jakarta-tomcat-4.0.1\bin, then type 'startup' from there. That way
apachectl check
apachectl restart
$CATALINA_HOME/bin/catalina.sh run
http://sol.lansa.co.uk/examples/jsp
should work if your tomcat examples are install and configured like so in
httpd.conf
WebAppDeployexamples conn/example
-Original
actually you may want to start tomcat first then restart apache
-Original Message-
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 9:56 AM
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work
apachectl check
apachectl restart
I want to add to my java command line arguments
***-Dorg.omg.CORBA.ORBClass=javaORB.CORBA.ORBSingleton -Dorg.omg.CORBA.ORBSi
ngletonClass=JavaORB.CORBA.ORBSingleton***
In the shortcut to startup tomcat we see
***C:\Program
Files\JavaSoft\JRE\1.3.0_01\bin\java.exe -jar -Duser.dir=C:\Program
I think i am missing some files in my new installation of tomcat 4.0.1 coz
in the version 4.0 there was servlet.jar in common\lib.
There is no common folder under jakarta-tomcat-4.0.1.
I think similarly some more files like xeres.jar also is missing. What are
all the files required to
Tomcat 4.0.1, when run as a service on NT, doesn't seem to integrate
properly with IIS. The service fails to stop gracefully and does not call
my Servlet's destroy() method().
NT4 sp6a. I downloaded the .exe binary for TC 4.0.1 and installed it
selecting the checkbox to have it run as a
-Original Message-
From: ian silvester [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2001 15:18
To: Tomcat Users List
Subject: Re: [Tomcat 3.3] Strange behaviour w/ mixed POST/GET request
Hmm.
The fact that you only get this behaviour in 3.3 suggests very
strongly a
problem
Brian,
everything checks OK
but I've lost static pages.
I mean http://sol.lansa.co.uk/
now returns Forbiden... you have permission / on
this server
Somehow am baffled that am trying to access /
As for http://sol.lansa.co.uk/examples/jsp
am getting WebApp error Web-application not yet
Brown -
Couldn't you use a batch file unless it's out of option.
/Pae
- Original Message -
From: Brown Bay [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 8:30 AM
Subject: Newbie: set java arguments
I want to add to my java command line
not sure. I bet it has something to do with DocRoot in apache.
not an apache expert at all but you did have two docroots
DocumentRoot /var/www/html
DocumentRoot /usr/share/tomcat/webapps/examples
and I am not sure that is cool with apache...
try just
DocumentRoot /var/www/html
I don't
Brown -
Couldn't you use a batch file unless it's out of option.
Pae.
Yea, I used a batch file instead, but now I am getting a
***java.lang.Exception: Servlet get corba object:org.omg.CORBA.INITIALIZE:
can't instantiate default ORB implementation javaORB.CORBA.ORBSingleton
minor code: 0
make sure there is not a copy of servlet.jar in JAVA_HOME\jre\lib\ext. Also
check in your webapp\web-inf\lib.
These would conflict with Tomcat's version.
Charlie
-Original Message-
From: Caroline Clewlow [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 10:18 AM
To: Tomcat
try %CATALINA_HOME%\bin\catalina run
This will show error messages in the current command window.
Charlie
-Original Message-
From: Praveen Potineni [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 11:01 AM
To: Tomcat Users List
Subject: Re: Path not found
Hi Ian,
I
Thanks, Craig - this is exactly what I was looking for.
Cheers,
-Richard
On Thu, 20 Dec 2001, Richard S. Huntrods wrote:
Date: Thu, 20 Dec 2001 09:23:11 -0700
From: Richard S. Huntrods [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Hello I have the following question about resquest dispatcher .include
/forward methods.
I have a servlets (lets call it S) that uses the dispatcher to forward the
requequest to a JSP (lets call it (J)). This has Jsp uses a tag library
(lets calle it T) that uses the dispatcher to inlcude
servlet-mapping
servlet-nameMyServlet/servlet-name
url-patternindex.html/url-pattern
/servlet-mapping
I think you have to have an empty index.html file to convince the
welcome-list that its valid.
This will take all index.html files, so if you have other index.html files
in
Hello.
I've just downloaded JSSE 1.0.2 and put the three .jar files in
jre\lib\ext directory.
I've uncommented the example SSl connector in server.xml, but when I
restart, I get this error in the stdout.log:
Exception during startup processing
java.lang.reflect.InvocationTargetException:
I am not certain, but it seems to me a kinda of exception that
servlet can't get to the target reference object, e.g., not in the
CLASSPATH, or by simliar causes.
Otherwise, I have to pass this to other folks.
Cheers,
Pae
- Original Message -
From: Brown Bay [EMAIL PROTECTED]
To:
On Fri, 21 Dec 2001, Caroline Clewlow wrote:
Date: Fri, 21 Dec 2001 14:51:54 -
From: Caroline Clewlow [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: HTTP error 503.
Thanks. I have tried removing the install and
On Fri, 21 Dec 2001, Brown Bay wrote:
Date: Fri, 21 Dec 2001 10:30:21 -0600
From: Brown Bay [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Newbie: set java arguments
I want to add to my java command line arguments
On Fri, 21 Dec 2001, Praveen Potineni wrote:
Date: Fri, 21 Dec 2001 11:33:45 -0500
From: Praveen Potineni [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Path not found
I think i am missing some files in my new
I am trying Tomcat 4.
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 11:37 AM
Subject: Re: Question with request dispatchers?
On Fri, 21 Dec 2001, Sarb Singh wrote:
Date: Fri, 21 Dec 2001
Greetings!
Last post for a while - I promise! G
What does it mean - Name on certificate does not match name of the
site?
I did the self-signed certificate thing for SSL. There are three
messages that appear on the pop-up dialog when you access the secure
site. The first says The certificate
put the qualified name of your machine: yourmachine.yourdomain.com, if you
are only trying with localhost put localhost
-Original Message-
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 1:55 PM
To: [EMAIL PROTECTED]
Subject: What does it mean - Name
You need to include the security provider in your java.security file:
security.provider.3=com.sun.net.ssl.internal.ssl.Provider
Also, are you running tomcat with a security manager ? if so, make sure you
have jre\lib\ext with permissions.
Renato - Brazil
On Fri, 21 Dec 2001 17:16:49 +,
You are missing jmx.
Read BUILDING.txt. It tells you what you need and where
to get it. You may have to grab some of the 'optional' libraries
as well.
Tom Drake
- Original Message -
From: Diego Novati [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21,
I have spoken a bit too fast ... :-(
It worked 3 times in a row and then started failing again, same as
before. It failed even after removing all connection.disconnect() and
all close on streams related to the connection but the failure rate
seems to be lower ...
I've just run the tests 10
On Fri, 21 Dec 2001, Diego Novati wrote:
Date: Fri, 21 Dec 2001 18:51:31 +0100
From: Diego Novati [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: How to rebuild Catalina ?
Hi,
building Catalina I get the following error:
i am using 4.0 and want to remove this service from server xml but when i
take it out tomcat will start up(opens command window deploys some files
then gets hung).
Does tomcat need this service, because i don't believe i need it?
thank you in advance for any help!! happy holidays!
On Fri, 21 Dec 2001, Donie Kelly wrote:
Date: Fri, 21 Dec 2001 15:16:34 -
From: Donie Kelly [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: How to write a filter in Tomcat 4
Hi all
Can anybody give me a template
when I delete the whole service tag from the server.xml only the Tomcat
standalone service is started. I am using Tomcat 4.0.1 by the way
!-- Define an Apache-Connector Service --
Service name=Tomcat-Apache
/Service
John Regan wrote:
i am using 4.0 and want to remove this
Can anyone give me a reference to where I can get some detail information on
returning a resultset from an Oracle Stored Procedure to a JSP program? I
have found many samples of how to do this on the JSP side, but no
information on how to write a Oracle Stored Procedure that returns a
Resultset.
Can anyone give me a reference to where I can get some detail information
on
returning a resultset from an Oracle Stored Procedure to a JSP program? I
have found many samples of how to do this on the JSP side, but no
information on how to write a Oracle Stored Procedure that returns a
What DB are you using?
For Oracle, anyway:
SELECT table_name FROM all_tables;
SELECT trigger_name FROM all_triggers;
SELECT view_name FROM all_views;
...
-Will give you the lists of all tables, triggers, and views
respectively in your DB.
For the structure of each table, use:
DESC
I am using Oracle8i and am not sure where the Oracle documentation is. I
have several advanced Oracle books and none of them discuss it. Very
frustrating! How about doing the same thing, but from an Oracle Stored
Procedure to a Visual Basic program?
-Original Message-
From: Robert
You can do it using Oracle's REF cursor in packages(if you have Oracle 8i or
newer). Idea is to create package, define ref cursor and define the
procedure to use that ref cursor (in the package). Then you call
package.procedurename(parameters) with JDBC and so on.
The best documentation you can
I believe I found information on returning result sets from procedures in
Oracle on Oracle's site - check their FAQ. The problem in earlier versions
was true regardless of language accessing the db. I believe the posted
workaround was a VB program - basically it loaded the resultset into an
Hi , Folks
I've some question about the mod_jk load balance . I'hv 3 linux box right
now , the 1st is running apache 1.3.12 , others are running tomcat 3.2.1, I
try to config the tomcat load balance with those 2 tomcat box . But I found
all the request from the apache box is redirect to the
Does the REF Cursor get declared in the parameter list as an OUT parameter
or in the Declaration sections as a variable?
Thanks,
Bob Timlin.
-Original Message-
From: Teemu Keiski [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 11:29 AM
To: Tomcat Users List
Subject:
The stored procedure (or function) needs to return a REF_CURSOR.
Here's an example (very contrived) of the Java code:
Connection conn = getConnection(); // get connection from somewhere ( a pool
maybe ).
Callable statement = conn.prepareCall({? = call someProc });
Never Mind, my last post. The Oracle Web-site you provided gave me the
answer I have been looking for for days!
Thank you very much!
Bob Timlin.
-Original Message-
From: Teemu Keiski [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 11:29 AM
To: Tomcat Users List
Anybody works with tomcat on a linux system, i would
like to know if there a module like the apache
mod_dir.c. I wanna run servlets like a user not like a
root, thanks for help!!
Fred
_
Do You Yahoo!?
¿Quieres armar tu própia página Web
thank you for the quick response.
it wasn't hung, it worked fine when i removed the whole service. i thought
it was hung because i didn't see the Apache Tomcat/4.0 print out in the
command prompt. thanks again.
-Original Message-
From: Dieter Kaltenbach [mailto:[EMAIL PROTECTED]]
Sent:
Hi, I'm havind a problem running my app within Tomcat(with redirect.dll).
With like four users punding away ion the app, I get hung, and an
java.lang.IllegalMonitorStateException is thrown, without any more detail,
has any one else come accross this? It only seems to be a problem when going
Hello.
I have tomcat at C:\tomcat and apache at C:\apache.
I have the warp module in place and everything is working just peachy
for me in my little test environment (my desktop). I realized that I
do not want all my webapps in the C:\tomcat\webapps directory because if
I install a new version
From: Craig R. McClanahan [EMAIL PROTECTED]
On Fri, 21 Dec 2001, Scott Eade wrote:
Subject: servlet-mapping problem - tomcat 4.0.1
How do I default a user to my servlet without blocking access
to other directories? Using a default mapping of / results in
failure to gain access to
have you erased the compiled apps in the work directory?
-Original Message-
From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 3:20 PM
To: Tomcat Users List
Subject: Alternate webapps dir not seen by apache
Hello.
I have tomcat at C:\tomcat and
answer inline:
-Original Message-
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 4:53 PM
To: Tomcat Users List
Subject: RE: Alternate webapps dir not seen by apache
have you erased the compiled apps in the work directory?
Hello.
I need advice on setting up Tomcat 4.0.1 to support multiple/independent
developers.
Are custom server.xml's all I need? I see that I can start Tomcat with
-config /some/path/server.xml, but catalina.sh still creates
$CATALINA_BASE/logs/catalina.out. What exactly needs to be in
Hi all,
thanks for your help but after 8 hours of hard work I solved the problem.
The problem is on an Exception in the JDBCRealm.authenticate method: the
method catch SQLException but InterBase InterClient (and also Firebird
SQL InterClient) throws a NullPointerException exception.
Now, after
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as
many other Java topics). Here is an automated update on recent postings to
Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] .
- Alex
++ JavaServer Pages (JSP) FAQ:
Hi,
I am trying to install TC and Apache on different machines.
If I add
LoadModule jk_module modules/mod_jk.dll
and
AddModule mod_jk.c
to my http.conf file I get an error on starting apache
that just says error opening workers and that's it.
It makes no difference whether I include
Hi
trying to get webdav working with apache-Tomcat. Has anyone done tha tbefore
...
Hi
I have been able to run tomcat successfully, in standalone mode and could
get the webdav enabled context working too.
Now I want to run tomcat with apache with mod_webapp through warp
connector.
I am
Greetings!
Thanks for the replies so far. Unfortunately, I haven't got it to work
yet. I'm putting various combinations of server name / domain name in
the Company Org Unit field, but to no effect.
Is there a way to view the two fields while running in a browser, i.e.
what the server is
87 matches
Mail list logo