Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-04 Thread Ingram Chen

I just test terracotta-session, but it report error:


com.tc.exception.TCNonPortableObjectError:
***
Attempt to share an instance of a non-portable class referenced by a
portable class. This
unshareable class is a subclass of a JVM- or host machine-specific resource.
Please either
modify the class hierarchy or ensure that instances of this class don't
enter the shared object
graph.

Referring class : com.myapp.MyWebApplication
Referring field :
wicket.protocol.http.WebApplication.wicketServlet
Thread  : http-9081-Processor3
JVM ID  : VM(0)
Unshareable superclass names: javax.servlet.GenericServlet
***

It seems that I can't store any WebApplication reference in session...


On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi,

I also have just tested terracotta with my springframework / wicket
application.
It works perfect. I think, that teracotta meets wicket needs for parallel
and
loadbalanced execution envoronement the way we are looking for.

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 04.12.06 20:50:41
> An: "Wicket User List" 
> Betreff: [Wicket-user] Terracotta open source and tested with
wicket-examples


> Hi all,
>
> Sorry to spam you with this, but you might be interested in this
> announcement http://www.infoq.com/news/2006/12/terracotta-jvm-clustering
.
> We successfully tested wicket-examples (with the help of some people
> from Terracotta), and it looks like Terracotta is very promising
> indeed - certainly now that it is open sourced!
>
> Anyway, just FYI, and I'd be interested to learn the experiences of
others.
>
> Eelco
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

--
mfG

Bednarz, Hannover

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Eelco Hillenius
Why would you put a reference to the application in your session
anyway? You can get the current app like Application.get(). Otherwise,
you can make the field transient, though when it gets deserialized,
you'd have to set the field yourself somehow.

Eelco


On 12/4/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
> I just test terracotta-session, but it report error:
>
>
> com.tc.exception.TCNonPortableObjectError:
> ***
> Attempt to share an instance of a non-portable class referenced by a
> portable class. This
> unshareable class is a subclass of a JVM- or host machine-specific resource.
> Please either
> modify the class hierarchy or ensure that instances of this class don't
> enter the shared object
> graph.
>
> Referring class : com.myapp.MyWebApplication
> Referring field :
> wicket.protocol.http.WebApplication.wicketServlet
> Thread  : http-9081-Processor3
> JVM ID  : VM(0)
> Unshareable superclass names: javax.servlet.GenericServlet
> ***
>
> It seems that I can't store any WebApplication reference in session...
>
>
>
> On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> > Hi,
> >
> > I also have just tested terracotta with my springframework / wicket
> application.
> > It works perfect. I think, that teracotta meets wicket needs for parallel
> and
> > loadbalanced execution envoronement the way we are looking for.
> >
> > Maciej
> >
> > > -Ursprüngliche Nachricht-
> > > Von: wicket-user@lists.sourceforge.net
> > > Gesendet: 04.12.06 20:50:41
> > > An: "Wicket User List" <
> wicket-user@lists.sourceforge.net>
> > > Betreff: [Wicket-user] Terracotta open source and tested with
> wicket-examples
> >
> >
> > > Hi all,
> > >
> > > Sorry to spam you with this, but you might be interested in this
> > > announcement
> http://www.infoq.com/news/2006/12/terracotta-jvm-clustering.
> > > We successfully tested wicket-examples (with the help of some people
> > > from Terracotta), and it looks like Terracotta is very promising
> > > indeed - certainly now that it is open sourced!
> > >
> > > Anyway, just FYI, and I'd be interested to learn the experiences of
> others.
> > >
> > > Eelco
> > >
> > >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > --
> > mfG
> >
> > Bednarz, Hannover
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> --
> Ingram Chen
> Java [EMAIL PROTECTED]
> Institue of BioMedical Sciences Academia Sinica Taiwan
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Ingram Chen

hhmm as Wicket always check serializable, I think my app's session does
not refererence to non-serializable WebApplication. but  the stack trace
shows:


com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:306)

com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:507)
com.tc.object.TCObjectImpl.objectFieldChanged(TCObjectImpl.java:272)
wicket.Session.__tc_setsessionStore(Session.java)
wicket.Session.getSessionStore(Session.java:900)
wicket.Session.getAttributeNames(Session.java:881)
wicket.Session.visitPageMaps(Session.java:753)
wicket.Session.init(Session.java:581)
wicket.RequestCycle.prepare(RequestCycle.java:911)
wicket.RequestCycle.step(RequestCycle.java:986)
wicket.RequestCycle.steps(RequestCycle.java:1084)
wicket.RequestCycle.request(RequestCycle.java:454)
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

I use Wicket 1.2.3 so Session.java:900 is

public class Session {

   protected ISessionStore getSessionStore()
   {
   if (sessionStore == null)
   {
   sessionStore = getApplication().getSessionStore();  // line no
900
   }
   return sessionStore;
   }
}

it looks like terracotta intercept assignment "sessionStore = " and add a
setter

wicket.Session.__tc_setsessionStore(Session.java)

but sessionStore referenced by Application


On 12/5/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Why would you put a reference to the application in your session
anyway? You can get the current app like Application.get(). Otherwise,
you can make the field transient, though when it gets deserialized,
you'd have to set the field yourself somehow.

Eelco


On 12/4/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
> I just test terracotta-session, but it report error:
>
>
> com.tc.exception.TCNonPortableObjectError:
>
***
> Attempt to share an instance of a non-portable class referenced by a
> portable class. This
> unshareable class is a subclass of a JVM- or host machine-specific
resource.
> Please either
> modify the class hierarchy or ensure that instances of this class don't
> enter the shared object
> graph.
>
> Referring class : com.myapp.MyWebApplication
> Referring field :
> wicket.protocol.http.WebApplication.wicketServlet
> Thread  : http-9081-Processor3
> JVM ID  : VM(0)
> Unshareable superclass names: javax.servlet.GenericServlet
>
***
>
> It seems that I can't store any WebApplication reference in session...
>
>
>
> On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> > Hi,
> >
> > I also have just tested terracotta with my springframework / wicket
> application.
> > It works perfect. I think, that teracotta meets wicket needs for
parallel
> and
> > loadbalanced execution envoronement the way we are looking for.
> >
> > Maciej
> >
> > > -Ursprüngliche Nachricht-
> > > Von: wicket-user@lists.sourceforge.net
> > > Gesendet: 04.12.06 20:50:41
> > > An: "Wicket User List" <
> wicket-user@lists.sourceforge.net>
> > > Betreff: [Wicket-user] Terracotta open source and tested with
> wicket-examples
> >
> >
> > > Hi all,
> > >
> > > Sorry to spam you with this, but you might be interested in this
> > > announcement
> http://www.infoq.com/news/2006/12/terracotta-jvm-clustering.
> > > We successfully tested wicket-examples (with the help of some people
> > > from Terracotta), and it looks like Terracotta is very promising
> > > indeed - certainly now that it is open sourced!
> > >
> > > Anyway, just FYI, and I'd be interested to learn the experiences of
> others.
> > >
> > > Eelco
> > >
> > >
>
-
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> > > opinions on IT & business topics through brief surveys - and earn
cash
> > >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > --
> > mfG
> >
> > Bednarz, Hannover
> >
> >
>
-
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Johan Compagner

is the option that transient fields must be left alone (not serialized) on
by default?

johan


On 12/5/06, Ingram Chen <[EMAIL PROTECTED]> wrote:


hhmm as Wicket always check serializable, I think my app's session
does not refererence to non-serializable WebApplication. but  the stack
trace shows:


com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java
:306)

com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:507)
com.tc.object.TCObjectImpl.objectFieldChanged(TCObjectImpl.java:272)
wicket.Session.__tc_setsessionStore(
Session.java)
wicket.Session.getSessionStore(Session.java:900)
wicket.Session.getAttributeNames(Session.java:881)
wicket.Session.visitPageMaps(Session.java:753)
wicket.Session.init(Session.java:581)
wicket.RequestCycle.prepare
(RequestCycle.java:911)
wicket.RequestCycle.step(RequestCycle.java:986)
wicket.RequestCycle.steps(RequestCycle.java:1084)
wicket.RequestCycle.request(RequestCycle.java:454)
wicket.protocol.http.WicketServlet.doGet
(WicketServlet.java:219)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

I use Wicket 1.2.3 so Session.java:900 is

public class Session {

protected ISessionStore getSessionStore()
{
if (sessionStore == null)
{
sessionStore = getApplication().getSessionStore();  // line no
900
}
return sessionStore;
}
}

it looks like terracotta intercept assignment "sessionStore = " and add a
setter

wicket.Session.__tc_setsessionStore(Session.java)

but sessionStore referenced by Application


On 12/5/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
>
> Why would you put a reference to the application in your session
> anyway? You can get the current app like Application.get(). Otherwise,
> you can make the field transient, though when it gets deserialized,
> you'd have to set the field yourself somehow.
>
> Eelco
>
>
> On 12/4/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
> > I just test terracotta-session, but it report error:
> >
> >
> > com.tc.exception.TCNonPortableObjectError:
> >
> 
***
>
> > Attempt to share an instance of a non-portable class referenced by a
> > portable class. This
> > unshareable class is a subclass of a JVM- or host machine-specific
> resource.
> > Please either
> > modify the class hierarchy or ensure that instances of this class
> don't
> > enter the shared object
> > graph.
> >
> > Referring class : com.myapp.MyWebApplication
> > Referring field :
> > wicket.protocol.http.WebApplication.wicketServlet
> > Thread  : http-9081-Processor3
> > JVM ID  : VM(0)
> > Unshareable superclass names: javax.servlet.GenericServlet
> >
> 
***
> >
> > It seems that I can't store any WebApplication reference in session...
>
> >
> >
> >
> > On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> > > Hi,
> > >
> > > I also have just tested terracotta with my springframework / wicket
> > application.
> > > It works perfect. I think, that teracotta meets wicket needs for
> parallel
> > and
> > > loadbalanced execution envoronement the way we are looking for.
> > >
> > > Maciej
> > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: wicket-user@lists.sourceforge.net
> > > > Gesendet: 04.12.06 20:50:41
> > > > An: "Wicket User List" <
> > wicket-user@lists.sourceforge.net>
> > > > Betreff: [Wicket-user] Terracotta open source and tested with
> > wicket-examples
> > >
> > >
> > > > Hi all,
> > > >
> > > > Sorry to spam you with this, but you might be interested in this
> > > > announcement
> > http://www.infoq.com/news/2006/12/terracotta-jvm-clustering.
> > > > We successfully tested wicket-examples (with the help of some
> people
> > > > from Terracotta), and it looks like Terracotta is very promising
> > > > indeed - certainly now that it is open sourced!
> > > >
> > > > Anyway, just FYI, and I'd be interested to learn the experiences
> of
> > others.
> > > >
> > > > Eelco
> > > >
> > > >
> >
> -
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net 's Techsay panel and you'll get the chance to
> share
> > your
> > > > opinions on IT & business topics through brief surveys - and earn
> cash
> > > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > > --
> > > mfG
> > >
> > > Bednarz, Hannover
> > >
> > >
> >
> 

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Ingram Chen

Thanks for the tips, I turn on "Honor transient" and finally my webapp
startup successfully.

after playing some pages and I  switch  from  one  server to another server.
I encounter another exception caused by transient:

WicketMessage: unable to get object, model: Model:classname=[
wicket.feedback.FeedbackMessagesModel]:attached=true, called with component
[MarkupContainer [Component id = messages, page =
ngc.wicket.pages.MainPage, path = 7:globalFeedback:feedbackul:
messages.FeedbackPanel$MessageListView, isVisible = true, isVersioned =
false]]

Root cause:

java.lang.NullPointerException
at wicket.util.concurrent.CopyOnWriteArrayList.size (
CopyOnWriteArrayList.java:152)
at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:258)
at wicket.feedback.FeedbackMessagesModel.onGetObject(
FeedbackMessagesModel.java:101)
at wicket.model.AbstractDetachableModel.getObject (
AbstractDetachableModel.java:104)
at wicket.Component.getModelObject(Component.java:990)
at wicket.markup.html.panel.FeedbackPanel.updateFeedback(FeedbackPanel.java
:234)
at wicket.Page$2.component (Page.java:372)
at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744)
at wicket.Page.renderPage(Page.java:368)

.

by default feedbackMessages utilize
wicket.util.concurrent.CopyOnWriteArrayList . But it internally use an
transient Object[] array_ without checking null and lazy initialization.

anyway, I may try simpler wicket  application for evaluating terracotta...
It's hard to figure out what's going on for deep objects graph.


On 12/5/06, Johan Compagner <[EMAIL PROTECTED]> wrote:


is the option that transient fields must be left alone (not serialized) on
by default?

johan


On 12/5/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
>
> hhmm as Wicket always check serializable, I think my app's session
> does not refererence to non-serializable WebApplication. but  the stack
> trace shows:
>
>
com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java
> :306)
>
com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:507)
>com.tc.object.TCObjectImpl.objectFieldChanged
>
> (TCObjectImpl.java:272)
>wicket.Session.__tc_setsessionStore(
> Session.java)
>wicket.Session.getSessionStore(Session.java:900)
>wicket.Session.getAttributeNames(Session.java:881)
>wicket.Session.visitPageMaps
>
> (Session.java:753)
>wicket.Session.init(Session.java:581)
>wicket.RequestCycle.prepare
> (RequestCycle.java:911)
>wicket.RequestCycle.step(RequestCycle.java:986)
>wicket.RequestCycle.steps(RequestCycle.java
> :1084)
>
>wicket.RequestCycle.request(RequestCycle.java:454)
>wicket.protocol.http.WicketServlet.doGet
> (WicketServlet.java:219)
>javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> I use Wicket 1.2.3 so Session.java:900 is
>
> public class Session {
>
> protected ISessionStore getSessionStore()
> {
> if (sessionStore == null)
> {
> sessionStore = getApplication().getSessionStore();  // line
> no 900
> }
> return sessionStore;
> }
> }
>
> it looks like terracotta intercept assignment "sessionStore = " and add
> a setter
>
> wicket.Session.__tc_setsessionStore(Session.java)
>
> but sessionStore referenced by Application
>
>
> On 12/5/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> >
> > Why would you put a reference to the application in your session
> > anyway? You can get the current app like Application.get(). Otherwise,
> > you can make the field transient, though when it gets deserialized,
> > you'd have to set the field yourself somehow.
> >
> > Eelco
> >
> >
> > On 12/4/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
> > > I just test terracotta-session, but it report error:
> > >
> > >
> > > com.tc.exception.TCNonPortableObjectError:
> > >
> > 
***
> >
> > > Attempt to share an instance of a non-portable class referenced by a
> > > portable class. This
> > > unshareable class is a subclass of a JVM- or host machine-specific
> > resource.
> > > Please either
> > > modify the class hierarchy or ensure that instances of this class
> > don't
> > > enter the shared object
> > > graph.
> > >
> > > Referring class : com.myapp.MyWebApplication
> > > Referring field :
> > > wicket.protocol.http.WebApplication.wicketServlet
> > > Thread  : http-9081-Processor3
> > > JVM ID  : VM(0)
> > > Unshareable superclass names: javax.servlet.GenericServlet
> > >
> > 
***
> > >
> > > It seems that I can't store any WebApplication reference in
> > session...
> > >
> > >
> > >
> > > On 12/5/06, [EMAIL PROTECTED] < [EMAIL PROTECTED] >
> > wrote:
> > > > Hi,
> > > >
> > > > I also have just tested terracotta with my springframework /
> > wicket
> > > app

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Johan Compagner

But this just seems a bug.
Can you add an issue to jira for this?

johan


On 12/5/06, Ingram Chen <[EMAIL PROTECTED]> wrote:


Thanks for the tips, I turn on "Honor transient" and finally my webapp
startup successfully.

after playing some pages and I  switch  from  one  server to another
server. I encounter another exception caused by transient:

WicketMessage: unable to get object, model: Model:classname=[
wicket.feedback.FeedbackMessagesModel]:attached=true, called with
component [MarkupContainer [Component id = messages, page =
ngc.wicket.pages.MainPage , path = 7:globalFeedback:feedbackul:
messages.FeedbackPanel$MessageListView, isVisible = true, isVersioned =
false]]

Root cause:

java.lang.NullPointerException
at wicket.util.concurrent.CopyOnWriteArrayList.size (
CopyOnWriteArrayList.java:152)
at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:258)
at wicket.feedback.FeedbackMessagesModel.onGetObject(
FeedbackMessagesModel.java:101)
at wicket.model.AbstractDetachableModel.getObject (
AbstractDetachableModel.java:104)
at wicket.Component.getModelObject(Component.java:990)
at wicket.markup.html.panel.FeedbackPanel.updateFeedback(
FeedbackPanel.java:234)
at wicket.Page$2.component (Page.java:372)
at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744)
at wicket.Page.renderPage(Page.java:368)

.

by default feedbackMessages utilize
wicket.util.concurrent.CopyOnWriteArrayList . But it internally use an
 transient Object[] array_ without checking null and lazy initialization.

anyway, I may try simpler wicket  application for evaluating terracotta...
It's hard to figure out what's going on for deep objects graph.


On 12/5/06, Johan Compagner <[EMAIL PROTECTED] > wrote:
>
> is the option that transient fields must be left alone (not serialized)
> on by default?
>
> johan
>
>
> On 12/5/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
> >
> > hhmm as Wicket always check serializable, I think my app's session
> > does not refererence to non-serializable WebApplication. but  the stack
> > trace shows:
> >
> >   
com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java
> > :306)
> >   
com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:507)
> >   com.tc.object.TCObjectImpl.objectFieldChanged
> >
> >
> > (TCObjectImpl.java:272)
> >   wicket.Session.__tc_setsessionStore(
> > Session.java)
> >   wicket.Session.getSessionStore(Session.java:900)
> >   wicket.Session.getAttributeNames(Session.java:881)
> >   wicket.Session.visitPageMaps
> >
> >
> > (Session.java:753)
> >   wicket.Session.init(Session.java:581)
> >   wicket.RequestCycle.prepare
> > (RequestCycle.java:911)
> >   wicket.RequestCycle.step(RequestCycle.java:986)
> >   wicket.RequestCycle.steps(RequestCycle.java
> >
> > :1084)
> >
> >   wicket.RequestCycle.request(RequestCycle.java:454)
> >   wicket.protocol.http.WicketServlet.doGet
> > (WicketServlet.java:219)
> >   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >
> > I use Wicket 1.2.3 so Session.java:900 is
> >
> > public class Session {
> >
> > protected ISessionStore getSessionStore()
> > {
> > if (sessionStore == null)
> > {
> > sessionStore = getApplication().getSessionStore();  //
> > line no 900
> > }
> > return sessionStore;
> > }
> > }
> >
> > it looks like terracotta intercept assignment "sessionStore = " and
> > add a setter
> >
> > wicket.Session.__tc_setsessionStore(Session.java)
> >
> > but sessionStore referenced by Application
> >
> >
> > On 12/5/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > >
> > > Why would you put a reference to the application in your session
> > > anyway? You can get the current app like Application.get().
> > > Otherwise,
> > > you can make the field transient, though when it gets deserialized,
> > > you'd have to set the field yourself somehow.
> > >
> > > Eelco
> > >
> > >
> > > On 12/4/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
> > > > I just test terracotta-session, but it report error:
> > > >
> > > >
> > > > com.tc.exception.TCNonPortableObjectError:
> > > >
> > > 
***
> > >
> > > > Attempt to share an instance of a non-portable class referenced by
> > > a
> > > > portable class. This
> > > > unshareable class is a subclass of a JVM- or host machine-specific
> > > resource.
> > > > Please either
> > > > modify the class hierarchy or ensure that instances of this class
> > > don't
> > > > enter the shared object
> > > > graph.
> > > >
> > > > Referring class : com.myapp.MyWebApplication
> > > > Referring field :
> > > > wicket.protocol.http.WebApplication.wicketServlet
> > > > Thread  : http-9081-Processor3
> > > > JVM ID  : VM(0)
> > > > Unshareable superclass names: javax.servlet.Generic