[JBoss-user] [JBoss Seam] - Re: NullPointerException - rg.jboss.seam.contexts.PageContex

2006-05-25 Thread littlesuns
I have got the samiliar exception in my app,i was use the jsf-impl of sun and 
did not  specified the faces-config.xml in my web.xml: also can't find the 
other listener in my app,but i was use the noEjb and deployed a .war file,here 
is my stack trace:

  | java.lang.NullPointerException
  | at 
org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:62)
  | at org.jboss.seam.contexts.PageContext.get(PageContext.java:52)
  | at 
org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:125)
  | at org.jboss.seam.Component.getInstance(Component.java:1038)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:43)
  | at 
com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:71)
  | at javax.el.CompositeELResolver.getValue(Unknown Source)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:58)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:282)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:208)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:847)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:827)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:455)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
com.subrain.web.servlet.filter.FacesContextHandler.doFilter(FacesContextHandler.java:102)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyo

[JBoss-user] [JBoss Seam] - Re: Managed entity bean and database synchronization

2006-04-04 Thread littlesuns
not flush,but the value binding to the component was changed if you submit the 
form

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934616#3934616

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934616


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: running jboss

2006-04-04 Thread littlesuns
you'd better show the stack trace
and see the install.html in jboss-EJB 3.0,it's for the server all.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934623#3934623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934623


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ADF and seam

2006-04-04 Thread littlesuns
http://jds.id.lv/pages/articles/seam-adf.html
hope it can be help :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934620#3934620

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934620


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: peoblem about extend PersistenceContext in SFSB

2006-03-29 Thread littlesuns
Thank you Gavin;
i will try to refactor my code.:-)


   regard

   wangzk

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933588#3933588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933588


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Fileupload

2006-03-12 Thread littlesuns
do you have Getter and Setter for file?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929669#3929669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929669


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Nested Bean Properties JSF/Seam

2005-12-16 Thread littlesuns
are you instance Address in User Entity?like this:

 private Address address=new Address();

if you didn't instance Address in User,in your page,
#{user.address}==null;so #{user.address.line1} is not vaild.


Ding

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913221#3913221

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913221


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-11 Thread littlesuns
thanks for your answer, Gavin,
i'll have a try with the lastest EJB.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912004#3912004

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912004


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread littlesuns
there is still an old error(i think) 

when you start a conversation and stop for a while,if you do the same operation 
there is an error:

005-12-10 10:30:49,842 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] 
uncaught exception handled by Seam: Error calling action method of component 
with id estateFirmForm:_tagId1
2005-12-10 10:30:49,842 INFO  [org.jboss.seam.servlet.SeamExceptionFilter] 
killing transaction
2005-12-10 10:30:49,842 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/redem].[Faces 
Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.RuntimeException: Uncaught Exception
at 
org.jboss.seam.servlet.SeamExceptionFilter.endWebRequestAfterException(SeamExceptionFilter.java:52)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
com.subrain.web.servlet.filter.FacesContextHandler.doFilter(FacesContextHandler.java:102)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

it's just like [EMAIL PROTECTED] mentioned before,but the there is no causedBy, 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73467


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911879#3911879

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911879


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - share conversation with javabean

2005-12-07 Thread littlesuns
there are two javabeans :actionbeanA and actionbeanB,like that:

//actionbeanA
@Name("actionA")
@Scope(scopeType.conversation)
public class ActionA(){

@Begin
public String start(){
  ActionB b=Contexts.getInstance("actionB",true);
  b.start();
  return "main";
 }
public void findActionB(){
  ActionB b=Contexts.getConversationContexts().get("actionB");
  assert b!=null; 
  }
}

//actionbeanB
@Name("actionB")
@Scope(scopeType.conversation)
public class ActionB(){

@Begin
public String start(){
  ActionA a=Contexts.getConversationContexts().get("actionA");
  assert a!=null;
  return "main";
  }
}

in the pages,we invoke the actionA.start() first,then actionA.findActionB(),but 
the variable b in findActionB() is null,why?I think the two beans share the 
same current conversation,aren't they?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911141#3911141

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911141


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user