Re: Tomcat and weblogic

2001-05-27 Thread Nirvana

Tomcat is a servlet/JSP engine with a small in efficient web engine. It can
not host any other stuff like EJBs or anything. But Weblogic is an
AppServer. So it has both an EJB container/engine and a Servlet/JSP engine.
but some ppl use tomcat for their servlet/JSP hosting for it's known
performance and use any other appserver like weblogic for EJB hosting.

-Nirvana

-Original Message-
From: Salwa Ananou [EMAIL PROTECTED]
To: Tomcat-User (E-mail) [EMAIL PROTECTED]
Date: Friday, May 25, 2001 3:26 AM
Subject: Tomcat and weblogic


Hi,

I m a new tomcat user and i don't know a lot about it;

My stuff is designed to work with an application server and i need also
tomcat;

Can i use Tomcat as a application server, ? or must I install weblogic and
tomcat at the same machine;

or does weblogic include all tomcat fonctionalities; so i don't need
tomcat.

thanks






[3.3m3][NT4sp6][sun hotspot 1.3.0_01][jni] create (code=10106) error!

2001-05-27 Thread Tae Grt

Hello, community!

PLEASE, can anybody lend me a helping hand?

The problem:
i'm developing a tool for running tomcat (and
other java apps)
under NT and unix-s. It features control over
environment, directories, logs, it traces
tomcat coming down and brings it up automatically,
it helps in running multiple tomcat instances.
It also manages the sucurity (what user tomcat
is running under and who have access permissions
to start/stop it).(The enviroment borrowes
some code form the Alexandria Java Service,
http://www.alexandriasc.com/software/JavaService/)

The problem: when i run tomcat 3.3m3 under this
environment (i load jvm via JNI JVM_Create..)
and i give a new environment to it (almost
empty). Tomcat fails to start, i attach
a file with stack traces. The problem
comes from java.net.PlainSocketImpp.socketCreate
(Native Method).
I've got sun hotspot 1.3.0_01

The funny thing is that when i
run this from tomcat.bat it starts ok!
(Looks like the same thing happens
when i run it from Alexandria Java Service).

What am i Missing?? Please help! (I'm behind
all deadline with my university project :-(( )

The only difference i can see is passing almost
clean environment to the application.. What do
i need there to make it work?

Will appriciate every bit of help!

Anthony
P.S.  Please, could you cc the copies
to me personally (i do receive list
evry day, but it's so easy to get
lost there..)

P.P.S. If all goes well, my will
be available as open source as APL.

P.P.P.S. One more funny thing: i pass class path to
JVM at creation as -Djava.class.path=...;..;...
when i use sun   hotspot\jvm.dllit goes okay.
when i use sun   classic\jvm.dllit does not find
my startup.Main
when i use ibm(1.3) classic\jvm.dll it does not find
my startup.Main
Maybe some ideas on this too?


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


Re: tomcat services on NT

2001-05-27 Thread prabakaran

thank you .but i didn't integrate with apache. so i don't think that it
should  be configured.tomcat works fine when invoked through the
startup.bat command,but
i have problem when i start services in control panel.

thanks
prabakar
 

Joan wrote:

 Did you installed mod_jk.dll properly?
 see How to install mod_jk in tomcat doc...
 Hope it helps...

 Le Dimanche 27 Mai 2001 05:58, vous avez écrit :
  Hi all,
 
  I installed tomcat in winnt and configured jk_nt_service to
  start the service on control panel.I'm able to
  access the servlet examples that come with tomcat but i have problem in
  accessing the JSP examples.I modifed the wrapper.properties file as
  given in
  tomcat documentation. the error page cannot be found  is displayed
 
  Anyone have answer ??
 
 
  TIA
 
  prabakar
 
 




Tomcat and Apache on different machines

2001-05-27 Thread Kumar Vijayaratnam

Hello,

I am trying to configure two separate machines one with Tomcat 3.2.1 and

another with apache with mod_jk

The config is as follows:-

Machine1:

Tomcat 3.2.1 + mod_jk

workers.properties

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

server.xml

contains the standard configuration

Machine2

Apache is setup to load mod_jk

This machine also has tomcat loaded

The workers.properties file on Machine2 has the following entry

worker.ajp13.port=8009
worker.ajp13.host=machine1
worker.ajp13.type=ajp13

Then I add the following mount points

JkMount /myapp/servlet/* ajp13
JkMount /myapp/*.jsp ajp13


I then startup Tomcat on Machine1 followed by apache on Machine2

When I then type on http://www.myhost.com/myapp/myjsp.jsp

I don't get my application just a message saying 404 not found.


I have tried telnet machine1  8009  but nothing is returned...


Am I setting  this up correctly ?.

Any help would be appreciated,

Regards
Kumar








Re: Tomcat and Apache on diffenet machines

2001-05-27 Thread Kumar Vijayaratnam


David,
Can you state what needs to be implemented on machine1 and machine2,
I have posted another query the contents of which I have pasted below:-
I am trying to configure two separate machines one with Tomcat
3.2.1 and another with apache with mod_jk
The config is as follows:-
Machine1:
--
Tomcat 3.2.1 + mod_jk
workers.properties
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
JkMount
server.xml contains the standard configuration
with Context of

Context path="/myapp"

docBase="/packages/apps/myapp" />
Machine2
--
Apache is setup to load mod_jk
This machine also has tomcat loaded
The workers.properties file on Machine2 has the following entry
worker.ajp13.port=8009
worker.ajp13.host=machine1
worker.ajp13.type=ajp13
Then I add the following mount points
JkMount /myapp/servlet/* ajp13
JkMount /myapp/*.jsp ajp13

I then startup Tomcat on Machine1 followed by apache on Machine2
When I then type on http://www.myhost.com/myapp/myjsp.jsp
I don't get my application just a message saying 404 not found.

I have tried telnet machine1 8009 but nothing is returned...
Regards
Kumar
"David Cassidy (Programmer)" wrote:

Yup this is possible 
and if you are using the loadbalancing module ( so you
can have more
than 1
tomcat for your apache(s) to talk to) essential
in workers.properties you should find something like ...
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1
To define another service try ...
worker.external_1.port=8007
worker.external_1.host=192.168.34.43
worker.external_1.type=ajp12
worker.external_1.lbfactor=1
You can define as many of these as you want.
You can then define a loadbalancer ( if you want to)
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, external_1,
external_2 etc
then
worker.list=loadbalancer
and you have got load balancing
If you just want to use a single tomcat host then
worker.list=external_1
in your mod_jk.conf
JkMount /test/* loadbalancer
or
JkMount /test/* external_1
Hope this helps
David
PS If you are going to do loadbalancing I suggest you
use ajp12
 it takes less time to recover if than ajp13


Kumar Vijayaratnam wrote:
>
> Michael,
>
> Did you ever get an answer to this question.. I also
posted a similar
> question but have never received an answer.
>
> Regards
> Kumar
>
> Wolle wrote:
>
> > Hello all,
> > Is it possible to use Apache with mod_jk to a extrenal
Tomcat ?
> > I have found something like this for the mod_jserv
(to insert in the
> > httpd.conf)
> > ApJServMount /examples ajpv12://hostname:port/root
> >
> > Is it also with mod_jk ?
> >
> > JkMount /test/* ajp12://test.domain.com:8007/root
> > and
> > JkMount /test/* ajp13://test.domain.com:8009/root
> >
> > ?
> >
> > Has someone tested this behavior ?
> >
> > Greetings,
> > Michael



RE: IIS with Tomcat 3.2.1 on Windows 2000

2001-05-27 Thread LUN

Hi,
I have checked the setting many times, My app is based on
C:\tomcat\bin\. I have try both \ and \\, but no luck for this.
the filter still cannot get work.
Do you have any hints 
Thanks 

On Sat, 26 May 2001, Will Thien wrote:

 Check for Typo's in registry. Also check check your virtual directory
 spelling. Restart all IIS services after changing registry. Below is a
 layout of what I used with tomcat being in H:\apps. You do not include the
 // only a /.
 
 Will Thien
 
 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
 Redirector\1.0]
 extension_uri=/jakarta/isapi_redirect.dll
 log_file=H:\\apps\\tomcat\\logs\\iis_redirect.log
 log_level=debug
 worker_file=H:\\apps\\tomcat\\conf\\workers.properties
 worker_mount_file=H:\\apps\\tomcat\\conf\\uriworkermap.properties
 
 -Original Message-
 From: LUN [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, May 26, 2001 12:25 PM
 To: tomcat-user
 Subject: IIS with Tomcat 3.2.1 on Windows 2000
 
 
 Hi all,
   I have installed IIS with Tomcat 3.2.1 on
 Windows 2000 Server English. but I found that the filter
 cannot show the green up arrow. I have checked the setting
 and restart the server many times.
   Since I have do that succssfully with the same OS.
 Anyone have recommendation 
 Thanks in Advanced
 
 
 




Installing under ME

2001-05-27 Thread david

Hello, I need some help!
 I am getting the following error message on Windows ME:
When I run tomcat startup:

 Including all jars in c:\j3t\tomcat\lib in your CLASSPATH.
 
 Using CLASSPATH: 
 c:\j3t\tomcat\classes;c:\j3t\tomcat\lib\ANT.JAR;c:\j3t\tomca
 
\lib\JASPER.JAR;c:\j3t\tomcat\lib\JAXP.JAR;c:\j3t\tomcat\lib\PARSER.JAR;c:\j
3t \
 
omcat\lib\SERVLET.JAR;c:\j3t\tomcat\lib\WEBSER~1.JAR;;c:\jdk1.3\activation\a
ct i
 
ation.jar;.;c:\jdk1.3\javamail\mail.jar;c:\j3t\mysql_drivers\twz1\noopt;c
:\ j
 t\mysql_drivers\mm\lib\mm_mysql-2_0_2-bin.jar;c:\jdk1.3\lib\tools.jar
 
 Starting Tomcat in new window
 Bad command or file name
 
 
Can anyone help?

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



RE: [3.3m3][NT4sp6][sun hotspot 1.3.0_01][jni] create (code=10106) error!

2001-05-27 Thread Tae Grt

Hello, Martin!
I tried what you have adviced me - and nothing.
Params to org.apache.tomcat.startup.Main are the same-
array of 0 lenght.

System.getProperties() - i could make them
in Alexandria Java Service, tomcat.bat and my
environment look the same, alomost identical,
especially java.library.path - and i still get those
stupid error.

I started thinking about stack overflows - but i
launch java in the main thread of process created via
CreateProcess.. Maybe there's a special mailing list
somewhere at Sun to discuss JNI problmes? Can anybody
tell me?

Still need help, sincerely yours, Tagunov Anthony

--- Martin van den Bemt [EMAIL PROTECTED] wrote:
 Since you added some stuff to the source already, it
 maby a good idea to log
 the arguments that are passed to the tomcat main
 when using tomcat.bat and
 when using you system. Also you can review the
 differences in the
 System.getProperties() and see what's lacking in you
 startup version.
 It's a very interesting project you'r doing there.
 
 Mvgr,
 Martin
 
  -Original Message-
  From: Tae Grt [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, May 27, 2001 11:04 AM
  To: '[EMAIL PROTECTED]'
  Subject: [3.3m3][NT4sp6][sun hotspot
 1.3.0_01][jni] create (code=10106)
  error!
 
 
  Hello, community!
 
  PLEASE, can anybody lend me a helping hand?
 
  The problem:
  i'm developing a tool for running tomcat (and
  other java apps)
  under NT and unix-s. It features control over
  environment, directories, logs, it traces
  tomcat coming down and brings it up automatically,
  it helps in running multiple tomcat instances.
  It also manages the sucurity (what user tomcat
  is running under and who have access permissions
  to start/stop it).(The enviroment borrowes
  some code form the Alexandria Java Service,
  http://www.alexandriasc.com/software/JavaService/)
 
  The problem: when i run tomcat 3.3m3 under this
  environment (i load jvm via JNI JVM_Create..)
  and i give a new environment to it (almost
  empty). Tomcat fails to start, i attach
  a file with stack traces. The problem
  comes from java.net.PlainSocketImpp.socketCreate
  (Native Method).
  I've got sun hotspot 1.3.0_01
 
  The funny thing is that when i
  run this from tomcat.bat it starts ok!
  (Looks like the same thing happens
  when i run it from Alexandria Java Service).
 
  What am i Missing?? Please help! (I'm behind
  all deadline with my university project :-(( )
 
  The only difference i can see is passing almost
  clean environment to the application.. What do
  i need there to make it work?
 
  Will appriciate every bit of help!
 
  Anthony

P.S.  Please, could you cc the copies to me personally
(i do receive list evry day, but it's so easy to get
lost there..)

 
  JVM at creation as -Djava.class.path=...;..;...
  when i use sun   hotspot\jvm.dllit goes okay.
  when i use sun   classic\jvm.dllit does not
 find
  my startup.Main
  when i use ibm(1.3) classic\jvm.dll it does not
 find
  my startup.Main
  Maybe some ideas on this too?


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



Re: SocketException

2001-05-27 Thread Enrique Cea


Now I'm sure that the exception comes before the init method of the servlet. Also I 
have tried to connect to ser servlet using IExplorer and get an This URL doesn't 
support GET method but the servlet do the init method, so I'm thinking that there is 
problem with the way I connect to the servlet o that tomcat doesn't understand the 
connection.

Hola Enrique Cea. El 27/05/01 a la(s) 2:22 wrote:

I think hat the exception occurs before init method of the servlet.

The code of the java program that connect to the server is:

 Code of the client --

URL servlet = new
URL(http://127.0.0.1:8080/prueba/anyadirMensajeServlet;);

Mensaje msg = new MensajeReal();

URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty(Content-Type,
application/x-www-form-urlencoded);
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
out.writeObject(msg);
out.writeInt(1);

out.flush();
out.close();
,




Change of my e-mail address

2001-05-27 Thread Law Kim Soon



Hie,
I would like to inform u that I would prefer to 
receive all the mail under the address below:
[EMAIL PROTECTED]
Thank You

Regard


servlet mapping

2001-05-27 Thread Mathew Clark

Hi guys,

I'm trying to get the following servlet

http://127.0.0.1/foo/servlet/bar

to execute when the following URL is entered:

http://127.0.0.1/foo/myapp

I've entered the following into the deployment descriptor (web.xml) but am
having no luck.  I know tomcat is reading the descriptor because it is
picking up the load-on-startup instruction and the init params are
available to the servlet.

servlet
  servlet-namebar/servlet-name
...
/servlet

servlet-mapping
  servlet-namebar/servlet-name
  url-pattern/myapp/*/utl-pattern
/servlet-mapping

What am I doing wrong??? I've tried a few variations for the url-pattern...

Any help would be appreciated

Regards,

Matthew Clark.




Re: form-based authentication tomcat-apache

2001-05-27 Thread Michael Jennings

It worked!
Thanks!
-Mike

- Original Message -
From: Andrew Robson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 26, 2001 8:14 PM
Subject: Re: form-based authentication tomcat-apache


 Try putting
 JkMount  /examples/jsp/security/login/j_security_check ajp13
 into httpd.conf

 andrew

 On Sun, 27 May 2001, you wrote:
  Hi everyone,
 
  Has anyone been able to get the form-based authentication example to
work
  with tomcat? I can get it to work if I connect to tomcat's own
http-server
  on port 8080
  but when I connect to the same example via apache (via mod_jk to tomcat)
  after I log in I get
  http://localhost/examples/jsp/security/login/j_security_check
 
  with a message saying the page cannot be found.
  Is this a known bug in tomcat? Is there some subtle configuration thing
  I've missed?
 
  -Mike Jennings
 
  __
  Mike Jennings
  Southgate  Software Ltd.
  250-382-6851 (ph)
  250-382-6800 (fax)
  [EMAIL PROTECTED]
 -




RE: servlet mapping

2001-05-27 Thread Mathew Clark

Hmm well - I got it working - Tomcat isn't placing the appropriate
instructions into the auto-generated configuration file (mod_jk.conf-auto).

Matthew Clark.

-Original Message-
From: Mathew Clark [mailto:[EMAIL PROTECTED]]
Sent: 27 May 2001 19:01
To: [EMAIL PROTECTED]
Subject: servlet mapping


Hi guys,

I'm trying to get the following servlet

http://127.0.0.1/foo/servlet/bar

to execute when the following URL is entered:

http://127.0.0.1/foo/myapp

I've entered the following into the deployment descriptor (web.xml) but am
having no luck.  I know tomcat is reading the descriptor because it is
picking up the load-on-startup instruction and the init params are
available to the servlet.

servlet
  servlet-namebar/servlet-name
...
/servlet

servlet-mapping
  servlet-namebar/servlet-name
  url-pattern/myapp/*/utl-pattern
/servlet-mapping

What am I doing wrong??? I've tried a few variations for the url-pattern...

Any help would be appreciated

Regards,

Matthew Clark.




Re: Apache and remote tomcat server

2001-05-27 Thread Y Toshiko
Thank you, Lawson.
I'll try.


- Original Message -
From: "Lawson, Israel H." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 12:43 AM
Subject: RE: Apache and remote tomcat server


 We got this working by replicating the tomcat directory structure on the
 apache box.
 the reason for this lies somewhere in the way MOD_DIR and AUTO_INDEXING
 work.  A good example of what i mean follows

 for the below to work you would have to have a /test directory on you
apache
 server.
 even if you did not have any data in it.  When mod_dir checks to see if a
 directory
 exists it does not for some reason transverse accross the plugin but only
 the
 local filesystem based upon your DOC_ROOT directory.

 On you tomcat server you would create a directory called test inside the
 ROOT
 directory of jakarta-tomcat /usr/local/jakarta-tomcat/webapps/ROOT/test
 This is where you JSP's would go.

 You will also need to modify you workers.properties file and put a copy of
 it
 on the apache server.  the particular line that is important for this is
the
 host line.  It is set by default to be "localhost" change it to the
machine
 that
 is your tomcat server.

 IfModule mod_jk.c

 JkWorkersFile /usr/local/apache/conf/workers.properties
 JkLogFile  logs/jk.log
 JkLogLevel warn
 JkMount /*.jsp ajpB12
 JkMount /test/servlet/* ajpB12
 JkMount /test/*.jsp ajpB12

 Alias /test "/usr/local/jakarta-tomcat/webapps/test"
 Directory "/usr/local/jakarta-tomcat/webXpps/test"
 Options Indexes FollowSymLinks
 /Directory

 Alias /test "/usr/local/jakarta-tomcat/webapps/ROOT/test"

 Directory "/usr/local/jakarta-tomcat/webXpps/ROOT"
 Options Indexes FollowSymLinks
 /Directory

 /IfModule


 This is the only way we have found that allow mod_jk to work
 correctly with tomcat and apache.  if some else on this list
 has gotten this to work, possibly a more correct way please
 post it to the list.  If this is the correct way please let me know
 i have not been able to find ANY documentation pertaining to
 the setup of mod_jk using remote workers.

 Good luck with this,

 Israel

 -Original Message-
 From: Y Toshiko [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 22, 2001 10:46 PM
 To: [EMAIL PROTECTED]
 Subject: Apache and remote tomcat server


 I've going through the archives
 and discovered many messages
 relating to this problem.

 As in "mod_jk and remote tomcat server"
 (25 Apr 2001), Jserv enables Apache to
 access remote tomcat.

 Is it possible to do the same thing with mod_jk?
 Any advise or information is appreciated.

 Toshiko







 --

 Note:  The information contained in this message may be privileged and
confidential
 and protected from disclosure.  If the reader of this message is not the
intended recipient,
 or an employee or agent responsible for delivering this message to the
intended recipient,
 you are hereby notified that any dissemination, distribution or copying of
this communication
 is strictly prohibited.  If you have received this communication in error,
please notify us
 immediately by replying to the message and deleting it from your computer.
Thank you.
 --





RE: Problems with isapi_redirect.dll

2001-05-27 Thread Alex A. Almero

i also encountered several problems while configuring tomcat work IIS and
after 3 days i have it working perfectly with the same config as yours. can
you send me your registry file?  maybe theres something wrong with it.

-Original Message-
From: Aaron Nance [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 26 May 2001 8:33 AM
To: 
Subject: Problems with isapi_redirect.dll


Everyone,

I am having problems getting isapi_redirect.dll to work.  Here's my
configuration info:

  Win NT Server: SP 6a
  IIS 4
  Java 1.3.0-c
  Tomcat 3.2.1
  
I have no problem running Tomcat in stand alone mode.  I am 99.9 % certain I
have the registry entries right.  When I try to access
http://localhost/examples/jsp/index.html IIS throws a 500 at me.  I get the
following information in the isapi.log:

  [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL parameter
  [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
  [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed

I'm running with the configuration files as they were installed by Tomcat
except for the workers.tomcat_home and workers.java_home properties in the
workers.properties file.

If you can tell me what I'm doing wrong here I'd appreciate it.

Thanks,
Aaron



how do i unsubscribe???

2001-05-27 Thread Duane Douglas

i sent a message to [EMAIL PROTECTED], but that 
didn't work.  how do i do this?


if (duane.douglas) { coder = asp * cold fusion * xml * sql server * javascript }



jsp access under apache virtual domains

2001-05-27 Thread Mitchell Smith


Hi, I am havig a bit of trouble in  the conversion from jserve + gnujsp to tomcat with
libapache-mod-jk. 

Apache seems to be working fie, the tomcat examples are working fine, but I can't 
access .jsp pages
from my apache virtualhosts. 

For example if I had host admin.warpspeed.net.au set up as follows 

VirtualHost 203.45.208.18:80
ServerName admin.warpspeed.net.au
  DocumentRoot /home/users/admin/www/public_html
  ErrorLog /home/users/admin/www/logs/error.log
  TransferLog /home/users/admin/www/logs/access.log
  ScriptAlias /cgi-bin/ /home/users/admin/www/cgi-bin/
  JkMount /*.jsp ajp13
  JkMount /servlet/* ajp13
  JkMount /*.xml ajp13
  AddType text/xml .xml
/VirtualHost

LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so

IfModule mod_jk.c
JkWorkersFile /etc/apache/mod_jk/workers.properties
Include /etc/apache/mod_jk/tomcat-auto
/IfModule


which is how I have it configured, and I had a test.jsp page under
/home/users/admin/www/public_html/test.jsp 

then shouldn't I be able to browse to http://admin.warpspeed.net.au/test.jsp 

note: I can get to http://admin.warpspeed.net.au/index.html with no worries. 

When I browse to my test.jsp page I get an apache 500 error internal server error. 

I checked the logs in /var/log/apache/error.log /home/users/admin/www/logs/error.log 
and
/var/log/tomcat/* and there didn't seem to be any reason why I'd be getting such an 
error. 

Just some system info:
I am running a Debian Linux system, kernel 2.4.4, and the following packages.
ii  apache 1.3.19-1   Versatile, high-performance HTTP server
ii  apache-common  1.3.19-1   Support files for all Apache webservers
ii  java-common0.7Base of all Java packages
ii  libxerces-java 1.3.1-1Validating XML parser for Java
ii  tomcat 3.2.1-1Java Servlet 2.2 engine with JSP 1.1 support
ii  libapache-mod-jk 3.2.1-1Apache connector for Tomcat servlet engine
ii  j2sdk1.3   1.3.0-2Blackdown Java(TM) 2 SDK, Standard Edition
ii  jikes  1.12.20010116- Fast Java compiler adhering to language and 


I basicly want any *.jsp page under any apache virtualhost to be processed by tomcat.

What might I have done wrong in my config get this 500 error?


-- 
Mitchell Smith

Blitz Technology

[EMAIL PROTECTED]



Experience is that marvelous thing that enables you to recognize a
mistake when you make it again.  -- F. P. Jones



Re: tomcat/linux question

2001-05-27 Thread Gary Lawrence Murphy

 O == Oki DZ [EMAIL PROTECTED] writes:

O Dante le Poole wrote:
 Also, as soon as more than one single user is using my webapp,
 the jvm hangs and no-one can access anymore servlets or
 jsp-pages! All I can do is kill the jvm and restart tomcat, but
 as soon as more than one user accesses it it dies again.

O Examine that your system has enough swap space.

This also sounds like perhaps a dead-lock where you have static data
that is being shared between two sessions.  For example, if you have
an iterator over some list in one session while another session
modifies the list, the iterator will be in deep trouble.

When the second user locks, does the first user still complete their
session? Another scenario is where you might lock an object or method
to give one session write permission, but the object is not unlocked;
the second (and subsequent) sessions are seized waiting for the lock
to clear.

Be very careful when using synchronized methods, and work through
each to see if you can give your servlets a finer synchronization
through synchronized blocks of code within multithreaded methods.
There is a thread-safe wrapper for the container classes (see the API
docs) but be aware that this does not prevent trouble, it just ensures
your app will abort quickly when a problem arises.

-- 
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)




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

2001-05-27 Thread Huynh Tin

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: tomcat/linux question

2001-05-27 Thread anil

This is not a solution to the problem. I have another question.

On the tomcat, The sessions are stored in a hashtable. Does't that provide
synchronization??

anil

Gary Lawrence Murphy wrote:

 This also sounds like perhaps a dead-lock where you have static data
 that is being shared between two sessions.  For example, if you have
 an iterator over some list in one session while another session
 modifies the list, the iterator will be in deep trouble.

 When the second user locks, does the first user still complete their
 session? Another scenario is where you might lock an object or method
 to give one session write permission, but the object is not unlocked;
 the second (and subsequent) sessions are seized waiting for the lock
 to clear.

 Be very careful when using synchronized methods, and work through
 each to see if you can give your servlets a finer synchronization
 through synchronized blocks of code within multithreaded methods.
 There is a thread-safe wrapper for the container classes (see the API
 docs) but be aware that this does not prevent trouble, it just ensures
 your app will abort quickly when a problem arises.





RE: IIS + Tomcat + SSL

2001-05-27 Thread Rams

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