Tomcat connectors on Aix

2003-11-24 Thread Jose
Hello.
I need your help to compile mod_jk2 connectors on Aix 4.3.3
I use gcc 3.2.1, libtool 1.4.2, autoconf 2.53, automake 1.5
I have downloaded jakarta-tomcat-4.1.29 and it is works fine.
Now i need apache 2.0.48 works with tomcat and i have downloaded 
jakarta-tomcat-connectors-4.1.29-src (i don't know if i need this version or JK 2.0.2 
Source Release tar.gz)
I have followed steps on notes of jeff 
trawick(http://www.apache.org/~trawick/tomcataix.html#mod_jk2_gcc):
$cd jk/native2
$ chmod +x ./buildconf.sh
$ ./buildconf.sh
$ CC=gcc ./configure --with-java-home=/usr/java131 
--with-apxs2=/usr/local/apache2/bin/apxs

At last Before running make, edit ../../jk/native2/server/apache2/Makefile and change 
the line 
MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath 
--${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS)
to 
MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath 
${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) -Wl,-brtl
But i get a lot of warnings.

Any idea ?

Thanks.

Difference between JK 2.0.2 & JK 4.1.29

2003-11-25 Thread Jose
Hello.
What is the difference between both ?
I use tomcat-4.1.29 then which i must use to works with apache 2.0.48 ?

Thanks.

--
Tu portal de Aix en Español
http://aixpanish.com
--

A lot of Warnings building JK2 on Aix

2003-11-26 Thread Jose
Hi!
I'm compiling mod_jk2 on Aix 4.3.3. I follow this process:

I use: gcc.3.2.1, libtool 1.4.2,autoconf 2.53,automake 1.5, make 3.79

#cd jakarta-tomcat-connectors-4.1.29-src/jk/native2
#./buildconf.sh
#CC=gcc
./configure --with-java-home=/usr/java131 --with-apxs2=/usr/local/apache2/bi
n/apxs --with-tomcat41=/soft/jakarta-tomcat-4.1.29

Before running make, i edit
jakarta-tomcat-connectors-4.1.29-srcjk/native2/server/apache2/Makefile and
change the line:

MOD_LINK = $(LIBTOOL) --mode=link
$(CC) -avoid-version -module -rpath --${APACHE2_LIBEXEC} $(LT_LDFLAGS)
$(ALL_LDFLAGS)
to
MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath
${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) -Wl,-brtl

#make (gnu make)

It finally build a libmod_jk2.so file but there are a lot of warnings on
compilation time.

Is this normal ?



Re: Please Help to compile mod_jk2 on AIX

2003-12-02 Thread jose
What is "resources dir" ? I don't find that directory.

- Original Message - 
From: "Ben Souther" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 4:33 AM
Subject: Re: Please Help to compile mod_jk2 on AIX


> I just ran into the same problem.
> I had to cd into the resources dir and run ant from there first.
> Once that build completed, I CDed back up and ran ant again. It finished 
> sucessfully.
> 
> -Ben
> 
> 
> On Monday 01 December 2003 10:28 pm, you wrote:
> > Jose,
> >
> > > Please, i have tried to compile hundred of times
> > > jakarta-tomcat-connectors-4.1.29-src and
> > > jakarta-tomcat-connectors-jk2-2.0.2-src, but it's impossible. There
> > > are a lot of errors during compilation.
> >
> > These all seem to be warnings, not errors. Does the build succed in
> > creating an object file?
> >
> > -chris
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please Help to compile mod_jk2 on AIX

2003-12-02 Thread jose
Yes object file is created.


- Original Message - 
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 4:28 AM
Subject: Re: Please Help to compile mod_jk2 on AIX


> Jose,
> 
> > Please, i have tried to compile hundred of times
> > jakarta-tomcat-connectors-4.1.29-src and
> > jakarta-tomcat-connectors-jk2-2.0.2-src, but it's impossible. There
> > are a lot of errors during compilation.
> 
> These all seem to be warnings, not errors. Does the build succed in
> creating an object file?
> 
> -chris
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deploy failure with Tomcat 5.0.16 adding security constraints

2003-12-16 Thread jose
inerBase.java:1668)
   at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1648)
   at java.lang.Thread.run(Unknown Source)
16-dic-2003 12:47:35 org.apache.catalina.startup.HostConfig 
deployDirectories
GRAVE: Error deploying web application directory netlabor
java.io.IOException: java.lang.NullPointerException
   at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:322)
   at org.apache.catalina.core.StandardHost.install(StandardHost.java:859)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:723)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
   at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1067)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:371)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
   at 
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:827)
   at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1659)
   at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1668)
   at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1648)
   at java.lang.Thread.run(Unknown Source)



 My web.xml config is:



"http://java.sun.com/dtd/web-app_2_3.dtd";>

netLabor 1.0.0
netLabor 1.0.0

 action
 org.apache.struts.action.ActionServlet
 
  config
  /WEB-INF/struts-config.xml
 
 1


 action
 *.do


 init.jsp


 /WEB-INF/struts-bean.tld
 /WEB-INF/struts-bean.tld


 /WEB-INF/struts-html.tld
 /WEB-INF/struts-html.tld


 /WEB-INF/struts-logic.tld
 /WEB-INF/struts-logic.tld


 /WEB-INF/c.tld
 /WEB-INF/c.tld


 /WEB-INF/struts-tiles.tld
 /WEB-INF/struts-tiles.tld


 /WEB-INF/struts-nested.tld
 /WEB-INF/struts-nested.tld


 /WEB-INF/fmt.tld
 /WEB-INF/fmt.tld


 /WEB-INF/x.tld
 /WEB-INF/x.tld


 /WEB-INF/sql.tld
 /WEB-INF/sql.tld


 /WEB-INF/taglibs-request.tld
 /WEB-INF/taglibs-request.tld


 /WEB-INF/taglibs-datetime.tld
 /WEB-INF/taglibs-datetime.tld


 Protected Area
 
  Protected Resources
  /*
 
 
  Authorized Roles
  nl
 


 Servidor de Aplicaciones de netLabor


 nl



 Any ideas???

Thank you

Jose Manuel García

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Deploy failure with Tomcat 5.0.16 adding security constraints

2003-12-16 Thread jose
Remy,

 Thanks... I can't believe how I haven't seen the error

Jose

Remy Maucherat wrote:

jose wrote:

Hi,

  I'm getting the following error log trying to install my webapp in 
tomcat 5.0.16. When I remove the security constraints section
in web.xml the app install and runs ok, but when I restore de 
security section in web.xml I can't install the app.
  I have tested this issue on Tomcat 5.0.16 in windows and linux and 
on Tomcat 4.1.29.
  In my server.xml I'm using JDBCRealm auth method at Engine level. 
It's working fine with, for example, tomcat manager app and
for others apps I'm running. The app uses jakarta struts 1.1 and some 
other taglibs (like request, dbtime and session)


You need something like:
BASIC
in you login-config. The error could be a *lot* better (we should 
check for null, basically).



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: HTTP Status 500 - No Context configured to process this request

2002-06-29 Thread Jose Montiel

Hi, Can you send a copy of your server.xml? it seems you either did not
configure or mis configure your context.

bye


On Fri, 2002-06-28 at 23:59, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I'm a newbie Tomcat4 user who is having trouble getting the program to work
> after  having  properly -- I think -- installed it from rpms.   Here is the
> error that I am getting (I've searched the web and have found references to
> this problem but no real solutions):
> 
> Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process
> this request
> 
> 
> 
> type Status report
> 
> message No Context configured to process this request
> 
> description The server encountered an internal error (No Context configured
> to process this request) that prevented it from fulfilling this request.
> 
> Setup Particulars:
> -  1.8 GHz Pentium IV with 1.5 GB Ram
> -  RedHat Linux 7.3
> -  Apache 1.3 - The site that is to use tomcat4 is a virtual host
> -  Tomcat is using port 8180
> 
> Any help in resolving this issue would be greatly appreciated.
> 
> Mark
> 
> 
> Mark A. Pauley, Ph.D.
> College of Information Science & Technology, UNO
> Omaha, NE 68182-0116
> e-mail:  [EMAIL PROTECTED]
> phone:  (402) 554-4954  fax:  (402) 554-3284
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Looking for 3rd party support for Tomcat.

2002-07-10 Thread Jose Aguilera

We are seriously looking into using Tomcat. What 3rd party company can we use for 
Tomcat Support?

Thanks.

Jose Aguilera
 





This message is intended only for the use of the individual or entity to which it is 
addressed and may contain information that is privileged, confidential or exempt from 
disclosure under applicable law. If the reader of this message is not the intended 
recipient, or the employee or agent responsible for delivering the 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 the sender immediately. 



Error : Current state = FLUSHED, new state = CODING Ctx( /test ): IllegalState

2002-07-10 Thread jose saloio

Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /test): IllegalStateException in: R( /test+)  Current 
state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
++ again others !!!
For stop this message, I must to stop Tomcat3.2.4.

I don't understand why have I this error message and how can I solve this 
problem.
Thank you,
jose.




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Error Tomcat : Why IllegalStateException

2002-07-16 Thread jose saloio

I have this message :
Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /test): IllegalStateException in: R( /test+)  Current
state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
++ again others !!!
For stop this message, I must to stop Tomcat3.2.4.

I don't understand why have I this error message and how can I solve this 
problem.

Thank you,

jose.




_
Discutez en ligne avec vos amis ! http://messenger.msn.fr


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Running SSL on IIS/Tomcat 3.3.1

2002-07-16 Thread Jose Aguilera

I have an SSL certificate already installed on IIS and would like my web pages to be 
displayed in HTTPS mode using Tomcat.

What steps must I take to do this?

Thanks.

Jose Aguilera





This message is intended only for the use of the individual or entity to which it is 
addressed and may contain information that is privileged, confidential or exempt from 
disclosure under applicable law. If the reader of this message is not the intended 
recipient, or the employee or agent responsible for delivering the 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 the sender immediately. 



RE: Running SSL on IIS/Tomcat 3.3.1

2002-07-17 Thread Jose Aguilera

Christopher,
Thanks for your response. Can you please elaborate or direct me to a link where I 
could get more details on the setting up IIS as the SSL host while running the 
application through Tomcat.

I already installed the certificate in the keystore using keytool.

Jose.

-Original Message-
From: Christopher Mark Balz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 9:44 PM
To: Tomcat Users List
Subject: Re: Running SSL on IIS/Tomcat 3.3.1


You have to use the Java 'keytool' tool to make the JVM aware of your 
certificate.  Then you need to edit your web.xml file appropriately.
  - CB

Jose Aguilera wrote:
> I have an SSL certificate already installed on IIS and would like my web pages to be 
>displayed in HTTPS mode using Tomcat.
> 
> What steps must I take to do this?
> 
> Thanks.
> 
> Jose Aguilera
> 
> 
> 
> 
> 
>
> This message is intended only for the use of the individual or entity to which it is 
>addressed and may contain information that is privileged, confidential or exempt from 
>disclosure under applicable law. If the reader of this message is not the intended 
>recipient, or the employee or agent responsible for delivering the 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 the sender immediately. 
> 



-- 
". . . / This Cabinet is formd of Gold / And Pearl & Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames & other Hills / And another pleasant Surrey Bower
. . ."
- from "The Crystal Cabinet", a poem by William Blake.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




This message is intended only for the use of the individual or entity to which it is 
addressed and may contain information that is privileged, confidential or exempt from 
disclosure under applicable law. If the reader of this message is not the intended 
recipient, or the employee or agent responsible for delivering the 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 the sender immediately. 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Please Unsubscribe me!!

2002-07-18 Thread Jose Aguilera

I have tried repeatedly to unsubscribe from this list and an error occurs.

Can a moderator of this list please help, I'm using outlook 2000.

Thanks.

Jose Aguilera




This message is intended only for the use of the individual or entity to which it is 
addressed and may contain information that is privileged, confidential or exempt from 
disclosure under applicable law. If the reader of this message is not the intended 
recipient, or the employee or agent responsible for delivering the 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 the sender immediately. 



Error : Why IllegalStateException ?

2002-07-24 Thread jose saloio


Hi,

I have this error:
Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /test): IllegalStateException in: R( /test+)  Current
state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
Current state = FLUSHED, new state = CODING
7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+)
++ again others !!!
For stop this message, I must to stop Tomcat3.2.4.

I must use the servlet 2.2 in my project. But I don’t understand How can I
resolve this problem because I respect the DTD 2.2 in the web.xml file?
Thank you,

Jose saloio.



_
Rejoignez MSN Hotmail, le plus important service de messagerie 
http://www.hotmail.com/fr


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Concurrent Sessions open ?

2001-04-24 Thread Jose . Martrat





Hi,

Easy question (I hope !)

We are using Tomcat for an ecommerce application (based on Servlets) , and I
need to know the number of concurrent Sessions at an specific time, without
needing to use any API to add code to our existing application .

Is there any way to issue a command on the console, that gives me the number of
concurrent sessions, (in the same way I am able to know the number of concurrent
threads on Apache ws ?).

(I saw other answers to this issue like "create an object that implements
httpSessionBindingListener and add this same object to  all the sessions that
are created"), but I cannot modify the application, so I cannot use such a
solution.

I will really appreciate help on this. Many thanks in advance.

Jose.






Error integrating Tomcat and Apache

2001-06-04 Thread Jose Heras

Hi everybody,

I'm trying to integrate Tomcat and Apache. I download Tomcat source code to
compile the mod_jserv.so module. I compile the source code using apxs.
My apxs is:


my $CFG_TARGET= 'httpd';
my $CFG_CC= 'cc';   
my $CFG_CFLAGS= ' -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite
`../apaci`'; 
my $CFG_CFLAGS_SHLIB  = '-KPIC -DSHARED_MODULE'
my $CFG_LD_SHLIB  = 'ld';
my $CFG_LDFLAGS_SHLIB = '-G'; 
my $CFG_LIBS_SHLIB= ''; 
my $CFG_PREFIX= '/opt/apache';
my $CFG_SBINDIR   = '/opt/apache/bin'
my $CFG_INCLUDEDIR= '/opt/apache/include'
my $CFG_LIBEXECDIR= '/opt/apache/libexec'
my $CFG_SYSCONFDIR= '/opt/apache/conf'

The compilation output is OK, but when I start Apache with Tomcat, a error
occurs. The error is the next:

Syntax error on line 13 of /opt/jakarta-tomcat/conf/tomcat.conf:
Can't locate API module structure `jserv_module' in file
/opt/apache/libexec/mod_jserv.so: ld.so.1: /opt/apache
/bin/httpd: error fatal: jserv_module: no puede encontrarse símbolo

The line 13 is the next: LoadModule jserv_module libexec/mod_jserv.so

Thanks in advance!!

Jose.



Get free email and a permanent address at http://www.netaddress.com/?N=1



RE: file download servlet

2001-09-12 Thread Dinu Jose

Hi,
Could you please check the link given below.It shows how to use
"Content-Disposition" etc.
http://www.esus.com/javaindex/j2ee/servlets/servletdlbinaryfile.html

Regards
Dinu
-Original Message-
From: Alexander Jesse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 11:54 AM
To: tomcat-user
Subject: RE: file download servlet


Hi,

have you tried with different browsers? I remember vaguely that
this kind of stuff can also be working in one browser and
not work in another one...

regards
Alexander

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:53 PM
To: [EMAIL PROTECTED]
Subject: file download servlet



I asked this question before, but I didn't get any
reply. I post it again in hope someone could give me
some hint.

I have a file download servlet serves web browsers.

request to file is like this
http://192.168.1.105/download/servlet/download?filename=song.mp3
 
The file on the server side is song.mp3.  But the file
got download to
browser is the servlet name instead.  :(

I heard i need to use the HTTP header
res.setHeader("Content-Disposition","attachment;
filename=\"" +
downloadFile + "\";"); 

Is Content-Disposition a standard header in HTTP spec?
 I heard i should use this whenever I don't want the
content display on browser (force Save as Dialog box)

Why everytime I download a file from the web server
like song.mp3.
there is no such HTTP header from web server? -->
Content-Disposition  

I think web server is just like a download servlet. It
sends raw bytes to web browser. After browser get the
bytes, It will not konw what name the file should save
as.  Web server must send some kind of HTTP header to
tell web browser what file name the file is saved as.
right?

How exactly is web server instruct web browser to pop
up Save as Dialog box (on unknown mime type) and save
the file with name = filename on server?  Does web
server use any special HTTP Header (like
Content-Disposition)


thanks.

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



RE: tomcat has to be restarted every few hours (resent, mailserver errors)

2001-09-12 Thread Dinu Jose

Hi All,
I am also facing a similar problem.I need to restart the
tomcat every two hours.If the tomcat server and the database server are on
same machine,then there is no problem and it works fine .But if these two
are on different machines,then every two hours i need to restart tomcat in
order to make the application work fine.I am using tomcat3.2.2,oracle8i and
sun solaris5.8. Have anybody faced this situation before.Could somebody help
me to resolve this issue.

Thanks in Advance
Dinu.








RE: problems using xalan

2001-09-17 Thread Dinu Jose

Hi Kemmler,

Could you please check whether xalan.jar and xerces.jar
comes before jaxp.jar in the classpath settings.In the classpath, if
xalan.jar and xerces.jar comes after jaxp.jar,then some of the classes in
jaxp.jar override the same classes in xalan.jar and the error mentioned
below occurs.So please check for th eorder in the classpath settings.Hope
this will solve the problem.

Thanks
Dinu.

-Original Message-
From: Candide Kemmler [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 15, 2001 7:11 PM
To: [EMAIL PROTECTED]
Subject: problems using xalan


Hi,

I get this strange exception when trying to run a servlet that use one 
of xalan's examples:

2001-09-15 03:24:54 - Ctx( /XSLT ): Exception in: R( /XSLT + 
/servlet/XSLT + null) - 
javax.xml.transform.TransformerFactoryConfigurationError: 
java.lang.ClassNotFoundException: 
org.apache.xalan.processor.TransformerFactoryImpl
 at 
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:
121)
 at servlet.XSLT.doGet(XSLT.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 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:213)
 at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:496)

xalan is in the path as demonstrates the fact that 
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:
121) is invoked...

I googled about this but strangely it found no results

Any help greatly appreciated !

Aurélien



RE: Help, My Tomcat always down everyday!

2001-09-20 Thread Dinu Jose

Hello All,
I am also facing a similar scenario and the situation is still more worse,i.
e.,tomcat is down every two hours.If restarted,it works fine and will be
down after two hours.Please help .
Thanks in advance
Dinu


-Original Message-
From: akilus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:17 PM
To: [EMAIL PROTECTED]
Subject: Help, My Tomcat always down everyday!


Hello, Everybody!
My Tomcat always down everyday, I don't know why, and I don't find anything
useful in my log files.
and when I restart Tomcat, everything will go correctly, but after some
time, normally in noon, the tomcat will down again.
And another thing is :The memory that jdk occupy increase with time, I don't
know whether it is normal or abnormal.
Who can tell me several possible reasons about this? I use redhat
6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
The below is my configuration for tomcat, other files is not modified:
Tomcat.conf:
///



###
# Apache JServ Configuration File
#

###

# Note: this file should be appended or included into your httpd.conf

# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll

# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
LoadModule jserv_module libexec/mod_jserv.so


# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice


### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007


 All jsp files will go to tomcat 
ApJServMount default /root

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /app /home/httpd/html


Options  FollowSymLinks



AllowOverride None
deny from all



setHandler jserv-servlet


## Context mapping - all requests go to tomcat

ApJServMount /examples /root

## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##

# ApJservMount /CONTEXT/servlet  /root
# 
#  AllowOverride None
#  deny from all
# 

ApJServMount /app/servlet /app

ApJServMount /servlet /ROOT


///
server.xml
//




















  



































   





  
















 








//



akilus
[EMAIL PROTECTED]



RE: Help, My Tomcat always down everyday!

2001-09-20 Thread Dinu Jose


Hi Simon,
Thanks for the help.I will try that way.
In my case ,tomcat is going down everytime exactly after two hours.This
happens even if the system is idle.Is there any chance for this to happen
due to issues in configuring the tomcat/application.Otherwise ,why it is
going down exactly after 
some particular period.What all could be the possible reasons behind this .
I am using tomcat3.2.2,sun solaris 5.8,jdk1.3.

Thanks 
Dinu


-Original Message-
From: simon colston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Help, My Tomcat always down everyday!


I've found the Sun JVM 1.3.1 to be unstable on Linux 6.2 and 7.1.  Tomcat
kept crashing at random intervals (sometime a few days, sometimes a few
hours).  I switched to the IBM JVM and it started to run OK - no crashing.
Maybe you'd like to give that a try.

On Thu, 20 Sep 2001 14:28:39 +0530
Dinu Jose <[EMAIL PROTECTED]> wrote:

DJ> Hello All,
DJ> I am also facing a similar scenario and the situation is still more
worse,i.
DJ> e.,tomcat is down every two hours.If restarted,it works fine and will be
DJ> down after two hours.Please help .
DJ> Thanks in advance
DJ> Dinu
DJ> 
DJ> 
DJ> -Original Message-
DJ> From: akilus [mailto:[EMAIL PROTECTED]]
DJ> Sent: Thursday, September 20, 2001 2:17 PM
DJ> To: [EMAIL PROTECTED]
DJ> Subject: Help, My Tomcat always down everyday!
DJ> 
DJ> 
DJ> Hello, Everybody!
DJ> My Tomcat always down everyday, I don't know why, and I don't find
anything
DJ> useful in my log files.
DJ> and when I restart Tomcat, everything will go correctly, but after some
DJ> time, normally in noon, the tomcat will down again.
DJ> And another thing is :The memory that jdk occupy increase with time, I
don't
DJ> know whether it is normal or abnormal.
DJ> Who can tell me several possible reasons about this? I use redhat
DJ> 6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
DJ> The below is my configuration for tomcat, other files is not modified:
DJ> Tomcat.conf:
DJ> ///
DJ> 
DJ> 
DJ>

DJ> ###
DJ> # Apache JServ Configuration File
DJ> #
DJ>

DJ> ###
DJ> 
DJ> # Note: this file should be appended or included into your httpd.conf
DJ> 
DJ> # Tell Apache on win32 to load the Apache JServ communication module
DJ> # LoadModule jserv_module modules/ApacheModuleJServ.dll
DJ> 
DJ> # Tell Apache on Unix to load the Apache JServ communication module
DJ> # For shared object builds only!!!
DJ> # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
DJ> LoadModule jserv_module libexec/mod_jserv.so
DJ> 
DJ> 
DJ> # Do not edit!
DJ> ApJServManual on
DJ> ApJServDefaultProtocol ajpv12
DJ> ApJServSecretKey DISABLED
DJ> ApJServMountCopy on
DJ> ApJServLogLevel notice
DJ> 
DJ> 
DJ> ### Change if you run tomcat on a different host
DJ> #ApJServDefaultHost localhost
DJ> ApJServDefaultPort 8007
DJ> 
DJ> 
DJ>  All jsp files will go to tomcat

DJ> ApJServMount default /root
DJ> 
DJ> AddType text/jsp .jsp
DJ> AddHandler jserv-servlet .jsp
DJ> 
DJ> Alias /app /home/httpd/html
DJ> 
DJ> 
DJ> Options  FollowSymLinks
DJ> 
DJ> 
DJ> 
DJ> AllowOverride None
DJ> deny from all
DJ> 
DJ> 
DJ> 
DJ> setHandler jserv-servlet
DJ> 
DJ> 
DJ> ## Context mapping - all requests go to
tomcat
DJ> 
DJ> ApJServMount /examples /root
DJ> 
DJ> ## Context mapping - you need to "deploy"
DJ> # ( copy or ln -s ) the context into htdocs
DJ> ##
DJ> 
DJ> # ApJservMount /CONTEXT/servlet  /root
DJ> # 
DJ> #  AllowOverride None
DJ> #  deny from all
DJ> # 
DJ> 
DJ> ApJServMount /app/servlet /app
DJ> 
DJ> ApJServMount /servlet /ROOT
DJ> 
DJ> 
DJ> ///
DJ> server.xml
DJ> //
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/tomcat.log" 
DJ> />
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/servlet.log"
DJ> />
DJ> 
DJ>  path="logs/jasper.log"
DJ> verbosityLevel = "DEBUG" />
DJ> 
DJ> 
DJ> 
DJ> 
DJ>   
DJ> 
DJ> 
DJ> 
DJ>  />
DJ> 
DJ>  

Urgent (newbie) - Jsps located out of tomcat contexts

2001-10-02 Thread Navarro, Jose

Hi,

I have developed a servlet (a hit counter servlet, in fact) that I intend to
use in several pages in my  website.

Since it is a servlet, I think the best (perhaps the only?) way to invoke it
from an html web page is to embed some jsp code in them, in this way:


  


Here, the parameter "target" stands for the page being visited. Changing
this parameter I can perform the counting on different pages (I keep
different count files, the names of these are the value of the target
parameter). So the idea is to paste the previous snippet of jsp code in each
page I want to be tracked. Therefore, my html pages turn to jsp pages (with
a .jsp extension)

Well, obviously my web site has a hierarchical structure. So we have html
(some of them, now "would be" jsps) files spread across a tree that is not
located under the umbrella of tomcat contexts.

On the other side, the servlet is located under webapps/hitscounter. Well
this is as (I think) it should be.

Well, since TOMCAT does not process jsps when they are not located in a
registered context, my jsps are not found when I navigate through my
website. For instance, if I change my homepage from index.html to index.jsp,
I get a directory listing instead of the home page when I point my browser
to my home address. Or if I directly type the address, that is,
http://www.ideg.es/index.jsp I get a page not found error (HTTP 404).

If the set of pages I would keep track of (counting hits, I mean) would be
small, I would locate all these in a directory managed by tomcat. But this
is not the case! My website, in spite of its small size, is still big, so I
prefer to keep the actual directory hierarchy and leave tomcat in the place
it is.

Perhaps the solution is to define the root of my website as a tomcat context
(is it?). If so, tell me how, please! I have seen that a root context is
defined in the conf files but I suppose that this "root" (/) stands for the
root tomcat's directory (I'm a complete newbie, so I'm rather lost!)

Please, send your answer not only to the list but also to
[EMAIL PROTECTED] I have subscribed today to this list but received no
messages yet, so I'm not sure whether my subscription has been correctly
processed.

Thank you VERY MUCH for your time and interest.

Regards,

Jose.

P.S.: Perhaps I'm not cute enough, but I tried to solve the problem by
myself browsing the list archive without success.





Can anyone please guide me with Tomcat4.0?

2001-10-04 Thread Jose Escobar

I just wanted to know if anyone could tell me how to configure tomcat to
work for different Virtual Hosts on IIS.

Also, what do I need to edit on the configuration files in order for it to
work.


Where to store the Servlets and JSP pages, etc.

Thanx
Jose




Please help

2001-10-04 Thread Jose Escobar

Can anyone please tell me where to look for information or what document on
jakarta's webpage to read for information on how to implement tomcat on iis.

Thank You
Jose




Question

2001-10-04 Thread Jose Escobar

If I have a client that wants to run servlets, what do I need to do in order
for his servlets to work?

Thanx,
Jose

PD: I'm using Tomcat 4.0




Question about WAR and application deployment

2001-10-04 Thread Jose Escobar

Can anyone please tell me what is a local web application archive?

Another thing after I create this:

http://localhost:8181/manager/install?path=/test&war=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

Where do I store the class files and how do I invoke them?

Thanx in advance,
Jose




RE: Question about WAR and application deployment

2001-10-04 Thread Jose Escobar

I am locally, and I did the install as I specified before:

http://localhost:8181/manager/install?path=/test&war=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

And if I go to http://localhost:8181/test/ServletName it says file not found
error

What should be inside a .war file?

Thanx in advance,
Jose

-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Question about WAR and application deployment


If you use a file URL then it assumes that you are pointing to the file
or directory on the machine (server).  That means you have to put the
application on the server first, FTP, or some other means.  If you're
working locally it's much easier.

If you use some other url for the war parameter as in
'http://someserver/something.war' it will try to retrieve the file from
that spot and install it.  You would later reference your servlets, jsp
from the path as in http://localhost:8181/text/index.jsp


Hope this answers your question.



Dave Durham


-Original Message-
From: Jose Escobar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Question about WAR and application deployment


Can anyone please tell me what is a local web application archive?

Another thing after I create this:

http://localhost:8181/manager/install?path=/test&war=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

Where do I store the class files and how do I invoke them?

Thanx in advance,
Jose





JSP - How do I make it invisible to the browser's "back" button?

2001-10-25 Thread Navarro, Jose

Hi!

I have developed a JSP page which in turns invokes a servlet used to keep
track of the number of times a certain page in my web is visited.

In other words, when I have a link to some page, I do not link the target
page directly but execute the JSP instead. More or less it goes this way:

http://the/
desired/URL.htm" target="_self">Text of the link

(here, "thisorthatpage" stands for an achronim that is stored in my hits
database and that identifies the page being visited).

So when the user clicks on the link, he or she is redirected to the jsp page
which invokes the counter servlet and then redirects the user to the target
(destination) page.

The problem is that the jsp is stored in the browser's list of visited
pages. If then the user wants to go back and clicks on the corresponding
browser's button, the jsp page is executed again and he is redirected one
more time to the same page. The feeling, therefore, is that the back button
doesn't work at all.

Then it would be very interesting to remove the jsp URL from the browser's
access list, so the consequence would be that it would be "invisible" to the
back command. Well, I hope that it is possible to access this list of
visited pages from the jsp code and remove its own entry.

Is this possible? If so, can you tell me how? If not, do you know any other
way to implement it?

Thanks alot for your help!

Regards,

Jose.






Application configuration

2001-12-12 Thread Camara, Jose

I think I reach that point where I need some help ... could you subscribe me
and help me with the following issue.
 
Totally new in configuring applications to be deployed on tomcat:
1) Apache and tomcat are running perfectly
2) I created a directory to install my application (webapps/imr)
3) Under that, I created META-INF, WEB-INF and servlets directories.
4) I also modified tomcat-apache.conf as follows
 
Alias /imr "/home/jcamara/tomcat/webapps/imr"

Options Indexes FollowSymLinks

ApJServMount /imr/servlet /imr

AllowOverride None
deny from all


AllowOverride None
deny from all
  
 
5) I'm starting to believe that I need to create a web.xml file and I'm not
sure how, probably I'll follow one of the examples.
6) I can see the list of classes for my application under that directory.
7) Every time I'm trying to run the application it asked me for download the
application on IE and finally come with an error saying "Could not find the
main class. Program will exit!" on a Java Virtual Machine pop up screen.
 
I'm 100% sure that I'm missing something, so here are my questions:
Q1: Do I need to create a web.xml file?
Q2: Where should I put the jar files that my application need?
Q3: How should I configure Tomcat in under to display correctly my
application?
 
Regards,
 

Jose L. Camara

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Application configuration

2001-12-13 Thread Camara, Jose

Thanks Larry,

I don't even reach the point where Tomcat itself is running my application.
I guess I need to indicate Tomcat where and how to recognize the classes for
my application. Setting up my application in tomcat is the problem.

Regards,

Jose L. Camara

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 4:58 AM
To: 'Tomcat Users List'
Subject: RE: Application configuration


The configuration you show only lets Tomcat execute
servlets.  All other content, Apache will try to serve
directly.  Is this your intent?   It would also help
to know which version of Tomcat 3.x you are using.
(Note that Tomcat 3.3 does the best job of automating
the connection to Apache.)

In general, I would also recommend testing your web
application first by accessing Tomcat directly.  If
everything works okay, then try accessing through
Apache.  A web.xml isn't required as long as you are
happy with what Tomcat provides by default.

Cheers,
Larry

> -Original Message-----
> From: Camara, Jose [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 12, 2001 10:01 PM
> To: '[EMAIL PROTECTED]'
> Subject: Application configuration
> 
> 
> I think I reach that point where I need some help ... could 
> you subscribe me
> and help me with the following issue.
>  
> Totally new in configuring applications to be deployed on tomcat:
> 1) Apache and tomcat are running perfectly
> 2) I created a directory to install my application (webapps/imr)
> 3) Under that, I created META-INF, WEB-INF and servlets directories.
> 4) I also modified tomcat-apache.conf as follows
>  
> Alias /imr "/home/jcamara/tomcat/webapps/imr"
> 
> Options Indexes FollowSymLinks
> 
> ApJServMount /imr/servlet /imr
> 
> AllowOverride None
> deny from all
> 
> 
> AllowOverride None
> deny from all
>   
>  
> 5) I'm starting to believe that I need to create a web.xml 
> file and I'm not
> sure how, probably I'll follow one of the examples.
> 6) I can see the list of classes for my application under 
> that directory.
> 7) Every time I'm trying to run the application it asked me 
> for download the
> application on IE and finally come with an error saying 
> "Could not find the
> main class. Program will exit!" on a Java Virtual Machine pop 
> up screen.
>  
> I'm 100% sure that I'm missing something, so here are my questions:
> Q1: Do I need to create a web.xml file?
> Q2: Where should I put the jar files that my application need?
> Q3: How should I configure Tomcat in under to display correctly my
> application?
>  
> Regards,
>  
> 
> Jose L. Camara
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Application configuration

2001-12-14 Thread Camara, Jose

Larry,

I forgot to include Tomcat version number which is 3.2.2 Even when I created
the directory, I guess I need to indicate tomcat how to resolve the classes
needed.

Here is the scenario:
1) Directory where all the classes are located is {server}imr/servlets
2) From here I can see the list of servlets
3) If I click on one or two of them I receive a download file screen with
options to open or save the class.
4) If I select to open the file from it's current location, I receive a
message saying "Could not find the main class. Program will exit!"

About log files  mmm, I just have jasper.log and servlet.log files
under logs directory. Any of them indicates anything related to the problem.

Cheers,

Jose L. Camara

Informatica Headquarters
3350 West Bayshore Road
Palo Alto, CA, 94303

Technical Support
http://www.informatica.com <http://www.informatica.com> 
Email [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Tel. 650-687-6200
Direct. 650-687-4722
Fax. 650-687-0040
Toll Free: 800-653-3871



-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 10:10 AM
To: 'Tomcat Users List'
Subject: RE: Application configuration


You still haven't indicated which version of Tomcat, so it
is hard to make specific recommendations.

For all 3.x and 4.x Tomcats, creating a subdirectory under
the "webapps" directory is the simplest way to bring a new
web application online.  Tomcat will automatically serve
these subdirectories without requiring config file changes.
You seem to have done this.

However, I can't tell much from "I don't even reach the point
where Tomcat itself is running my application".  What
error is reported when you try to run a servlet?  What do
you see in the log files?

Cheers,
Larry

P.S. If you are not familar with the Servlet specs, you 
can download it from here:

<http://java.sun.com/products/servlet/download.html>

Tomcat 3.x implements Servlet 2.2, Tomcat 4.x implements
Servlet 2.3.

> -Original Message-
> From: Camara, Jose [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 12:27 PM
> To: 'Tomcat Users List'
> Subject: RE: Application configuration
> 
> 
> Thanks Larry,
> 
> I don't even reach the point where Tomcat itself is running 
> my application.
> I guess I need to indicate Tomcat where and how to recognize 
> the classes for
> my application. Setting up my application in tomcat is the problem.
> 
> Regards,
> 
> Jose L. Camara
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 4:58 AM
> To: 'Tomcat Users List'
> Subject: RE: Application configuration
> 
> 
> The configuration you show only lets Tomcat execute
> servlets.  All other content, Apache will try to serve
> directly.  Is this your intent?   It would also help
> to know which version of Tomcat 3.x you are using.
> (Note that Tomcat 3.3 does the best job of automating
> the connection to Apache.)
> 
> In general, I would also recommend testing your web
> application first by accessing Tomcat directly.  If
> everything works okay, then try accessing through
> Apache.  A web.xml isn't required as long as you are
> happy with what Tomcat provides by default.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Camara, Jose [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 12, 2001 10:01 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Application configuration
> > 
> > 
> > I think I reach that point where I need some help ... could 
> > you subscribe me
> > and help me with the following issue.
> >  
> > Totally new in configuring applications to be deployed on tomcat:
> > 1) Apache and tomcat are running perfectly
> > 2) I created a directory to install my application (webapps/imr)
> > 3) Under that, I created META-INF, WEB-INF and servlets directories.
> > 4) I also modified tomcat-apache.conf as follows
> >  
> > Alias /imr "/home/jcamara/tomcat/webapps/imr"
> > 
> > Options Indexes FollowSymLinks
> > 
> > ApJServMount /imr/servlet /imr
> > 
> > AllowOverride None
> > deny from all
> > 
> > 
> > AllowOverride None
> > deny from all
> >   
> >  
> > 5) I'm starting to believe that I need to create a web.xml 
> > file and I'm not
> > sure how, probably I'll follow one of the examples.
> > 6) I can see the list of classes for my application under 
> > that directory.
> > 7) Every time I'm trying to run the application it asked me 
> > for dow

Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer

I am having problems reading a resource file I placed in 
/var/tomcat4/common/lib. I also tried placing it in 
/var/tomcat4/common/classes.

I wrote a small JSP which lists the classpath and I notice it prints out as 
/var/tomcat/common/lib  (missing the 4). Does anyone know where this is 
set?

Jose Ferrer



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer

Yes, CATALINA_HOME is set to /var/tomcat4

Here is my simple jsp

<%@ page language="java" %>
<%@ page import = "java.util.*"  %>
<%@ page import = "java.io.*"  %>
<%  Properties prop = System.getProperties();   %>
Java class path: <%=prop.getProperty("java.class.path")%>

<%
Properties props = new Properties();
FileInputStream fin = new FileInputStream("DBConnMgr.properties");
props.load(fin);
%>

<%=props.getProperty("admin.log")%>

The java.class.path returned is
Java class path: 
/usr/java/j2sdk1.4.0/lib/tools.jar:/var/tomcat/common/lib/:/var/tomcat4/  
bin/bootstrap.jar
Notice the missing 4 in the common/lib classpath.
It is interesting that the bootstrap.jar is listed as being in /var/tomcat4 
but common/lib is listed as being in /var/tomcat. I'm still trying to 
figure out where the classpath is set. I know how to do this when tomcat is 
started from a shell but not as a daemon.

If I place the DBConnMgr.properties file in my root directory it works. 
When I place it in /var/tomcat4/common/lib (or any other supposedly valid 
classpath) it does not.

Jose Ferrer


On Tuesday, May 07, 2002 12:10 PM, Larry Meadors 
[SMTP:[EMAIL PROTECTED]] wrote:
> Do you have a CATALINA_HOME environment variable set? That might cause
> this...
>
> >>> [EMAIL PROTECTED] 05/07/02 09:21AM >>>
> I am having problems reading a resource file I placed in
> /var/tomcat4/common/lib. I also tried placing it in
> /var/tomcat4/common/classes.
>
> I wrote a small JSP which lists the classpath and I notice it prints
> out as
> /var/tomcat/common/lib  (missing the 4). Does anyone know where this is
>
> set?
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Trying to start tomcat 3.3.1

2002-05-16 Thread Jose, Babu

I am trying to start tomcat 3.3.1 and is getting the following warning. 


org.apache.tomcat.core.TomcatException: Root cause - Option unsupported by
protocol: create


Any idea please..

Thanks
Babu

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Need help with isapi_redirect.dll on W2KSP2/IIS5

2001-08-01 Thread Navarro, Jose

Pedro,

I know, this my seem rather stupid, but I solved this problem removing the
ajp13 connector from the workers.list line in
TOMCAT_HOME/conf/workers.properties. That is, the original file you get
includes a line like this:

worker.list=ajp12, ajp13

Just remove ", ajp13"

I did some other things; there they go:

1) In the same file (workers.properties) I changed the default values for
workers.tomcat_home and workers.java_home to the actual paths pointing to
both packages.

2) Same file. Be sure that ps is \, not /

Can't remember anything else besides strictly following the directions given
in the howtos.

I'm not an expert, though. Perhaps there are many other solutions much
better than mine, but this one worked after three days of wrestling with the
howtos, web pages including any kind of hints and so on.

Hope it helps!

Jose



Can anyone send me mod_jk.so for Redhat 7.0 / Apache 1.3.14? / Tomcat 3.2.1

2001-08-01 Thread Navarro, Jose

Hi,

I've been trying to install Tomcat 3.2.1 in a Redhat 7.0 box running Apache
1.3.14 for a few days.

As many people report in many cases, Tomcat works nice standalone (as well
as Apache) but cannot integrate them to work together. Well, this is not
exactly true; the apache's logs say that "apache / mod_jk" has been started.
That is, it seems that apache realizes that mod_jk is working...

The actual problem is that while Tomcat serves both .jsps and servlets when
using URLS of the sort http://myserver:8080..., apache seems not to be
redirecting these requirements when I try to execute them through apache
itself. The browser simply stalls... forever.

I've read the howtos and even the archives and followed all the directions
given by the people contributing to this list but one: I have not compiled
mod_jk.so by myself.

I tried to do it one hour ago, but, I do not know why, apxs does not exist!
I tried to find this program with no success at all. In fact, I'm not the
one who set up the box, so don't know how Apache was built. Still worse, I'm
not a linux expert, I'm not able to reinstall it.

Well, since I downloaded my current version of mod_jk.so from the web (it
was jakarta's) some time ago, I'm not sure whether it is the right one.
Since it seems that everything else I did is correct, I *guess* that the
problem is mod_jk.so itself. That's why I ask you to send me the "right"
version (my email address is [EMAIL PROTECTED]).

By the way, mod_jk.log is created and always empty. jasper.log and
servlets.log have the usual lines on them. I can see ports 8007 and 8009
both listening. I have included NO additional contexts (I'm just trying to
run the examples). I have defined the right TOMCAT_HOME and JAVA_HOME paths
in workers.properties (as well as the ps as /). I have created an ajp13
connector in server.xml following the directions given in one of the
messages in the archive.I have copied mod_jk.conf-auto in the same directory
than httpd.conf and appended the line "include
/the/full/path/to/mod_jk.conf-auto"
at its end. When booting, I stop apache, start tomcat, and restart apache
(in this precise order). And see no errors at all in the log files.

My jdk is 1.3.0_02 (sun's).

And I'm desperate.

Can you help me?

Thanks alot for your interest!

Jose.



RE: Can anyone send me mod_jk.so for Redhat 7.0 / Apache 1.3.14? / To mcat 3.2.1

2001-08-01 Thread Navarro, Jose

Jan,

first of all, thanks for your quick help. And my congratulations for your
page!

No, I hadn't checked it. Now I've read the relevant parts. In one of the
documents you've got there I have found a link to jakarta.apache.org... but
it's dead. There's nothing related to 3.2.1 there. That's why I sent my
previous message with my request.

So, I still need that binary version!

Thanks.

Jose.

> -Mensaje original-
> De: Jan Labanowski [mailto:[EMAIL PROTECTED]]
> Enviado el: miercoles, 01 de agosto de 2001 16:41
> Para: '[EMAIL PROTECTED]'
> Asunto: Re: Can anyone send me mod_jk.so for Redhat 7.0 / 
> Apache 1.3.14?
> / To mcat 3.2.1
> 
> 
> On Wed, 1 Aug 2001, Navarro, Jose wrote:
> 
> > Hi,
> > 
> > I've been trying to install Tomcat 3.2.1 in a Redhat 7.0 
> box running Apache
> > 1.3.14 for a few days.
> > 
> 
> Did you look at:
> 
> http://www.ccl.net./cca/software/UNIX/apache/
> 
> 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: Can anyone send me mod_jk.so for Redhat 7.0 / Apache 1.3.14? / To mcat 3.2.1

2001-08-01 Thread Navarro, Jose

By the way, I leave my office today for 30 days (holidays!!!) so if any of
you is going to send me mod_jk.so, please send it also to my email account
(I think that this list does not allow attachments!).

My email address is [EMAIL PROTECTED]

Thanks!

Jose.

> -Mensaje original-
> De: Jan Labanowski [mailto:[EMAIL PROTECTED]]
> Enviado el: miercoles, 01 de agosto de 2001 16:41
> Para: '[EMAIL PROTECTED]'
> Asunto: Re: Can anyone send me mod_jk.so for Redhat 7.0 / 
> Apache 1.3.14?
> / To mcat 3.2.1
> 
> 
> On Wed, 1 Aug 2001, Navarro, Jose wrote:
> 
> > Hi,
> > 
> > I've been trying to install Tomcat 3.2.1 in a Redhat 7.0 
> box running Apache
> > 1.3.14 for a few days.
> > 
> 
> Did you look at:
> 
> http://www.ccl.net./cca/software/UNIX/apache/
> 
> 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/
> 



ipchains - apache - tomcat - Help!!!

2001-09-04 Thread Navarro, Jose

Hi!

I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work together in a
RedHat 7.0 box. I've just compiled my own mod_jk.so and run everyting
according the instructions.

Well, as usually happens, tomcat works fine in standalone mode. But as is it
also usual, I have problems when I try to run the examples through apache.

After taking a look to mod_jk.log, I noticed that some errors concerning
sockets to be open were reported there. After that, I decided (don't ask
why, it was kind of a vision) to tail the "messages" log file created by
ipchains, the firewall we're using. Bingo! Every time I try to run a jsp, my
firewall begins to report unauthorized accesses. Curiously, it doesn't
matter whether I try to do it from the outside world or from behind the
firewall (?).

This seems to lead to the conclusion (correct me if I'm wrong) that apache
mod_jk cannot work properly since the firewall is bloking its way to tomcat.

Well, I'm a real novice in everything related to linux, so I would like to
ask for some help. Could you please tell me which ports should I open (and
how according to the ipchains syntax) to allow mod_jk do its work?

PLEASE, CC: me to [EMAIL PROTECTED], since I'm not subscribed to this
list. The number of messages you get per hour is simply overwhelming!

Thanks alot for your help and interest!

Jose.



RE: ipchains - apache - tomcat - Help!!!

2001-09-04 Thread Navarro, Jose

Jean-Frederic,

thanks alot for your answer (it's been fast as lightnin!). However, I do not
understand your answer! Excuse me for being so stupid, but as I said in my
previous message I'm rather far from being a linux guru!

When you said "try to add it /etc/hosts", what were you talking about? About
"localhost"? About port 8007? And (excuse me, I'm not trying to be rude)
what is it for? To fix that apache-tomcat do not work even when accessed
from behind ipchains?

I'm sorry if my questions are too silly. I still do not know how it's me who
has to take care of this problem!!!

Merci beaucoup! (I'm sorry, I've almost forgotten my french... it was about
25 years ago when I stopped studying it!)

Jose.

BTW, let me know if you want me to CC you when I send a message to the
mailing list. This time I did it, but perhaps you receive two copies of this
message... Excuse me if it is so.

Jose.

> -Mensaje original-
> De: jean-frederic clere [mailto:[EMAIL PROTECTED]]
> Enviado el: martes, 04 de septiembre de 2001 12:54
> Para: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Asunto: Re: ipchains - apache - tomcat - Help!!!
> 
> 
> "Navarro, Jose" wrote:
> > 
> > Hi!
> > 
> > I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work 
> together in a
> > RedHat 7.0 box. I've just compiled my own mod_jk.so and run 
> everyting
> > according the instructions.
> > 
> > Well, as usually happens, tomcat works fine in standalone 
> mode. But as is it
> > also usual, I have problems when I try to run the examples 
> through apache.
> 
> Probably telnet localhost 8007 does not work neither. Try to add it in
> /etc/hosts.
> 
> > 
> > After taking a look to mod_jk.log, I noticed that some 
> errors concerning
> > sockets to be open were reported there. After that, I 
> decided (don't ask
> > why, it was kind of a vision) to tail the "messages" log 
> file created by
> > ipchains, the firewall we're using. Bingo! Every time I try 
> to run a jsp, my
> > firewall begins to report unauthorized accesses. Curiously, 
> it doesn't
> > matter whether I try to do it from the outside world or 
> from behind the
> > firewall (?).
> > 
> > This seems to lead to the conclusion (correct me if I'm 
> wrong) that apache
> > mod_jk cannot work properly since the firewall is bloking 
> its way to tomcat.
> > 
> > Well, I'm a real novice in everything related to linux, so 
> I would like to
> > ask for some help. Could you please tell me which ports 
> should I open (and
> > how according to the ipchains syntax) to allow mod_jk do its work?
> > 
> > PLEASE, CC: me to [EMAIL PROTECTED], since I'm not 
> subscribed to this
> > list. The number of messages you get per hour is simply 
> overwhelming!
> > 
> > Thanks alot for your help and interest!
> > 
> > Jose.
> 



RE: ipchains - apache - tomcat - Help!!!

2001-09-05 Thread Navarro, Jose

David, Jean-Frederic,

Thanks to both for your help. Finally I solved it. A comment from David was
the final hint:

"your running ipchains on your system ***and denying access to the ports
Apache and Tomcat use to talk to each other***"

Well, I simply opened the corresponding ports on "lo" to authorize the
traffic between apache and tomcat and it worked immediately.

Well, I can forget six or seven days of nightmare!

Regards,

Jose



Download Accelerator Plus & Tomcat

2002-01-21 Thread Jose Solorzano


Hello.

Has anyone else had any experience using Download
Accelerator Plus (http://www.speedbit.com/)to
download files served by Tomcat 4.0.1?

I've had some problems trying to download a Windows
executable. The size of the downloaded file has one
less byte than it should.

Any ideas on how to fix this?

Regards,
--Jose


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Load balancing app context ?

2002-02-10 Thread Jose Solorzano


What kind of state do you store in those variables?

With multiple VMs, you can store user/session state in cookies, in a shared
database or you
can use an application server.

--Jose



-
Message sent using LoudPC - get it now: http://loudpc.com?rid=m0
Use your PC's Outlook(tm) from any Internet browser or web phone.


- Original Message -
From: Vjeran Marcinko <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 12:39 AM
To: [EMAIL PROTECTED]
Subject: Load balancing app context ?

Hi.
Just a short question.
I have a web-app that has to have some global
sharing context for my web-app in Tomcat's load
balancing case (multiple JVMs).
Till now, I simply was defining all shared variables
outside service() method, so different HTTP request
can have access to these instance variables (usually
initialized in init() method).
So my short question is :
Will this work in load balancing case, when I have
multiple JVMs ? I'm afraid each JVM will have its
own instance of this servlet, thus having each own
instance of this servlet's instance variable, thus data
stored in this variable during one HTTP request cannot
be accessible to other HTTP request, because they are
running on different JVMs..Right ?

Thanx,
Vjeran




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Load balancing app context ?

2002-02-10 Thread Jose Solorzano

Yes, it does sound kind of weird :)
You could simply use sockets for the
initial connection. That way you won't
need at least one blocked HttpConnector
thread for each active applet client.
Threads are relatively expensive. Also,
you should take into consideration that
certain routers won't let you keep a
connection open indefinitely.

To solve your load-balancing issue, I
guess you could assign a globally unique
ID to each active applet, and have the
load balancer redirect/proxy applet connections
to the right server based on the ID, or have the applet establish an initial
connection with all
the load balanced servers, or get the servers to talk to each other. It
depends on what you can do with the load balancer you're using.

--Jose


-
Message sent using LoudPC - get it now: http://loudpc.com?rid=m0
Use your PC's Outlook(tm) from any Internet browser or web phone.


- Original Message -
From: Vjeran Marcinko <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 09:01 AM
To: Tomcat Users List
Subject: Re: Load balancing app context ?


- Original Message -
From: "Jose Solorzano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 2:32 PM
Subject: RE: Load balancing app context ?


>
> What kind of state do you store in those variables?
>
> With multiple VMs, you can store user/session state in cookies, in a
shared
> database or you
> can use an application server.
>
> --Jose

Well, I know it sounds weird, but I'm storing servlet's output stream
in those variables. And than I block this servlet, thus it won't be able to
close its output stream, which is the thing that happens when servlet
thread goes out of its service() method.
This way I have persistent output stream to client. And then all future
HTTP requests can fetch this stored output stream and send some data
back to client. But since I have multiple JVMs, this stored variable
isn't unique anymore, because there are as many variables as there are
JVMs, and each of them has its own servlet instance, right ?
Thing works perfectly with one servlet engine instance, but I guess it
won't do in load-balancing case...
I didn't consider session till now, since client is applet and not browser,
and I'm not sure how good is applet's URLConnection doing with cookies ?

-Vjeran





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




mod_jk, mod_webapp or mod_proxy?

2002-02-16 Thread Jose Solorzano


Has anyone else chosen mod_proxy over mod_jk
and mod_webapp? I found mod_jk to be unstable
in our setup, and mod_webapp didn't translate
redirects properly. Also, it seems to me that
mod_proxy must have been around a lot longer than
mod_jk and mod_webapp. The HttpConnector has 
certainly been used a lot more than the WarpConnector
or the Ajp13Connector. I haven't had any
problems with mod_proxy so far. So why isn't 
mod_proxy mentioned all that often?

Regards,
--Jose


=

Your information, wherever you are: http://loudpc.com?rid=m4

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Performance testing of servlets / beans / jsp ?

2002-02-17 Thread Jose Solorzano


--- "Cato, Christopher" <[EMAIL PROTECTED]> wrote:
> Hi. I'd like to performance test my applications,
> anyone have a clue on what
> software to use?
> 
> I use Forté for Java CE 3 as the IDE and TomCat 3.23
> as the servlet / jsp
> container. The server runs on RH Linux 6.2
> 
> Hopefully there are some opensource tools to use for
> this?
> 
> Regards,
> Chris 

I've used OptimizeIt with mid-sized
Java systems. It should work
fine with Tomcat. I believe they have
a 30-day free trial.

Regards,
--Jose




__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: tomcat4.0.2+apache1.3.23+mod_webapp.so went well but why?

2002-02-18 Thread Jose Solorzano


--- Satoshi Okamoto <[EMAIL PROTECTED]>
wrote:
> below is configurations of server.xml of tomcat
> 4.0.2 and httpd.conf of
> apache 1.3.23 (most parts were cut, only the part
> that i modified is shown).
> first of all, http://tecdev15:8005 works fine. and
> http://tecdev15:8080
> works fine, too. but why does both 8005 and 8080
> work? i guessed 8080 works
> only as tomcat, not with apache, and 8005 works as a
> combination of tomcat
> and apache. correct me if im wrong.

Look in server.xml, and I bet you'll find a
WarpConnector set up to listen at port 8005.

--Jose



=

| http://loudpc.com?rid=j0 |

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Error message

2002-02-18 Thread Jose Solorzano


--- Magnus Jansson <[EMAIL PROTECTED]> wrote:
> Hi!!!
> 
> I'm quite new to jsp and java and I would like to
> know how to "decode" the error messages that I
> receive.
> 
> And for now this particular error message
> 
> java.lang.VerifyError: (class:
> interbase/interclient/ErrorKey, method:  signature:
> ()V) Expecting to find object/array on stack
>   at
>
interbase.interclient.EscapeProcedureCallParser.parse(EscapeProcedureCallParser.java,
> Compiled Code)
>   at
>
interbase.interclient.EscapeProcessor._$150216(EscapeProcessor.java,
> Compiled Code)
>   at
>
interbase.interclient.EscapeProcessor.doEscapeProcessing(EscapeProcessor.java,
> Compiled Code)
>   at
>
interbase.interclient.PreparedStatement.(PreparedStatement.java:104)
>   at
>
interbase.interclient.CallableStatement.(CallableStatement.java:261)
>   at
>
interbase.interclient.Connection.prepareCall(Connection.java:572)
>   at
>
matsedel.input.updatematsedel_8._jspService(updatematsedel_8.java:84)
>   at
>
org.apache.jasper.runtime.HttpJspBase.service(Unknown
> Source)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>   at
>
org.apache.tomcat.facade.ServletHandler.doService(Unknown
> Source)
>   at org.apache.tomcat.core.Handler.invoke(Unknown
> Source)
>   at org.apache.tomcat.core.Handler.service(Unknown
> Source)
>   at
>
org.apache.tomcat.facade.ServletHandler.service(Unknown
> Source)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
>   at
>
org.apache.tomcat.core.ContextManager.service(Unknown
> Source)
>   at
>
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
> Source)
>   at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
> Source)
>   at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> 
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - 
> Magnus Jansson
> IT-Manager
> Väddö folkhögskola
> 760 40 Väddö
> Sweden
> 
> Phone: +46 (0) 176-528 00
> Cellular: +46 (0) 70-370 33 16
> Fax: +46 (0) 176-528 28
> http://www.vaddo.fhsk.se (work)
> http://www.jason.pp.se (private)

VerifyError means the JVM thinks there's
something wrong with the class file, basically.
Maybe you need to recompile everything from
scratch, make sure the class files in the
classpath are the right ones, etc. Which VM
and which compiler are you using?

--Jose



__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: jsp and tomcat4

2002-02-18 Thread Jose Solorzano
dPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:190)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
> .java:475)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1012)
>   at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
> )
>   at java.lang.Thread.run(Thread.java:536)
> 

Before you run Tomcat, type 'which java'
or 'java -version'. It might not be the VM
you're expecting. To further
troubleshoot this problem, note that
the javac compiler class is in the tools.jar
file that comes with J2SDK.

--Jose


=

| http://loudpc.com?rid=j0 |

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Sample App

2003-02-07 Thread Jose Moreira
Hello,

i believe im doing it but when i compile i get no .java in WEB-INF/...

build.xml excerpt:

...

  
  
  
  
   
  
  
  http://localhost:8080/manager"/>
  
  

...










-Mensagem original-
De: Mark Eggers [mailto:[EMAIL PROTECTED]]
Enviada: quinta-feira, 6 de Fevereiro de 2003 20:42
Para: Tomcat Users List
Assunto: Re: Sample App


Jose,

This looks like a packaging issue.  If you've compiled
your bean in src/mypackage/feijao with a package
definition of src.mypackage.feijao, then you'll need
to place the class file in:

WEB-INF/classes/src/mypackage/feijao/beanclass.class

where the WEB-INF directory is the one that lives
inside your particular web-app.

HTH
/mde/
just my two cents . . . .

--- Josi_Moreira <[EMAIL PROTECTED]> wrote:
> Im building a simple test with the jsp sample app
> just by adding a custom
> bean and a test.jsp but i get :
>
>
> java.lang.NoClassDefFoundError: src/mypackage/feijao
> at
> java.lang.Class.getDeclaredConstructors0(Native
> Method)


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


my first servlet

2003-02-12 Thread Jose Moreira
hello, i created my first servlet called db2xml but when i try to access it
i get :

http://localhost:8081/servlet/db2xml


Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet db2xml is currently
unavailable

type Status report

message Servlet db2xml is currently unavailable

description The requested service (Servlet db2xml is currently unavailable)
is not currently available.



ps.: im using Netbeans 2.4.1 IDE and the servlet whas wizard-created.

what could be the problem? thank you



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: my first servlet

2003-02-13 Thread Jose Moreira
thank you. i had already solved the problem and it was indeed the package
... i created a 'servlets' dir and placed the

servlets in there with 'package servlets;'


good work




-Mensagem original-
De: Mike Jackson [mailto:[EMAIL PROTECTED]]
Enviada: quinta-feira, 13 de Fevereiro de 2003 17:04
Para: Tomcat Users List
Assunto: RE: my first servlet


Is your servlet in a package?  You if it is and you haven't specified a name
for the servlet you'll need to supply the package and class name, ie
http://localhost:8081/servlet/org.dorkmaster.servlet.db2xml

Also, you might also want to remember that the java style guidelines specify
that classes should start capitalized (Db2xml) and that subsequent words in
the class name should also be capitalized (Db2Xml).  I don't have a link to
the guidelines, but I'm sure someone else can offer one.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Jose Moreira [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 3:00 AM
> To: Tomcat Users List
> Subject: my first servlet
>
>
> hello, i created my first servlet called db2xml but when i try to
> access it
> i get :
>
> http://localhost:8081/servlet/db2xml
>
>
> Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet db2xml is currently
> unavailable
>
> type Status report
>
> message Servlet db2xml is currently unavailable
>
> description The requested service (Servlet db2xml is currently
> unavailable)
> is not currently available.
>
>
>
> ps.: im using Netbeans 2.4.1 IDE and the servlet whas wizard-created.
>
> what could be the problem? thank you
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: R: properties files

2003-02-26 Thread Jose Moreira
thanks :) i noticed that the servlet context isnt available also ...

but if i put the properties file inside the WEB-INF/lib, what's it's path ?



-Mensagem original-
De: Erik Price [mailto:[EMAIL PROTECTED]
Enviada: terca-feira, 25 de Fevereiro de 2003 20:12
Para: Tomcat Users List
Assunto: Re: R: properties files




Simone Chiaretta wrote:
> I store properties in my the app WEB-INF/web.xml
> 
>   
>   smtpServer
>   my.smtpserver.net
>   SMTP server to be used to send email from forms in the
> website
>   
> 
> and I access the value also in JSP pages with
> 
> String value =  getServletContext().getInitParameter("smtpServer");
> 
> and I assure u that it works even with JSP not only with servlet,

Because JSPs are servlets.

> but I
> never tryed accessing it from inside a bean.

Because you can't, unless you pass the data to the bean somehow (via 
constructor or method arg) then it has no knowledge of the ServletContext.

To the OP: just use the Properties file from the JavaBean the way you 
would normally in a non-webapp Java application.  To be visible to the 
Tomcat classloader, put your Properties file in WEB-INF/classes or jar 
it up and put it in WEB-INF/lib.



Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread Jose Osorio
First of all, isn't port 80 reserved for http sevices? This may conflict
with tomcat.

Secondly, check your environment to make sure the point to the proper
installation directories where you loaded tomcat & axis.

Also, if you have other installations of SOAP implementations, these may
conflict with axis.

On a web browser, type: http://localhost:8080/axis/happyaxis.jsp
(note the port number, in your case it will be the one you have designated
for tomcat.)

The resulting markup output is the output of axis-soap probing. I have a
Linux environment and the following are the results I get (you mentioned
Win98 and that may have something to do with the problem you are
experiencing.):


Axis Happiness Page
Examining webapp configuration

Needed Components
Found SAAJ API (javax.xml.soap.SOAPMessage) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/saaj.jar
Found JAX-RPC API (javax.xml.rpc.Service) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/jaxrpc.jar
Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/axis.jar
Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-discovery.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-logging.jar
Found Log4j (org.apache.log4j.Layout) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar
Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at
/usr/local/tomcat418/webapps/axis/WEB-INF/lib/wsdl4j.jar
Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an unknown
location
Found Activation API (javax.activation.DataHandler) at
/usr/local/tomcat418/common/lib/activation.jar

Optional Components
Found Mail API (javax.mail.internet.MimeMessage) at
/usr/local/tomcat418/common/lib/mail.jar

Warning: could not find class org.apache.xml.security.Init from file
xmlsec.jar
XML Security is not supported
See http://xml.apache.org/security/

Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at an
unknown location


The core axis libraries are present. 1 optional axis library is missing
Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain
java.* or javax.* packages into CATALINA_HOME/common/lib
jaxrpc.jar and saaj.jar are two such libraries.
Note: Even if everything this page probes for is present, there is no
guarantee your web service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient





Examining Application Server
Servlet version 2.3
XML Parser org.apache.xerces.jaxp.SAXParserImpl
XML ParserLocation an unknown location

Examining System Properties
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
sun.boot.library.path=/usr/local/j2sdk141/jre/lib/i386
java.vm.version=1.4.1_01-b01
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/usr/local/tomcat418
java.runtime.version=1.4.1_01-b01
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/local/tomcat418/bin:/usr/local/tomcat418/common/endo
rsed
os.arch=i386
java.io.tmpdir=/usr/local/tomcat418/temp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.naming.factory.url.pkgs=org.apache.naming
os.name=Linux
sun.java2d.fontpath=
java.library.path=/usr/local/j2sdk141/jre/lib/i386/client:/usr/local/j2sdk14
1/jre/lib/i386:/usr/local/j2sdk141/jre/../lib/i386
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFact
ory
os.version=2.4.18-3
user.home=/root
user.timezone=America/New_York
catalina.useNaming=true
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ISO-8859-15
java.specification.version=1.4
catalina.home=/usr/local/tomcat418
user.name=root
java.class.path=/usr/local/j2sdk141/lib/tools.jar:/usr/local/tomcat418/bin/b
ootstrap.jar
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=/usr/local/j2sdk141/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=mixed mode
java.version=1.4.1_01
java.ext.dirs=/usr/local/j2sdk141/jre/lib/ext
sun.boot.class.path=/usr/local/tomcat418/bin/tomcat-jni.jar:/usr/local/tomca
t418/bin/commons-daemon.jar:/usr/local/tomcat418/bin/bootstrap.jar:/usr/loca
l/tomcat418/common/endorsed/xercesImpl.jar:/usr/local/tomcat418/common/endor
sed/xmlParserAPIs.jar:/usr/local/j2sdk141/jre/lib/rt.jar:/usr/local/j2sdk141
/jre/lib/i18n.j

RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread Jose Osorio
Axis is the next generation of Apache-SOAP. The later is being deprecated.

The Wrox book is basic but good enough to give you the basics for more
rigoruous work. The sample code is also good.

The error messages that you listed do point a problem to bootstrap classes
not being located, which leads me to believe that you have a path (and
classpath) setting issue.

Yeah man, I realized it was you John.

Jose.-



> -Original Message-
> From: john d barreto [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 29, 2003 3:29 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java
> 1.4.1_02
>
>
> Jose,
> I'm avoiding Axis.  I tried to use it, but the documentation is not
> adequate, the only book on Axis (the Wrox book) did not receive good
> reviews, and Apache-SOAP has served me sufficiently well.  Apache-SOAP is
> more than adequate.  I am not going to rely on documentation that only
> shows the simplest of examples where strings are passed.  In that example,
> they mention a constant for Strings, but how would I pass other datatypes
> for instance?  I am waiting for a good book on Axis to come out.  First, I
> want to get SOAP working again.
>
> As for the port number, I am only doing what worked in the past.  I think
> things got screwed up when I installed the new SDK1.4.  Using
> localhost/soap/admin/ in the browser.
>
> Y tengo la presion del Ege.
>
> Later Chamo!!
>
> Did you notice it was me?!??
>
>
> > First of all, isn't port 80 reserved for http sevices? This may conflict
> > with tomcat.
> >
> > Secondly, check your environment to make sure the point to the proper
> > installation directories where you loaded tomcat & axis.
> >
> > Also, if you have other installations of SOAP implementations, these may
> > conflict with axis.
> >
> > On a web browser, type: http://localhost:8080/axis/happyaxis.jsp
> > (note the port number, in your case it will be the one you have
> > designated for tomcat.)
> >
> > The resulting markup output is the output of axis-soap probing. I have a
> > Linux environment and the following are the results I get (you mentioned
> > Win98 and that may have something to do with the problem you are
> > experiencing.):
> >
> >
> > Axis Happiness Page
> > Examining webapp configuration
> >
> > Needed Components
> > Found SAAJ API (javax.xml.soap.SOAPMessage) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/saaj.jar
> > Found JAX-RPC API (javax.xml.rpc.Service) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/jaxrpc.jar
> > Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/axis.jar
> > Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource)
> > at /usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-discovery.jar
> > Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-logging.jar
> > Found Log4j (org.apache.log4j.Layout) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar
> > Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at
> > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/wsdl4j.jar
> > Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an
> > unknown location
> > Found Activation API (javax.activation.DataHandler) at
> > /usr/local/tomcat418/common/lib/activation.jar
> >
> > Optional Components
> > Found Mail API (javax.mail.internet.MimeMessage) at
> > /usr/local/tomcat418/common/lib/mail.jar
> >
> > Warning: could not find class org.apache.xml.security.Init from file
> > xmlsec.jar
> > XML Security is not supported
> > See http://xml.apache.org/security/
> >
> > Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at
> > an unknown location
> >
> >
> > The core axis libraries are present. 1 optional axis library is missing
> > Note: On Tomcat 4.x and Java1.4, you may need to put libraries that
> > contain java.* or javax.* packages into CATALINA_HOME/common/lib
> > jaxrpc.jar and saaj.jar are two such libraries.
> > Note: Even if everything this page probes for is present, there is no
> > guarantee your web service will work, because there are many
> > configuration options that we do not check for. These tests are
> > necessary but not sufficient
> >
> >
> >
> --
> --
> > 
> >
> > Examining Application Server
> &g

I post a text XML with Microsoft.XMLHTTP to servlet

2003-10-10 Thread Jose Alanya
Hi, 

I post a text XML with  Microsoft.XMLHTTP to servlet,
As I can recover the value of object request from of servlet
This can :
something like  :  Document oDocument = xml.paser(objrequest)

Not getparameter, not getquerystring 

Please  help me!
Thanks,

best regards,
Jose Alanya
From, Lima Peru 

Please Help to compile mod_jk2 on AIX

2003-11-28 Thread Jose Perez
Please, i have tried to compile hundred of times jakarta-tomcat-connectors-4.1.29-src 
and jakarta-tomcat-connectors-jk2-2.0.2-src, but it's impossible. There are a lot of 
errors during compilation.

I use: gcc.3.2.1, libtool 1.4.2,autoconf 2.53,automake 1.5, make 3.79

#cd jakarta-tomcat-connectors-4.1.29-src/jk/native2
#chmod +x buildconf.sh
#./buildconf.sh
#CC=gcc ./configure --with-java-home=/usr/java131 --with-apxs2=/usr/local/apache2/bi
n/apxs --with-tomcat41=/soft/jakarta-tomcat-4.1.29

Before running make, i edit
jakarta-tomcat-connectors-4.1.29-srcjk/native2/server/apache2/Makefile and
change the line
MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath 
--${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS)
to
MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath 
${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) -Wl,-brtl

#make (gnu make)
Errors are like:
mkdir ../../../build/jk2/apache2/.libs
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat
ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include
 -I/usr/local/apache2/include -I /usr/java131/include -I
/usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../common/jk_config.c -DPIC -o
../../../build/jk2/apache2/.libs/jk_config.lo
../../common/jk_config.c: In function
`jk2_config_processBeanPropertyString':
../../common/jk_config.c:106: warning: unused variable `w'
../../common/jk_config.c:107: warning: unused variable `type'
../../common/jk_config.c:108: warning: unused variable `dot'
../../common/jk_config.c: In function `jk2_config_setProperty':
../../common/jk_config.c:225: warning: unused variable `oldDisabled'
../../common/jk_config.c: In function `jk2_config_setPropertyString':
../../common/jk_config.c:274: warning: unused variable `wEnv'
../../common/jk_config.c:275: warning: unused variable `initData'
../../common/jk_config.c: In function `jk2_config_replaceProperties':
../../common/jk_config.c:326: warning: suggest parentheses around assignment
used as truth value
../../common/jk_config.c: In function `jk2_config_processConfigData':
../../common/jk_config.c:396: warning: `rc' might be used uninitialized in
this function
mv -f ../../../build/jk2/apache2/.libs/jk_config.lo
../../../build/jk2/apache2/jk_config.o
(cd ../../../build/jk2/apache2 && ln -s jk_config.o jk_config.lo)
/usr/local/apache2/build/libtool --mode=compile
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat
ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include
 -I/usr/local/apache2/include -I /usr/java131/include -I
/usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../common/jk_config_file.c -o
../../../build/jk2/apache2/jk_config_file.lo
rm -f ../../../build/jk2/apache2/.libs/jk_config_file.lo
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat
ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include
 -I/usr/local/apache2/include -I /usr/java131/include -I
/usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../common/jk_config_file.c -DPIC -o
../../../build/jk2/apache2/.libs/jk_config_file.lo
../../common/jk_config_file.c: In function `jk2_config_file_saveConfig':
../../common/jk_config_file.c:126: warning: char format, void arg (arg 4)
../../common/jk_config_file.c: At top level:
../../common/jk_config_file.c:177: warning: no previous prototype for
`jk2_config_file_parseProperty'
../../common/jk_config_file.c: In function `jk2_config_file_parseProperty':
../../common/jk_config_file.c:178: warning: unused variable `rc'
../../common/jk_config_file.c: At top level:
../../common/jk_config_file.c:407: warning: no previous prototype for
`jk2_config_file_factory'
mv -f ../../../build/jk2/apache2/.libs/jk_config_file.lo
../../../build/jk2/apache2/jk_config_file.o
(cd ../../../build/jk2/apache2 && ln -s jk_config_file.o jk_config_file.lo)
/usr/local/apache2/build/libtool --mode=compile
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat
ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include
 -I/usr/local/apache2/include -I /usr/java131/include -I
/usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../common/jk_channel_apr_socket.c -o
../../../build/jk2/apache2/jk_channel_apr_socket.lo
rm -f ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat
ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include
 -I/usr/local/apache2/include -I /usr/java131/include -I
/usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../common/jk_channel_apr_socket.c -DPIC -o
../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo
../../common/jk_channel_apr_socket.c: In function `jk2_channel_apr_init':
../../common/jk_channel_apr_socket.c:187: warning: unused variable `cfg'
../../common/

Wha's the meaning of this error mod_jk ?

2003-12-03 Thread Jose Perez
I am making several test and installing mod_jk on apache 1.3.
I change to directory:
/software/jakarta-tomcat-connectors-4.1.29-src/jk/native#
#./configure --with-apxs=/usr/local/apach13/bin/apxs --with-java-home=/usr/java131 
--with-tomcat41=/software/jakarta-tomcat-4.1.29
#/usr/linux/bin/make

make[1]: Entering directory 
`/software/jakarta-tomcat-connectors-4.1.29-src/jk/native/common'
/usr/bin/libtool --mode=compile gcc -I/usr/local/apache13/include -g -O2 -DAIX=433 
-U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O2  
-I /usr/java131/include -I /usr/java131/include/ -c jk_ajp12_worker.c 
/usr/bin/libtool[338]: /usr/linux/bin/echo:  no hallado.
/usr/bin/libtool[401]: /usr/linux/bin/echo:  not found
/usr/bin/libtool[676]: /usr/linux/bin/echo:  not found
/usr/bin/libtool[676]: /usr/linux/bin/echo:  not found

What is wrong ?
Thanks.

url-pattern behaviour

2000-12-12 Thread Jose Oliver


Hello,

I'm trying to configure tomcat with some
servlets, and I've found a difference in
behaviour from other servlet engines. I'm trying
to configure it in such a way that requests for
the main page (http://www.blah.blah.com/) are
served by a servlet called StartServlet:

  
StartServlet
/
  

and it actually does it, but the problem is that
it serves _any_ url that starts with "/", for
example "/images/whateverfooimage.jpg". The
same application running under Dynamo 5.0 does
it ok (for me), since StartServlet only serves
request for "/" url...

Is this a bug in tomcat? Or is a
"feature" of Dynamo?

Best,
Jose



Jakarta Nt Service

2000-12-26 Thread Jose Flores



I did exactly all steps of 
Nt-Service-HOW-TO.html
But i did not work.
 
I creates successfully the Service Entry, but I can 
not start it.
It returns no error messages, but it could not 
start it.
 
Thanks for your help.
 
 
José O. Flores SInnovática, SA trab: 
534-3345 ext 2124cell: 292-7614site: www.innovatica.com.do


RE: Changing root directory

2001-01-14 Thread Jose Ferrer

Should not be a problem. just make sure that any path settings and 
classpath settings reflect your change. In particular Startup.bat and 
tomcat.bat



-Original Message-
From:   kt [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, January 14, 2001 11:13 AM
To: [EMAIL PROTECTED]
Subject:Changing root directory

Hi, I'm using Tomcat by itself, and I need to change the server root
directory to maybe "D:\abc" instead of the default
"C:\jakarta-tomcat\".
This sounds simple but I just couldn't find info how this is done
anywhere.
Could anyone be kind enuf to enlighten me?
Thanx.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: error starting tomcat

2001-01-17 Thread Jose Ferrer

Manuel,

We were getting the same problem with Win98. Fixed it by downloading the latest 
service pack

Jose

On Wednesday, January 17, 2001 5:25 AM, Manuel Alzola [SMTP:[EMAIL PROTECTED]] 
wrote:
> Hello.
> 
> My tomcat 3.2.1 installed on a machine with win95 with internet explorer 5.5 sp1 
>crashes on start dumping the following stack trace
> 
> FATAL:java.net.SocketException: Option unsupported by protocol: create
> java.net.SocketException: Option unsupported by protocol: create
> at java.net.PlainSocketImpl.socketCreate(Native Method)
> at java.net.PlainSocketImpl.create(PlainSocketImpl.java:70)
> at java.net.ServerSocket.(ServerSocket.java:166)
> at java.net.ServerSocket.(ServerSocket.java:121)
> at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
> ServerSocketFactory.java:97)
> at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
> nt.java:239)
> at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
> a:188)
> at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> Any suggestions?
> 
> Thanks in advance
> 
> Manuel
> 
>  << File: ATT00019.htm >> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Jose Ferrer

Damian,

This error drove us nuts. We were runnign tomcat 3.2.1 on a win98 machine. 
It was finally fixed when we installed the latest win98 service pack. Hope 
this helps.

Jose

On Wednesday, January 17, 2001 7:32 PM, Damian Penney 
[SMTP:[EMAIL PROTECTED]] wrote:
> Just in case you missed it the first time :)
>
> Can anyone tell me why I'm getting this error in the command prompt 
window ?
> The page seems to load ok though. I'm running W2K Advanced Server, and
> tomcat 3.2.1
>
> 2000-10-24 01:41:19 - Ctx(  ): IOException in: R(  + /tomcat-power.gif =
> + null) Connection aborted by peer: socket write error
>
> Thanks for your help,
> Damian
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Fix for Socket Write Error...

2001-01-18 Thread Jose Ferrer

I've responded to this question several times. Had the same problem and 
could not find an answer. We installed Tomcat 3.2.1 on Windows NT, Windows 
98 and RedHat Linux. The problem did not occur on Linux. But it did occur 
on both NT and Windows 98. After having tried many things, including the 
latest IE. we installed the latest service packs and the problem went away 
on both windows machines. It was easy to test because any time we started a 
page with a lot of images these errors would pop up. After installing the 
service packs we did not get an error in 30 minutes of testing. Hope it 
helps.

    Jose

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




looking for java filter to block systematic downloading

2005-06-20 Thread Jose Blanco
I'm looking for a Java filter, designed to be used with 
Tomcat, to identify an IP address that appears to be rapidly downloading 
according to heuristics that I can setup, and block. There is a module like
this for Apache that I am working with called mod_bwshare.  Is there one for
tomcat?


Thank you!

Jose


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting LOGON_USER from the header

2005-08-29 Thread Robert Jose
Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using the 
isapi redirect dll.  This seems to be working well and configured correctly.  

Now I am trying to get the LOGON_USER from the header.  I want the windows id 
of the user that is hitting my web page.  I am developing an Intranet site and 
want to do seamless login based on who the user logged into their windows 
machine.  I know I can do this by using the command 
request.ServerVariables("LOGON_USER") in ASP.  I also was able to get 
request.getHeader("LOGON_USER") to work with IIS 5.1 and JRun 4 (using the dll 
they provide). 

Does anyone know how I can get this information using Tomcat?  I would be 
greatly appreciative.

Thanks
Rob J.

Re: Getting LOGON_USER from the header

2005-08-29 Thread Robert Jose

Thanks for the response Gurumoorthy, but I get null for a result.

Rob J.

- Original Message - 
From: "Gurumoorthy" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header



request.getRemoteUser()
- Original Message - 
From: "Robert Jose" <[EMAIL PROTECTED]>

To: "Tomcat User" 
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header


Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using 
the isapi redirect dll.  This seems to be working well and configured 
correctly.


Now I am trying to get the LOGON_USER from the header.  I want the windows 
id of the user that is hitting my web page.  I am developing an Intranet 
site and want to do seamless login based on who the user logged into their 
windows machine.  I know I can do this by using the command 
request.ServerVariables("LOGON_USER") in ASP.  I also was able to get 
request.getHeader("LOGON_USER") to work with IIS 5.1 and JRun 4 (using the 
dll they provide).


Does anyone know how I can get this information using Tomcat?  I would be 
greatly appreciative.


Thanks
Rob J.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting LOGON_USER from the header

2005-08-29 Thread Robert Jose

Thanks David, I will give this a try.

Rob
- Original Message - 
From: "David Smith" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header


By default, tomcat ignores the REMOTE_USER header from Apache or IIS in 
favor if it's own authentication.  To get tomcat to accept the IIS 
authentication info, add  this attribute to the  element in 
server.xml:


tomcatAuthentication="false"

--David

Robert Jose wrote:


Thanks for the response Gurumoorthy, but I get null for a result.

Rob J.

- Original Message - From: "Gurumoorthy" 
<[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header



request.getRemoteUser()
- Original Message - From: "Robert Jose" <[EMAIL PROTECTED]>
To: "Tomcat User" 
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header


Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 
using the isapi redirect dll.  This seems to be working well and 
configured correctly.


Now I am trying to get the LOGON_USER from the header.  I want the 
windows id of the user that is hitting my web page.  I am developing 
an Intranet site and want to do seamless login based on who the user 
logged into their windows machine.  I know I can do this by using the 
command request.ServerVariables("LOGON_USER") in ASP.  I also was 
able to get request.getHeader("LOGON_USER") to work with IIS 5.1 and 
JRun 4 (using the dll they provide).


Does anyone know how I can get this information using Tomcat?  I 
would be greatly appreciative.


Thanks
Rob J.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting LOGON_USER from the header

2005-08-30 Thread Robert Jose

Thanks David, that worked perfectly.  I appreciate your help.

Rob

- Original Message - 
From: "David Smith" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header


By default, tomcat ignores the REMOTE_USER header from Apache or IIS in 
favor if it's own authentication.  To get tomcat to accept the IIS 
authentication info, add  this attribute to the  element in 
server.xml:


tomcatAuthentication="false"

--David

Robert Jose wrote:


Thanks for the response Gurumoorthy, but I get null for a result.

Rob J.

- Original Message - From: "Gurumoorthy" 
<[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header



request.getRemoteUser()
- Original Message - From: "Robert Jose" <[EMAIL PROTECTED]>
To: "Tomcat User" 
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header


Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 
using the isapi redirect dll.  This seems to be working well and 
configured correctly.


Now I am trying to get the LOGON_USER from the header.  I want the 
windows id of the user that is hitting my web page.  I am developing 
an Intranet site and want to do seamless login based on who the user 
logged into their windows machine.  I know I can do this by using the 
command request.ServerVariables("LOGON_USER") in ASP.  I also was 
able to get request.getHeader("LOGON_USER") to work with IIS 5.1 and 
JRun 4 (using the dll they provide).


Does anyone know how I can get this information using Tomcat?  I 
would be greatly appreciative.


Thanks
Rob J.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting LOGON_USER from the header

2005-08-30 Thread Robert Jose
Well, I was partially correct.  It works perfectly when getting the remote 
user in a jsp page.  What I really want to do is get the remote user in a 
filter.  Basically, I have a filter set up to see if the user is logged in. 
If they are not, I want to get their remote user and check it to see if I 
can log them in seamlessly.  I would prefer not to have to get the remote 
user in the jsp page and then submit a page, just to have the user not exist 
and have to come back to the page.


Does anyone know how to get the remote user or LOGON_USER in the filter?

Thanks
Rob
- Original Message - 
From: "Robert Jose" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Tuesday, August 30, 2005 7:53 AM
Subject: Re: Getting LOGON_USER from the header



Thanks David, that worked perfectly.  I appreciate your help.

Rob

- Original Message - 
From: "David Smith" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header


By default, tomcat ignores the REMOTE_USER header from Apache or IIS in 
favor if it's own authentication.  To get tomcat to accept the IIS 
authentication info, add  this attribute to the  element in 
server.xml:


tomcatAuthentication="false"

--David

Robert Jose wrote:


Thanks for the response Gurumoorthy, but I get null for a result.

Rob J.

- Original Message - From: "Gurumoorthy" 
<[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header



request.getRemoteUser()
- Original Message - From: "Robert Jose" <[EMAIL PROTECTED]>
To: "Tomcat User" 
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header


Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using 
the isapi redirect dll.  This seems to be working well and configured 
correctly.


Now I am trying to get the LOGON_USER from the header.  I want the 
windows id of the user that is hitting my web page.  I am developing an 
Intranet site and want to do seamless login based on who the user 
logged into their windows machine.  I know I can do this by using the 
command request.ServerVariables("LOGON_USER") in ASP.  I also was able 
to get request.getHeader("LOGON_USER") to work with IIS 5.1 and JRun 4 
(using the dll they provide).


Does anyone know how I can get this information using Tomcat?  I would 
be greatly appreciative.


Thanks
Rob J.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



UNSUBSCRIBIE

2002-08-22 Thread juan jose amador

ʹM HAVING TROUBLE TO UNSUSCRIBIE to the list. Something could resolve this 



Tomcat 3.3.1 authentication problem working without cookies

2002-10-18 Thread Jose Andrés Pérez
Hello everybody,

I have an authentication problem using Jakarta Tomcat 3.3.1 and I don´t know
how to solve it. My context is the following:
  - There are two roles on my Web application (admin and contentprovider):

services.admin


services.contentprovider


  - There are two ways (urls) to access to the webapp. One of them can only
access the
users that belong to the admin role and the other one those who belong to
the contentprovider role:


SuperAdministrator tool
/tools/admin/*


servicesadmin




Content Provider tool
/tools/contentprovider/*


services.contentprovider



  - There are two servlets listening, one for admin requests and another for
contentprovider requests:

AdminTools
/tools/admin/*


CPTools
/tools/contentprovider/*


  - I have configured on web.xml the form login jsp for both login and
error. On both cases (login and error) the jsp is the same:

FORM

/login.jsp
/login.jsp?error



  - I have configured the web.xml with this characteristics and the web
application works fine with cookies.

The problem is when I want to work without cookies. I try to access to the
web application (for example
http://localhost:8080/mywebapp/tools/admin/init.bwp) and the login.jsp is
executed and returned with its jsessionid on the returned url. Thats fine.
But if I fail the login Tomcat launches the resource defined on tag
, that is /login.jsp?error. Tomcat launches it but
(OOHHH!!) does not include the jsessionid.
How can I configure Tomcat to include the jsessionid on the loggin error
page? Is it possible this kind of configuration on Tomcat 3.3.1?



Thanks in advance,
Jose



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: web.xml error

2002-10-21 Thread Jose Andrés Pérez
It seems your xml does not match with the DTD defined for the web.xml.
Probably the error is that some xml tags are not in the same order that
defined on the DTD.

JOse



> -Original Message-
> From:
> [EMAIL PROTECTED]
> rg
> [mailto:tomcat-user-return-38259-joseandres.perez=m-centric.com@;jakarta.
> apache.org]On Behalf Of Steltner, Jörn HTC/DE/ESS
> Sent: lunes, 21 de octubre de 2002 9:43
> To: '[EMAIL PROTECTED]'
> Subject: web.xml error
>
>
> Hallo,
>
> I got an error in my catalina.out msg like this:
>
> org.xml.sax.SAXParseException: The content of element type "web-app" must
> match
> "(icon?,display-name?,description?,distributable?,context-param*,f
> ilter*,fil
> ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,m
> ime-mappin
> g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resour
> ce-ref*,se
> curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref
> *,ejb-loca
> l-ref*)".
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
> (ErrorHand
> lerWrapper.java:232)
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapp
> er.java:17
> 3)
> 
>
> my web.xml:
>
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> 
>   w2k-Projektdokumentation
>   w2k-Projektdokumentation
>   
> J. Steltner
> [EMAIL PROTECTED]
> 
>   Please send a mail.
> 
>   
>
>   
>   DB Connection
>   jdbc/w2k
>   javax.sql.DataSource
>   Container
>   
>
>   
>  30
>   
>
>   
> index.html
>   
>
>   
> dbGetInvoices
> Print table with all invoices.
> dbGetInvoices
>   
>
>   
> dbGetInvoices
> /dbGetInvoices
>   
>
> 
>
>
> may some can help me. I don't have any idea where the eror should be ;-(
>
> TNX!
>
> Regards
> Joern
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: Form auth

2002-11-01 Thread Jose Alfonso Martinez
Jan, I guess I cannot understand your problem. The way I do it on my site is very 
simple:

A loginform on the front page. 
When the user logs in, get the user permissions from the database and store them in 
the session.
Then, JSPs are rendered accordingly depending on those permissions. 

I guess most sites use this approach. I think you could do it the same way too. 
Couldn't you?? Simply:

if the user has some permissions -> render the page some way
if the user does not have permissions -> render it some other way
if the user has not logged in at all -> render it some other way...

Jose Alfonso

On Nov 01, 2002 at 10:18:17AM +0100, Jan Agermose wrote:
> Im used to work in a different way - not using declarative security. Might
> be the real problem :-) It seams, that this decleartive security thing is
> good for resources that are allways protected or not. My pages are mostly
> partly secured in that all users can access some page but some items on the
> page are displayed only if the user is logged in. Or a page that is
> displayed in a context. In one context it is OK to see the page and
> depending on some parameter (the context) it might not be ok. Runtime
> checked security. I really need to have the user login at will not foreced -
> but allso foreced of cause. This idea of a button and a fake-secured-page
> that forces a login prompt. I really want a loginform on the frontpage. I
> dont want the user to have to klik a button only to get to the loginscreen
> af submit that one. I cannot change a design just because of a "design flaw"
> in the backend code ;-) I really should be possible to submit login
> information on free will.
> 
> Allso what You described below seams to be exacly what is allready
> implementet in formauth method?
> 
> Jan
> 
> 
> - Original Message -
> From: "Alfonso Martinez" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, November 01, 2002 6:00 AM
> Subject: Re: Form auth
> 
> 
> > One way to do this is to create a filter for the protected resources. When
> accessing them, the filter gets invoked. It checks on the session wheter the
> user has already logged in or not. If not, it redirects to the login page
> which in turn redirects to the protected resouce. What do you guys think
> about this approach???
> >
> > Jose Alfonso
> >
> > On Thu, Oct 31, 2002 at 10:19:16AM -0800, Craig R. McClanahan wrote:
> > >
> > >
> > > On Thu, 31 Oct 2002, Jan Agermose wrote:
> > >
> > > > Date: Thu, 31 Oct 2002 17:15:08 +0100
> > > > From: Jan Agermose <[EMAIL PROTECTED]>
> > > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > > To: 'Tomcat Users tomcat <[EMAIL PROTECTED]>
> > > > Subject: Form auth
> > > >
> > > > I would like to use formbased auth for my application, but it seams,
> that it is based on
> > > > 1. user trying to access som resource
> > > > 2. if not logged in - prompt
> > >
> > > That's correct.  From the user point of view, it operates exactly like
> > > BASIC authentication does (where the browser pops up the login dialog
> the
> > > first time you ask for a protected resource).
> > >
> > > >
> > > > This is of cause good. But usualy you have a webpage that has a
> > > > login-form somewhere on the page to allow the user to log in at will.
> > > > Log in -before- a secured page is requested. How can I implement this?
> I
> > > > find only methods to getRemoteUser and isInRole and... no
> setRemoteUser
> > > > or the like...
> > > >
> > >
> > > You won't be able to have the login form itself on the unsecured page,
> but
> > > you can easily provide a "Log In" button (say, on your home page) like
> > > this:
> > >
> > > * Make the log in button link to a resource in a protected directory
> > >
> > > * Make that resource just do a redirect back to the home page
> > >
> > > When the user clicks the log in button, the form based login page gets
> > > displayed (because the resource is protected).  After login is complete,
> > > Tomcat then executes the protected resource, which redirects back to the
> > > home page with the user being logged on already.
> > >
> > > > Am I making sense :-)
> > > >
> > > > Jan
> > >
> > > Craig
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> > >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: The requested resource (/BookSource/DispatchServlet) is not available.

2002-11-01 Thread Jose Alfonso Martinez
Sorry, I don't see anything unusual. I suspect on the context though. I have never 
used the ROOT directory for storing my apps so I cannot say much about it. Why don't 
you use the weapps/ directory directly, like the /examples  and /tomcat-docs contexts.

Any other ideas? 

Jose Alfonso

> Hi, 
> I tried with the syntax you gave and also with the
> syntax below. It gives the same error. Where should I
> put my servlet class files. I have copied them under
> the directory
> BookSource\web-inf\classes\BookStore\DispatchServlet.class.
> Is this right? 
> 
> <% if(request.getMethod().equals("POST")) %>
> page="web-inf/classes/BookStore/DispatchServlet"/>
> 
> Thanks in advance.
> Nalini
> 
> 
> --- Alfonso Martinez <[EMAIL PROTECTED]>
> wrote:
> > I am not really sure about your form sintax:
> > 
> >  > page='DispatchServlet'/> >
> > ...
> > 
> > try 
> > 
> > 
> > ...
> > 
> > I hope this helps.
> > 
> > 
> > Jose Alfonso
> > 
> > 
> > On Thu, Oct 31, 2002 at 09:16:19AM -0800, Nalini
> > wrote:
> > > Hi,
> > > 
> > > I am writing my first JSP, servlets application
> > using
> > > Tomcat 4.1 server. I have a Win 98 machine.
> > > I created a directory called "BookSource" under
> > ROOT
> > > under webapps.
> > > This is my directory structure.
> > > C:\jakarta-tomcat\webapps\ROOT\BookSource
> > > 
> > > I have web-inf and login.jsp under this directory.
> > > Under web-inf I have classes sub-directory and
> > > web.xml.
> > > I have DispatchServlet.class(under
> > package/directory
> > > BookStore) under the classes sub-directory.
> > > 
> > > My web.xml is 
> > > 
> > > 
> > >  
> > >  > doctype...)> 
> > >  
> > >  
> > > DispatchServlet 
> > > This servlet plays the "controller"
> > role
> > > in the MVC architecture used in this application.
> > It
> > > is generally mapped to the ".do" filename
> > extension
> > > with a servlet-mapping element, and all form
> > submits
> > > in the app will be submitted to a request URI like
> > > "saveCustomer.do", which will therefore be mapped
> > to
> > > this servlet. The initialization parameter namess
> > for
> > > this servlet are the "servlet path" that will be
> > > received by this servlet (after the filename
> > extension
> > > is removed). The corresponding value is the name
> > of
> > > the action class that will be used to process this
> > > request. 
> > >
> >
> BookStore.DispatchServlet
> > > 
> > >   
> > > 5 
> > >  
> > >  
> > > 30 
> > >  
> > >  
> > > 
> > > 
> > > 
> > > and my login.jsp is 
> > > 
> > > 
> > > 
> > > 
> > > Book Store Login Page
> > > 
> > > 
> > >  > > page='DispatchServlet'/> >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > I am getting the error when I try to load the page
> > 
> > > http://localhost:8080/BookSource/login.jsp
> > > 
> > > HTTP Status 404 - /BookSource/DispatchServlet
> > > 
> > >
> >
> 
> > > 
> > > type Status report
> > > 
> > > message /BookSource/DispatchServlet
> > > 
> > > description The requested resource
> > > (/BookSource/DispatchServlet) is not available.
> > > 
> > > 
> > >
> >
> 
> > > 
> > > Apache Tomcat/4.1.12-LE-jdk14
> > > 
> > > 
> > > Could someone help me fix this problem. thanks in
> > > advance.
> > > 
> > > 
> > > 
> > > __
> > > Do you Yahoo!?
> > > HotJobs - Search new jobs daily now
> > > http://hotjobs.yahoo.com/
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > 
> 
> 
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Auth problem

2002-11-05 Thread Jose Andrés Pérez
Hi all,

I have defined several security constraints on my servlet context and I
would like to maintain the jsessionid that the login page receives on the
login error page in case of authentification fail. Is this possible on
Tomcat 3.3.1? If so, do you know if it is also possible in any JBoss
version?


Thanks in advance,
Jose Andres


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




tomcat + apache (synchronization in different machines )

2002-11-11 Thread Jose Antonio Martinez
Hi everybody,

I want to have an apache server in a machine and a
tomcat server in a different machine. I know i can use
mod_jk to redirect jsp/servlets petitions from the
apache to the tomcat server ... but: it seems it is
needed that the webapps directory be the same at both
machines... so i must use a synchronization method (
rsync for example ) am i right?? could it possible to
not replicate the webapps directory from the apache to
the tomcat machine?

Thanks.

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




memory and cpu jsp/servlets abuse

2002-11-11 Thread Jose Antonio Martinez
hi,

i am thinking about developing a multidomain tomcat
hosting with private jvm. One of the possible problem
here are the bad programmed servlets/jsp wich can
abuse of memory and cpu resources. There is an easy
way for cutting memory abuse (whith apropiate value
for the JAVA_OPTS at the 'startup.sh' tomcat script),
but how can i cut the cpu posible abuse?

thanks

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: tomcat + apache (synchronization in different machines )

2002-11-11 Thread Jose Antonio Martinez
but i have the following scene: i have a ftp server in
the same machine than the apache server, so i use an
ftp account for uploading my website. i want upload
jsp files but jpg or php files too. I think the tomcat
server need to have jsp files localy located , and
then i must copy or move the jsp files from the apache
to the tomcat machine. 

please help me! ,  am i right?. i am very confused at
this point.

 --- "Turner, John" <[EMAIL PROTECTED]> escribió: > 
> It is not necessary to synchronize the directories.
> 
> Typically, most people use these mappings for Tomcat
> requests: "/*.jsp", and
> "/servlet/*".  Requests for other content would
> never get to Tomcat.  If you
> had output from a JSP or servlet that referenced a
> GIF file, it wouldn't
> matter.  In your output stream, there would be
> something like 
> 
> 
> 
> The client browser will convert that into
> http://yourhost/pic.gif which is a
> valid URL, and does not match either of the Tomcat
> mappings.
> 
> John
> 
> 
> > -Original Message-
> > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > Sent: Monday, November 11, 2002 12:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: tomcat + apache (synchronization in
> different machines )
> > 
> > 
> > Hi everybody,
> > 
> > I want to have an apache server in a machine and a
> > tomcat server in a different machine. I know i can
> use
> > mod_jk to redirect jsp/servlets petitions from the
> > apache to the tomcat server ... but: it seems it
> is
> > needed that the webapps directory be the same at
> both
> > machines... so i must use a synchronization method
> (
> > rsync for example ) am i right?? could it possible
> to
> > not replicate the webapps directory from the
> apache to
> > the tomcat machine?
> > 
> > Thanks.
> > 
> >
>
___
> > Yahoo! Messenger
> > Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> > Descárgalo ya desde http://messenger.yahoo.es
> > 
> > --
> > To unsubscribe, e-mail:   
> >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: tomcat + apache (synchronization in different machines )

2002-11-11 Thread Jose Antonio Martinez
Thanks John for your fast help.

you say in your last mail:

   '...this is one of the reasons there are WAR
files,the Tomcat Manager and Admin apps, and deploy
tools...'

can you be more explicit about the way i should take?




 --- "Turner, John" <[EMAIL PROTECTED]> escribió: > 
> In that scenario, yes, you are right.  JSP, class
> and servlet files need to
> be on the Tomcat server.  However, this is one of
> the reasons there are WAR
> files, the Tomcat Manager and Admin apps, and deploy
> tools, etc.
> 
> The point of my original post was that there is no
> reason to mix static and
> dynamic content.  The Tomcat server doesn't need to
> have any static content
> on it unless it needs it (like a properties file, or
> whatever).  Image
> files, etc can all be on the Apache server, since
> you can reference them
> with a valid, non-Tomcat URL.
> 
> John
> 
> > -Original Message-
> > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > Sent: Monday, November 11, 2002 1:13 PM
> > To: Tomcat Users List
> > Subject: RE: tomcat + apache (synchronization in
> different machines )
> > 
> > 
> > but i have the following scene: i have a ftp
> server in
> > the same machine than the apache server, so i use
> an
> > ftp account for uploading my website. i want
> upload
> > jsp files but jpg or php files too. I think the
> tomcat
> > server need to have jsp files localy located , and
> > then i must copy or move the jsp files from the
> apache
> > to the tomcat machine. 
> > 
> > please help me! ,  am i right?. i am very confused
> at
> > this point.
> > 
> >  --- "Turner, John" <[EMAIL PROTECTED]> escribió: > 
> > > It is not necessary to synchronize the
> directories.
> > > 
> > > Typically, most people use these mappings for
> Tomcat
> > > requests: "/*.jsp", and
> > > "/servlet/*".  Requests for other content would
> > > never get to Tomcat.  If you
> > > had output from a JSP or servlet that referenced
> a
> > > GIF file, it wouldn't
> > > matter.  In your output stream, there would be
> > > something like 
> > > 
> > > 
> > > 
> > > The client browser will convert that into
> > > http://yourhost/pic.gif which is a
> > > valid URL, and does not match either of the
> Tomcat
> > > mappings.
> > > 
> > > John
> > > 
> > > 
> > > > -Original Message-
> > > > From: Jose Antonio Martinez
> > > [mailto:lfbbes@;yahoo.es]
> > > > Sent: Monday, November 11, 2002 12:52 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: tomcat + apache (synchronization in
> > > different machines )
> > > > 
> > > > 
> > > > Hi everybody,
> > > > 
> > > > I want to have an apache server in a machine
> and a
> > > > tomcat server in a different machine. I know i
> can
> > > use
> > > > mod_jk to redirect jsp/servlets petitions from
> the
> > > > apache to the tomcat server ... but: it seems
> it
> > > is
> > > > needed that the webapps directory be the same
> at
> > > both
> > > > machines... so i must use a synchronization
> method
> > > (
> > > > rsync for example ) am i right?? could it
> possible
> > > to
> > > > not replicate the webapps directory from the
> > > apache to
> > > > the tomcat machine?
> > > > 
> > > > Thanks.
> > > > 
> > > >
> > >
> >
>
___
> > > > Yahoo! Messenger
> > > > Nueva versión: Webcam, voz, y mucho más
> ¡Gratis! 
> > > > Descárgalo ya desde http://messenger.yahoo.es
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> > > >
> > >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > > For additional commands, e-mail: 
> > > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >  
> > 
> >
>
___
> > Yahoo! Messenger
> > Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> > Descárgalo ya desde http://messenger.yahoo.es
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: tomcat + apache (synchronization in different machines )

2002-11-11 Thread Jose Antonio Martinez
My exact scene is the following:

i have some linux machines with apache for static and
php shared hosting. I want to offer tomcat hosting but
i know that only few clients are going to want it so i
dont want to install and maintain several tomcat
server on all machines. I would like to have a unique
machine with the tomcat server and all apaches
redirecting to it with mod_jk.

I think is better for tomcat clients to have only an
ftp acount for uploading jsp/servlets or phps and
mantain the machines architecture transparent for
them.

any idea? 

 --- Milt Epstein <[EMAIL PROTECTED]> escribió: > On
Mon, 11 Nov 2002, [iso-8859-1] Jose Antonio
> Martinez wrote:
> 
> > but i have the following scene: i have a ftp
> server in the same
> > machine than the apache server, so i use an ftp
> account for
> > uploading my website. i want upload jsp files but
> jpg or php files
> > too. I think the tomcat server need to have jsp
> files localy located
> > , and then i must copy or move the jsp files from
> the apache to the
> > tomcat machine.
> 
> Yes, all the files that are part of the contexts/web
> applications need
> to be on the server running Tomcat.  But that's the
> only place they
> need to be, that is, they don't need to be on the
> server running
> Apache.  Now, it sounds like you have a limitation
> where you can ftp
> to the Apache server and not the Tomcat server, and
> that might affect
> how you do things.  But that is an artifact of that
> ftp limitation,
> not anything to do with the Apache/Tomcat
> architecture you're using.
> 
> 
> > please help me! , am i right?. i am very confused
> at this point.
> 
> Can you clarify exactly what your setup is?  Like
> why you have the
> separate Apache and Tomcat servers, and why you can
> only ftp to the
> Apache server, and such.
> 
> Sounds like the problem is getting things to the
> Tomcat server, not
> keeping them synchronized betweem the Apache and
> Tomcat servers.
> 
> 
> >  --- "Turner, John" <[EMAIL PROTECTED]> escribió: >
> > > It is not necessary to synchronize the
> directories.
> > >
> > > Typically, most people use these mappings for
> Tomcat requests:
> > > "/*.jsp", and "/servlet/*".  Requests for other
> content would
> > > never get to Tomcat.  If you had output from a
> JSP or servlet that
> > > referenced a GIF file, it wouldn't matter.  In
> your output stream,
> > > there would be something like
> > >
> > > 
> > >
> > > The client browser will convert that into
> http://yourhost/pic.gif
> > > which is a valid URL, and does not match either
> of the Tomcat
> > > mappings.
> > >
> > >
> > > > -Original Message-
> > > > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > > > Sent: Monday, November 11, 2002 12:52 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: tomcat + apache (synchronization in
> different machines )
> > > >
> > > >
> > > > Hi everybody,
> > > >
> > > > I want to have an apache server in a machine
> and a tomcat server
> > > > in a different machine. I know i can use
> mod_jk to redirect
> > > > jsp/servlets petitions from the apache to the
> tomcat server
> > > > ... but: it seems it is needed that the
> webapps directory be the
> > > > same at both machines... so i must use a
> synchronization method
> > > > ( rsync for example ) am i right?? could it
> possible to not
> > > > replicate the webapps directory from the
> apache to the tomcat
> > > > machine?
> > > >
> > > > Thanks.
> > > >
> > >
> >
> 
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational
> Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
what do you think is the best way to make work
together this configuration:

  windows iis machine + linux tomcat machine

NFS? 

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to configure an URLContextFactory for tomcat

2002-11-12 Thread Jose Antonio Martinez
do you have an application server working together
with tomcat? i think tomcat cant serve ejb itself

 --- Christian Surlykke <[EMAIL PROTECTED]> escribió: >
Hi
>  
> I'm trying to call an EJB running on OC4J from a
> servlet. I want to use a ejb-ref element in web.xml
> like:
> 
> 
> ejb/MyEJB
> Session
> test.MyEJBHome
> test.MyEJB
>
>
ormi://localhost:23791/ejb/MyEJB
> 
> 
> How do I configure Tomcat to use an
> URLContextFactory of my own making to handle the
> 'ormi:' schema ?
> 
> (I vaguely suspect that it has something to do with
>  elements,  but that seems to only
> apply to stuff bound beneath the java: schema..)
> 
> Any hints would be appreciated
> 
> best regards Christian Surlykke
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Virtual Hosting without Apache?

2002-11-12 Thread Jose Antonio Martinez
tomcat can serve static and jsp/servlets request. It
can be used for virtual hosting itself but considere
that static request are served faster with apache.


 --- John Menke <[EMAIL PROTECTED]> escribió: > Do you
need Apache to do Virtual Hosting with
> Tomcat?  Can tomcat handle by
> itself?
> 
> -jm
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
yes i know, but i cant. I want to process asp and jsp
too. 

i know there are asp solutions for apache but i prefer
to run them on windows/iis.

nfs? samba?

 --- Andy Eastham <[EMAIL PROTECTED]> escribió:
> Install Apache on the Linux machine and everything
> will work perfectly ;-)
> 
> > -Original Message-
> > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > Sent: 12 November 2002 11:22
> > To: [EMAIL PROTECTED]
> > Subject: windows iis machine + linux tomcat
> machine
> >
> >
> > what do you think is the best way to make work
> > together this configuration:
> >
> >   windows iis machine + linux tomcat machine
> >
> > NFS?
> >
> >
>
___
> > Yahoo! Messenger
> > Nueva versión: Webcam, voz, y mucho más ¡Gratis!
> > Descárgalo ya desde http://messenger.yahoo.es
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
imagine i want to offer jboss too... then i would have
to have: windows+iis+tomcat+jboss , and
linux+apache+tomcat+jboss ... and few people using it.


 --- "Turner, John" <[EMAIL PROTECTED]> escribió: > 
> Keep it simple.  You keep trying to worry about
> syncing drives up.  I think
> that's more complex than things need to be.
> 
> In your .properties file on the IIS machine, just
> use the FQDN of the Tomcat
> server and be done with it.
> 
> IIS is horrendously slow using mapped drives to
> serve content.  
> 
> I'm not criticizing, just observing.  You can't be
> everything to everyone,
> if you are starting a business you will go bust
> quickly trying to be
> everything to everyone.  Pick your market...in my
> experience, if someone is
> developing with ASP, they will have no desire and no
> incentive to develop
> with Tomcat.  Seems to me it would make a lot more
> sense to have an
> IIS+Tomcat server and an Apache+Tomcat server, and
> assign customer accounts
> accordingly, instead of creating a very complex
> architecture.  
> 
> I know you mentioned that you want only to deal with
> Tomcat configuration on
> one sort of platform, so I have to assume that you
> are concerned about
> complexity and maintenance.  In my opinion, creating
> an architecture with
> many shared servers, one or more shared drive
> partitions over a network,
> etc. is just as complex, if not more complex, to
> manage and scale.  
> 
> If you come up with a working architecture/solution
> that allows easy resale
> of shared hosting accounts and allows complete
> flexibility for dynamic
> solutions, I'd be interested in seeing a document
> describing it.
> 
> John
> 
> > -Original Message-
> > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > Sent: Tuesday, November 12, 2002 6:51 AM
> > To: Tomcat Users List
> > Subject: RE: windows iis machine + linux tomcat
> machine
> > 
> > 
> > yes i know, but i cant. I want to process asp and
> jsp
> > too. 
> > 
> > i know there are asp solutions for apache but i
> prefer
> > to run them on windows/iis.
> > 
> > nfs? samba?
> > 
> >  --- Andy Eastham <[EMAIL PROTECTED]>
> escribió:
> > > Install Apache on the Linux machine and
> everything
> > > will work perfectly ;-)
> > > 
> > > > -Original Message-
> > > > From: Jose Antonio Martinez
> > > [mailto:lfbbes@;yahoo.es]
> > > > Sent: 12 November 2002 11:22
> > > > To: [EMAIL PROTECTED]
> > > > Subject: windows iis machine + linux tomcat
> > > machine
> > > >
> > > >
> > > > what do you think is the best way to make work
> > > > together this configuration:
> > > >
> > > >   windows iis machine + linux tomcat machine
> > > >
> > > > NFS?
> > > >
> > > >
> > >
> >
>
___
> > > > Yahoo! Messenger
> > > > Nueva versión: Webcam, voz, y mucho más
> ¡Gratis!
> > > > Descárgalo ya desde http://messenger.yahoo.es
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > >
> > >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > >
> > > >
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >  
> > 
> >
>
___
> > Yahoo! Messenger
> > Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> > Descárgalo ya desde http://messenger.yahoo.es
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




security manager

2002-11-12 Thread Jose Antonio Martinez
I am using the default security configuration at
manager 'catalina.policy' file, but when i try to
access files which are under the webapp directory who
i am executing i have an exception:


javax.servlet.ServletException: Servlet execution
threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native
Method)


what's the problem?

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: security manager

2002-11-12 Thread Jose Antonio Martinez
tomcat 4.0.5

 --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
escribió: > Which version of Tomcat are you using?
> 
> -- Jeanfrancois
> 
> Jose Antonio Martinez wrote:
> 
> >I am using the default security configuration at
> >manager 'catalina.policy' file, but when i try to
> >access files which are under the webapp directory
> who
> >i am executing i have an exception:
> >
> >
> >javax.servlet.ServletException: Servlet execution
> >threw an exception
> > at
>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> > at
>
>org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
> > at
>
>org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
> > at
> java.security.AccessController.doPrivileged(Native
> >Method)
> >
> >
> >what's the problem?
> >
>
>___
> >Yahoo! Messenger
> >Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> >Descárgalo ya desde http://messenger.yahoo.es
> >
> >--
> >To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> >  
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: security manager

2002-11-12 Thread Jose Antonio Martinez
I have developed a servlet that recives from a form
(post method) the name of a file and write its
content.

 --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
escribió: > Strange. Can you post you entire log file
(to see
> more exception info)?
> 
> -- Jeanfrancois
> 
> Jose Antonio Martinez wrote:
> 
> >tomcat 4.0.5
> >
> > --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
> >escribió: > Which version of Tomcat are you using?
> >  
> >
> >>-- Jeanfrancois
> >>
> >>Jose Antonio Martinez wrote:
> >>
> >>
> >>
> >>>I am using the default security configuration at
> >>>manager 'catalina.policy' file, but when i try to
> >>>access files which are under the webapp directory
> >>>  
> >>>
> >>who
> >>
> >>
> >>>i am executing i have an exception:
> >>>
> >>>
> >>>javax.servlet.ServletException: Servlet execution
> >>>threw an exception
> >>>   at
> >>>  
> >>>
>
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> >>
> >>
> >>>   at
> >>>  
> >>>
>
>>org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
> >>
> >>
> >>>   at
> >>>  
> >>>
>
>>org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
> >>
> >>
> >>>   at
> >>>  
> >>>
> >>java.security.AccessController.doPrivileged(Native
> >>
> >>
> >>>Method)
> >>>
> >>>
> >>>what's the problem?
> >>>
> >>>  
> >>>
>
>>___
> >>
> >>
> >>>Yahoo! Messenger
> >>>Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> >>>Descárgalo ya desde http://messenger.yahoo.es
> >>>
> >>>--
> >>>To unsubscribe, e-mail:  
> >>>  
> >>>
>
>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>
> >>
> >>>For additional commands, e-mail:
> >>>  
> >>>
> >><mailto:tomcat-user-help@;jakarta.apache.org>
> >>
> >>
> >>> 
> >>>
> >>>  
> >>>
> >>--
> >>To unsubscribe, e-mail:  
>
>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>For additional commands, e-mail:
> >><mailto:tomcat-user-help@;jakarta.apache.org>
> >> 
> >>
> >>
> >
>
>___
> >Yahoo! Messenger
> >Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> >Descárgalo ya desde http://messenger.yahoo.es
> >
> >--
> >To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> >  
> >
>  


___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es
javax.servlet.ServletException: Servlet execution threw an exception
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
   

Re: security manager

2002-11-12 Thread Jose Antonio Martinez
it seems dont work

 --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
escribió: > You need to add the following line in
> catalina.policy, under
> 
> // == WEB APPLICATION PERMISSIONS 
> =
> 
> 
> // These permissions are granted by default to all
> web applications
> // In addition, a web application will be given a
> read FilePermission
> // and JndiPermission for all files and directories
> in its document root.
> grant {
> 
>..
> 
>   // Required for sevlets and JSP's
>   permission java.lang.RuntimePermission 
> "accessClassInPackage.org.apache.catalina.util"; 
>   permission java.lang.RuntimePermission 
> "accessClassInPackage.org.apache.catalina.util.*";
>   permission java.lang.RuntimePermission 
> "defineClassInPackage.org.apache.catalina.util";
>   permission java.lang.RuntimePermission 
> "defineClassInPackage.org.apache.catalina.util.*";
> 
>   
> }
> 
> -- Jeanfrancois
> 
> 
> Jose Antonio Martinez wrote:
> 
> >I have developed a servlet that recives from a form
> >(post method) the name of a file and write its
> >content.
> >
> > --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
> >escribió: > Strange. Can you post you entire log
> file
> >(to see
> >  
> >
> >>more exception info)?
> >>
> >>-- Jeanfrancois
> >>
> >>Jose Antonio Martinez wrote:
> >>
> >>
> >>
> >>>tomcat 4.0.5
> >>>
> >>>--- Jeanfrancois Arcand <[EMAIL PROTECTED]>
> >>>escribió: > Which version of Tomcat are you
> using?
> >>> 
> >>>
> >>>  
> >>>
> >>>>-- Jeanfrancois
> >>>>
> >>>>Jose Antonio Martinez wrote:
> >>>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>I am using the default security configuration
> at
> >>>>>manager 'catalina.policy' file, but when i try
> to
> >>>>>access files which are under the webapp
> directory
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
> >>>>who
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>i am executing i have an exception:
> >>>>>
> >>>>>
> >>>>>javax.servlet.ServletException: Servlet
> execution
> >>>>>threw an exception
> >>>>> at
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> >>>  
> >>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
> >>>  
> >>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
> >>>  
> >>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>>>java.security.AccessController.doPrivileged(Native
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>Method)
> >>>>>
> >>>>>
> >>>>>what's the problem?
> >>>>>
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>>___
> >>>  
> >>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>Yahoo! Messenger
> >>>>>Nueva versión: Webcam, voz, y mucho más
> ¡Gratis! 
> >>>>>Descárgalo ya desde http://messenger.yahoo.es
> >>>>>
> >>>>>--
> >>>>>To unsubscribe, e-mail:  
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
>
>>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>>  
> >>>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>>For additional commands, e-mail:
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
> >>>><mailto:tomcat-user-help@;jakarta.apache.org>
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>>> 
> >>>>>
> >>>>>  
> >>>>>
> >>>>--
> >>>>To unsubscribe, e-mail:  
> >>>>
> >>>>
>
>>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>>  
> >>>
> >>>>For additional commands, e-mail:
> >>>><mailto:tomcat-user-help@;jakarta.apache.org>
> >>>>
> >>>>   
> >>>>
> >>>>
> >>>>
>
>>___
> >>
> 
=== message truncated === 

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: windows iis machine + linux tomcat machine

2002-11-12 Thread Jose Antonio Martinez
i know. The question here is that it is  needed that jsp files be on the
tomcat machine (linux). People have an ftp account in the windows machine
but some files must go to the linux machine (jsp ones)


- Original Message -
From: "Sexton, George" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 9:31 PM
Subject: RE: windows iis machine + linux tomcat machine


> Get the ISAPI redirector module and install it on IIS, configure it to
point
> to the linux server.
>
> -Original Message-
> From: Jose Antonio Martinez [mailto:lfbbes@;yahoo.es]
> Sent: 12 November, 2002 4:22 AM
> To: [EMAIL PROTECTED]
> Subject: windows iis machine + linux tomcat machine
>
>
> what do you think is the best way to make work
> together this configuration:
>
>   windows iis machine + linux tomcat machine
>
> NFS?
>
> ___
> Yahoo! Messenger
> Nueva versión: Webcam, voz, y mucho más ¡Gratis!
> Descárgalo ya desde http://messenger.yahoo.es
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>

___
Copa del Mundo de la FIFA 2002
El único lugar de Internet con vídeos de los 64 partidos. 
¡Apúntante ya! en http://fifaworldcup.yahoo.com/fc/es/

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




how many tomcat in a machine?

2002-11-14 Thread Jose Antonio Martinez
how many tomcat server do you think can i put in a big
machine like this? :

   Memory: 2G
2*CPU: PIII 1100 Mhz (aprox)
 Disk: scasi raid 




___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
i have installed the isapi filter in the iis for
redirection of jsp pages to a linux machine (it has a
tomcat server).

i have followed the documentation at:

http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#6


the array is green now , but when i try to view jsp
samples, there is a problem: iis says it cant find the
module !!!

any idea?



___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
here is the redirector isapi log:

#  Begin worker.properties **
worker.ajp13.type=ajp13

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  > lbfactor must be > 0
#  > Low lbfactor means less work done by the
worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize

#
#-- DEFAULT LOAD BALANCER WORKER DEFINITION
--
#-
#

#
# The loadbalancer (type lb) worker perform weighted
round-robin
# load balancing with sticky sessions.
# Note:
#  > If a worker dies, the load balancer will
check its state
#once in a while. Until then all work is
redirected to peer
#worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13

#
# worker.tomcat_home should point to the location
where you
# installed tomcat. This is where you have your conf,
webapps and lib
# directories.
#
worker.tomcat_home=C:\jakarta-tomcat-4.0.1

#
# worker.java_home should point to your Java
installation. Normally
# you should have a bin and lib directories beneath
it.
#
worker.java_home=C:\jdk1.3.1

#
# You should configure your environment slash... ps=\
on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\

#
#-- ADVANCED MODE

#-
#

#
#-- DEFAULT worker list
--
#-
#
# The worker that your plugins should create and work
with
worker.list=ajp13

#
#-- DEFAULT ajp13 WORKER DEFINITION
--
#-
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to
match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost

#  End worker.properties **


 --- Jose Antonio Martinez <[EMAIL PROTECTED]> escribió:
> i have installed the isapi filter in the iis for
> redirection of jsp pages to a linux machine (it has
> a
> tomcat server).
> 
> i have followed the documentation at:
> 
>
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#6
> 
> 
> the array is green now , but when i try to view jsp
> samples, there is a problem: iis says it cant find
> the
> module !!!
> 
> any idea?
> 
> 
> 
>
___
> Yahoo! Messenger
> Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> Descárgalo ya desde http://messenger.yahoo.es
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is:

[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI '/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(502)]: jk_uri_worker_map_t::map_uri_to_worker, Found
a context match remoto -> /examples/
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (775)]:
HttpFilterProc [/examples/] is a servlet url - should
redirect to remoto
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/examples/] is points to the
web-inf directory
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (829)]:
HttpFilterProc [/jakarta/isapi_redirect.dll] is not a
servlet url
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/jakarta/isapi_redirect.dll]
is points to the web-inf directory


 --- Jose Antonio Martinez <[EMAIL PROTECTED]> escribió:
> here is the redirector isapi log:
> 
> #  Begin worker.properties
> **
> worker.ajp13.type=ajp13
> 
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the
> worker.
> worker.ajp13.lbfactor=1
> 
> #
> # Specify the size of the open connection cache.
> #worker.ajp13.cachesize
> 
> #
> #-- DEFAULT LOAD BALANCER WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # The loadbalancer (type lb) worker perform weighted
> round-robin
> # load balancing with sticky sessions.
> # Note:
> #  > If a worker dies, the load balancer will
> check its state
> #once in a while. Until then all work is
> redirected to peer
> #worker.
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> 
> #
> # worker.tomcat_home should point to the location
> where you
> # installed tomcat. This is where you have your
> conf,
> webapps and lib
> # directories.
> #
> worker.tomcat_home=C:\jakarta-tomcat-4.0.1
> 
> #
> # worker.java_home should point to your Java
> installation. Normally
> # you should have a bin and lib directories beneath
> it.
> #
> worker.java_home=C:\jdk1.3.1
> 
> #
> # You should configure your environment slash...
> ps=\
> on NT and / on UNIX
> # and maybe something different elsewhere.
> #
> ps=\
> 
> #
> #-- ADVANCED MODE
> 
>
#-
> #
> 
> #
> #-- DEFAULT worker list
> --
>
#-
> #
> # The worker that your plugins should create and
> work
> with
> worker.list=ajp13
> 
> #
> #-- DEFAULT ajp13 WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # Defini

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is:

[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI '/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(502)]: jk_uri_worker_map_t::map_uri_to_worker, Found
a context match remoto -> /examples/
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (775)]:
HttpFilterProc [/examples/] is a servlet url - should
redirect to remoto
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/examples/] is points to the
web-inf directory
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (829)]:
HttpFilterProc [/jakarta/isapi_redirect.dll] is not a
servlet url
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/jakarta/isapi_redirect.dll]
is points to the web-inf directory


 --- Jose Antonio Martinez <[EMAIL PROTECTED]> escribió:
> here is the redirector isapi log:
> 
> #  Begin worker.properties
> **
> worker.ajp13.type=ajp13
> 
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the
> worker.
> worker.ajp13.lbfactor=1
> 
> #
> # Specify the size of the open connection cache.
> #worker.ajp13.cachesize
> 
> #
> #-- DEFAULT LOAD BALANCER WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # The loadbalancer (type lb) worker perform weighted
> round-robin
> # load balancing with sticky sessions.
> # Note:
> #  > If a worker dies, the load balancer will
> check its state
> #once in a while. Until then all work is
> redirected to peer
> #worker.
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> 
> #
> # worker.tomcat_home should point to the location
> where you
> # installed tomcat. This is where you have your
> conf,
> webapps and lib
> # directories.
> #
> worker.tomcat_home=C:\jakarta-tomcat-4.0.1
> 
> #
> # worker.java_home should point to your Java
> installation. Normally
> # you should have a bin and lib directories beneath
> it.
> #
> worker.java_home=C:\jdk1.3.1
> 
> #
> # You should configure your environment slash...
> ps=\
> on NT and / on UNIX
> # and maybe something different elsewhere.
> #
> ps=\
> 
> #
> #-- ADVANCED MODE
> 
>
#-
> #
> 
> #
> #-- DEFAULT worker list
> --
>
#-
> #
> # The worker that your plugins should create and
> work
> with
> worker.list=ajp13
> 
> #
> #-- DEFAULT ajp13 WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # Defini

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is:

[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/examples/
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI '/examples/'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(502)]: jk_uri_worker_map_t::map_uri_to_worker, Found
a context match remoto -> /examples/
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (775)]:
HttpFilterProc [/examples/] is a servlet url - should
redirect to remoto
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/examples/] is points to the
web-inf directory
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (696)]:
HttpFilterProc started
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (759)]:
In HttpFilterProc Virtual Host redirection of
/www.domwindows.com/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/www.domwindows.com/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (765)]:
In HttpFilterProc test Default redirection of
/jakarta/isapi_redirect.dll
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(477)]: Attempting to map URI
'/jakarta/isapi_redirect.dll'
[Fri Nov 15 12:45:40 2002]  [jk_uri_worker_map.c
(599)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (829)]:
HttpFilterProc [/jakarta/isapi_redirect.dll] is not a
servlet url
[Fri Nov 15 12:45:40 2002]  [jk_isapi_plugin.c (838)]:
HttpFilterProc check if [/jakarta/isapi_redirect.dll]
is points to the web-inf directory


 --- Jose Antonio Martinez <[EMAIL PROTECTED]> escribió:
> here is the redirector isapi log:
> 
> #  Begin worker.properties
> **
> worker.ajp13.type=ajp13
> 
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the
> worker.
> worker.ajp13.lbfactor=1
> 
> #
> # Specify the size of the open connection cache.
> #worker.ajp13.cachesize
> 
> #
> #-- DEFAULT LOAD BALANCER WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # The loadbalancer (type lb) worker perform weighted
> round-robin
> # load balancing with sticky sessions.
> # Note:
> #  > If a worker dies, the load balancer will
> check its state
> #once in a while. Until then all work is
> redirected to peer
> #worker.
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> 
> #
> # worker.tomcat_home should point to the location
> where you
> # installed tomcat. This is where you have your
> conf,
> webapps and lib
> # directories.
> #
> worker.tomcat_home=C:\jakarta-tomcat-4.0.1
> 
> #
> # worker.java_home should point to your Java
> installation. Normally
> # you should have a bin and lib directories beneath
> it.
> #
> worker.java_home=C:\jdk1.3.1
> 
> #
> # You should configure your environment slash...
> ps=\
> on NT and / on UNIX
> # and maybe something different elsewhere.
> #
> ps=\
> 
> #
> #-- ADVANCED MODE
> 
>
#-
> #
> 
> #
> #-- DEFAULT worker list
> --
>
#-
> #
> # The worker that your plugins should create and
> work
> with
> worker.list=ajp13
> 
> #
> #-- DEFAULT ajp13 WORKER DEFINITION
> --
>
#-
> #
> 
> #
> # Defini

RE: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, i copy a wrong file, this is the right one:


#
# worker.tomcat_home should point to the location
where you
# installed tomcat. This is where you have your conf,
webapps and lib
# directories.
#
worker.tomcat_home=C:\jakarta-tomcat

#
# worker.java_home should point to your Java
installation. Normally
# you should have a bin and lib directories beneath
it.
#
worker.java_home=C:\jakarta-tomcat


ps=\

worker.list=remoto



worker.remoto.port=8009
worker.remoto.host=192.168.65.193
worker.remoto.type=ajp13



 --- "Turner, John" <[EMAIL PROTECTED]> escribió: > 
> First of all, you aren't going to redirect
> *anything* to a Linux-based
> Tomcat server, from an IIS web server, with
> worker.ajp13.host = localhost.
> You need to change "host" to equal the FQDN or IP
> address of the Linux
> server.
> 
> John
> 
> > -Original Message-
> > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > Sent: Friday, November 15, 2002 6:47 AM
> > To: Tomcat Users List
> > Subject: Re: iis redirection to linux tomcat
> machine
> > 
> > 
> > here is the redirector isapi log:
> > 
> > #-- DEFAULT ajp13 WORKER DEFINITION
> > --
> >
>
#-
> > #
> > 
> > #
> > # Defining a worker named ajp13 and of type ajp13
> > # Note that the name and the type do not have to
> > match.
> > #
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost
> > 
> > #  End worker.properties
> **
> > 
> > 
> >  --- Jose Antonio Martinez <[EMAIL PROTECTED]>
> escribió:
> > > i have installed the isapi filter in the iis for
> > > redirection of jsp pages to a linux machine (it
> has
> > > a
> > > tomcat server).
> > > 
> > > i have followed the documentation at:
> > > 
> > >
> >
>
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#6
> > > 
> > > 
> > > the array is green now , but when i try to view
> jsp
> > > samples, there is a problem: iis says it cant
> find
> > > the
> > > module !!!
> > > 
> > > any idea?
> > > 
> > > 
> > > 
> > >
> >
>
___
> > > Yahoo! Messenger
> > > Nueva versión: Webcam, voz, y mucho más ¡Gratis!
> 
> > > Descárgalo ya desde http://messenger.yahoo.es
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > >
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >  
> > 
> >
>
___
> > Yahoo! Messenger
> > Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> > Descárgalo ya desde http://messenger.yahoo.es
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




IIS isapi

2002-11-18 Thread Jose Antonio Martinez
I have followed the manual: 

http://www.arsysbrother.com:8080/tomcat-docs/jk2/jk/iishowto.html#Introduction

but i have a problem no documented...

when i try to view:

http://www.mylocaldomain.com/examples/jsp/index.html

it is required auth access (login+password). When i
put anything it is shown a message saying the page
cant be shown. do you have any idea about this problem?

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




  1   2   3   4   >