Re: tc-users Digest, Vol 23, Issue 1

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: tc-users Digest, Vol 23, Issue 1

by Ramin Farhanian-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you very much indeed,
 This was a great help and that led me to use session Configurator to
cluster the http session. It took sometimes to detect the essential classes
for instrumentation and the classes that need to be declared in the
additional boot jar. I finally did it and Here is what I faced in the end.
 I could see the session object in the monitor section of Session
Configurator. And I could see that whenever I was logging in, acegi was
putting the user object in the session. I was watching that through the
session Configurator Monitor (Thanks to you guys).
 Afterwards I tried to deploy both applications on two different machines. I
saw that admin console understands that I have one server and two clients
(which was quite correct), but the session object was not shared the way
that It was when I was using the Terracotta Session Configurator.
How can I solve this?
Another question : I am using Terracotta 2.6.4 on development. Where can I
find the Linux version to download?
 
I am using Terracotta 2.6.4, Spring 2.0.1, Hibernate 3.2.5, Acegi Security
1.0.3.
And here is my tc-config.xml :

<?xml version="1.0" encoding="UTF-8"?>
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
    <servers>
        <server host="192.168.1.4">
            <data>%(user.home)/terracotta/server-data</data>
            <logs>%(user.home)/terracotta/server-logs</logs>
        </server>
    </servers>


    <clients>
        <modules>
            <module name="tim-cglib-2.1.3" version="1.1.3"/>
        </modules>
        <logs>%(user.home)/terracotta/client-logs</logs>
    </clients>


    <application>
        <dso>
            <instrumented-classes>
               
                <include>
 
<class-expression>com.mypackage.core.ac.model..*</class-expression>
                </include>
                <include>
 
<class-expression>com.mypackage.core.model..*</class-expression>
                </include>

                <include>
 
<class-expression>org.acegisecurity.ui.savedrequest.SavedRequest</class-expr
ession>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.ui.savedrequest.SavedCookie</class-expre
ssion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.context.SecurityContextImpl</class-expre
ssion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.providers.UsernamePasswordAuthentication
Token</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.providers.AbstractAuthenticationToken</c
lass-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.ui.WebAuthenticationDetails</class-expre
ssion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.acegisecurity.GrantedAuthorityImpl</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.collection.AbstractPersistentCollection</cla
ss-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.collection.PersistentSet</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.collection.PersistentBag</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.commons.logging.impl.Log4JLogger</class-express
ion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer</class
-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.proxy.pojo.BasicLazyInitializer</class-expre
ssion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.hibernate.proxy.AbstractLazyInitializer</class-express
ion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Logger</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Category</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Hierarchy</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Level</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Priority</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.spi.RootLogger</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.or.RendererMap</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.DefaultCategoryFactory</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.CategoryKey</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.AppenderAttachableImpl</class-exp
ression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.ProvisionNode</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.RollingFileAppender</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.FileAppender</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.WriterAppender</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.AppenderSkeleton</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.CountingQuietWriter</class-expres
sion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.PatternLayout</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.Layout</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.OnlyOnceErrorHandler</class-expre
ssion>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.PatternParser$DatePatternConverte
r</class-expression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.PatternConverter</class-expressio
n>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.ISO8601DateFormat</class-expressi
on>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.AbsoluteTimeDateFormat</class-exp
ression>
                    <honor-transient>true</honor-transient>
                </include>
                <include>
 
<class-expression>org.apache.log4j.helpers.PatternParser$LiteralPatternConve
rter</class-expression>
                    <honor-transient>true</honor-transient>
                </include>


                <!-- Exclude tomcat internals to improve performance of
webapp loading -->
                <exclude>org.apache.coyote..*</exclude>
                <exclude>org.apache.catalina..*</exclude>
                <exclude>org.apache.jasper..*</exclude>
                <exclude>org.apache.tomcat..*</exclude>
            </instrumented-classes>

            <additional-boot-jar-classes>
                <include>java.util.Locale</include>
 
<include>java.lang.String$CaseInsensitiveComparator</include>
                <include>java.io.FilterWriter</include>
                <include>java.io.Writer</include>
                <include>java.io.OutputStreamWriter</include>
                <include>java.lang.AbstractStringBuilder</include>
                <include>sun.nio.cs.StreamEncoder</include>
                <include>sun.nio.cs.StreamEncoder$CharsetSE</include>
                <include>java.text.DateFormat</include>
                <include>java.text.Format</include>
            </additional-boot-jar-classes>

            <web-applications>
                <web-application>myapp</web-application>
            </web-applications>
        </dso>
    </application>
</tc:tc-config>



All The Best,
Ramin Farhanian

-----Original Message-----
From: tc-users-bounces@...
[mailto:tc-users-bounces@...] On Behalf Of
tc-users-request@...
Sent: Wednesday, October 01, 2008 9:00 PM
To: tc-users@...
Subject: tc-users Digest, Vol 23, Issue 1

Send tc-users mailing list submissions to
        tc-users@...
nd
To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.terracotta.org/mailman/listinfo/tc-users
or, via email, send a message with subject or body 'help' to
        tc-users-request@...

You can reach the person managing the list at
        tc-users-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of tc-users digest..."


Today's Topics:

   1. Re: Session configurator doesn't even launch my application
      (Gary Keim)
   2. Re: tc-users Digest, Vol 22, Issue 9 (Ramin Farhanian)


----------------------------------------------------------------------

Message: 1
Date: Tue, 30 Sep 2008 14:05:14 -0700 (PDT)
From: "Gary Keim" <gkeim@...>
Subject: Re: [tc-users] Session configurator doesn't even launch my
        application
To: <tc-users@...>
Message-ID: <FEFD2F8B69D240BDAB1F53F27492A06A@...>
Content-Type: text/plain; charset="us-ascii"

The problem is that you're combining using the Session Configurator with
the instructions for running a stand-alone Terracotta-enabled Tomcat.  The
Session Configurator is meant to run against a standard, stock Tomcat
installation, but you've modified Catalina.bat to activate Terracotta
which is already done by the Session Configurator.  So, revert your
Catalina.bat back to its default content and the Configurator should work.
After you've had success with TC-enabling your webapp and are ready to
setup your testing/integration/production environment, then follow the
instructions in the Tomcat+Integration guide.

 

  _____  

From: tc-users-bounces@...
[mailto:tc-users-bounces@...] On Behalf Of Ramin
Farhanian
Sent: Tuesday, September 30, 2008 5:08 AM
To: tc-users@...
Subject: [tc-users] Session configurator doesn't even launch my
application

 

Dear experts,

 I need to cluster the http session on terracotta. I have done everything
I could but It seems like the session Configurator doesn't run my
application for some reason but I don't understand the log.

 I am using Terracotta 2.7, Tomcat 5.5, Spring 2.0, Hibernate 3.2.5,
Acegi, Sitemesh and etc. I read the
http://terracotta.org/web/display/orgsite/Tomcat+Integration and tried to
go through the instruction. I am using windows XP and I have added the
"terracotta installation folder/bin" and also JAVA_HOME to the global
variables.

 I have attached snapshots of session Configurator, logs of session
Configurator, tc-config.xml , catalina.bat that I use.

 

One of your colleagues suggested me to use the hibernate module in my
tc-config  (while he wasn't sure about it but he said it because may be
acegi is putting My user objects which are at first hibernate managed in
http session). Hibernate module is dependant to ehcache, cglib and ehcache
common which is quite unavailable. Another terracotta guy suggested me to
use tim-update feature but it is developed in terracotta 2.7.

If there is anything more you need to know to help me, please feel free to
ask.

 

What I need to do is to see the session Configurator load my web
application on two different ports 9081 and 9082 successfully. Please help
me.

 

All The Best,

Ramin Farhanian

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/c696e083
/attachment-0001.html

------------------------------

Message: 2
Date: Wed, 1 Oct 2008 09:06:46 +0200
From: "Ramin Farhanian" <ramin@...>
Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 9
To: <tc-users@...>
Message-ID: <003601c92394$46d3afe0$d47b0fa0$@com>
Content-Type: text/plain; charset="us-ascii"

Dear Mr. Gautier,
 I am sorry for the inconvenience. I am using Terracotta 2.6.4.


All The Best,
Ramin Farhanian

-----Original Message-----
From: tc-users-bounces@...
[mailto:tc-users-bounces@...] On Behalf Of
tc-users-request@...
Sent: Tuesday, September 30, 2008 9:00 PM
To: tc-users@...
Subject: tc-users Digest, Vol 22, Issue 9

Send tc-users mailing list submissions to
        tc-users@...

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.terracotta.org/mailman/listinfo/tc-users
or, via email, send a message with subject or body 'help' to
        tc-users-request@...

You can reach the person managing the list at
        tc-users-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of tc-users digest..."


Today's Topics:

   1. Re: tc-users Digest, Vol 22, Issue 7 (Taylor Gautier)


----------------------------------------------------------------------

Message: 1
Date: Tue, 30 Sep 2008 08:09:33 -0700 (PDT)
From: Taylor Gautier <tgautier@...>
Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 7
To: tc-users@...
Message-ID:
       
<15834247.710241222787373315.JavaMail.root@...>
Content-Type: text/plain; charset="utf-8"

In a previous email you stated that you were using Terracotta 2.7, but the
startup indicates 2.6.4 - just want to confirm you are using the right
versions that you expect and which one we should look into before going too
far.

----- Original Message -----
From: "Ramin Farhanian" <ramin@...>
To: tc-users@...
Sent: Tuesday, September 30, 2008 7:25:06 AM GMT -08:00 US/Canada Pacific
Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 7




Dear experts,

?I fixed an error but the problem still is there. On my machine, Session
Configurator was using JRE as JAVA_HOME by default. I fixed it to use my
default JAVA_HOME. Now the terracotta server in session Configurator console
works healthy but the tomcat:9081 and tomcat:9082 still throw exceptions in
the console (I have attached the exceptions).

?Please help me to launch my application properly.

?

All The Best,

Ramin Farhanian

?

?

-----Original Message-----
From: tc-users-bounces@...
[mailto:tc-users-bounces@...] On Behalf Of
tc-users-request@...
Sent: Tuesday, September 30, 2008 12:43 PM
To: tc-users@...
Subject: tc-users Digest, Vol 22, Issue 7

?

Send tc-users mailing list submissions to

????? tc-users@...

?

To subscribe or unsubscribe via the World Wide Web, visit

????? http://lists.terracotta.org/mailman/listinfo/tc-users 

or, via email, send a message with subject or body 'help' to

????? tc-users-request@...

?

You can reach the person managing the list
at???????????????????????????????????????????????

????? tc-users-owner@...

?

When replying, please edit your Subject line so it is more specific

than "Re: Contents of tc-users digest..."

?

?

Today's Topics:

?

?? 1. Session configurator doesn't even launch my application

????? (Ramin Farhanian)

?

?

----------------------------------------------------------------------

?

Message: 1

Date: Tue, 30 Sep 2008 14:07:48 +0200

From: "Ramin Farhanian" <ramin@...>

Subject: [tc-users] Session configurator doesn't even launch my

????? application

To: <tc-users@...>

Message-ID: <000301c922f5$2994a870$7cbdf950$@com>

Content-Type: text/plain; charset="us-ascii"

?

Dear experts,

?

?I need to cluster the http session on terracotta. I have done everything I

could but It seems like the session Configurator doesn't run my application

for some reason but I don't understand the log.

?

?I am using Terracotta 2.7, Tomcat 5.5, Spring 2.0, Hibernate 3.2.5, Acegi,

Sitemesh and etc. I read the

http://terracotta.org/web/display/orgsite/Tomcat+Integration and tried to go


through the instruction. I am using windows XP and I have added the

"terracotta installation folder/bin" and also JAVA_HOME to the global

variables.

?

?I have attached snapshots of session Configurator, logs of session

Configurator, tc-config.xml , catalina.bat that I use.

?

?

?

One of your colleagues suggested me to use the hibernate module in my

tc-config? (while he wasn't sure about it but he said it because may be

acegi is putting My user objects which are at first hibernate managed in

http session). Hibernate module is dependant to ehcache, cglib and ehcache

common which is quite unavailable. Another terracotta guy suggested me to

use tim-update feature but it is developed in terracotta 2.7.

?

If there is anything more you need to know to help me, please feel free to

ask.

?

?

?

What I need to do is to see the session Configurator load my web application


on two different ports 9081 and 9082 successfully. Please help me.

?

?

?

All The Best,

?

Ramin Farhanian

?

-------------- next part --------------

An HTML attachment was scrubbed...

URL:
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment.html

-------------- next part --------------

A non-text attachment was scrubbed...

Name: sessionConfigurator-server console.log

Type: application/octet-stream

Size: 6140 bytes

Desc: not available

Url :
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment.obj

-------------- next part --------------

A non-text attachment was scrubbed...

Name: sessionConfiguratorSnapShot.JPG

Type: image/jpeg

Size: 205210 bytes

Desc: not available

Url :
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment.jpe

-------------- next part --------------

A non-text attachment was scrubbed...

Name: sessionConfigurator-Tomcat9082.log

Type: application/octet-stream

Size: 2325 bytes

Desc: not available

Url :
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment-0001.obj

-------------- next part --------------

A non-text attachment was scrubbed...

Name: tc-config.xml

Type: text/xml

Size: 1635 bytes

Desc: not available

Url :
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment.xml

-------------- next part --------------

A non-text attachment was scrubbed...

Name: sessionConfigurator-Tomcat9081.log

Type: application/octet-stream

Size: 2325 bytes

Desc: not available

Url :
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment-0002.obj

-------------- next part --------------

An embedded and charset-unspecified text was scrubbed...

Name: catalina-bat.txt

Url:
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/857812a6
/attachment.txt

?

------------------------------

?

_______________________________________________

tc-users mailing list

tc-users@...

http://lists.terracotta.org/mailman/listinfo/tc-users 

?

?

End of tc-users Digest, Vol 22, Issue 7

***************************************
_______________________________________________ tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.terracotta.org/pipermail/tc-users/attachments/20080930/3ac2bc7a
/attachment-0001.html

------------------------------

_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users


End of tc-users Digest, Vol 22, Issue 9
***************************************



------------------------------

_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users


End of tc-users Digest, Vol 23, Issue 1
***************************************

_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users

Re: tc-users Digest, Vol 23, Issue 1

by teck-terracotta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I didn't see any answers to your questions on the list here...

I'm not sure I understand what is broken when you try using two different
machines. Do you see no session data getting clustered (the TC admin
console will let you see this), or do you not see session information when
you jump from one machine to the next? If you see no data, then I'd
suspect the <web-application> isn't matching for some reason. If you seem
to be losing data when you hop machines, then I suspect your browser isn't
sending the session cookie since the hosts are different.

Regarding your second question -- The "generic" download is what you want
for use on anything non-windows (eg. linux)

> -----Original Message-----
> From: tc-users-bounces@... [mailto:tc-users-
> bounces@...] On Behalf Of Ramin Farhanian
> Sent: Saturday, October 04, 2008 1:24 AM
> To: tc-users@...
> Subject: Re: [tc-users] tc-users Digest, Vol 23, Issue 1
>
> Thank you very much indeed,
>  This was a great help and that led me to use session Configurator to
> cluster the http session. It took sometimes to detect the essential
> classes
> for instrumentation and the classes that need to be declared in the
> additional boot jar. I finally did it and Here is what I faced in the
end.
>  I could see the session object in the monitor section of Session
> Configurator. And I could see that whenever I was logging in, acegi was
> putting the user object in the session. I was watching that through the
> session Configurator Monitor (Thanks to you guys).
>  Afterwards I tried to deploy both applications on two different
machines.
> I
> saw that admin console understands that I have one server and two
clients
> (which was quite correct), but the session object was not shared the way
> that It was when I was using the Terracotta Session Configurator.
> How can I solve this?
> Another question : I am using Terracotta 2.6.4 on development. Where can
I
> find the Linux version to download?
>
> I am using Terracotta 2.6.4, Spring 2.0.1, Hibernate 3.2.5, Acegi
Security

> 1.0.3.
> And here is my tc-config.xml :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <tc:tc-config xmlns:tc="http://www.terracotta.org/config"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
>     <servers>
>         <server host="192.168.1.4">
>             <data>%(user.home)/terracotta/server-data</data>
>             <logs>%(user.home)/terracotta/server-logs</logs>
>         </server>
>     </servers>
>
>
>     <clients>
>         <modules>
>             <module name="tim-cglib-2.1.3" version="1.1.3"/>
>         </modules>
>         <logs>%(user.home)/terracotta/client-logs</logs>
>     </clients>
>
>
>     <application>
>         <dso>
>             <instrumented-classes>
>
>                 <include>
>
> <class-expression>com.mypackage.core.ac.model..*</class-expression>
>                 </include>
>                 <include>
>
> <class-expression>com.mypackage.core.model..*</class-expression>
>                 </include>
>
>                 <include>
>
> <class-expression>org.acegisecurity.ui.savedrequest.SavedRequest</class-
> expr
> ession>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.acegisecurity.ui.savedrequest.SavedCookie</class-
> expre
> ssion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.acegisecurity.context.SecurityContextImpl</class-
> expre
> ssion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.acegisecurity.providers.UsernamePasswordAuthentication
> Token</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.acegisecurity.providers.AbstractAuthenticationToken</c
> lass-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.acegisecurity.ui.WebAuthenticationDetails</class-
> expre
> ssion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.acegisecurity.GrantedAuthorityImpl</class-
> expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.hibernate.collection.AbstractPersistentCollection</cla
> ss-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.hibernate.collection.PersistentSet</class-
> expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.hibernate.collection.PersistentBag</class-
> expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.commons.logging.impl.Log4JLogger</class-
> express
> ion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer</class
> -expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.hibernate.proxy.pojo.BasicLazyInitializer</class-
> expre
> ssion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.hibernate.proxy.AbstractLazyInitializer</class-
> express
> ion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Logger</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Category</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Hierarchy</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Level</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Priority</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.spi.RootLogger</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.or.RendererMap</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.DefaultCategoryFactory</class-
> expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.CategoryKey</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
>
<class-expression>org.apache.log4j.helpers.AppenderAttachableImpl</class-

> exp
> ression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.ProvisionNode</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
>
<class-expression>org.apache.log4j.RollingFileAppender</class-expression>

>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.FileAppender</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.WriterAppender</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.AppenderSkeleton</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.helpers.CountingQuietWriter</class-
> expres
> sion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.PatternLayout</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.Layout</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.helpers.OnlyOnceErrorHandler</class-
> expre
> ssion>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.apache.log4j.helpers.PatternParser$DatePatternConverte
> r</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.helpers.PatternConverter</class-
> expressio
> n>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-expression>org.apache.log4j.helpers.ISO8601DateFormat</class-
> expressi
> on>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
>
<class-expression>org.apache.log4j.helpers.AbsoluteTimeDateFormat</class-

> exp
> ression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>                 <include>
>
> <class-
> expression>org.apache.log4j.helpers.PatternParser$LiteralPatternConve
> rter</class-expression>
>                     <honor-transient>true</honor-transient>
>                 </include>
>
>
>                 <!-- Exclude tomcat internals to improve performance of
> webapp loading -->
>                 <exclude>org.apache.coyote..*</exclude>
>                 <exclude>org.apache.catalina..*</exclude>
>                 <exclude>org.apache.jasper..*</exclude>
>                 <exclude>org.apache.tomcat..*</exclude>
>             </instrumented-classes>
>
>             <additional-boot-jar-classes>
>                 <include>java.util.Locale</include>
>
> <include>java.lang.String$CaseInsensitiveComparator</include>
>                 <include>java.io.FilterWriter</include>
>                 <include>java.io.Writer</include>
>                 <include>java.io.OutputStreamWriter</include>
>                 <include>java.lang.AbstractStringBuilder</include>
>                 <include>sun.nio.cs.StreamEncoder</include>
>                 <include>sun.nio.cs.StreamEncoder$CharsetSE</include>
>                 <include>java.text.DateFormat</include>
>                 <include>java.text.Format</include>
>             </additional-boot-jar-classes>
>
>             <web-applications>
>                 <web-application>myapp</web-application>
>             </web-applications>
>         </dso>
>     </application>
> </tc:tc-config>
>
>
>
> All The Best,
> Ramin Farhanian
>
> -----Original Message-----
> From: tc-users-bounces@...
> [mailto:tc-users-bounces@...] On Behalf Of
> tc-users-request@...
> Sent: Wednesday, October 01, 2008 9:00 PM
> To: tc-users@...
> Subject: tc-users Digest, Vol 23, Issue 1
>
> Send tc-users mailing list submissions to
> tc-users@...
> nd
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.terracotta.org/mailman/listinfo/tc-users
> or, via email, send a message with subject or body 'help' to
> tc-users-request@...
>
> You can reach the person managing the list at
> tc-users-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tc-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Session configurator doesn't even launch my application
>       (Gary Keim)
>    2. Re: tc-users Digest, Vol 22, Issue 9 (Ramin Farhanian)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Sep 2008 14:05:14 -0700 (PDT)
> From: "Gary Keim" <gkeim@...>
> Subject: Re: [tc-users] Session configurator doesn't even launch my
> application
> To: <tc-users@...>
> Message-ID: <FEFD2F8B69D240BDAB1F53F27492A06A@...>
> Content-Type: text/plain; charset="us-ascii"
>
> The problem is that you're combining using the Session Configurator with
> the instructions for running a stand-alone Terracotta-enabled Tomcat.
The
> Session Configurator is meant to run against a standard, stock Tomcat
> installation, but you've modified Catalina.bat to activate Terracotta
> which is already done by the Session Configurator.  So, revert your
> Catalina.bat back to its default content and the Configurator should
work.

> After you've had success with TC-enabling your webapp and are ready to
> setup your testing/integration/production environment, then follow the
> instructions in the Tomcat+Integration guide.
>
>
>
>   _____
>
> From: tc-users-bounces@...
> [mailto:tc-users-bounces@...] On Behalf Of Ramin
> Farhanian
> Sent: Tuesday, September 30, 2008 5:08 AM
> To: tc-users@...
> Subject: [tc-users] Session configurator doesn't even launch my
> application
>
>
>
> Dear experts,
>
>  I need to cluster the http session on terracotta. I have done
everything
> I could but It seems like the session Configurator doesn't run my
> application for some reason but I don't understand the log.
>
>  I am using Terracotta 2.7, Tomcat 5.5, Spring 2.0, Hibernate 3.2.5,
> Acegi, Sitemesh and etc. I read the
> http://terracotta.org/web/display/orgsite/Tomcat+Integration and tried
to

> go through the instruction. I am using windows XP and I have added the
> "terracotta installation folder/bin" and also JAVA_HOME to the global
> variables.
>
>  I have attached snapshots of session Configurator, logs of session
> Configurator, tc-config.xml , catalina.bat that I use.
>
>
>
> One of your colleagues suggested me to use the hibernate module in my
> tc-config  (while he wasn't sure about it but he said it because may be
> acegi is putting My user objects which are at first hibernate managed in
> http session). Hibernate module is dependant to ehcache, cglib and
ehcache
> common which is quite unavailable. Another terracotta guy suggested me
to
> use tim-update feature but it is developed in terracotta 2.7.
>
> If there is anything more you need to know to help me, please feel free
to
> ask.
>
>
>
> What I need to do is to see the session Configurator load my web
> application on two different ports 9081 and 9082 successfully. Please
help

> me.
>
>
>
> All The Best,
>
> Ramin Farhanian
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/c696e083
> /attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Oct 2008 09:06:46 +0200
> From: "Ramin Farhanian" <ramin@...>
> Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 9
> To: <tc-users@...>
> Message-ID: <003601c92394$46d3afe0$d47b0fa0$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear Mr. Gautier,
>  I am sorry for the inconvenience. I am using Terracotta 2.6.4.
>
>
> All The Best,
> Ramin Farhanian
>
> -----Original Message-----
> From: tc-users-bounces@...
> [mailto:tc-users-bounces@...] On Behalf Of
> tc-users-request@...
> Sent: Tuesday, September 30, 2008 9:00 PM
> To: tc-users@...
> Subject: tc-users Digest, Vol 22, Issue 9
>
> Send tc-users mailing list submissions to
> tc-users@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.terracotta.org/mailman/listinfo/tc-users
> or, via email, send a message with subject or body 'help' to
> tc-users-request@...
>
> You can reach the person managing the list at
> tc-users-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tc-users digest..."
>
>
> Today's Topics:
>
>    1. Re: tc-users Digest, Vol 22, Issue 7 (Taylor Gautier)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Sep 2008 08:09:33 -0700 (PDT)
> From: Taylor Gautier <tgautier@...>
> Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 7
> To: tc-users@...
> Message-ID:
>
> <15834247.710241222787373315.JavaMail.root@...>
> Content-Type: text/plain; charset="utf-8"
>
> In a previous email you stated that you were using Terracotta 2.7, but
the
> startup indicates 2.6.4 - just want to confirm you are using the right
> versions that you expect and which one we should look into before going
> too
> far.
>
> ----- Original Message -----
> From: "Ramin Farhanian" <ramin@...>
> To: tc-users@...
> Sent: Tuesday, September 30, 2008 7:25:06 AM GMT -08:00 US/Canada
Pacific

> Subject: Re: [tc-users] tc-users Digest, Vol 22, Issue 7
>
>
>
>
> Dear experts,
>
> ?I fixed an error but the problem still is there. On my machine, Session
> Configurator was using JRE as JAVA_HOME by default. I fixed it to use my
> default JAVA_HOME. Now the terracotta server in session Configurator
> console
> works healthy but the tomcat:9081 and tomcat:9082 still throw exceptions
> in
> the console (I have attached the exceptions).
>
> ?Please help me to launch my application properly.
>
> ?
>
> All The Best,
>
> Ramin Farhanian
>
> ?
>
> ?
>
> -----Original Message-----
> From: tc-users-bounces@...
> [mailto:tc-users-bounces@...] On Behalf Of
> tc-users-request@...
> Sent: Tuesday, September 30, 2008 12:43 PM
> To: tc-users@...
> Subject: tc-users Digest, Vol 22, Issue 7
>
> ?
>
> Send tc-users mailing list submissions to
>
> ????? tc-users@...
>
> ?
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> ????? http://lists.terracotta.org/mailman/listinfo/tc-users
>
> or, via email, send a message with subject or body 'help' to
>
> ????? tc-users-request@...
>
> ?
>
> You can reach the person managing the list
> at???????????????????????????????????????????????
>
> ????? tc-users-owner@...
>
> ?
>
> When replying, please edit your Subject line so it is more specific
>
> than "Re: Contents of tc-users digest..."
>
> ?
>
> ?
>
> Today's Topics:
>
> ?
>
> ?? 1. Session configurator doesn't even launch my application
>
> ????? (Ramin Farhanian)
>
> ?
>
> ?
>
> ----------------------------------------------------------------------
>
> ?
>
> Message: 1
>
> Date: Tue, 30 Sep 2008 14:07:48 +0200
>
> From: "Ramin Farhanian" <ramin@...>
>
> Subject: [tc-users] Session configurator doesn't even launch my
>
> ????? application
>
> To: <tc-users@...>
>
> Message-ID: <000301c922f5$2994a870$7cbdf950$@com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> ?
>
> Dear experts,
>
> ?
>
> ?I need to cluster the http session on terracotta. I have done
everything

> I
>
> could but It seems like the session Configurator doesn't run my
> application
>
> for some reason but I don't understand the log.
>
> ?
>
> ?I am using Terracotta 2.7, Tomcat 5.5, Spring 2.0, Hibernate 3.2.5,
> Acegi,
>
> Sitemesh and etc. I read the
>
> http://terracotta.org/web/display/orgsite/Tomcat+Integration and tried
to

> go
>
>
> through the instruction. I am using windows XP and I have added the
>
> "terracotta installation folder/bin" and also JAVA_HOME to the global
>
> variables.
>
> ?
>
> ?I have attached snapshots of session Configurator, logs of session
>
> Configurator, tc-config.xml , catalina.bat that I use.
>
> ?
>
> ?
>
> ?
>
> One of your colleagues suggested me to use the hibernate module in my
>
> tc-config? (while he wasn't sure about it but he said it because may be
>
> acegi is putting My user objects which are at first hibernate managed in
>
> http session). Hibernate module is dependant to ehcache, cglib and
ehcache
>
> common which is quite unavailable. Another terracotta guy suggested me
to
>
> use tim-update feature but it is developed in terracotta 2.7.
>
> ?
>
> If there is anything more you need to know to help me, please feel free
to

>
> ask.
>
> ?
>
> ?
>
> ?
>
> What I need to do is to see the session Configurator load my web
> application
>
>
> on two different ports 9081 and 9082 successfully. Please help me.
>
> ?
>
> ?
>
> ?
>
> All The Best,
>
> ?
>
> Ramin Farhanian
>
> ?
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL:
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment.html
>
> -------------- next part --------------
>
> A non-text attachment was scrubbed...
>
> Name: sessionConfigurator-server console.log
>
> Type: application/octet-stream
>
> Size: 6140 bytes
>
> Desc: not available
>
> Url :
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment.obj
>
> -------------- next part --------------
>
> A non-text attachment was scrubbed...
>
> Name: sessionConfiguratorSnapShot.JPG
>
> Type: image/jpeg
>
> Size: 205210 bytes
>
> Desc: not available
>
> Url :
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment.jpe
>
> -------------- next part --------------
>
> A non-text attachment was scrubbed...
>
> Name: sessionConfigurator-Tomcat9082.log
>
> Type: application/octet-stream
>
> Size: 2325 bytes
>
> Desc: not available
>
> Url :
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment-0001.obj
>
> -------------- next part --------------
>
> A non-text attachment was scrubbed...
>
> Name: tc-config.xml
>
> Type: text/xml
>
> Size: 1635 bytes
>
> Desc: not available
>
> Url :
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment.xml
>
> -------------- next part --------------
>
> A non-text attachment was scrubbed...
>
> Name: sessionConfigurator-Tomcat9081.log
>
> Type: application/octet-stream
>
> Size: 2325 bytes
>
> Desc: not available
>
> Url :
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment-0002.obj
>
> -------------- next part --------------
>
> An embedded and charset-unspecified text was scrubbed...
>
> Name: catalina-bat.txt
>
> Url:
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/857812a6
> /attachment.txt
>
> ?
>
> ------------------------------
>
> ?
>
> _______________________________________________
>
> tc-users mailing list
>
> tc-users@...
>
> http://lists.terracotta.org/mailman/listinfo/tc-users
>
> ?
>
> ?
>
> End of tc-users Digest, Vol 22, Issue 7
>
> ***************************************
> _______________________________________________ tc-users mailing list
> tc-users@...
> http://lists.terracotta.org/mailman/listinfo/tc-users
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.terracotta.org/pipermail/tc-
> users/attachments/20080930/3ac2bc7a
> /attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> tc-users mailing list
> tc-users@...
> http://lists.terracotta.org/mailman/listinfo/tc-users
>
>
> End of tc-users Digest, Vol 22, Issue 9
> ***************************************
>
>
>
> ------------------------------
>
> _______________________________________________
> tc-users mailing list
> tc-users@...
> http://lists.terracotta.org/mailman/listinfo/tc-users
>
>
> End of tc-users Digest, Vol 23, Issue 1
> ***************************************
>
> _______________________________________________
> tc-users mailing list
> tc-users@...
> http://lists.terracotta.org/mailman/listinfo/tc-users
_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users