RE: JavaBeans

2001-05-28 Thread me

Hi Kavi,

JavaBeans must be placed in the Web-Inf/classes directory of your webapp as
long as they don't belong to a package and you don't set a classpath. Else
you must create a directory structure similar to your package name, i.e.
package: yourpack.com --> web-inf/classes/com/yourpak.

Hope this helps
   Thomas




RE: Still Have SSL problems

2001-05-28 Thread Todd Sussman

I am sorry this is taking up alot of peoples time..
Now i get an error no self-signed certificate in reply

Any Ideas?
Todd

-Original Message-
From: Rams [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 9:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Still Have SSL problems


if u have certificate, u can import it to keystore thru' keytool with
alias
'tomcat'.
try with this.

Rams

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Still Have SSL problems


Ok.  Maybe I can explain a little better.  I had tomcat running against
IIS.  All was fine.  I added a SSL Cert from Verisign to the IIS.  I
need to allow tomcat to use SSL aswell.  I uncommented the section in
server.xml for use with SSL.  What I need is to know how to import the
same ssl cert to Tomcat (3.2.1/JDK1.2.2).  Do I need to run keytool and
create a new one for tomcat or can I import it somehow?

Thanks

Todd

-Original Message-
From: Warren Crossing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 8:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Still Have SSL problems


it should jsut use keytool that comes with the jdk.. have a look at the
tools java doc.
i think that netscape object signing uses netscapes keystore. but java (
jdk
) also has a keystore and tool.

hope this helps.

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 May 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Still Have SSL problems


I altered the server.xml file as explained in the ssl + tomcat document.
The problem I have is that I do not understand how to import the cert. I
have from Verisign.  This was created with a request gernerated by IIS
5.0.  I keep getting an error that it can not find the .keystore file.
Do I need to d/l and install openssl to generate a second key for
tomcat?
I am just learning tomcat and if you need further information to help
me, I will gladly post more.

Thank You in Advance

Todd




PROBLEMS_IMPORTING_CLASSES

2001-05-28 Thread Daniel Leyva

Hi,

I have some problems importing classes of java which are used for JSP pages
( under Tomcat - linux) , the package oracle.jdbo.*.
I´ve defined the CLASS_PATH, JAVA_HOME, I´ve copied the package in
jdk1.3.1/lib, in jdk1.3.1/jre/lib, in jakarta-tomcat/lib but the tomcat
doesn´t find it.


Thank you very much,

Daniel Leyva Cortes




RE: Still Have SSL problems

2001-05-28 Thread Rams

if u have certificate, u can import it to keystore thru' keytool with alias
'tomcat'.
try with this.

Rams

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Still Have SSL problems


Ok.  Maybe I can explain a little better.  I had tomcat running against
IIS.  All was fine.  I added a SSL Cert from Verisign to the IIS.  I
need to allow tomcat to use SSL aswell.  I uncommented the section in
server.xml for use with SSL.  What I need is to know how to import the
same ssl cert to Tomcat (3.2.1/JDK1.2.2).  Do I need to run keytool and
create a new one for tomcat or can I import it somehow?

Thanks

Todd

-Original Message-
From: Warren Crossing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 8:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Still Have SSL problems


it should jsut use keytool that comes with the jdk.. have a look at the
tools java doc.
i think that netscape object signing uses netscapes keystore. but java (
jdk
) also has a keystore and tool.

hope this helps.

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 May 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Still Have SSL problems


I altered the server.xml file as explained in the ssl + tomcat document.
The problem I have is that I do not understand how to import the cert. I
have from Verisign.  This was created with a request gernerated by IIS
5.0.  I keep getting an error that it can not find the .keystore file.
Do I need to d/l and install openssl to generate a second key for
tomcat?
I am just learning tomcat and if you need further information to help
me, I will gladly post more.

Thank You in Advance

Todd




Re: TC4-reloading-jsp

2001-05-28 Thread Remy Maucherat

> I find Tomcat-4.0-b5 not reloading a modified jsp file, why ?

It's a Windows specific bug, which was found shortly after b5 was released.
Since it only affects a "limited" number of people, and b6 is planned for
before J1, we decided to wait before releasing a fixed version.

You can download a recent nightly build if you need a fix ASAP.

Remy




GOOD NEWS :-)

2001-05-28 Thread Guido Medina

Hi to all,

  The new tomcat 3.2.2 release doesn't have any problems with the mod_jk CPU
overloading, I just installed and is working perfectly...

Regards...

Guido.

P.D: Of course, you should conpile the mod_jk with your apache in your
platform (machine, CPU, hardware) and is also my advise...The instructions
are in mod_jk how to...




TC4-reloading-jsp

2001-05-28 Thread SongDongsheng




Hi,
 
I find Tomcat-4.0-b5 not reloading a modified jsp file, why 
?
 
Thanks for some help
 
SongDongsheng


RE: Still Have SSL problems

2001-05-28 Thread Todd Sussman

Ok.  Maybe I can explain a little better.  I had tomcat running against
IIS.  All was fine.  I added a SSL Cert from Verisign to the IIS.  I
need to allow tomcat to use SSL aswell.  I uncommented the section in
server.xml for use with SSL.  What I need is to know how to import the
same ssl cert to Tomcat (3.2.1/JDK1.2.2).  Do I need to run keytool and
create a new one for tomcat or can I import it somehow?

Thanks

Todd

-Original Message-
From: Warren Crossing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 8:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Still Have SSL problems


it should jsut use keytool that comes with the jdk.. have a look at the
tools java doc.
i think that netscape object signing uses netscapes keystore. but java (
jdk
) also has a keystore and tool.

hope this helps.

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 May 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Still Have SSL problems


I altered the server.xml file as explained in the ssl + tomcat document.
The problem I have is that I do not understand how to import the cert. I
have from Verisign.  This was created with a request gernerated by IIS
5.0.  I keep getting an error that it can not find the .keystore file.
Do I need to d/l and install openssl to generate a second key for
tomcat?
I am just learning tomcat and if you need further information to help
me, I will gladly post more.

Thank You in Advance

Todd



Tomcat-4.0-b5 not reloading a modified jsp file

2001-05-28 Thread SongDongsheng



Hi,
 
I find Tomcat-4.0-b5 not reloading a modified jsp file, why 
?
 
Thanks for some help
 
SongDongsheng


RE: Still Have SSL problems

2001-05-28 Thread Warren Crossing

it should jsut use keytool that comes with the jdk.. have a look at the
tools java doc.
i think that netscape object signing uses netscapes keystore. but java ( jdk
) also has a keystore and tool.

hope this helps.

-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 May 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Still Have SSL problems


I altered the server.xml file as explained in the ssl + tomcat document.
The problem I have is that I do not understand how to import the cert. I
have from Verisign.  This was created with a request gernerated by IIS
5.0.  I keep getting an error that it can not find the .keystore file.
Do I need to d/l and install openssl to generate a second key for
tomcat?
I am just learning tomcat and if you need further information to help
me, I will gladly post more.

Thank You in Advance

Todd



RE: Signed certificate and tomcat

2001-05-28 Thread Rams



Hi 
Andromaque,
    can u elaborate ur 
doubt?
 
Rams 
 -Original Message-From: François Andromaque 
[mailto:[EMAIL PROTECTED]]Sent: Monday, May 28, 2001 9:16 
PMTo: [EMAIL PROTECTED]Subject: Signed 
certificate and tomcat

  How configure tomcat, after have create a new 
  self signed certificate server.crt


JavaBeans

2001-05-28 Thread Kavi

Hi everyone,
I am trying to use my first javabean in a JSP using
tomcat but where I must place the bean(or package??)
I am getting error 500 - Unable to load class

Please help!!

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



adding client/stub classes to embeded tomcat

2001-05-28 Thread Nirvana

HI all,

I am using JBoss2.2 with embeded tomcat3.2.1. I managed to deploy my EJBs to
JBoss server.
I am importing my EJB classes in my JSPs which are deployed in
the embedded Tomcat. I have a bunch of them...so can't be bothered to add
all of them to the system classpath. So..How to Add my deployed jar files to
the Tomcat classpath? Should I copy the jar files to the tomcat_home/lib ?
if so will it load them auto?

Thanks in advance

r
Nirvana





Still Have SSL problems

2001-05-28 Thread Todd Sussman

I altered the server.xml file as explained in the ssl + tomcat document.
The problem I have is that I do not understand how to import the cert. I
have from Verisign.  This was created with a request gernerated by IIS
5.0.  I keep getting an error that it can not find the .keystore file.
Do I need to d/l and install openssl to generate a second key for
tomcat?
I am just learning tomcat and if you need further information to help
me, I will gladly post more.

Thank You in Advance

Todd




Reloading modified included JSP files

2001-05-28 Thread Sankar Kondur


Hi,

I read an old post that said the problem of "not reloading a modified inlude
file unless the outer file was also modified" was going to be fixed in 3.x 

I tested this problem in 
 - 3.3 milestone 3 
 - 3.3 dev
 - 4.0 dev

but it doesn't seem to have been fixed.

Just wanted to know if it has been fixed. 


thanks,
Shankar







RE: out of ideas on an error

2001-05-28 Thread Warren Crossing



Hey 
nullpointers happen all the time look at the stack trace and c if you can work 
out whats wrong..
adcl 
loads the class at line 518 .. check it out what could be null?? the byte 
stream.. wouldn't yu xpect a IOException ?? 
resolveClass is inherited and works pretty damn well.. 
but what could cause a null pointer at line 588.. i don't know.. but look for 
telltale signs like method invocation on member ( the member could be null 
)
maybe 
the class is in the classpath on the incorrect location.. remove from classpath 
and put in server/lib or lib or webinf/lib or somewhere.. what 
happens?
 
these 
things take for ever to solve.. good luck & best wishes 
=)
 
hey 
remember.. definite assignment detects possible npe @ compile 
time..
 
warren.

  -Original Message-From: Moin Anjum H. 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, 29 May 2001 2:43 
  PMTo: [EMAIL PROTECTED]Subject: Re: out of 
  ideas on an errorHi, 
  This is the most common error i get. I usually get if i try to compare or 
  concat string variables that are null in value. Please check are your string 
  variable. 
  HTH 
  Best Regards Moin. 
  Kevin Fonner wrote: 
  

I am attempting to set up a servlet which 
acts as and rmi client.  I am getting an error which I don't 
understand.  Are their additional securitys I have to set or 
something??Here's the 
error Internal Servlet Error: java.lang.NullPointerException
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
    at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:518)
    at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
    at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
    at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
    at org.apache.tomcat.core.Handler.service(Handler.java:254)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)


Re: out of ideas on an error

2001-05-28 Thread Moin Anjum H.



Hi,
This is the most common error i get. I usually get if i try to compare
or concat string variables that are null in value. Please check are your
string variable.
HTH
Best Regards
Moin.
Kevin Fonner wrote:

I
am attempting to set up a servlet which acts as and rmi client.  I
am getting an error which I don't understand.  Are their additional
securitys I have to set or something??Here's
the error Internal Servlet Error:
java.lang.NullPointerException
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
    at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:518)
    at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
    at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
    at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
    at org.apache.tomcat.core.Handler.service(Handler.java:254)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)






Re: tomcat process dies out...

2001-05-28 Thread Milt Epstein

On Mon, 28 May 2001, Krishna Kishore Thotakura wrote:

> yeah..now, it works.
>
> >nohup ./startup.sh -f server_1.xml >&1 &
>
> could u please explain how it made a difference?
> What does redirection to '&1' mean? sorry, i am not a unix pro.

Ummm, the command you show above doesn't match either of the commands
Jan gave.  Did you make a typo, or are you really using what you show
above?  And exactly which shell are you using?  (You should be able to
do "echo $SHELL" to find out.)

The syntax is somewhat different for the sh et al shells and the csh
et al shells.  But, basically, ">" indicates "redirection".  More
specifically:

In the sh et al command, "> /tmp/mytomcat.log" indicates to redirect
stdout to /tmp/mytomcat.log, and "2>&1" indicates to redirect stderr
to the same place stdout is going to (in this case, /tmp/mytomcat.log)
-- 2 is the file descriptor for stderr, 1 is the file descriptor for
stdout.

In the csh et al command, first of all, I think Jan made a typo
(unless I misunderstand it, which is certainly possible :-), and left
out the file to redirect to.  So I think the command should be:

  nohup ./startup.sh -f server_1.xml >& /tmp/mytomcat.log &

But recall that csh et al shells don't need the "nohup" when a job is
backgrounded (done by the final "&"), so this can be simplified to:

  ./startup.sh -f server_1.xml >& /tmp/mytomcat.log &

">&" means to redirect both stdout and stderr to the specified file.

AFAIK, the "!" has to do with changing the behavior slightly when you
have the shell variable noclobber set.  At this point, I'd suggest
reading the csh man page for more specifics.


> Jan Labanowski wrote:
> >
> > The commands can also look like:
> >
> > Under /bin/sh, /bin/ksh, /bin/bash, etc:
> >
> >   nohup ./startup.sh -f server_1.xml > /tmp/mytomcat.log 2>&1 &
> >
> > Under /bin/csh or /bin/tcsh
> >
> >   nohup ./startup.sh -f server_1.xml >&! &
> >
> > Jan
> > [EMAIL PROTECTED]
> >
> > On Mon, 28 May 2001, Krishna Kishore Thotakura wrote:
> >
> > > It still doesnt work. I was under the impression that tomcat
> > > would run in the background automatically. Also, i use the same
> > > command to start the tomcat process on my other port(8080), and
> > > it works just fine.
> > >
> > > Milt Epstein wrote:
> > > >
> > > > On Mon, 28 May 2001, Mathew Clark wrote:
> > > >
> > > > > You may need to try
> > > > >
> > > > > nohup ./startup.sh -f server_1.xml &
> > > > >

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




RE: IIS + Tomcat + SSL

2001-05-28 Thread Todd Sussman

I am redoing the server.xml file incase of any errors I may have made.
This being the first time I have delt with SSL at all.  When we access
our site with http everything works fine.  The same with https.  The
problem is that when we request using https, a message appears asking if
we would like to download secure and non-secure items.  So I assume this
is the jsp's throwing the error/message.

Todd

-Original Message-
From: Rams [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 6:55 AM
To: [EMAIL PROTECTED]
Subject: RE: IIS + Tomcat + SSL


Hi Todd,
did u make changes in server.xml of tomcat for ssl enabling?
not that jsp doesnt agree or servlets only agree? 
u r worried of URL for https,not the component,ok.
let me know how did u test ur jsp using https?
was it working with http?

--Rams


-Original Message-
From: Todd Sussman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 27, 2001 12:26 PM
To: [EMAIL PROTECTED]
Subject: IIS + Tomcat + SSL


We have a working IIS + Tomcat 3.2.1 server running under windows 2000.
We would like to add SSL security.  I recieved my cert from Verisign and
installed it.  The problem is that I don't think the JSP's aree using
the SSL information.  Is there anyway to test this or a howto I can
check.

Thank You
Todd





RE: tomcat-iis configuration

2001-05-28 Thread Todd Sussman

The servlets we had mapped in tomcat.conf had to be added as aliases in
IIS.  The same way you added "jakarta" for isapi_redirect.dll
 
Hope this helps.
 
Todd

-Original Message-
From: hardik [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: tomcat-iis configuration


hi!..
 
i tried to configure IIS- with tomcat3.2.. and was successful in serving
the /examples context with the IIS...
but i want to add more context to be served by IIS.. i followed the
steps described in the file.. but it doesnt work.. can anyone tell me
how to make
other contexts work with IIS.
 
thanxs..
 
hardik




Re: tomcat process dies out...

2001-05-28 Thread Milt Epstein

On Mon, 28 May 2001, Jan Labanowski wrote:

> The commands can also look like:
>
> Under /bin/sh, /bin/ksh, /bin/bash, etc:
>
>   nohup ./startup.sh -f server_1.xml > /tmp/mytomcat.log 2>&1 &
>
> Under /bin/csh or /bin/tcsh
>
>   nohup ./startup.sh -f server_1.xml >&! &

Don't you need a file name on that last one (after the ">&!")?


> On Mon, 28 May 2001, Krishna Kishore Thotakura wrote:
>
> > It still doesnt work. I was under the impression that tomcat would
> > run in the background automatically. Also, i use the same command
> > to start the tomcat process on my other port(8080), and it works
> > just fine.
> >
> > Milt Epstein wrote:
> > >
> > > On Mon, 28 May 2001, Mathew Clark wrote:
> > >
> > > > You may need to try
> > > >
> > > > nohup ./startup.sh -f server_1.xml &
> > > >

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




[ANNOUNCEMENT] Tomcat 3.2.2 released

2001-05-28 Thread Marc Saegesser

I am pleased to announce that the Tomcat 3.2.2 release is now
available for download at

http://jakarta.apache.org/builds/tomcat/release/v3.2.2

Tomcat 3.2.2 is a maintenance release that fixes several bugs from version
3.2.1 and corrects all known specification compliance issues.  The release
notes file in src/doc/readme covers the details of the Tomcat 3.2.2 release.

Tomcat 3.2.2 is now the latest production quality Tomcat release.  Users of
version 3.2.1 and earlier release are encouraged to update to this release.

Marc A. Saegesser




RE: web.xml

2001-05-28 Thread JULIEN,TIMOTHY (HP-NewJersey,ex2)

using  entries allows you to:

- specify init-parameters
- specify security-role-refs (a security role mapping)
- specify a security role to use for the request
- specify the servlet to be loaded on application (servlet context) startup
- specify a *jsp* to be used (not just a servlet class)
- use servlet mappings to map URLs to the 
- reuse servlet classes (across  entries)

many wonderful things.

Tim Julien
HP Middleware

-Original Message-
From: Brian Kejser [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 8:10 PM
To: '[EMAIL PROTECTED]'
Subject: web.xml


Hi

Is there any advantage to adding  entries in the WEB-INF/web.xml or
should you just rely on the auto loading feature?

Thanks



Re: web.xml

2001-05-28 Thread Rock Luiss


- Original Message - 
From: "Brian Kejser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 8:09 AM
Subject: web.xml


> Hi
> 
> Is there any advantage to adding  entries in the WEB-INF/web.xml or
> should you just rely on the auto loading feature?
> 
> Thanks
I think adding  entries is registing the servelet you've written.I don't 
know what your "auto loading feature" means,but I think only rely on auto features the 
quality of Tomcat will not present totaly.



Tomcat Usage

2001-05-28 Thread Peter Horne

Hi...

Has anyone or does anyone know of anyone who has done
a mission critical deployment of Tomcat in a financial
environment?  I'd really like to hear from you...

Thanks...Pete



=
Peter S. Horne   
[EMAIL PROTECTED]

To know and not to do is not to know



Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



out of ideas on an error

2001-05-28 Thread Kevin Fonner



I am attempting to set up a servlet which acts as 
and rmi client.  I am getting an error which I don't understand.  Are 
their additional securitys I have to set or something??
Here's the error
 
Internal Servlet Error:java.lang.NullPointerException
	at java.lang.ClassLoader.resolveClass0(Native Method)
	at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
	at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:518)
	at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
	at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
	at org.apache.tomcat.core.Handler.service(Handler.java:254)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)



web.xml

2001-05-28 Thread Brian Kejser

Hi

Is there any advantage to adding  entries in the WEB-INF/web.xml or
should you just rely on the auto loading feature?

Thanks




tomcat locale error message

2001-05-28 Thread Gilson do N. D'Elrei



Hello all,
I have to received this error when i try to run 
tomcat, it's strange cos coincidentally my installation was ok and it has 
occurred after i install  jdk1.3.1. I tried to reinstall jdk1.3.0_02 and 
even tomcat, but i didn't get success.
I verified tomcat archive messages, not all of 
course... but, the major messages about it didn't get sucess return 
too.
Thanks for any help.
 
 
>Exception in thread "main" 
java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't 
find bundle for base name javax.servlet.http.LocalStrings, locale pt_BR at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:707)


Re: Simple Catalina/JSP question

2001-05-28 Thread sachin chaudhari

Thanks a lot! You think I can get the latest build
from the same place from apache.org on July 1st.


--- Remy Maucherat <[EMAIL PROTECTED]> wrote:
> > I am using catalina 4.0 B5. But if I make changes
> to
> > the JSP page it does recompile the page. Even
> after
> > restarting the catalina. Only way to see the
> changes
> > is to add a new JSP page & restart the server.
> What
> > configs in server.xml I need to change?
> >
> > Thanks in advance for your help.
> 
> It's a Windows-only problem which will be fixed in
> the beta which will be
> coming up for J1.
> 
> Remy
> 


=
Sachin Chaudhari

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Re: Simple Catalina/JSP question

2001-05-28 Thread Remy Maucherat

> I am using catalina 4.0 B5. But if I make changes to
> the JSP page it does recompile the page. Even after
> restarting the catalina. Only way to see the changes
> is to add a new JSP page & restart the server. What
> configs in server.xml I need to change?
>
> Thanks in advance for your help.

It's a Windows-only problem which will be fixed in the beta which will be
coming up for J1.

Remy




Simple Catalina/JSP question

2001-05-28 Thread sachin chaudhari

I am using catalina 4.0 B5. But if I make changes to
the JSP page it does recompile the page. Even after
restarting the catalina. Only way to see the changes
is to add a new JSP page & restart the server. What
configs in server.xml I need to change?

Thanks in advance for your help.

=
Sachin Chaudhari

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



RE:RE:RE: RE: RE: How to get Role and Password from JDBC Rea... - not in 3.2.2??

2001-05-28 Thread Dr. Thomas W. Richter



Hmm, thanks again Jan,
 
but this method isn't available in Tomcat 3.2.2. So 
I fear I must perform getting userrole and userpass manually. How can I read out 
server.xml so that I have not to write a properties file where the name of the 
auth DB, useradminname and useradminpass once again?
 
Thank you again for help, I do not understand how 
JDBCRealm reads out server.xml
 
Thomas
 
Jan wrote:
 
From: "Pernica, Jan" 
<[EMAIL PROTECTED]>Subject:  RE: RE: How to get Role and Password from 
JDBC Realme -using 3.2. 2Date:  Mon, 28 May 2001 17:15:36 
+0200The username and the password is part of the request. you can get 
itfrom	org.apache.catalina.util.Base64 base64Helper = 
neworg.apache.catalina.util.Base64();	String unencoded = 
newString(base64Helper.decode(request.getHeader("authorization").getBytes()));	int 
colon = unencoded.indexOf(':');	if (colon < 0)	    
return (null);	String username = unencoded.substring(0, 
colon).trim();	String password = unencoded.substring(colon + 
1).trim();I hope it helpsJanOn Monday, May 28, 2001 4:56 
PM, [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]wrote:> Thanks 
Jan,>> I have to apologize not to have explained the intended 
usage:> I need username, userpassword and userrole since I will use 
itfor> DB-Authorization (GRANT to group, and user to tables and so 
on,connecting> DB with username,userpass). I intend to synchronize 
username,password and> role with the authDB of the specific Datebase 
(Interbase andisc4.gdb). Is> there a methode like 
org.apache.catalina.realm.GenericPrincipalprincipal> = 
request.getUserPrincipal() for Tomcat 3.2.2 and is there anelegant> 
method for attaching password, too?>> Thank you for 
help>    Thomas
 
 


tomcat not running...

2001-05-28 Thread gildlrei

Hello guys,
I don't know what's happening with my tomcat installation, it was ok... but suddenly 
stopped. I'm running on win2k + IIS redirect mode. When type "tomcat start" on prompt 
C:\>, i receive the usual messages in a new "DOS" window and after it close 
automatically and tomcat process hang-up. My tomcat.log file doesn't register any 
error message.
Any suggestions are wellcome!
thanks in advance!



Tomcat on Windows 98

2001-05-28 Thread rocknation

I'm running Tomcat on Windows 98 and I can't get to my localhost:8080 =
page. Please take a look at my batch file. Thanks!

Rocknation

@echo off
rem A batch file to start/stop tomcat server.

rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome

rem Guess TOMCAT_HOME if it is not present

SET JAVA_HOME=3Dc:\jdk1.3.1
SET TOMCAT_HOME=3Dc:\tomcat
SET PATH=3D%JAVA_HOME%\bin

if not "%TOMCAT_HOME%" =3D=3D "c:\tomcat" goto gothome

SET TOMCAT_HOME=3D
if exist %TOMCAT_HOME%\bin\tomcat.bat goto gothome

SET TOMCAT_HOME=3D.
if exist %TOMCAT_HOME%\bin\tomcat.bat goto gothome

SET TOMCAT_HOME=3D..
echo Unable to determine the value of TOMCAT_HOME.

goto eof

:gothome

rem Set up the CLASSPATH that we need

set cp=3D%CLASSPATH%

set CLASSPATH=3D.
set CLASSPATH=3D%TOMCAT_HOME%\classes
set CLASSPATH=3D%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=3D%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=3D%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=3D%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
set CLASSPATH=3D%CLASSPATH%;%JAVA_HOME=3Dc:\jdk1.3.1%\lib\tools.jar

if "%cp%" =3D=3D "" goto next

rem else
set CLASSPATH=3D%CLASSPATH%;%cp%

:next
if "%1" =3D=3D "start" goto startServer
if "%1" =3D=3D "stop" goto stopServer
if "%1" =3D=3D "run" goto runServer
if "%1" =3D=3D "env" goto setupEnv
if "%1" =3D=3D "ant" goto runAnt
if "%1" =3D=3D "jspc" goto runJspc

echo Usage:

echo start - start tomcat in a separate window
echo run   - start tomcat in the current window
echo env   - setup the environment for tomcat
echo stop  - stop tomcat
echo ant   - run ant with tomcat context
echo jspc  - run jsp pre compiler
goto cleanup

:startServer
echo Starting tomcat in new window
echo Using classpath: %CLASSPATH%
start java %TOMCAT_OPTS% -Dtomcat.home=3D"%TOMCAT_HOME%" =
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

:runServer
rem Start the Tomcat Server
echo Using classpath: %CLASSPATH%
java %TOMCAT_OPTS% -Dtomcat.home=3D"%TOMCAT_HOME%" =
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

:stopServer
rem Stop the Tomcat Server
echo Using classpath: %CLASSPATH%
java %TOMCAT_OPTS% -Dtomcat.home=3D"%TOMCAT_HOME%" =
org.apache.tomcat.startup.Tomcat -stop %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup
goto cleanup

:runAnt
rem Run ant
set CLASSPATH=3D%CLASSPATH%;%TOMCAT_HOME%\lib\ant.jar
echo Using classpath: %CLASSPATH%
java %ANT_OPTS% -Dant.home=3D"%TOMCAT_HOME%" =
-Dtomcat.home=3D"%TOMCAT_HOME%" org.apache.tools.ant.Main %2 %3 %4 %5 %6 =
%7 %8 %9
goto cleanup

:runJspc
rem Run ant
echo Using classpath: %CLASSPATH%
java %JSPC_OPTS% -Dtomcat.home=3D"%TOMCAT_HOME%" org.apache.jasper.JspC =
%2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

:setupEnv
set cp=3D%CLASSPATH%

:cleanup
rem clean up

set CLASSPATH=3D%cp%
set port=3D
set host=3D
set test=3D
set jsdkJars=3D
set jspJars=3D
set beanJars=3D
set miscJars=3D
set appJars=3D
set appClassPath=3D
set cp=3D

rem pause
:eof


--=_NextPart_000_000A_01C0E783.669BEA40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable




jaxp/crimson/xalan

2001-05-28 Thread Dante le Poole

hi,

I have a apache 1.3.19/tomcat 3.2.1/w2k install with an app that using Xalan. 
Everything was working perfectly, though to get it all
working I had to play around with my classpath, with the jaxp and crimson jars, to 
avoid NoSuchMethodErrors.

Since then I've played around with some other webapps, after which I performed a clean 
install for the original webapp. Now I keep
getting the infamous sealing violation. I am 100% sure that I have the exact same 
versions of all the software and jars and the
webapp, so I know I must be able to get it running again.

I'm assuming it's a classpath problem, but no matter how I play around with the 
classpath I keep getting the same message. I don't
remember what my exact classpath used to be when all was working well.

Does anybody have any ideas how to get this setup working again?

Thanx,

Dante




Compile problems in FreeBSD 4.2

2001-05-28 Thread lance . hill

It has been suggested that the problem mentioned below may be fixed by
adding two more steps:

export LD_LIBRARY_PATH
=$JAVA_HOME/jre/lib/i386/hotspot:$JAVA_HOME/jre/lib/i386/native_threads:$JAVA_HOME/jre/lib/i386
export LD_ASSUME_KERNEL=2.2.5

I have tried these steps as well, but I still can't compile due to the
"can't find libjava.so" error. Is it possibly a problem due to the fact
that the jdk is compiled for linux? I do have the linux compatibility
package installed, but I have not tested it.

Original message:

I recently downloaded and installed jdk1.3.0_02 on a FreeBSD system. I
followed the instructions included with the jakarta-tomcat README which
indicated that I needed to set an environment variable of
JAVA_HOME=/usr/local/jdk1.3.0_02 and add $JAVA_HOME/bin to the PATH. The
instructions indicate that I should set the CLASSPATH if needed, but I do
not know if it is needed, or what it should be set to. When I try to run
./bootstrap.sh for jakarta-ant (install instructions for tomcat say it is
next step in setup of tomcat) I get:

/usr/local/jdk1.3.0_02/bin/java: /usr/bin/expr: not found
Error: can't find libjava.so.

The same messages pops up if I try to run ./build.sh for tomcat without
first installing ant.

The jdk was installed from j2sdk-1_3_1-linux-i386.bin.

How do I get past this error message to the next error message?

I have been unable to find documentation for setting this up in FreeBSD, so
if someone can point me in the direction of some, I would greatly
appreciate it.

Thanks.
- Forwarded by Lance Hill/OLS on 28-05-01 01:52 PM -
   
 
Lance Hill 
 
 To: [EMAIL PROTECTED]
 
25-05-01 cc:   
 
12:56 PM Subject: Install problems in FreeBSD 4.2  
 
   
 
   
 






BTW, apologies if this has already been received, but I keep getting
delivery failures.





Re: URL

2001-05-28 Thread Krishna Kishore Thotakura

I had seen the same question in the Tomcat FAQ. The solution is:
1. In web.xml

.
.

/whatever/*



2. Tell Apache to mount /whatever to Tomcat.
Add to your .conf file:
ApJServMount /whatever /ROOT

3.restart both tomcat and apache.

that should do it.



Brian Kejser wrote:
> 
> Hi
> 
> Is it possible to change the \servlet\ portion of the URL to something else?
> 
> For example,
> 
> www.domain.com/somepath/servlet/test to
> www.domain.com/somepath/whatever/test
> 
> Thanks

-- 
Krishna Kishore Thotakura.
Work 256 961 7818
Home 256 837 9927



RE: URL

2001-05-28 Thread Mathew Clark

Hi,

Use  in your deployment descriptor file. For Example:


  test
  /whatever/test


You are stuck with the context-path though. so your final url will look like
http://www.somedomain.com/context-path/whatever/test

remember to modify what ever config file you are using to inform tomcat that
it should be processing the above path.. for mod_jk this means adding the
following line

JkMount /context/whatever/test ajp12

or similar (dep. on ajp12 ajp13 etc).

Regards,

Matthew Clark.

-Original Message-
From: Brian Kejser [mailto:[EMAIL PROTECTED]]
Sent: 28 May 2001 17:51
To: '[EMAIL PROTECTED]'
Subject: URL


Hi

Is it possible to change the \servlet\ portion of the URL to something else?

For example,

www.domain.com/somepath/servlet/test to
www.domain.com/somepath/whatever/test

Thanks




URL

2001-05-28 Thread Brian Kejser

Hi

Is it possible to change the \servlet\ portion of the URL to something else?

For example,

www.domain.com/somepath/servlet/test to
www.domain.com/somepath/whatever/test

Thanks



Re: JDBC Connections

2001-05-28 Thread Gary Lawrence Murphy

> "s" == sibendud  <[EMAIL PROTECTED]> writes:

s> Hi, I feel its better to be used only when necessary and
s> released as soon as possible.  Best regards Sib

I would qualify this advice by adding "only when using DB connection
pools".  The overhead in making and breaking DB connections is
considerable.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)




Re: tomcat process dies out...

2001-05-28 Thread Krishna Kishore Thotakura

yeah..now, it works.

>nohup ./startup.sh -f server_1.xml >&1 &

could u please explain how it made a difference? 
What does redirection to '&1' mean? sorry, i am not a unix pro.

Jan Labanowski wrote:
> 
> The commands can also look like:
> 
> Under /bin/sh, /bin/ksh, /bin/bash, etc:
> 
>   nohup ./startup.sh -f server_1.xml > /tmp/mytomcat.log 2>&1 &
> 
> Under /bin/csh or /bin/tcsh
> 
>   nohup ./startup.sh -f server_1.xml >&! &
> 
> Jan
> [EMAIL PROTECTED]
> 
> On Mon, 28 May 2001, Krishna Kishore Thotakura wrote:
> 
> > It still doesnt work. I was under the impression that tomcat would run in the
> > background automatically. Also, i use the same command to start the
> > tomcat process on my other port(8080), and it works just fine.
> >
> > Milt Epstein wrote:
> > >
> > > On Mon, 28 May 2001, Mathew Clark wrote:
> > >
> > > > You may need to try
> > > >
> > > > nohup ./startup.sh -f server_1.xml &
> > > >
> 
> Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
> Ohio Supercomputer Center|Internet: [EMAIL PROTECTED]
> 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
> Columbus, OH 43212-1163  |http://www.osc.edu/

-- 
Krishna Kishore Thotakura.
Work 256 961 7818
Home 256 837 9927



Re: tomcat process dies out...

2001-05-28 Thread Jan Labanowski

The commands can also look like:

Under /bin/sh, /bin/ksh, /bin/bash, etc:

  nohup ./startup.sh -f server_1.xml > /tmp/mytomcat.log 2>&1 &

Under /bin/csh or /bin/tcsh

  nohup ./startup.sh -f server_1.xml >&! &


Jan
[EMAIL PROTECTED]

On Mon, 28 May 2001, Krishna Kishore Thotakura wrote:

> It still doesnt work. I was under the impression that tomcat would run in the 
> background automatically. Also, i use the same command to start the
> tomcat process on my other port(8080), and it works just fine.
> 
> Milt Epstein wrote:
> > 
> > On Mon, 28 May 2001, Mathew Clark wrote:
> > 
> > > You may need to try
> > >
> > > nohup ./startup.sh -f server_1.xml &
> > >

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/




Re: tomcat process dies out...

2001-05-28 Thread Krishna Kishore Thotakura

It still doesnt work. I was under the impression that tomcat would run in the 
background automatically. Also, i use the same command to start the
tomcat process on my other port(8080), and it works just fine.

Milt Epstein wrote:
> 
> On Mon, 28 May 2001, Mathew Clark wrote:
> 
> > You may need to try
> >
> > nohup ./startup.sh -f server_1.xml &
> >
> > This starts the process in the background and ignores hangups -
> > output is to a non-tty.
> 
> It was my impression that for most/all non-basic shells (e.g. anything
> but sh :-), backgrounding a job effectively nohup'ed it.  I use csh
> and tcsh, and have never ever had to use nohup, simple backgrounding
> was sufficient.  I thought such was the case for ksh (and its
> derivatives) as well, but upon checking out a few things, it appears
> that may not be the case.  So perhaps if one is using ksh et al, one
> needs to use nohup.
> 
> > -Original Message-
> > From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> > Sent: 28 May 2001 16:22
> > To: [EMAIL PROTECTED]
> > Subject: RE: tomcat process dies out...
> >
> >
> > On Mon, 28 May 2001, Pernica, Jan wrote:
> >
> > > this is a known bug of JDK 1.3 on NT
> >
> > But from the command he shows as how he's starting tomcat, it looks
> > like he's on a UNIX machine.
> >
> > I'd say that probably all he needs to do is start it in the
> > background, a la:
> >
> > ./startup.sh -f server_1.xml &
> >
> > Might want to redirect to capture stdout and stderr to files as well.
> >
> >
> > > On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
> > > [SMTP:[EMAIL PROTECTED]] wrote:
> > > > hello,
> > > > I am trying to setup multiple JVMs using mod_jk. the JVM running
> > > > at port 8080 is okay. I'm having problem with the JVM running at
> > > > port 8090. whenever, i log out of my server machine(the machine
> > > > where i am starting my apache and tomcat), the tomcat process
> > > > stops listening to the port 8090. Actually, the Tomcat(java)
> > > > threads are getting killed when i log out.
> > > >
> > > > Please let me know where i am going wrong?  i am starting tomcat1
> > > > as ./startup.sh -f server_1.xml
> > > >
> > > > thanks,
> > > > kishore.
> > >
> >
> > Milt Epstein
> > Research Programmer
> > Software/Systems Development Group
> > Computing and Communications Services Office (CCSO)
> > University of Illinois at Urbana-Champaign (UIUC)
> > [EMAIL PROTECTED]
> >
> 
> Milt Epstein
> Research Programmer
> Software/Systems Development Group
> Computing and Communications Services Office (CCSO)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]

-- 
Krishna Kishore Thotakura.
Work 256 961 7818
Home 256 837 9927



Signed certificate and tomcat

2001-05-28 Thread François Andromaque



How configure tomcat, after have create a new self 
signed certificate server.crt


Logger: concatenate, not delete??

2001-05-28 Thread Majid Ahmadian

Hi

Using Tomcat 3.2.1 on Linux. 

Tomcat deletes the logfile (tomcat.log) everytime it's restarted. 
How can I have him not to that, but keeps addign the log to the same file?

This is how it looks like in my server.xml: 

[...]

http://www.wip.se

Work   +46-455-339806 
Mobile +46-708-319106 






RE: tomcat process dies out...

2001-05-28 Thread Milt Epstein

On Mon, 28 May 2001, Mathew Clark wrote:

> You may need to try
>
> nohup ./startup.sh -f server_1.xml &
>
> This starts the process in the background and ignores hangups -
> output is to a non-tty.

It was my impression that for most/all non-basic shells (e.g. anything
but sh :-), backgrounding a job effectively nohup'ed it.  I use csh
and tcsh, and have never ever had to use nohup, simple backgrounding
was sufficient.  I thought such was the case for ksh (and its
derivatives) as well, but upon checking out a few things, it appears
that may not be the case.  So perhaps if one is using ksh et al, one
needs to use nohup.


> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> Sent: 28 May 2001 16:22
> To: [EMAIL PROTECTED]
> Subject: RE: tomcat process dies out...
>
>
> On Mon, 28 May 2001, Pernica, Jan wrote:
>
> > this is a known bug of JDK 1.3 on NT
>
> But from the command he shows as how he's starting tomcat, it looks
> like he's on a UNIX machine.
>
> I'd say that probably all he needs to do is start it in the
> background, a la:
>
> ./startup.sh -f server_1.xml &
>
> Might want to redirect to capture stdout and stderr to files as well.
>
>
> > On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
> > [SMTP:[EMAIL PROTECTED]] wrote:
> > > hello,
> > > I am trying to setup multiple JVMs using mod_jk. the JVM running
> > > at port 8080 is okay. I'm having problem with the JVM running at
> > > port 8090. whenever, i log out of my server machine(the machine
> > > where i am starting my apache and tomcat), the tomcat process
> > > stops listening to the port 8090. Actually, the Tomcat(java)
> > > threads are getting killed when i log out.
> > >
> > > Please let me know where i am going wrong?  i am starting tomcat1
> > > as ./startup.sh -f server_1.xml
> > >
> > > thanks,
> > > kishore.
> >
>
> Milt Epstein
> Research Programmer
> Software/Systems Development Group
> Computing and Communications Services Office (CCSO)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




RE: JDBC Connections

2001-05-28 Thread Paulo J S Pereira

Mathew,

It's been my experience to only use it when necessary and release it back to
the pool when done. Otherwise, it is redundant to have a pool to being with.
The pool's power comes in its management of "available" connections, if you
minimize the available connections, the pool will try to grow and eventually
lose it's effectiveness. You will also experience a performance hit for it.

Persistance layer implementaions rely on that principal in managing its
connection pool.

Paulo Pereira
Java/Web Developer
Sentricity Inc.,
A Division of Sentex Communications Corp.,
www.sentricity.com

-Original Message-
From: Mathew Clark [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 11:38 AM
To: [EMAIL PROTECTED]
Subject: JDBC Connections


Hi,

We have implemented a simple JDBC connection pool for our servlet - do you
think it is better to grab a connection once when a request is received and
use that connection throughout the processing or should the connection be
used only when necessary and released as soon as possible??

Regards,

Matthew.




RE: tomcat process dies out...

2001-05-28 Thread Mathew Clark

You may need to try

nohup ./startup.sh -f server_1.xml &

This starts the process in the background and ignores hangups - output is to
a non-tty.

Regards,

Matthew

-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: 28 May 2001 16:22
To: [EMAIL PROTECTED]
Subject: RE: tomcat process dies out...


On Mon, 28 May 2001, Pernica, Jan wrote:

> this is a known bug of JDK 1.3 on NT

But from the command he shows as how he's starting tomcat, it looks
like he's on a UNIX machine.

I'd say that probably all he needs to do is start it in the
background, a la:

./startup.sh -f server_1.xml &

Might want to redirect to capture stdout and stderr to files as well.


> On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
> [SMTP:[EMAIL PROTECTED]] wrote:
> > hello,
> > I am trying to setup multiple JVMs using mod_jk. the JVM running
> > at port 8080 is okay. I'm having problem with the JVM running at
> > port 8090. whenever, i log out of my server machine(the machine
> > where i am starting my apache and tomcat), the tomcat process
> > stops listening to the port 8090. Actually, the Tomcat(java)
> > threads are getting killed when i log out.
> >
> > Please let me know where i am going wrong?  i am starting tomcat1
> > as ./startup.sh -f server_1.xml
> >
> > thanks,
> > kishore.
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




Re: JDBC Connections

2001-05-28 Thread sibendud


Hi,
I feel its better to  be  used only when necessary and released as soon as
possible.
Best regards
Sib




"Mathew Clark" <[EMAIL PROTECTED]> on 05/28/2001 10:07:34 PM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  JDBC Connections


Hi,

We have implemented a simple JDBC connection pool for our servlet - do you
think it is better to grab a connection once when a request is received and
use that connection throughout the processing or should the connection be
used only when necessary and released as soon as possible??

Regards,

Matthew.










RE: Adding some new entries

2001-05-28 Thread Bhat, Mahesh

you need to restart - you can access the new servlets directly using their
class name 

http://myserver:8080/appname/servlet/servletclassname


in which case web.xml entries are not required

regards
mahesh

-Original Message-
From: RANDRIAMPARANY Honitriniela
[mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 4:28 PM
To: [EMAIL PROTECTED]
Subject: Adding some new  entries



Hi,

If I add some new  entries in the WEB-INF/web.xml file, do I have
to 
stop and then to start again the server? Is there other means which makes it

possible to avoid that?

--
Honitriniela Randriamparany Tel.: (022) 705 76 29
CUI, University of Geneva   Fax : (022) 705 77 80
CH-1211 GENEVE 4[EMAIL PROTECTED]



Important:

Internet communications are not necessarily secure and may be intercepted or changed 
after they are sent.
The Abbey National Group does not accept liability for any such changes. If you wish 
to confirm the origin or content of this communication, please contact the sender 
using an alternative means of communication.

This communication does not create or modify any contract.

If you are not the intended recipient of this communication you should destroy it 
without copying, disclosing or otherwise using its contents. Please notify the sender 
immediately of the error.

The Abbey National Group comprises Abbey National plc and its subsidiary group of 
companies.

Abbey National plc. Registered Office: Abbey House, Baker Street, London, NW1 6XL. 
Reg. No. 2294747.
Registered in England.



JDBC Connections

2001-05-28 Thread Mathew Clark

Hi,

We have implemented a simple JDBC connection pool for our servlet - do you
think it is better to grab a connection once when a request is received and
use that connection throughout the processing or should the connection be
used only when necessary and released as soon as possible??

Regards,

Matthew.




Adding some new entries

2001-05-28 Thread RANDRIAMPARANY Honitriniela


Hi,

If I add some new  entries in the WEB-INF/web.xml file, do I have to 
stop and then to start again the server? Is there other means which makes it 
possible to avoid that?

--
Honitriniela Randriamparany Tel.: (022) 705 76 29
CUI, University of Geneva   Fax : (022) 705 77 80
CH-1211 GENEVE 4[EMAIL PROTECTED]





Starting and stopping servlets on tomcat startup and shutdown

2001-05-28 Thread Zsolt Koppany

Hi,

as the subject shows is it possible that tomcat calls a class when
tomcat is just started or when it is shutting down?
My application needs database and some other external resources and it
would be nice if I could control those resources depending on the status
of tomcat.

Zsolt

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017



RE: tomcat process dies out...

2001-05-28 Thread Milt Epstein

On Mon, 28 May 2001, Pernica, Jan wrote:

> this is a known bug of JDK 1.3 on NT

But from the command he shows as how he's starting tomcat, it looks
like he's on a UNIX machine.

I'd say that probably all he needs to do is start it in the
background, a la:

./startup.sh -f server_1.xml &

Might want to redirect to capture stdout and stderr to files as well.


> On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
> [SMTP:[EMAIL PROTECTED]] wrote:
> > hello,
> > I am trying to setup multiple JVMs using mod_jk. the JVM running
> > at port 8080 is okay. I'm having problem with the JVM running at
> > port 8090. whenever, i log out of my server machine(the machine
> > where i am starting my apache and tomcat), the tomcat process
> > stops listening to the port 8090. Actually, the Tomcat(java)
> > threads are getting killed when i log out.
> >
> > Please let me know where i am going wrong?  i am starting tomcat1
> > as ./startup.sh -f server_1.xml
> >
> > thanks,
> > kishore.
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




RE: RE: How to get Role and Password from JDBC Realme -using 3.2.2

2001-05-28 Thread Pernica, Jan

The username and the password is part of the request. you can get it from
org.apache.catalina.util.Base64 base64Helper = new
org.apache.catalina.util.Base64();
String unencoded = new
String(base64Helper.decode(request.getHeader("authorization").getBytes()));
int colon = unencoded.indexOf(':');
if (colon < 0)
return (null);
String username = unencoded.substring(0, colon).trim();
String password = unencoded.substring(colon + 1).trim();

I hope it helps

Jan

On Monday, May 28, 2001 4:56 PM, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
wrote:
> Thanks Jan,
> 
> I have to apologize not to have explained the intended usage:
> I need username, userpassword and userrole since I will use it for
> DB-Authorization (GRANT to group, and user to tables and so on, connecting
> DB with username,userpass). I intend to synchronize username, password and
> role with the authDB of the specific Datebase (Interbase and isc4.gdb). Is
> there a methode like org.apache.catalina.realm.GenericPrincipal principal
> = request.getUserPrincipal() for Tomcat 3.2.2 and is there an elegant
> method for attaching password, too?
> 
> Thank you for help
>Thomas
> 
> "Pernica, Jan" wrote:
> >It depends what do you want:
> >to get user login = request.getRemoteUser()
> >to whether he/she have a role you can use
> >request.isUserInRole("myrole")
> >
> > Even you are able to get the list of roles
> > org.apache.catalina.realm.GenericPrincipal principal =
>  >request.getUserPrincipal();
>  >principal.getRoles()
> >
> >Regards
> >
>  >Jan
> 
> On Monday, May 28, 2001 4:22 PM, [EMAIL PROTECTED]
>  [SMTP:[EMAIL PROTECTED]]
>  wrote:
>  > Hello,
>  >
>  > I want to use the provided user_pass and user_role in the
>  > JDBCRealm-Database given in server.xml. What is the most
>  elegant way to do
>  > this? Of cource I would be able to get it via
>  request.getRemoteUser() and
>  > then make a select to the hardcoded database name with provided
>  auth user
>  > and pass like it is given in server.xml. But there must be a
>  better way
>  > since database name, username and driver url is already
>  included in the
>  > Realm section? How to use it? I read the JDBCRealm code but I
>  did not find
>  > out where it gets the connectionUrl a.s.o.
>  >
>  > Best Regards
>  >Thomas


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






Re: web application archive (WAR) file

2001-05-28 Thread Daniel de Almeida Alvares

Hi,
U can use the jar command of JDK, and rename to war extension the new file.
Regards

Daniel
___
Daniel de Almeida Alvares
Santos - SP - Brasil
[EMAIL PROTECTED]
- Original Message -
From: "RANDRIAMPARANY Honitriniela"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 12:13 PM
Subject: web application archive (WAR) file


>
> Hello,
>
> I'm a new Tomcat user. I have questions about the web application archive
> (WAR) file.
>
> How can I create a war file? Reciprocally, how can I unpack a war file?
What
> software must I use?
>
> Thanks for your helps.
>
> --
> Honitriniela Randriamparany Tel.: (022) 705 76 29
> CUI, University of Geneva   Fax : (022) 705 77 80
> CH-1211 GENEVE 4 [EMAIL PROTECTED]
>
>




RE: web application archive (WAR) file

2001-05-28 Thread Bhat, Mahesh

Hi


You could use the Ant tool to build a war file which in turn uses jar
command line utility available with JDK. For unpacking war files you can use
winzip or the jar utility available with JDK.

Ant is a subproject under the Apache/Jakarta and is also bundled with
Tomcat. Tomcat has a user guide which outlines the excat steps required.

regards

-Original Message-
From: RANDRIAMPARANY Honitriniela
[mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 4:13 PM
To: [EMAIL PROTECTED]
Subject: web application archive (WAR) file



Hello,

I'm a new Tomcat user. I have questions about the web application archive 
(WAR) file.

How can I create a war file? Reciprocally, how can I unpack a war file? What

software must I use?

Thanks for your helps.

--
Honitriniela Randriamparany Tel.: (022) 705 76 29
CUI, University of Geneva   Fax : (022) 705 77 80
CH-1211 GENEVE 4[EMAIL PROTECTED]



Important:

Internet communications are not necessarily secure and may be intercepted or changed 
after they are sent.
The Abbey National Group does not accept liability for any such changes. If you wish 
to confirm the origin or content of this communication, please contact the sender 
using an alternative means of communication.

This communication does not create or modify any contract.

If you are not the intended recipient of this communication you should destroy it 
without copying, disclosing or otherwise using its contents. Please notify the sender 
immediately of the error.

The Abbey National Group comprises Abbey National plc and its subsidiary group of 
companies.

Abbey National plc. Registered Office: Abbey House, Baker Street, London, NW1 6XL. 
Reg. No. 2294747.
Registered in England.



web application archive (WAR) file

2001-05-28 Thread RANDRIAMPARANY Honitriniela


Hello,

I'm a new Tomcat user. I have questions about the web application archive 
(WAR) file.

How can I create a war file? Reciprocally, how can I unpack a war file? What 
software must I use?

Thanks for your helps.

--
Honitriniela Randriamparany Tel.: (022) 705 76 29
CUI, University of Geneva   Fax : (022) 705 77 80
CH-1211 GENEVE 4[EMAIL PROTECTED]





Re: tomcat process dies out...

2001-05-28 Thread Krishna Kishore Thotakura

Hi,
 thanks for your quick response.

 But my server is a unix box running Red Hat 6.2.


"Pernica, Jan" wrote:
> 
> this is a known bug of JDK 1.3 on NT
> 
> On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
> [SMTP:[EMAIL PROTECTED]] wrote:
> > hello,
> >  I am trying to setup multiple JVMs using mod_jk. the JVM running at port
> 8080
> > is okay. I'm having problem with the JVM running at port 8090. whenever, i
> log
> > out of my server machine(the machine where i am starting my apache and
> tomcat),
> > the tomcat process stops listening to the port 8090. Actually, the
> Tomcat(java)
> > threads are getting killed when i log out.
> >
> >  Please let me know where i am going wrong?  i am starting tomcat1
> > as ./startup.sh -f server_1.xml
> >
> > thanks,
> > kishore.
> 
> __
> Tato komunikace je urcena vyhradne pro adresata a je duverna.
> This communication is intended solely for the addressee and is confidential.

-- 
Krishna Kishore Thotakura.
Work 256 961 7818
Home 256 837 9927



RE:RE: How to get Role and Password from JDBC Realme -using 3.2.2

2001-05-28 Thread me

Thanks Jan,

I have to apologize not to have explained the intended usage:
I need username, userpassword and userrole since I will use it for
DB-Authorization (GRANT to group, and user to tables and so on, connecting
DB with username,userpass). I intend to synchronize username, password and
role with the authDB of the specific Datebase (Interbase and isc4.gdb). Is
there a methode like org.apache.catalina.realm.GenericPrincipal principal
= request.getUserPrincipal() for Tomcat 3.2.2 and is there an elegant
method for attaching password, too?

Thank you for help
   Thomas

"Pernica, Jan" wrote:
>It depends what do you want:
>to get user login = request.getRemoteUser()
>to whether he/she have a role you can use
>request.isUserInRole("myrole")
>
> Even you are able to get the list of roles
> org.apache.catalina.realm.GenericPrincipal principal =
 >request.getUserPrincipal();
 >principal.getRoles()
>
>Regards
>
 >Jan

On Monday, May 28, 2001 4:22 PM, [EMAIL PROTECTED]
 [SMTP:[EMAIL PROTECTED]]
 wrote:
 > Hello,
 >
 > I want to use the provided user_pass and user_role in the
 > JDBCRealm-Database given in server.xml. What is the most
 elegant way to do
 > this? Of cource I would be able to get it via
 request.getRemoteUser() and
 > then make a select to the hardcoded database name with provided
 auth user
 > and pass like it is given in server.xml. But there must be a
 better way
 > since database name, username and driver url is already
 included in the
 > Realm section? How to use it? I read the JDBCRealm code but I
 did not find
 > out where it gets the connectionUrl a.s.o.
 >
 > Best Regards
 >Thomas




RE: tomcat process dies out...

2001-05-28 Thread Pernica, Jan

this is a known bug of JDK 1.3 on NT

On Monday, May 28, 2001 4:52 PM, Krishna Kishore Thotakura
[SMTP:[EMAIL PROTECTED]] wrote:
> hello,
>  I am trying to setup multiple JVMs using mod_jk. the JVM running at port
8080
> is okay. I'm having problem with the JVM running at port 8090. whenever, i
log
> out of my server machine(the machine where i am starting my apache and
tomcat),
> the tomcat process stops listening to the port 8090. Actually, the
Tomcat(java)
> threads are getting killed when i log out.
> 
>  Please let me know where i am going wrong?  i am starting tomcat1 
> as ./startup.sh -f server_1.xml
> 
> thanks,
> kishore.


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






RE: Multipart Request

2001-05-28 Thread Bhat, Mahesh

You should still be able to use the oreilly package with tomcat (I am
assuming you are refering to jason hunts package), Servlet Api 2,2 does not
provide any classes for multipart requests and you have to use third part
classes

regards
mahesh
-Original Message-
From: David DELGRANCHE [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 4:49 PM
To: Liste de diffusion TomCat (Adresse de messagerie)
Subject: Multipart Request


Hi

I have a servlet which has two parameters, a binary one and a
non-binary 
one. I used to work with JServ and an O'Reilly package to do multipart 
Request, so I could "pass" binary and non-binary informations in the same 
HttpServletRequest. I wanted using Tomcat and JSDK 2.2 to replace JServ and 
O'Reilly package without success.
Does anyone could help me? Is it possible to do so?
Thanks for reply


David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX




Important:

Internet communications are not necessarily secure and may be intercepted or changed 
after they are sent.
The Abbey National Group does not accept liability for any such changes. If you wish 
to confirm the origin or content of this communication, please contact the sender 
using an alternative means of communication.

This communication does not create or modify any contract.

If you are not the intended recipient of this communication you should destroy it 
without copying, disclosing or otherwise using its contents. Please notify the sender 
immediately of the error.

The Abbey National Group comprises Abbey National plc and its subsidiary group of 
companies.

Abbey National plc. Registered Office: Abbey House, Baker Street, London, NW1 6XL. 
Reg. No. 2294747.
Registered in England.



Re: Connector

2001-05-28 Thread Jeff Waugh

Yes.

- Original Message -
From: "Andrea Mari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 8:44 AM
Subject: Connector


> Hi,
>
> I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable
the
> http connector on port 8080 without any problems?
>
> I'm not sure.
>
> Thanks
> Andrea
>
>




tomcat process dies out...

2001-05-28 Thread Krishna Kishore Thotakura

hello,
 I am trying to setup multiple JVMs using mod_jk. the JVM running at port 8080
is okay. I'm having problem with the JVM running at port 8090. whenever, i log
out of my server machine(the machine where i am starting my apache and tomcat),
the tomcat process stops listening to the port 8090. Actually, the Tomcat(java)
threads are getting killed when i log out.

 Please let me know where i am going wrong?  i am starting tomcat1 
as ./startup.sh -f server_1.xml

thanks,
kishore.



RE: lb-problem with mod_jk: high cpu load on apache when tomcat breaks down

2001-05-28 Thread GOMEZ Henri

>The problem has been seen on both, ajp13 and ajp12. 
>We use tomcat-3.2.1.

Ok, I'm using TC 3.2.2b5 and 3.3m3.

>What do think about using mod_jserv again?

mod_jserv appears to be in end-of-life. No
more actively supported. I'd rather like see your
bug-report about the current apache tomcat connector
(mod_jk) 

>What kind of quality has the T3.3 cvs mod_jk? Is it possible to use it
>in a productive environment?

I used this one in production, it's stable and all
mod_jk bugs are fixed against this one since the
TC 3.2 is +/- closed for developpement (only fatal
bugs are to be fixed)


>Greetings,
>Timo
>
>GOMEZ Henri wrote:
>> 
>> Could you tell us if you're using ajp12 or ajp13 ?
>> 
>> The latest mod_jk in TC 3.3 cvs handle correctly the
>> case were on Tomcat failed or has been restarted 
>



Multipart Request

2001-05-28 Thread David DELGRANCHE

Hi

I have a servlet which has two parameters, a binary one and a non-binary 
one. I used to work with JServ and an O'Reilly package to do multipart 
Request, so I could "pass" binary and non-binary informations in the same 
HttpServletRequest. I wanted using Tomcat and JSDK 2.2 to replace JServ and 
O'Reilly package without success.
Does anyone could help me? Is it possible to do so?
Thanks for reply


David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE: How to get Role and Password from JDBC Realm

2001-05-28 Thread Pernica, Jan

It depends what do you want:
to get user login = request.getRemoteUser()
to whether he/she have a role you can use request.isUserInRole("myrole")

Even you are able to get the list of roles
org.apache.catalina.realm.GenericPrincipal principal =
request.getUserPrincipal();
principal.getRoles()

Regards

Jan

On Monday, May 28, 2001 4:22 PM, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
wrote:
> Hello,
> 
> I want to use the provided user_pass and user_role in the
> JDBCRealm-Database given in server.xml. What is the most elegant way to do
> this? Of cource I would be able to get it via request.getRemoteUser() and
> then make a select to the hardcoded database name with provided auth user
> and pass like it is given in server.xml. But there must be a better way
> since database name, username and driver url is already included in the
> Realm section? How to use it? I read the JDBCRealm code but I did not find
> out where it gets the connectionUrl a.s.o.
> 
> Best Regards
>Thomas


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






Re: Becoming a CA Authority

2001-05-28 Thread Eirik Dentz

If you are using openssl the following FAQ should do the trick.  (It worked
for me YMMV)

http://www.modssl.org/docs/2.8/ssl_faq.html#ToC29

You should also be able to find this under the docs for mod_ssl on your
system.

-- 
Eirik Dentz

> From: François Andromaque <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 28 May 2001 16:06:15 +0200
> To: <[EMAIL PROTECTED]>
> Subject: Re: Becoming a CA Authority
> 
> Where can i find the instructions create and sign a ca?
> 
> - Original Message -
> From: "Tim O'Neil" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 25, 2001 5:38 PM
> Subject: Re: Becoming a CA Authority
> 
> 
>> At 04:45 PM 5/25/2001 +0200, you wrote:
>>> Can someone tell me all the steps to become a CA Authority, create a new
>>> certificate and configure tomcat to use this certificate
>> 
>> Self sign your cert, and your a ca. Of course,
>> your clients will all get dialogs on their
>> browsers asking them if they want to trust your
>> unknown ca unless you can make them all add your
>> ca to their list of known ca's...
> 
> 




How to get Role and Password from JDBC Realm

2001-05-28 Thread me

Hello,

I want to use the provided user_pass and user_role in the
JDBCRealm-Database given in server.xml. What is the most elegant way to do
this? Of cource I would be able to get it via request.getRemoteUser() and
then make a select to the hardcoded database name with provided auth user
and pass like it is given in server.xml. But there must be a better way
since database name, username and driver url is already included in the
Realm section? How to use it? I read the JDBCRealm code but I did not find
out where it gets the connectionUrl a.s.o.

Best Regards
   Thomas




RE: Becoming a CA Authority

2001-05-28 Thread GOMEZ Henri

if you're using Linux box, just take a look at
jonama :

http://www.multimania.com/jonama/

There is the necessary stuff in to handle ca and
server certs

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: François Andromaque [mailto:[EMAIL PROTECTED]]
>Sent: Monday, May 28, 2001 4:06 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Becoming a CA Authority
>
>
>Where can i find the instructions create and sign a ca?
>
>- Original Message -
>From: "Tim O'Neil" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, May 25, 2001 5:38 PM
>Subject: Re: Becoming a CA Authority
>
>
>> At 04:45 PM 5/25/2001 +0200, you wrote:
>> >Can someone tell me all the steps to become a CA Authority, 
>create a new
>> >certificate and configure tomcat to use this certificate
>>
>> Self sign your cert, and your a ca. Of course,
>> your clients will all get dialogs on their
>> browsers asking them if they want to trust your
>> unknown ca unless you can make them all add your
>> ca to their list of known ca's...
>



RE: Apache w/ HTTPS - connection problems

2001-05-28 Thread Fred Huelsbeck
Title: RE: Apache w/ HTTPS - connection problems





Well, now you need to open the SSL port, 443.  If your goal is to allow only SSL access inside the firewall you will need to close port 80 from S1 to S2.

-Original Message-
From: Shiv Kumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Apache w/ HTTPS - connection problems



Hi all again,


While this problem was solved (the Apache on S2 was not listening to port
80!), I have another problem :(


The Servlet on S1 is invoked as https://S1/MyServlet/MyAction?myParam=1. The
doGet() method of the servlet opens an URLConnection to
http://S2/cgi-bin/mycgi.exe?myParam=1. The CGI may return a HTML page or PDF
document based on myParam.


The following observations are made :


When the servlet on S2 tries to get a HTML page returned by the CGI program
on S2, it works fine.


When it tries to get a PDF document from S2, the following happens :-


  1. On IE, with Acrobat Web Integration On, it says


  "Internet Explorer cannot download
  https://S1/MyServlet/MyAction?myParam=1 from myserver.domain.com.
  Internet Explorer was not able to open this internet site. The
  requested site is either unavailable or can not be found. Please
  try again later."


  2. On IE, with Acrobat Web Integration Off, it behaves the same was as in
 #1.
  3. On Netscape, with Acrobat Web Integration On, it displays a blank page.
 On the servlet side I could notice that the doGet() method is called
 twice !!
  4. On Netscape, with Acrobat Web Integration off, it successfully opens
 the PDF file :)


Netscape - verson 4.74
IE - version 5.50.4522.1800


As I noted in my earlier mail, everything works fine if connection to S1 is
HTTP instead of HTTPS.


Thanks for any help.
--
shiv
[EMAIL PROTECTED]


Shiv Kumar wrote:


> Hi all
>
> This is a problem Im facing with Apache + Mod_SSL (for HTTPS).
>
> Consider this scenario :
>
>  |-|
>  |-|
> +-+  |-|   +-+
> | A  |  T |  |-|   | A  |    |
> | p  |  o |  |-|   | p  |  C |
>  HTTPS  | a  |  m |  |-| HTTP  | a  |  G |
> --->| c  |  c |--|-|-->| c  |  I |
> | h  |  a |  |-|   | h  |    |
> | e  |  t |  |-|   | e  |    |
> +-+  |-|   +-+
>  |-|
> S1   |-|   S2
>  |-|
>    Firewall
>
> When the servlet on S1 tries the following :
>
> URL url = new URL("http://S2/cgi-bin/mycgi.exe");
> URLConnection conn = url.openConnection();
> InputStream in = conn.getInputStream(); < FAILS HERE
>
> The exception is :
> 
> java.net.ConnectException: Connection refused: no further information
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
> at java.net.Socket.(Socket.java:273)
> at java.net.Socket.(Socket.java:100)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
> at sun.net.www.http.HttpClient.(HttpClient.java:267)
> at sun.net.www.http.HttpClient.(HttpClient.java:277)
> at sun.net.www.http.HttpClient.New(HttpClient.java:289)
> at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
>
> .java:379)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
>
> nection.java:472)
> 
>
> This used to work before introducing SSL module on Apache running on S1
> (i.e. when it was HTTP everywhere).
>
> Any idea of whats going wrong? Thanks.
> --
> shiv
> [EMAIL PROTECTED]





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: Becoming a CA Authority

2001-05-28 Thread François Andromaque

Where can i find the instructions create and sign a ca?

- Original Message -
From: "Tim O'Neil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 5:38 PM
Subject: Re: Becoming a CA Authority


> At 04:45 PM 5/25/2001 +0200, you wrote:
> >Can someone tell me all the steps to become a CA Authority, create a new
> >certificate and configure tomcat to use this certificate
>
> Self sign your cert, and your a ca. Of course,
> your clients will all get dialogs on their
> browsers asking them if they want to trust your
> unknown ca unless you can make them all add your
> ca to their list of known ca's...




alias tag in server.xml file

2001-05-28 Thread Jacob Kristiansen




Hi
I'm having problems with the alias tag for virtual 
hosts in my server.xml file. Although catalina recognises the host just fine, 
the name I specified in the alias tag becomes an alias to the default host, and 
not the virtual host under which the tag is nested...Has anyone else encountered 
this problem?
I would like to avoid using Apache to handle my 
virtual hosts, as I have found this quite troublesome with 
catalina.
Any help and comments appreciated
Jacob Kristiansen


Re: Connector

2001-05-28 Thread Wolle

hello Andrea,
yes you could do this,
it's only neccesary when you use tomcat as stand alone web server,
when you use it with apache or so, it communicates over ajp12 or ajp13 (Port
8007 /Port 8009)
the only thing you don't do disable is the ajp12, when you use the ajp13,
because it is needed to shutdown tomcat.

Greetings,
Michael

Andrea Mari wrote:

> Hi,
>
> I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable the
> http connector on port 8080 without any problems?
>
> I'm not sure.
>
> Thanks
> Andrea

--
__




RE: Connector

2001-05-28 Thread GASNIER Lise

Yes The HTTPConnectionHandler on port 8080 is used by TOMCAT running in
standalone mode

> -Message d'origine-
> De:   Andrea Mari [SMTP:[EMAIL PROTECTED]]
> Date: lundi 28 mai 2001 14:44
> À:[EMAIL PROTECTED]
> Objet:Connector
> 
> Hi,
> 
> I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable
> the
> http connector on port 8080 without any problems?
> 
> I'm not sure.
> 
> Thanks
> Andrea



Virtual Hosts

2001-05-28 Thread Martin Mauri

Hi users,

has anyone here got running Virtual Hosts with Apache and Tomcat 3.2.1
within the same server.xml? I'm having problems, cause, though Apache
recognise those virtual hosts, Tomcat doesn't. I attach my conf files.

any help will be appreciated.

regards.

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) 4373-7786/7 int: 422
[EMAIL PROTECTED]
www.profesi.com.ar




















  



































   





  
















		
		
  			
  			
		
		



 
  



		
		
  			
		
		
		
  			
		



 workers.properties
 httpd.conf


Re: lb-problem with mod_jk: high cpu load on apache when tomcat breaks down

2001-05-28 Thread Timo Carl

The problem has been seen on both, ajp13 and ajp12. 
We use tomcat-3.2.1.

What do think about using mod_jserv again?
What kind of quality has the T3.3 cvs mod_jk? Is it possible to use it
in a productive environment?

Greetings,
Timo

GOMEZ Henri wrote:
> 
> Could you tell us if you're using ajp12 or ajp13 ?
> 
> The latest mod_jk in TC 3.3 cvs handle correctly the
> case were on Tomcat failed or has been restarted 

begin:vcard 
n:Carl;Timo
tel;fax:++49/40/3703-7759
tel;work:++49/40/3703-7275
x-mozilla-html:FALSE
url:http://www.travelchannel.de
org:G+J travelchannel;Technik
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Am Baumwall 11=0D=0AD-20459 Hamburg
fn:Timo Carl
end:vcard



jsp files "waiting for reply"

2001-05-28 Thread Super-User

Hello Tomcat users,

I have recently installed tomcat 3.2.1 at my I386 solaris machine and am
experiening some problems.  The installation of the package went (of
course) just fine. I extracted the tar.gz file and ran startup.sh
afterwards. Everything startsup just fine. When connecting to the server
@:8080 I get the default webpage. When going to servlet examples I am
not experiencing any problem with anyone of them. However, when I try to
use the jsp examples (from either the local solaris host, a linux
netscape 4.77 browser or a IE4.01) the browser connects and keeps
waiting for a reply. Quite strange, because I have installed tomcat
exactly in the same way on a linux host a while ago and there's no
problem there. Have to mention that on the linux host I am using
j2sdk1.3.0 and on the solaris java1.2.

Of course I set the JAVA_HOME, TOMCAT_HOME, messed arround with the
classpath nothing works. The onlything that's really working is my
harddrive, which is filling my disk with data on $TOMCAT_HOME/work/
-
-rw-r--r--   1 root other207192064 May 28 14:43
_0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java
-

and it keeps on doing that till the disk is full, even when I stop my
browser from trying (after >30 minutes)
Running top gives a CPU load of 80-90% for java(which drop after running
a shutdown)

It doesn't mather whether I am using the build in webserver or apache. I
compiled the mod_jk module and tryed the same under apache... no result.
I also changed ajp12 in mod_jk.conf-auto to ajp13 (after changing
server.xml ofcourse) still no results

has anyone experienced the same problem and know how to solve this? I
have found nothing (execpt the same question without an answer) at
usenet, google or the faq.

kind regards, maarten hartsuijker

using:
solaris 2.8 INTEL
java1.2
mod_jk
tomcat 3.2.1
apache 1.3.20





Connector

2001-05-28 Thread Andrea Mari

Hi,

I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable the
http connector on port 8080 without any problems?

I'm not sure.

Thanks
Andrea




RE: mod_jk is garbled? Garbled? I got the binary...

2001-05-28 Thread GOMEZ Henri

MOD_JK present on jakarta.apache.org in RPM 
are BUILT AGAINST MOD_SSL (EAPI)

Could you check the mailing list archive before 
asking this since it has been allready explained

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg09075.html

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: Scott Merritt [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 24, 2001 12:20 AM
>To: '[EMAIL PROTECTED]'
>Subject: mod_jk is garbled? Garbled? I got the binary...
>
>
>Upgraded Apache to 1.3.20, got Tomcat 3.2.1.  Downloaded 
>binary of mod_jk,
>but when it tries to load it I get:
>
>Starting httpd: Syntax error on line 8 of
>/usr/local/tomcat/conf/mod_jk_set.conf:
>API module structure `jk_module' in file 
>/usr/local/apache/libexec/mod_jk.so
>is garbled - perhaps this is not an Apache module DSO?
>
>What's the deal with that?  Any ideas?  Tried compiling 
>myself, but apxs
>dies at the end.  I got it from the linux dir, and I'm running 
>Redhat 7.0
>
>Thanks..
>



RE: mod_jserv.so or mod_jserv_tomcat.so?

2001-05-28 Thread GOMEZ Henri

mod_jserv from ApacheJServ is not 100% compatible
with ajp12 used in Tomcat.

The mod_jserv_tomcat.so was called like this to 
indicate it's a mod_jserv but for tomcat.

But I recommand you to use mod_jk / ajp13

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: Scott Merritt [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 23, 2001 7:44 PM
>To: '[EMAIL PROTECTED]'
>Subject: mod_jserv.so or mod_jserv_tomcat.so?
>
>
>Just trying to figure out which I should be using for Tomcat 
>3.2.1 since the
>documentation explains building mod_jserv but if I look at the already
>compiled dir
>(http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_
>ug.html) I
>only see mod_jk.so and mod_jserv_tomcat.so.  If I use these, 
>how does this
>affect my tomcat.conf file?  Instead of having:
>
>
>
>Should it be:
>
>
>
>Or...
>
>
>
>Also, I tried building mod_jserv (on Redhat 7.0 with gcc version 2.96
>2731) but it dies at the end, so that's why I headed to the already
>compiled versions:
>$ apxs -c -o mod_jserv.so *.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c autochange.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_ajpv11.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_ajpv12.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_balance.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_image.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_mmap.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_protocols.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_status.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_utils.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_watchdog.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_wrapper.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_wrapper_unix.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c jserv_wrapper_win.c
>gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
>-DNO_DL_NEEDED
>-I/usr/local/apache/include  -c mod_jserv.c
>  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
>jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
>jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o 
>jserv_ajpv12.o
>jserv_ajpv11.o autochange.o 
>apxs:Break: Command failed with rc=16777215
>



RE: lb-problem with mod_jk: high cpu load on apache when tomcat breaks down

2001-05-28 Thread GOMEZ Henri

Could you tell us if you're using ajp12 or ajp13 ?

The latest mod_jk in TC 3.3 cvs handle correctly the
case were on Tomcat failed or has been restarted 

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: Timo Carl [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 23, 2001 4:38 PM
>To: [EMAIL PROTECTED]
>Subject: lb-problem with mod_jk: high cpu load on apache when tomcat
>breaks down
>
>
>Hello tomcat-users,
>
>We are having a problem with mod_jk and load balancing. 
>Does anyone else have had similar problems with that kind of
>architecture setup?
>
>Our System:
>===
>Alteon switch (round robin)
>|
>|
>three Apache 1.3.19 on three SPARC-Servers (called s1,s2,s3)(3 CPU, 3
>GB)
>|
>|each:
>mod_jk with lb (in case of s1: 1*s1,0.001*s2,0.001*s3)
>|
>|
>|
>two tomcats-3.2.1 on each server (jdk1.2.2, native threads, -Xms50M
>-Xoss4M -Xss4M -Xmx600M)
>
>We chose this architecture because the alteon is not able to perform
>session tracking properly.
>
>The Problem:
>
>On startup, the system works fine. Each java-Process has about 1-8% CPU
>load.
>After one day or so, one tomcat takes 40% CPU load or more. I think the
>reason is inside our applications. But thats not the error I want to
>post:
>
>After the error of a tomcat, the httpd-processes on EACH 
>Server begin to
>take a lot of CPU time (8-30% each).
>In server-status I can see that the processes are waiting for 
>a response
>of that tomcat.
>Of course I want to have a fault tolerance, but when I have a problem
>with one server, the other servers go down too.
>
>
>Did/Does anyone have the same problem and/or a similar system
>architecture?
>Maybe anyone solved that problem?
>
>Greetings and thanks in advance,
>Timo Carl
>



Re: Problems with XML parsing: "welcome-file-list" (web.xml)

2001-05-28 Thread christian kuehrt

thanks for your help
i´didnt know that the order of the tags plays an important role
ciao

curt

- Original Message -
From: "Pernica, Jan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 2:02 PM
Subject: RE: Problems with XML parsing: "welcome-file-list" (web.xml)


> That is easy. Look into conf/web.dtd.
> welcome-file-list need not preceede the servlet.
>
> Regards
>
> Jan
>
> On Monday, May 28, 2001 1:57 PM, christian kuehrt
> [SMTP:[EMAIL PROTECTED]] wrote:
> > everytime i try to deploy my application i get the following message:
> >
> > PARSE error at line 18 column -1
> > org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app
> servlet
> > Starting service Tomcat-Apache
> > Apache Tomcat/4.0-b3
> >
> > and the reason for this are in the web.xml:
> >
> > 
> > 
> >
> >
> >  techSupp.html
> >
> >
> ><--line 18
> >  techSup...
> >
> >
> > without the  tags the deploying - is no problem. but
> with it i get a the parse error.
> > but i don´t know why.
> > please help
> >
> > thx christian kuehrt
>
>
> __
> Tato komunikace je urcena vyhradne pro adresata a je duverna.
> This communication is intended solely for the addressee and is
confidential.
>
>
>
>




RE: Problems with XML parsing: "welcome-file-list" (web.xml)

2001-05-28 Thread Pernica, Jan

That is easy. Look into conf/web.dtd.
welcome-file-list need not preceede the servlet.

Regards

Jan

On Monday, May 28, 2001 1:57 PM, christian kuehrt
[SMTP:[EMAIL PROTECTED]] wrote:
> everytime i try to deploy my application i get the following message:
>  
> PARSE error at line 18 column -1
> org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app
servlet
> Starting service Tomcat-Apache
> Apache Tomcat/4.0-b3
>  
> and the reason for this are in the web.xml:
>  
> 
> 
> 
>
>  techSupp.html
>
>  
><--line 18
>  techSup...
>  
>  
> without the  tags the deploying - is no problem. but
with it i get a the parse error.
> but i don´t know why.
> please help
>  
> thx christian kuehrt


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






Problems with XML parsing: "welcome-file-list" (web.xml)

2001-05-28 Thread christian kuehrt



everytime i try to deploy my application i get the 
following message:
 
PARSE error at line 18 column 
-1org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app 
servletStarting service Tomcat-ApacheApache Tomcat/4.0-b3
 
and the reason for this are in the 
web.xml:
 


  
    
techSupp.html  

 
  
   
<--line 18
    
techSup...
 
 
without the  tags the 
deploying - is no problem. but with it i get a the parse error.
but i don´t know why.
please help
 
thx christian kuehrt


Re: Problem with importing package in JSP

2001-05-28 Thread Christopher Benson

Kris,

You're missing the @ sign.  You wrote:

<% page import=3D"package.name.*" %>

It should be:

<%@ page import=3D"package.name.*" %>

Take care,
Christopher Benson




Retrieving Binary and non-binary information from a servlet

2001-05-28 Thread David DELGRANCHE

Hi,

Does anyone can explain me how to retrieve binary and non-binary information 
from a servlet using Tomcat. Does JSDK 2.2 supports that?
Thanks a lot for hel^p
David.

David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE :

2001-05-28 Thread François Andromaque






Hello,
I have allready :
 

  add jcer.jar, jnet.jar, jsse.jar into the 
  CLASSPATH directory 
  generated a SSL certificate with openssl 
  with alias 'tomcat'
  activated SSL connector in server.xml with a port 
  value of 8443 ( port value 8443, keystore ok, keypass ok)
  Added 
  security.provider.2=com.sun.net.ssl.internal.ssl.Provider to the 
  $JAVA_HOME/jre/lib/ext/java.security file
but i can'nt still connect to the server by 
requesting https://server_ip_adress:8443 
: connection refused!
 


Query

2001-05-28 Thread haneesh



 
on compiling the attached java file i receive the 
following error
 
C:\test\changed\loginagain.java:27: cannot resolve 
symbolsymbol  : method setMaxInactiveInterval  (int)location: 
interface 
javax.servlet.http.HttpSession    
httpsession.setMaxInactiveInterval(1800);
   
^1 error
 
i am using servlet2.2 api
 
please advice
 
thanks
 loginagain.java


Re: How to debug and run a JSP file or Servlet with JBuilder 4 ?

2001-05-28 Thread Dominique BATARD

Sorry, this one is the good one :
http://www.jboss.org/documentation/HTML/ch11s99.html

Dom

- Original Message -
From: "Huynh Tin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 5:36 AM
Subject: How to debug and run a JSP file or Servlet with JBuilder 4 ?


> Hi all,
> I have Jbuilder4 Foundation version, it doesn't include Tomcat ..,
> But i had Jakarta-Tomcat-3.2.1
>
> Anyone help me , let me know how could i debug or run JSP or Servlet with
> this version of JBuilder4 and Tomcat,
> Or let me know any Document about this problem, how could i config TomCat
> with this version of JBuilder4.
> Thank you
> Best regards !
>
> Huynh Tin
>
>
>




Re: How to debug and run a JSP file or Servlet with JBuilder 4 ?

2001-05-28 Thread Dominique BATARD

Using JBuilder4 Foundation, I've integrated JBoss-Tomcat. I can now also
debug JSP (and EJB of course)

see http://www.jboss.org/documentation/HTML/ch11.html#howtotomcat

Dom
- Original Message -
From: "Edwin Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 8:41 AM
Subject: Re: How to debug and run a JSP file or Servlet with JBuilder 4 ?


> Huynh Tin wrote:
>
> >Anyone help me , let me know how could i debug or run JSP or Servlet with
> >this version of JBuilder4 and Tomcat,
>
> Looking at the feature matrix, it would only work with JBuilder
Enterprise.
>
> http://www.borland.com/jbuilder/jb4/feamatrix/
>
> Bye,
> Edwin Martin.
>
> --
> Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/
>
>




Error :not in streaming mode when indexed

2001-05-28 Thread Didier Imbreckx

Hello,

I have the following error when an indexer is indexing my jsp site (jsp with
oracle jdbc),
"Java.sql.exception: not in streaming mode".

I have no long field in the queried tables.

If not indexed, my site is working  fine.

I'm using tomcat 3.1, jdbc oracle 7x, oracle 7.3.4 and apache 1.3.9

Thanks for helping me!

Didier





Re:xtp in Tomcat

2001-05-28 Thread Twylite

Hi there,

>Is anybody have HOWTO for using xsl stylesheets for jsp output in Tomcat?
>I think about something like xtp in Resin.

Don't know anything about xtp or Resin, but there are a couple of possible answers to 
your question:

1. Take a look at Cocoon, if you're insterested in trying XSP instead of JSP.

2. To stick with JSP try the x-tags library (also from jakarta.apache.org).  It allows 
you to parse XML within your 
JSP page, and format it using XSL.  Alternatively you can just include an XSL 
formatted XML file in your output.  
x-tags also suppots XPath and a sortof dynamic XSL-in-JSP syntax, allowing some pretty 
funky stuff:

(If your browser displays HTML the following may not work too well...)
--






--
This will parse the inline XML document, and then output (to the current JSP output 
stream) the name attribute 
of the author element.  Combining that with other elements of JSP, you can do stuff 
like:

--







--

This will parse the inline XML, then apply the specified stylesheet and include the 
results in the output stream.
(Note: before you tear out your hair trying to use xtags:style ... the xsl= path MUST 
have a leading / )


3. You can generate XML from the JSP page, and allow the browser to do the XSL 
formatting by associating 
the appropriate stylesheet with the xml generated:



http://www.mydomain.com";>




Hope this helps 

Twylite





RE: Tomcat and certificate

2001-05-28 Thread Pernica, Jan

In the jdk1.3 documentation there is a chapter about security and there is
description how to convert
keys generated by openssl into JKS key store used by JSSE.

On Monday, May 28, 2001 9:40 AM, François Andromaque
[SMTP:[EMAIL PROTECTED]] wrote:
> I have created a new key and a new certificate with openssl, how can do to
tomcat work with this new cert and this new key.


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






Tomcat and certificate

2001-05-28 Thread François Andromaque



I have created a new key and a new certificate with 
openssl, how can do to tomcat work with this new cert and this new 
key.


Re: What Webserver is different from Web Application Server ?

2001-05-28 Thread TRichter

Hello Huynh Tin,

best take a look at
http://java.sun.com/events/jbe/98/features/appservers.html. IMHO it is a
good introduction.

Ciao
   Thomas

You wrote:
 >Hi All,
 >I'm sorry for my basic question.
 >I don't know what is different between WebServer and WebApplication
 >Server.
 >Could anyone help me to answer or let me know any document about
 >this
 >problem.
>
> Thank you !
> Best regards !
> Huynh Tin