Re: portals

2003-09-24 Thread Mete Kural
Two good open source portal servers are:

http://www.liferay.com
http://jakarta.apache.org/jetspeed

Both have mailing lists where you can ask questions at.

Hope this helps.

Mete

-- Original Message --
From: mike jackson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Date:  Tue, 23 Sep 2003 15:50:18 -0700

Can anyone suggest a good portal framework?  I'm looking to migrate all of
my applications to run within a portal, but I can't decide on one...

--mikej
-=--
mike jackson
[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]



[ANNOUNCE] Liferay Enterprise Portal 2.0 RC1 released (with JSR-168 support)

2003-09-24 Thread Mete Kural
Hello Everyone,

I would like to let you know that Liferay Enterprise Portal 2.0 Release Candidate 1
has been released. Liferay 2.0 RC1 supports the JSR-168 Portlet standard.

Liferay is a free open-source implementation of an
enterprise portal server similar to Jetspeed, WebSphere, Plumtree and Epicentric. It 
provides personalization features similar to Yahoo and a vast array of pre-built 
portlets such as Mail, News, Shopping Cart, Message Board, Wiki, and many more. All 
the portlets are JSR-168 compliant. For more info, please visit http://www.liferay.com 

You can download Liferay pre-configured with JBoss/Tomcat, JBoss/Jetty or Orion. Or if 
you wish you can download the .EAR enterprise archive file and deploy it yourself in 
your favorite application server. Documentation can be found on Liferay's website 
http://www.liferay.com 

The download page is here:
http://www.liferay.com/downloads/index.jsp

For a live demo of Liferay, please go to http://my.liferay.com and click on the My 
Liferay link on the top right.

Regards,
Mete

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



JDBCRealm w/ Apache, How to???

2003-03-24 Thread Mete Kural
Hi, 

I am perplexed at this interesting problem. We want to use JDBCRealm to authenticate 
users in Tomcat, but yet we want to serve static stuff via Apache to improve 
performance (we have a lot of static material behind authentication). If we set up 
Tomcat as a worker for Apache using the JK2 connector, I don't see how requests for 
static files are going to be authenticated via JDBCRealm, since Tomcat doesn't even 
know about these static requests in the first place due to the fact that Apache 
handles them right away without dispatching them to Tomcat. I'm thinking that if we 
could somehow set up Apache to be a worker for Tomcat, and Tomcat received all 
requests and dispatched those that are static to Apache, then all requests would be 
authenticated via JDBCRealm. But I don't know how to do that neither if this is 
possible at all. Do you have any ideas on how to authenticate every request with 
JDBCRealm yet serve only static stuff with Apache. 

Thanks, 
Mete 

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



Re: JDBCRealm w/ Apache, How to???

2003-03-24 Thread Mete Kural
Thanks for your email.

The answer to the question as to how much of a performance gain we would get by 
integrating Apache is something that I don't fully understand. I always hear people 
saying that if you have a lot of static requests, Apache will give you a performance 
boost compared to HTTP connector in Tomcat. I personally like simplicity and would 
like it better not having to connect Tomcat to Apache, even if it may be at the cost 
of a little bit of performance. We're building this web application for a client and 
right now the client is using Apache in conjunction with Tomcat. The static stuff I'm 
talking about are being served by Apache right now. If I could convince them that it 
wouldn't cause a performance problem if we ported all that static material into 
Tomcat, then I'd rather go that way. Do you have any ideas on how I could make that 
case?

And also are there ways to improve Tomcat's performance of serving static files?

Thanks,
Mete

-- Original Message --
From: James Carman [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Date:  Mon, 24 Mar 2003 11:21:15 -0500

The real question is how big of a performance problem is the DefaultServlet
in Tomcat compared to Apache.  Are you REALLY losing THAT much performance
by letting the DefaultServlet serve those static files?  Is it necessary?

- Original Message -
From: Mete Kural [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:20 AM
Subject: JDBCRealm w/ Apache, How to???


 Hi,

 I am perplexed at this interesting problem. We want to use JDBCRealm to
authenticate users in Tomcat, but yet we want to serve static stuff via
Apache to improve performance (we have a lot of static material behind
authentication). If we set up Tomcat as a worker for Apache using the JK2
connector, I don't see how requests for static files are going to be
authenticated via JDBCRealm, since Tomcat doesn't even know about these
static requests in the first place due to the fact that Apache handles them
right away without dispatching them to Tomcat. I'm thinking that if we could
somehow set up Apache to be a worker for Tomcat, and Tomcat received all
requests and dispatched those that are static to Apache, then all requests
would be authenticated via JDBCRealm. But I don't know how to do that
neither if this is possible at all. Do you have any ideas on how to
authenticate every request with JDBCRealm yet serve only static stuff with
Apache.

 Thanks,
 Mete

 -
 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: JDBCRealm w/ Apache, How to???

2003-03-24 Thread Mete Kural
Hi Colin,

Did you figure out ways to make Tomcat's static file serving capabilities more 
performant? Any suggestions?

-Mete

-- Original Message --
From: Madere, Colin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Date:  Mon, 24 Mar 2003 10:25:23 -0600

I'm with you on this request.  I'm currently just serving static content
with Tomcat, but luckily the traffic for this content is low.

It seems this would require an Apache mod that integrated with the Tomcat
Realm system, at least requiring Apache authentication and module building
knowledge as well as some method of integrating with Tomcat through that
mod.

I, unfortunately, do not have the time to research and build such a module
:(

 -Original Message-
 From:Mete Kural [SMTP:[EMAIL PROTECTED]
 Sent:Monday, March 24, 2003 2:21 AM
 To:  Tomcat Users List
 Subject: JDBCRealm w/ Apache, How to???
 
 Hi, 
 
 I am perplexed at this interesting problem. We want to use JDBCRealm to
 authenticate users in Tomcat, but yet we want to serve static stuff via
 Apache to improve performance (we have a lot of static material behind
 authentication). If we set up Tomcat as a worker for Apache using the JK2
 connector, I don't see how requests for static files are going to be
 authenticated via JDBCRealm, since Tomcat doesn't even know about these
 static requests in the first place due to the fact that Apache handles
 them right away without dispatching them to Tomcat. I'm thinking that if
 we could somehow set up Apache to be a worker for Tomcat, and Tomcat
 received all requests and dispatched those that are static to Apache, then
 all requests would be authenticated via JDBCRealm. But I don't know how to
 do that neither if this is possible at all. Do you have any ideas on how
 to authenticate every request with JDBCRealm yet serve only static stuff
 with Apache. 
 
 Thanks, 
 Mete 
 
 -
 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]



Authentication with Tomcat/Apache Question

2003-03-21 Thread Mete Kural
Hi,

I am perplexed at this interesting problem. We want to use JDBCRealm to authenticate 
users in Tomcat, but yet we want to serve static stuff via Apache to improve 
performance. If we set up Tomcat as a worker for Apache using the JK2 connector, I 
don't see how requests for static files are going to be authenticated via JDBCRealm, 
since Tomcat doesn't even know about these static requests in the first place due to 
the fact that Apache handles them right away without dispatching them to Tomcat. I'm 
thinking that if we could somehow set up Apache to be a worker for Tomcat, and Tomcat 
received all requests and dispatched those that are static to Apache, then all 
requests would be authenticated via JDBCRealm. But I don't know how to do that neither 
if this is possible at all. Do you have any ideas on how to authenticate every 
request with JDBCRealm yet serve only static stuff with Apache.

Thanks,
Mete


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



[ANNOUNCEMENT] Liferay Enterprise Portal 1.8 RC3 released

2003-03-05 Thread Mete Kural
Hello Everyone,

Liferay Enterprise Portal 1.8 Release Candidate 3
has been released. A new feature in this release is an
RSS portlet. You can download Liferay bundled and
pre-configured with JBoss/Tomcat, JBoss/Jetty or
Orion. Or if you wish you can download the .EAR
enterprise archive file and deploy it yourself in your
favorite application server. Documentation can be
found on Liferay's website http://www.liferay.com or
the docs zip package available in the download area.
The download page is here:
http://sourceforge.net/project/showfiles.php?group_id=49260

Liferay is a free open-source implementation of an
enterprise portal server similar to WebSphere,
Plumtree and Epicentric. It provides personalization
features similar to Yahoo and a vast array of
pre-built portlets such as Mail, News, Shopping Cart,
Message Board, Wiki, and many more. Liferay is
intended to go in the JSR-168 Portlet API direction
once the specs are released to the community. For more
info, please visit http://www.liferay.com 

For a live demo, please go to http://my.liferay.com
and click on the My Liferay link on the top right.

If you would like to get involved in the project, that
would be great. Please drop us a line.

Thanks and have a nice day,
The Liferay Team


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



[ANNOUNCEMENT] Liferay Enterprise Portal 1.8 RC2 is released

2003-02-25 Thread Mete Kural
Hello Folks,

The Liferay team is proud to announce that Liferay
Enterprise Portal 1.8 Release Candidate 2 has been
released. You can download Liferay bundled and
pre-configured with JBoss/Tomcat, JBoss/Jetty or
Orion. Or if you wish you can download the .EAR
enterprise archive file and deploy it yourself in your
favorite application server. Documentation can be
found on Liferay's website http://www.liferay.com or
the docs zip package available in the download area.
The download page is here:
http://sourceforge.net/project/showfiles.php?group_id=49260

Liferay is a free open-source implementation of an
enterprise portal server similar to WebSphere,
Plumtree and Epicentric. It provides personalization
features similar to Yahoo and a vast array of
pre-built portlets such as Mail, News, Shopping Cart,
Message Board, Wiki, and many more. Liferay is
intended to go in the JSR-168 Portlet API direction
once the specs are released to the community. For more
info, please visit http://www.liferay.com

For a live demo, please go to http://my.liferay.com

If you would like to get involved in the project, that
would be wonderful. Please drop us a line.

Thanks and have a nice day,
The Liferay Team


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



RE: JK2 2.0.1 and Apache 2.0.44 problem

2003-02-19 Thread Mete Kural
Thanks for the feedback. Hmm.. for some reason it
doesn't tell you to add the lines that you gave me in
the workers2.properties file in the JK2 documentation.
But anyways, I added these lines to
workers2.properties:

[shm]
file=$/usr/apache/logs/shm.file
size=1048576

Now I don't get the shm.init(): No file errors any
more. But the Apache-Tomcat connection still doesn't
happen. Even after adding those lines to
workers2.properties, I still get these errors:


[Wed Feb 19 08:30:59 2003] [notice] Apache/2.0.44
(Unix) mod_jk2/2.0.0 configured -- resuming normal
operations
[Wed Feb 19 08:31:06 2003] [error]
channelSocket.open() connect failed localhost:8009 111
Connection refused
[Wed Feb 19 08:31:06 2003] [error] ajp13.connect()
failed ajp13:localhost:8009
[Wed Feb 19 08:31:06 2003] [error] ajp13.service()
failed to connect endpoint errno=111 Connection
refused
[Wed Feb 19 08:31:06 2003] [error] ajp13.service()
Error  forwarding ajp13:localhost:8009 1 1
[Wed Feb 19 08:31:06 2003] [error] lb.service() worker
failed ajp13:localhost:8009
[Wed Feb 19 08:31:06 2003] [error]
channelSocket.open() connect failed localhost:8009 111
Connection refused
[Wed Feb 19 08:31:06 2003] [error] ajp13.connect()
failed ajp13:localhost:8009
[Wed Feb 19 08:31:06 2003] [error] ajp13.service()
failed to connect endpoint errno=111 Connection
refused
[Wed Feb 19 08:31:06 2003] [error] ajp13.service()
Error  forwarding ajp13:localhost:8009 1 1
[Wed Feb 19 08:31:06 2003] [error] lb.service() worker
failed ajp13:localhost:8009
[Wed Feb 19 08:31:06 2003] [error] lb_worker.service()
all workers in error or disabled state
[Wed Feb 19 08:31:06 2003] [error] mod_jk.handler()
Error connecting to tomcat 12

Do you have any idea?

Thanks,
Mete

--- Turner, John [EMAIL PROTECTED] wrote:
 
 I'm pretty sure you need a shared memory block in
 your workers2.properties
 file.
 
 I don't use JK2, but I think it should look
 something like this:
 
 [shm]
 file=${serverRoot}/logs/shm.file
 size=1048576
 
 John
 
  -Original Message-
  From: Mete Kural [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 18, 2003 7:56 PM
  To: [EMAIL PROTECTED]
  Subject: JK2 2.0.1 and Apache 2.0.44 problem
  
  
  Hello guys,
  
  I'm having trouble connecting Apache and Tomcat
 with
  JK2 v2.0.1. I am using Apache 2.0.44 and Tomcat
 4.1.12
  which is bundled inside of the JBoss 3.0.4
  distribution. I'm on a Red Hat Linux 8.0. I set up
 the
  configuration as the minimum recommended on the
 jk2
  documentation website.
  
  The only line I added to httpd.conf is:
  LoadModule jk2_module modules/mod_jk2.so
  
  My workers2.properties file looks like this:
  
  # Define the communication channel
  [channel.socket:localhost:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009
  # Map the Tomcat examples webapp to the Web server
 uri
  space
  [uri:/examples/*]
  info=Map the whole webapp
  
  And I left jk2.properties as it came with Tomcat
  4.1.12, i.e. all the lines inside it are commented
  out.
  
  When I try to access localhost/examples, I get
 this
  page:
  
  Internal Server Error
  The server encountered an internal error or
  misconfiguration and was unable to complete your
  request.
  
  Please contact the server administrator,
  [EMAIL PROTECTED] and inform them of the time the
 error
  occurred, and anything you might have done that
 may
  have caused the error.
  
  More information about this error may be available
 in
  the server error log.
  
  
  And here is my error_log:
  
  [Tue Feb 18 15:27:28 2003] [notice] Apache/2.0.44
  (Unix) configured -- resuming normal operations
  [Tue Feb 18 15:29:29 2003] [notice] caught
 SIGTERM,
  shutting down
  [Tue Feb 18 16:22:58 2003] [error] shm.init(): No
 file
  [Tue Feb 18 16:22:58 2003] [notice] Apache/2.0.44
  (Unix) mod_jk2/2.0.0 configured -- resuming normal
  operations
  [Tue Feb 18 16:22:58 2003] [error] shm.init(): No
 file
  [Tue Feb 18 16:22:58 2003] [error] shm.init(): No
 file
  [Tue Feb 18 16:23:10 2003] [error]
 workerEnv.init()
  create slot epStat.0 failed
  [Tue Feb 18 16:23:10 2003] [error] lb.service()
 worker
  failed ajp13:localhost:8009
  [Tue Feb 18 16:23:10 2003] [error] lb.service()
  unrecoverable error...
  [Tue Feb 18 16:23:10 2003] [error]
 mod_jk.handler()
  Error connecting to tomcat 12
  
  
  Can you please help me out with this? I am new to
 JK2
  and I have no idea why this could be happenning.
 If
  more information about my configuration is
 necessary
  please let me know.
  
  Thank you very much,
  Mete
  
  
  
  
  
  
  
  
  
 

-
  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: JK2 2.0.1 and Apache 2.0.44 problem

2003-02-19 Thread Mete Kural
I think so. This is in my servlet.xml:

!-- Define a Coyote/JK2 AJP 1.3 Connector on port
8009 --
Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5
maxProcessors=75
   enableLookups=true
redirectPort=8443
   acceptCount=10 debug=0
connectionTimeout=2
   useURIValidationHack=false
  
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

One thing to mention, I am using the Tomcat that comes
bundled with JBoss, which is Tomcat 4.1.12. Do you
think the fact that Tomcat is invoked by JBoss make a
difference? Any ideas?

Thanks,
Mete

--- Turner, John [EMAIL PROTECTED] wrote:
 
 Do you have a Connector configured for port 8009 in
 server.xml?
 
 John
 
 
  -Original Message-
  From: Mete Kural [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 19, 2003 11:35 AM
  To: Tomcat Users List
  Subject: RE: JK2 2.0.1 and Apache 2.0.44 problem
  
  
  Thanks for the feedback. Hmm.. for some reason it
  doesn't tell you to add the lines that you gave me
 in
  the workers2.properties file in the JK2
 documentation.
  But anyways, I added these lines to
  workers2.properties:
  
  [shm]
  file=$/usr/apache/logs/shm.file
  size=1048576
  
  Now I don't get the shm.init(): No file errors
 any
  more. But the Apache-Tomcat connection still
 doesn't
  happen. Even after adding those lines to
  workers2.properties, I still get these errors:
  
  
  [Wed Feb 19 08:30:59 2003] [notice] Apache/2.0.44
  (Unix) mod_jk2/2.0.0 configured -- resuming normal
  operations
  [Wed Feb 19 08:31:06 2003] [error]
  channelSocket.open() connect failed localhost:8009
 111
  Connection refused
  [Wed Feb 19 08:31:06 2003] [error] ajp13.connect()
  failed ajp13:localhost:8009
  [Wed Feb 19 08:31:06 2003] [error] ajp13.service()
  failed to connect endpoint errno=111 Connection
  refused
  [Wed Feb 19 08:31:06 2003] [error] ajp13.service()
  Error  forwarding ajp13:localhost:8009 1 1
  [Wed Feb 19 08:31:06 2003] [error] lb.service()
 worker
  failed ajp13:localhost:8009
  [Wed Feb 19 08:31:06 2003] [error]
  channelSocket.open() connect failed localhost:8009
 111
  Connection refused
  [Wed Feb 19 08:31:06 2003] [error] ajp13.connect()
  failed ajp13:localhost:8009
  [Wed Feb 19 08:31:06 2003] [error] ajp13.service()
  failed to connect endpoint errno=111 Connection
  refused
  [Wed Feb 19 08:31:06 2003] [error] ajp13.service()
  Error  forwarding ajp13:localhost:8009 1 1
  [Wed Feb 19 08:31:06 2003] [error] lb.service()
 worker
  failed ajp13:localhost:8009
  [Wed Feb 19 08:31:06 2003] [error]
 lb_worker.service()
  all workers in error or disabled state
  [Wed Feb 19 08:31:06 2003] [error]
 mod_jk.handler()
  Error connecting to tomcat 12
  
  Do you have any idea?
  
  Thanks,
  Mete
  
  --- Turner, John [EMAIL PROTECTED] wrote:
   
   I'm pretty sure you need a shared memory block
 in
   your workers2.properties
   file.
   
   I don't use JK2, but I think it should look
   something like this:
   
   [shm]
   file=${serverRoot}/logs/shm.file
   size=1048576
   
   John
   
-Original Message-
From: Mete Kural [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 7:56 PM
To: [EMAIL PROTECTED]
Subject: JK2 2.0.1 and Apache 2.0.44 problem


Hello guys,

I'm having trouble connecting Apache and
 Tomcat
   with
JK2 v2.0.1. I am using Apache 2.0.44 and
 Tomcat
   4.1.12
which is bundled inside of the JBoss 3.0.4
distribution. I'm on a Red Hat Linux 8.0. I
 set up
   the
configuration as the minimum recommended on
 the
   jk2
documentation website.

The only line I added to httpd.conf is:
LoadModule jk2_module modules/mod_jk2.so

My workers2.properties file looks like this:

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web
 server
   uri
space
[uri:/examples/*]
info=Map the whole webapp

And I left jk2.properties as it came with
 Tomcat
4.1.12, i.e. all the lines inside it are
 commented
out.

When I try to access localhost/examples, I get
   this
page:

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
 your
request.

Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time
 the
   error
occurred, and anything you might have done
 that
   may
have caused the error.

More information about this error may be
 available
   in
the server error log.


And here is my error_log:

[Tue Feb 18 15:27:28 2003] [notice]
 Apache/2.0.44
(Unix) configured -- resuming normal
 operations
[Tue Feb 18 15:29:29 2003] [notice] caught
   SIGTERM,
shutting down
[Tue Feb 18 16:22:58 2003

JK2 2.0.1 and Apache 2.0.44 problem

2003-02-18 Thread Mete Kural
Hello guys,

I'm having trouble connecting Apache and Tomcat with
JK2 v2.0.1. I am using Apache 2.0.44 and Tomcat 4.1.12
which is bundled inside of the JBoss 3.0.4
distribution. I'm on a Red Hat Linux 8.0. I set up the
configuration as the minimum recommended on the jk2
documentation website.

The only line I added to httpd.conf is:
LoadModule jk2_module modules/mod_jk2.so

My workers2.properties file looks like this:

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri
space
[uri:/examples/*]
info=Map the whole webapp

And I left jk2.properties as it came with Tomcat
4.1.12, i.e. all the lines inside it are commented
out.

When I try to access localhost/examples, I get this
page:

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your
request.

Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the error
occurred, and anything you might have done that may
have caused the error.

More information about this error may be available in
the server error log.


And here is my error_log:

[Tue Feb 18 15:27:28 2003] [notice] Apache/2.0.44
(Unix) configured -- resuming normal operations
[Tue Feb 18 15:29:29 2003] [notice] caught SIGTERM,
shutting down
[Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
[Tue Feb 18 16:22:58 2003] [notice] Apache/2.0.44
(Unix) mod_jk2/2.0.0 configured -- resuming normal
operations
[Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
[Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
[Tue Feb 18 16:23:10 2003] [error] workerEnv.init()
create slot epStat.0 failed
[Tue Feb 18 16:23:10 2003] [error] lb.service() worker
failed ajp13:localhost:8009
[Tue Feb 18 16:23:10 2003] [error] lb.service()
unrecoverable error...
[Tue Feb 18 16:23:10 2003] [error] mod_jk.handler()
Error connecting to tomcat 12


Can you please help me out with this? I am new to JK2
and I have no idea why this could be happenning. If
more information about my configuration is necessary
please let me know.

Thank you very much,
Mete









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




Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural

Hi,

I'm getting the below exception in Tomcat 4.1.7
(installed from the .zip distribution) while loading
xalan.jar in a WEB-INF/lib/ directory. Do you have any
suggestions on what might be causing it?

Thanks, Mete

javax.servlet.ServletException: Exception processing
JAR at resource path /WEB-INF/lib/xalan.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
..
.
- Root Cause -
java.io.IOException: The system cannot find the path
specified
at
java.io.WinNTFileSystem.createFileExclusively(Native
Method)
at java.io.File.checkAndCreate(File.java:1294)
at java.io.File.createTempFile(File.java:1382)
at java.io.File.createTempFile(File.java:1419)
at
sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
at java.security.AccessController.doPrivileged(Native
Method)
at
sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
at
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
at
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
..
.




__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Re: Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural

Addition: Not just for xalan.jar, this happens for
many other jars such as jakarta-oro.jar,
xercesImpl.jar, saxpath.jar, etc. 
I'm using the jakarta-tomcat-4.1.7-LE-jdk14.tar.gz
binary distribution of Tomcat 4.1.7.

Thanks, Mete

--- Mete Kural [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm getting the below exception in Tomcat 4.1.7
 (installed from the .zip distribution) while loading
 xalan.jar in a WEB-INF/lib/ directory. Do you have
 any
 suggestions on what might be causing it?
 
 Thanks, Mete
 
 javax.servlet.ServletException: Exception processing
 JAR at resource path /WEB-INF/lib/xalan.jar
   at

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
   at

org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
   at

org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
 ..
 .
 - Root Cause -
 java.io.IOException: The system cannot find the path
 specified
   at
 java.io.WinNTFileSystem.createFileExclusively(Native
 Method)
   at java.io.File.checkAndCreate(File.java:1294)
   at java.io.File.createTempFile(File.java:1382)
   at java.io.File.createTempFile(File.java:1419)
   at

sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
   at
 java.security.AccessController.doPrivileged(Native
 Method)
   at

sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
   at

sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
   at

sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
   at

sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
   at

sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
   at

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
 ..
 .
 
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Re: Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural

I read in an email that this problem does not occur
with the .exe distribution of Tomcat 4.1.7., but the
tar version only. Does anybody have any insight into
why this might be happening?

Thanks, Mete

--- Mete Kural [EMAIL PROTECTED] wrote:
 Addition: Not just for xalan.jar, this happens for
 many other jars such as jakarta-oro.jar,
 xercesImpl.jar, saxpath.jar, etc. 
 I'm using the jakarta-tomcat-4.1.7-LE-jdk14.tar.gz
 binary distribution of Tomcat 4.1.7.
 
 Thanks, Mete
 
 --- Mete Kural [EMAIL PROTECTED] wrote:
  Hi,
  
  I'm getting the below exception in Tomcat 4.1.7
  (installed from the .zip distribution) while
 loading
  xalan.jar in a WEB-INF/lib/ directory. Do you have
  any
  suggestions on what might be causing it?
  
  Thanks, Mete
  
  javax.servlet.ServletException: Exception
 processing
  JAR at resource path /WEB-INF/lib/xalan.jar
  at
 

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
  at
 

org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
  at
 

org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
  ..
  .
  - Root Cause -
  java.io.IOException: The system cannot find the
 path
  specified
  at
 
 java.io.WinNTFileSystem.createFileExclusively(Native
  Method)
  at java.io.File.checkAndCreate(File.java:1294)
  at java.io.File.createTempFile(File.java:1382)
  at java.io.File.createTempFile(File.java:1419)
  at
 

sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
  at
  java.security.AccessController.doPrivileged(Native
  Method)
  at
 

sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
  at
 

sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
  at
 

sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
  at
 

sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
  at
 

sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
  at
 

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
  ..
  .
  
  
  
  
  __
  Do You Yahoo!?
  Yahoo! Health - Feel better, live better
  http://health.yahoo.com
  
  --
  To unsubscribe, e-mail:  
 
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Are usernames case-sensitive in JDBCRealm?

2002-07-25 Thread Mete Kural

Hello,

I use JDBCRealm and for some reason the usernames are
not checked with the database in a case-sensitive
manner. The passwords are still checked case-sensitive
as they should be. Is this expected behaviour in
JDBCRealm, or do you think there's something wrong
with my webapp or database?

Thanks,
Mete


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




JDBCRealm: Case-sensitive usernames

2002-07-24 Thread Mete Kural

Hello,

I use JDBCRealm and for some reason the usernames are
not checked with the database in a case-sensitive
manner. The passwords are still checked case-sensitive
as they should be. Is this expected behaviour in
JDBCRealm, or do you think there's something wrong
with my webapp or database?

Thanks,
Mete

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




JDBCRealm Question

2002-07-22 Thread Mete Kural

Hello,

My question is about how the user roles are
deterermined in JDBCRealm. In the basic XML file
configuration, the XML files has an element roles.
All of the user's roles are provided in this element
as a comma-seperated list. It seems to me that in
JDBCRealm, this is not the case. User_role column of
the User_Roles table only stores one user role at a
time. For instance if somebody has both the roles
user and admin, in the XML file this would be
specified as user, admin inside the roles element.
My understanding is that in JDBCRealm, you have to
enter multiple records relating to the same user, i.e.
username for each role that the user has. Is there a
way to tweak JDBCRealm to read one comma-seperated
list string from only one row instead of reading a row
for each role that the user has.

Why did I need this kind of functionality? Because I
want to keep my user data including the user role all
in one table and not deal with a seperate table for
user_roles. Is what I want possible? Or do you have a
suggestion on how to manage my user_roles data in the
relational database?

Thanks,
Mete Kural


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Re: JDBCRealm Question

2002-07-22 Thread Mete Kural

Hi Vic,

Thanks for the lead. Though what is the name of the
project? Is it basicportal? I couldn't find it on
sourceforge. Would you be able to provide me a URL?

Thanks,
Mete

--- Jakarta Tomcat Newsgroup
[EMAIL PROTECTED] wrote:
 Subject: Re: JDBCRealm Question
 From: Vic C. [EMAIL PROTECTED]
  ===
 Working sample showing JDBC relms and user table
 CRUD with SQL (in a 
 single table like you want) is on sourceforge.com
 basicportal project.
 (It also has Struts MVC with JSTL)
 
 Vic
 
 Mete Kural wrote:
  Hello,
  
  My question is about how the user roles are
  deterermined in JDBCRealm. In the basic XML file
  configuration, the XML files has an element
 roles.
  All of the user's roles are provided in this
 element
  as a comma-seperated list. It seems to me that in
  JDBCRealm, this is not the case. User_role column
 of
  the User_Roles table only stores one user role at
 a
  time. For instance if somebody has both the roles
  user and admin, in the XML file this would be
  specified as user, admin inside the roles
 element.
  My understanding is that in JDBCRealm, you have to
  enter multiple records relating to the same user,
 i.e.
  username for each role that the user has. Is there
 a
  way to tweak JDBCRealm to read one comma-seperated
  list string from only one row instead of reading a
 row
  for each role that the user has.
  
  Why did I need this kind of functionality? Because
 I
  want to keep my user data including the user role
 all
  in one table and not deal with a seperate table
 for
  user_roles. Is what I want possible? Or do you
 have a
  suggestion on how to manage my user_roles data in
 the
  relational database?
  
  Thanks,
  Mete Kural
  
  
  __
  Do You Yahoo!?
  Yahoo! Health - Feel better, live better
  http://health.yahoo.com
  
  --
  To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




RE: forwarding through j_security_check

2002-07-18 Thread Mete Kural

Jim,

You may also want to check out Tapestry:

http://www.saush.com/tapestry/

Good luck,
Mete


__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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




Tomcat and Unicode parameters in URLs ???

2002-03-16 Thread Mete Kural

Hello all,

I tried a million ways of making Tomcat 4.0.3 work
with Unicode URL parameters, but nothing seems to
work. It always corrupts the parameters. Does anybody
know a workaround to make Unicode request parameters
work with Tomcat?

For instance, I changed the SnoopServlet example given
with Tomcat 4 to output the response in the unicode
with setContentType(text/html;charset=utf-8). But
when I write unicode parameters in the URL text area
of Internet Explorer as parameters to SnoopServlet, it
always corrupts my parameters. Instead of printing
them a two-bye unicode characters, it prints every
unicode character as two one-byte garbage or otherwise
ASCII characters. I also tried making a URL request
using the URL class in JAVA SDK 1.4. That didn't work
as well. The URLEncode and URLDecode classes in the
SDK don't seem to do their job right also. Has anyone
been able to make use of these classes? Any
workarounds and bug reports will be greatly
appreciated.

Thanks,
Mete


__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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