You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert L Sowders <rs...@usgs.gov> on 2002/09/04 11:11:08 UTC

Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

Here is a short HowTo to get it all installed and working on Win2k. 
Sorry all I have is a Word document.  Give it a try, feedback is 
appreciated. 
Probably lots of typo's in it.  Let me know.

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


JAASRealm SecurityException unable to instantiate LoginConfiguration

Posted by James Krygowski <ja...@shaws.com>.
Hey All-

I'm trying to get the standard JAASMemoryLoginModule in Tomcat 4.1.9beta to
work and haven't had much success.  After tinkering with JAASRealm and
adding the following exception catch block:

        LoginContext loginContext = null;
        try {
            loginContext = new LoginContext
                (appName, new JAASCallbackHandler(this, username,
                                                  credentials));
        } catch (LoginException e) {
            log(sm.getString("jaasRealm.loginException", username), e);
            return (null);
        } catch (Exception e) {
            log(sm.getString("jaasRealm.loginException", username), e);
            return (null);
        }

I found that the instantiation of LoginContext results in a
java.lang.SecurityException with a detail message of "unable to instantiate
LoginConfiguration"

I'm using the standard 4.1.9beta install (standalone) and I've modified my
catalina.bat file so that the JAAS env variable is getting set
(-Djava.security.auth.login.config=C:/java/apache/jakarta-tomcat-4.1.9/conf/
auth.conf).

Can anyone point me toward a solution here?

thanks,

jk


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


.Tomcat log files consuming 90% space..

Posted by Phillip <iq...@hotmail.com>.
Hi,
I am facing a problem that my tomcat log files size are getting to big at
online server. These files are jasper.log and mod_jk.log. I could be able to
clear jasper.log file by changing verbosity level to warn in server.xml Now
it does not grow but how to stop mod_jk.log. It has consumed 80% of my web
space. Is there any il effect if i delete this file.


Regards,
Phillip
iquotient@hotmail.com




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

Posted by Andy Eastham <an...@gliant.com>.
Robert,

This is excellent.  I'm going to give it all another go later this week with
the aid of your work.

My only comment is that I'd replace:
Set system environment variables for Java home.
			C:\java
with
Set system environment variables for Java home.
			JAVA_HOME = C:\java

like you do for Cataline home below.

It might avoid confusion for someone.

Cheers and thanks very much,

Andy

> -----Original Message-----
> From: Mladen Turk [mailto:mturk@mappingsoft.com]
> Sent: 04 September 2002 10:22
> To: 'Tomcat Users List'
> Subject: RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2
>
>
> Good work!
>
> One exception:
> You don't need JVM in the [wm] section for jk2 to work.
> If ommited it will be found from the Registry.
>
> MT.
>
> > -----Original Message-----
> > From: Robert L Sowders [mailto:rsowders@usgs.gov]
> > Sent: Wednesday, September 04, 2002 11:11 AM
> > To: Tomcat Users List
> > Subject: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2
> >
> >
> > Here is a short HowTo to get it all installed and working on Win2k.
> > Sorry all I have is a Word document.  Give it a try, feedback is
> > appreciated.
> > Probably lots of typo's in it.  Let me know.
> >
> > ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JS
> DK1.4.zip
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

Posted by Mladen Turk <mt...@mappingsoft.com>.
Good work!

One exception:
You don't need JVM in the [wm] section for jk2 to work.
If ommited it will be found from the Registry.

MT.

> -----Original Message-----
> From: Robert L Sowders [mailto:rsowders@usgs.gov] 
> Sent: Wednesday, September 04, 2002 11:11 AM
> To: Tomcat Users List
> Subject: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2
> 
> 
> Here is a short HowTo to get it all installed and working on Win2k. 
> Sorry all I have is a Word document.  Give it a try, feedback is 
> appreciated. 
> Probably lots of typo's in it.  Let me know.
> 
> ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JS
DK1.4.zip

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>