[jboss-user] [JBossWS] - Re: Hold the client ip from the client calls made to the we

2007-11-01 Thread adinarayana.gunnam
Hi
  I got the solution for this problem.
  I got the implementation class for the WebServiceContextImpl  class.I hope 
this it is not been implemented in jars provided.
  I found a method to get the messagecontext.
  i.e 
  
   public MessageContext getMessageContext()
   {
  CommonMessageContext msgContext = 
MessageContextAssociation.peekMessageContext();
  if(msgContext instanceof SOAPMessageContextJAXWS)
 return (SOAPMessageContextJAXWS) msgContext;
  else
 return new SOAPMessageContextJAXWS(msgContext);
   }

plesae import the jar C:\JBOSS\server\all\deploy\jbossws.sar\jbossws- core to 
get all the classesequired for this method

I used the obtained message context from this method  to obtain the ip addtress 
as below

MessageContext mc=getMessageContext();

System.out.println(((javax.servlet.ServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getRemoteAddr());



Thanks
Adinarayana

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100911#4100911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100911
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: localhost:8080 is not working

2007-11-01 Thread ouq77
Hi beatzepz.

Your post was VERY helpful.  I also had the same problem with Ashampoo 
Firewall.  After uninstalling it my jBoss server started working normally 
again.  I recently reinstalled Windows and it was quite difficult to figure out 
which change to the system caused it to suddenly stop working.

Still a newbie to jBoss and JSP, so wanted to pull my hair out after the 
umpteenth reboot without success!

Cheers

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100912#4100912

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - migrating from 3.2.3 to 4.0.2

2007-11-01 Thread xps2nini2000
Hii All
 Recently i hav shifted to jboss4.0.2 .I m using windows vista + jdk 1.5.
My application was working fine on jboss 3.2.3 .But when  i try to run it on 
jboss 4.0.2 .it gives classcastexception.I hav set callbyvalue property true in 
 conf file.Now i m getting same exception in different part of code .Can anybdy 
help me
 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100914#4100914

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100914
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Forwarding from Jboss over Apache using mod_proxy withou

2007-11-01 Thread argonist
I tried directly requesting the url with ports 8080 and the picture and css are 
shown. At the forwarding url is shown only plain text. 

I will try only http-forwarding today or tomorrow and compare betwenn http- and 
ajp-forwarding.

Manu

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100913#4100913

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100913
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Calling a local 2.x stateless session bean from a remote

2007-11-01 Thread zagarol
Quick update for anyone who is trying to do the same as me.

I have now got this working the process I used is:
1) Keep all your beans packaged as before.
2) Update the ejb-jar.xml to use the latest schema.
3) Update jboss.xml to use the latest schema.
4) update the ejb-jar to have a remote reference (This is to get around the 
JBoss bug EJBTHREE-933 which throws a NullPointerException if no remote 
interfaces are provided. Once the bug is fixed this can probably be removed).

And voila it all works like a charm. We can now intercept our facade beans and 
all is good :) 

Shane Preater
www.onevisionsupport.com

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100915#4100915

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: model and action directories - treated not differently a

2007-11-01 Thread codelion
I seem to see a difference with the way action classes are handled in 
seam-gened projects whether

- ear project (no special treatment) or

- war project (exploded in own directory).

Does that have to be that way by design, or is it just not implmented yet in 
seam-gen for ear?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100917#4100917

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: should window-name be unique ?

2007-11-01 Thread [EMAIL PROTECTED]
What do you mean ? WIndow name should be unique in the context of the page, but 
you can have multiple windows with the same name on different pages

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100920#4100920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - should window-name be unique ?

2007-11-01 Thread PMN
I used names unique in the context of the page and it seems that I am not 
getting the expected instance (instances have globally unique names)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100919#4100919

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Accessing a different conversation context

2007-11-01 Thread FabBoco
Pete,

thank you very much.

Flushing seams to be the solution in all my scenarios.

Regards

Fab.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100918#4100918

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100918
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread syzork
can someone post the source of ArtworkServlet.java to see what am i doing wrong?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100923#4100923

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100923
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Port Numbers in Horizontal Cluster

2007-11-01 Thread jboss_cody
bump**

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100926#4100926

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100926
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Maximum number of concurrent users

2007-11-01 Thread sendil.sekki
Hi,

What is the maximum number of concurrent users allowed in JBOSS without 
affecting performance. 


sendil kumar

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100927#4100927

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100927
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Factory pattern and CRUD operations

2007-11-01 Thread [EMAIL PROTECTED]
Yes, EJB3 automatically flushes at container called method boundaries. Use 
manual flush mode if you only want to flushes to occur when you call flush 
explicitly.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100928#4100928

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Time when server started from ws

2007-11-01 Thread rukus
How I can obtain time when server started from web-service?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100929#4100929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - source of org.jboss.dom4j

2007-11-01 Thread bollin
Hi,

I want to build jbossas 4.2.2GA completely from source but some java files in 
jmx/ need org.jboss.dom4j. Where can I find source code and/or build 
instructions for org.jboss.dom4j?

Cheers,
Torsten


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100930#4100930

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: source of org.jboss.dom4j

2007-11-01 Thread [EMAIL PROTECTED]
http://repository.jboss.com/jboss/dom4j-jarjar/1.6.1/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100932#4100932

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: LDAP Authentication Authorization to eDirectory

2007-11-01 Thread [EMAIL PROTECTED]
I have enable the workaround in the login-config.xml file so that if the User 
is not found in Ldap it looks at the datastore. This does not seem to have any 
effect. 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100933#4100933

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - SecurityException when start application.

2007-11-01 Thread mauro_monti
Hi people..
I develop an application and i deployed in JBoos 4.2.2. The application starts 
up without problems, but when i call an struts action i get the following 
error: (below)

When i deploy the same application in a Geronimo Server 2.0 or Tomcat the 
application works correctly.

I work with MyEclipse 6.0, the application use struts 1.3 Hibernate with JPA 
annotations and XFire to make WS calls.

Can anybody help me...

Thanks. Mauro

The stacktrace:

  | javax.servlet.ServletException: org.apache.jasper.JasperException: No pude 
inicializar TldLocationsC
  | ache: 
  | java.lang.SecurityException
  | : invalid SHA1 signature file digest for 
org/bouncycastle/asn1/ocsp/ResponderID.class
  | 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
  | org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | causa raíz
  | 
  | org.apache.jasper.JasperException: No pude inicializar TldLocationsCache: 
java.lang.SecurityExceptio
  | n: invalid SHA1 signature file digest for 
org/bouncycastle/asn1/ocsp/ResponderID.class
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:106)
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
  | 
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530)
  | org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
  | org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
  | org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
  | org.apache.jasper.compiler.Parser.parse(Parser.java:133)
  | 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
  | 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
  | org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
  | org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
  | org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
  | org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
  | 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
  | 
org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
  | 
org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
  | 
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
  | org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  | 
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
  | org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  | 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
  | org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | causa raíz
  | 
  | org.apache.jasper.JasperException: java.lang.SecurityException: invalid 
SHA1 signature file digest f
  | or org/bouncycastle/asn1/ocsp/ResponderID.class
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.scanJar(TagLibCache.java:343)
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:268)
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:261)
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:101)
  | 
org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
  | 
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530)
  | org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
  | org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
  | org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
  | 

[jboss-user] [EJB 3.0] - ow

2007-11-01 Thread LeandroSeverino
ow,
 Teste de post.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100935#4100935

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ow

2007-11-01 Thread LeandroSeverino
I have problems to post a new topic.
Can delete this post.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100936#4100936

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: source of org.jboss.dom4j

2007-11-01 Thread bollin
Thanks a lot!

But I have another problem: jbossha in the cluster directory needs 
org.jgroups.debug.Debugger which is not available in newer versions of jgroups. 
Is there a simple workaround beside downgrading jgroups?


Cheers,
Torsten

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100937#4100937

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100937
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JBoss 4.2

2007-11-01 Thread LeandroSeverino
Hi,
  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100938#4100938

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.2

2007-11-01 Thread LeandroSeverino
 The projects:
 - Report.ear (NetBeans EnterpriseApplication project.)
- Report-Business-ejb (NetBeans EJB Module project.)
- ElementoGerenciadoFacade (@Stateless, SessionBean EJB class.)
 note : in this class I have a @EJB private DAOFactory 
daoFactory;
- ElementoGerenciadoFacadeLocal (@Local )
- Report-DAO-ejb (Netbeans EJB Module project)
- persistence.xml
- iDAO
- IElementoGerenciadoDAO
- ElementoGerenciadoDAOImpl
- DAOFactory ( como EJB @Stateless ) 
   - Report-war.war 
  -ListElementsServlet.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100941#4100941

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100941
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.2

2007-11-01 Thread LeandroSeverino
My Environment:
   - NetBeans 5.5.1
   - JBoss 4.2.1 GA
   - EJB 3 / JPA.

   I have a Enterprise Application (EAR) with 2 EJB modules + WAR module.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100940#4100940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread asookazian
anybody using Ext JS?  I looked at the video and examples on www.extjs.com and 
was very impressed by some of the features.

Seam 2.0 provides GWT integration and GWT-Ext is a wrapper for Ext JS.  The 
re-sizeable columns in the grid and visual cues for edited cells are very cool 
among many other cool UI features.

Some may say that IceFaces/Richfaces is good enough but I like Ext...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100942#4100942

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.2

2007-11-01 Thread LeandroSeverino
Well,
  I will try explain my problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100939#4100939

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Problem locating resources

2007-11-01 Thread pettersonfp
Hello,

I have an application working fine in JBoss AS and I am migrating it to Tomcat 
5.5 without embedded jboss.

I got an resource not exists hen I try to render an email using 

Renderer.render(my_email_template)


I checked the path several times and it is right, I checked the generated war 
and the resource is there.

Any ideas about what can be wrong?

Thanks in advance,

Petterson



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100943#4100943

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.2

2007-11-01 Thread waynebaylor
it will be easier to track if you include all your info and questions in a 
single post

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100945#4100945

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100945
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conversation Propogation on Redirect

2007-11-01 Thread harpritt
what if i manually write the url for the submit to include the cid?

.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100944#4100944

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: CPU uitlisation goes high as soon as jboss gets up

2007-11-01 Thread PeterJ
When the usage goes to 99%, take a thread dump or 2 or 3. Looking at what 
threads are active should point you to the code causing the problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100947#4100947

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - jpa2web: generates ajax webapps from JPA annotated beans

2007-11-01 Thread mgurmendez
I wanted to share this tool with the community:

Generate J2EE AJAX based web applications from JPA/Hibernate annotated beans. 
The applications generated by this tool allow a final user to add, delete, 
search, modify and interconnect instances of database-synchronized objects in a 
friendly AJAX based web user interface using the ZK framework.

This software is opensource (GPL).

http://sourceforge.net/projects/jpa2web/

Regards,
Maximo

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100950#4100950

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Time when server started from ws

2007-11-01 Thread PeterJ
Use the StartDate attribute of the jboss.system:type=Server MBean.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100951#4100951

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Custom Logger in JBoss

2007-11-01 Thread JKV
I am using JBoss 4.0.X, I am having three ears deployed in JBoss. I am using a 
custom Logger say ABCLogger which extends Log4j, and I have bundled all these 
classes within xjz.jar file. I am having a copy of this xyz.jar file in all the 
three ears and logging the events by getting the logger from ABCLogger class. I 
have a seperate log4j.xml file for each of this ears. Like within the conf 
folder in the default directory of JBoss I have created three folders such as 
ear1, ear2 and ear2. All these folders have a log4j.xml file that is specific 
to the ear file. I have a single file appender and a custom exception appender 
for each ear file. But I am not able to see three seperate log files. When ever 
I call the the ABCLogger.getLogger() I am initializing the Logger to the 
corresponding log4j.xml file of the ear?? Can any one tell me why I am not able 
to get the log files??

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100952#4100952

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: No Persistence provider for EntityManager

2007-11-01 Thread dheerajsega
Hi, I was able to fix it..
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100954#4100954

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100954
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.HibernateException: Could not find datasource

2007-11-01 Thread dheerajsega
Hi,
 I am trying to test my application with Testng ..
but i m getting some errors as given below.


javax.persistence.PersistenceException: org.hibernate.HibernateException: Could 
not find datasource


Can aynone tell me what the error may be and what should be done to solve it...


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100955#4100955

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread damianharvey
This is an easy option:
@In(value=#{identity.username})
  | String username;
(had to remove double quotes as phpBB was choking on them for some reason)

Cheers,

Damian.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100956#4100956

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: entityManager goes null on form submit?

2007-11-01 Thread damianharvey
Like Wesley, Im trying out the Flying Saucer renderer to generate PDFs but am 
hitting the same issue. The PDF is generated but my entityManager is now null. 

Also it looks like FS takes over rendering of the application somehow. I see 
logging like this for every page component : 
  | 15:38:55,445 INFO  [application] Created component with component type of 
javax.faces.Column
  | 15:38:55,445 INFO  [application] Created component with component type of 
javax.faces.HtmlOutputText
  | 15:38:55,445 INFO  [application] Created component with component type of 
javax.faces.HtmlGraphicImage
  | 15:38:55,446 INFO  [application] Created component with component type of 
org.jboss.seam.ui.Span
  | 15:38:55,447 INFO  [application] Created component with component type of 
org.jboss.seam.ui.Message
  | 15:38:55,447 INFO  [application] Created component with component type of 
org.jboss.seam.ui.Span
  | 
I have to restart the app server to bring it back to normal (logging out doesnt 
fix it)

Is anyone successfully using the Flying Saucer renderer with Seam?

@Wesley - did you ever find a non-hack solution?

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100957#4100957

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - test

2007-11-01 Thread jiyuan_wang
test

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100959#4100959

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - quotes causing 404

2007-11-01 Thread damianharvey
Anyone else noticed that quotes are causing 404 errors in this forum? 

Try previewing or submitting a post with any double or single quotes. Or is 
this just everyone at my location?

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100960#4100960

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread IGx89
I am using Ext with PHP (http://www.perfitrak.com and absolutely love it, 
though have not had a chance to try using it with Seam/GWT yet. From research I 
have been doing, I would actually recommend using MyGWT instead of GWT-Ext for 
a GWT/Ext bridge (people seem to think it is better designed). There are also 
JSF/Ext bridges out there too you might want to investigate. 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100961#4100961

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread IGx89
It is actually not phpBB, just a very old and embarrasingly messed up version 
of jForum :/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100962#4100962

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100962
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: quotes causing 404

2007-11-01 Thread IGx89
Thanks for the advice, after removing quotes I can finally post again :/.

In my 10+ years on the internet, this forum is the worst-functioning one I have 
ever used...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100963#4100963

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100963
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - no page context active exception when use seam pdf

2007-11-01 Thread jiyuan_wang
Hi I am new to Seam and met a problem with SEAM PDF. I try to generate a pdf 
report using seam pdf. I followed the code example of Yuans book and seam 
online doc. everything works fine (the pdf was generated correctly). However, 
just there are some errors in the server log. I cannot figure out why there are 
some errors. Would somebody please help me out on this? Thanks a lot!
 


10:28:09,374 ERROR [SeamPhaseListener] uncaught exception
java.lang.IllegalStateException: No page context active
at org.jboss.seam.core.FacesPage.instance(FacesPage.java:88)
at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:232)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56)
at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
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.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)
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)
10:28:09,374 ERROR [SeamPhaseListener] swallowing exception
java.lang.IllegalStateException: No page context active
at org.jboss.seam.core.FacesPage.instance(FacesPage.java:88)
at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:232)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56)
at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 

[jboss-user] [JBossWS] - maven2 and jbossws

2007-11-01 Thread ulath
how can i use jbossws with maven2? some dependencies are not published(i.e: 
jbossws-core.jar)  to jboss maven2 repository, am i wrong?



regards

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100966#4100966

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-01 Thread jiyuan_wang
please delete this post thank you! 
the reason I send this test post is,
I failed to post a message several times. However, I find out at last that I 
cannot post a message with a single quote symbol in it. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100965#4100965

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
I am trying to post the stack trace but I am getting a 404 error ... 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100967#4100967

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: quotes causing 404

2007-11-01 Thread [EMAIL PROTECTED]
Thanks Damian, I hadnt realised that...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100970#4100970

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread damianharvey
The JSF/Ext project is called Lilya http://sharesource.org/project/lilya/. I 
have...not (must avoid quotes...) used it so can...not comment.

When they get quotes working again people reading this thread will think that 
I...am a nutter. Sigh.

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100972#4100972

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM Page Navigation

2007-11-01 Thread supernovasoftware.com
Where did you get the salary figures?  I need to hire someone soon.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100971#4100971

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Custom validator disables hibernate default validator

2007-11-01 Thread jbuechel
Thanks Pete and dapeng!

Your posts saved me a lot of time..

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100974#4100974

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: no page context active exception when use seam pdf

2007-11-01 Thread jiyuan_wang
forgot to mention the version of jboss and seam I use. 
JBoss: 4.0.4 GA
Seam: 1.2.1 GA
Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100975#4100975

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM Page Navigation

2007-11-01 Thread harpritt
Jobserve

Just type in SEAM... it was a SEAM 2 role 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100976#4100976

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: More configuration issues getting starged with seam...

2007-11-01 Thread [EMAIL PROTECTED]
12:41:07,778 INFO  [LongType] could not bind value 1 to parameter: 1; 
java.lang.String

This is the cause of your transaction breaking.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100968#4100968

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
It was the quotes :-(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100977#4100977

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread ryoung2504
I am using Ext JS with Seam.

I found that the richfaces tree tags were too slow and I am now using the more 
perfomant Ext JS tree. I have changed the loader so that is uses Seam Remoting 
and it works like a charm. All the JS is then wrapped in a custom component...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100978#4100978

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100978
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp

java.lang.IllegalArgumentException: resource doesnt exist: 
/registration/validation_email.xhtml
at 
org.jboss.seam.ui.facelet.FaceletsRenderer.resourceURL(FaceletsRenderer.java:184)
at 
org.jboss.seam.ui.facelet.FaceletsRenderer$1.process(FaceletsRenderer.java:160)
at 
org.jboss.seam.ui.facelet.FaceletsRenderer$RenderingContext.run(FaceletsRenderer.java:78)
at 
org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:169)
at 
br.com.liax.core.action.util.AsynchronousMailProcessor.scheduleSend(AsynchronousMailProcessor.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:50)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
at 
br.com.liax.core.action.util.AsynchronousMailProcessor_$$_javassist_1.scheduleSend(AsynchronousMailProcessor_$$_javassist_1.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
at 
org.jboss.seam.async.AsynchronousInvocation.call(AsynchronousInvocation.java:52)
at 
org.jboss.seam.async.Asynchronous.executeInContexts(Asynchronous.java:76)
at org.jboss.seam.async.Asynchronous.execute(Asynchronous.java:45)
at 
org.jboss.seam.async.ThreadPoolDispatcher$RunnableAsynchronous.run(ThreadPoolDispatcher.java:114)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100969#4100969

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conversation Propogation on Redirect

2007-11-01 Thread [EMAIL PROTECTED]
I dont understand the question


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100980#4100980

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread dustismo
I am using Ext.js as well (I was unsatified with icefaces and richfaces tree 
implementations)..  Love it for the most part.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100979#4100979

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread supernovasoftware.com
Any chance of sample code for ExtJs and Seam integration?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100982#4100982

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread enrokuta
What error message do you get?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100981#4100981

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100981
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - JDBCCacheLoader problem in java application

2007-11-01 Thread gmeroz
in version 2.0.0GA

When i use JDBCCacheLoader inside JBossAS it wokrs fine, but when 
i try to run the same code from a regular java Main class it fails with the 
following exception. i seems that some connections are not closed.


  | 
  | added 85 dummy node to Jboss cache.
  | added 86 dummy node to Jboss cache.
  | 18:15:52,164 ERROR [NonManagedConnectionFactory] Failed to get connection 
for url=jdbc:oracle:thin:@dbms01:1521:besapp, user=, password=
  | java.sql.SQLException: Io exception: The Network Adapter could not 
establish the connection
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
  | at oracle.jdbc.driver.DatabaseError.throwSqlException
  | ...
  | ...
  | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
  | at java.sql.DriverManager.getConnection(DriverManager.java:582)
  | at java.sql.DriverManager.getConnection(DriverManager.java:185)
  | at 
org.jboss.cache.loader.NonManagedConnectionFactory.checkoutConnection(NonManagedConnectionFactory.java:99)
  | at 
org.jboss.cache.loader.NonManagedConnectionFactory.getConnection(NonManagedConnectionFactory.java:80)
  | at 
org.jboss.cache.loader.AdjListJDBCCacheLoader.loadNode(AdjListJDBCCacheLoader.java:373)
  | at 
org.jboss.cache.loader.AdjListJDBCCacheLoader.get(AdjListJDBCCacheLoader.java:97)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:530)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:408)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:210)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:157)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:37)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:203)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.NotificationInterceptor.invoke(NotificationInterceptor.java:32)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:298)
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:131)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:81)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62)
  | at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3939)
  | at org.jboss.cache.CacheImpl.get(CacheImpl.java:1441)
  | at org.jboss.cache.CacheImpl.get(CacheImpl.java:1415)
  | at org.jboss.cache.pojo.impl.InternalHelper.get(InternalHelper.java:92)
  | at 
org.jboss.cache.pojo.impl.InternalHelper.getPojoInstance(InternalHelper.java:38)
  | at 
org.jboss.cache.pojo.impl.InternalHelper.getPojo(InternalHelper.java:198)
  | at 
org.jboss.cache.pojo.impl.PojoCacheDelegate.putObjectII(PojoCacheDelegate.java:131)
  | at 
org.jboss.cache.pojo.impl.PojoCacheImpl.putObject(PojoCacheImpl.java:136)
  | at 
org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:101)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:93)
  | at JDBCCacheTest.main(JDBCCacheTest.java:10)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100983#4100983

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100983
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread [EMAIL PROTECTED]
Its horrible - soon we will have a lovely new forum :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100984#4100984

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.2 Seam shutdown exception

2007-11-01 Thread [EMAIL PROTECTED]
Please file an issue in jira.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100985#4100985

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Pls help: Wierd error: app ear works fine in seam 2.0.0.

2007-11-01 Thread [EMAIL PROTECTED]
Please file a jira issue with a simple example of the problem attached.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100988#4100988

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problems with contexts not being active

2007-11-01 Thread [EMAIL PROTECTED]
Post your web.xml and components.xml

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100989#4100989

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - XAConnectionFactory not found only in Clustering

2007-11-01 Thread seoeng
Ok, before you go off...I have spent the past 2 days researching this error.  
Still cannot find my applicable situation.  Things like 
http://wiki.jboss.org/wiki/Wiki.jsp?page=IGetXAConnectionFactoryNotBoundHowDoIFixIt
 do not help, as I am not getting any other errors that I can see.

Setup:

jboss-4.2.2.GA
2 nodes in cluster
mysql datasource

I am getting this error when both nodes are in cluster (note I do not get this 
error when I stop one of the nodes):


  | 01 Nov 2007 10:50:33,031 TRACE [JMSContainerInvoker(MyClass) Reconnect] 
(ServiceMBeanSupport.java:87) - Constructing
  | 01 Nov 2007 10:50:33,031 DEBUG [JMSContainerInvoker(MyClass) Reconnect] 
(ServiceMBeanSupport.java:256) - Creating DLQHandler
  | 01 Nov 2007 10:50:33,093 DEBUG [JMSContainerInvoker(MyClass) Reconnect] 
(ServiceMBeanSupport.java:265) - Initialization failed DLQHandler
  | javax.naming.NameNotFoundException: XAConnectionFactory not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
  | at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
  | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
  | at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)
  | at $Proxy72.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at 
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
  | at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
  | at java.lang.Thread.run(Thread.java:619)
  | 01 Nov 2007 10:50:33,093 ERROR [JMSContainerInvoker(MyClass) Reconnect] 
(JMSContainerInvoker.java:1435) - Reconnect failed: JMS provider failure 
detected for MyClass
  | javax.naming.NameNotFoundException: XAConnectionFactory not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 

files:

C:\jboss-4.2.2.GA\server\all\deploy\jms\hajndi-jms-ds.xml
C:\jboss-4.2.2.GA\server\all\deploy\jms\jms-ra.rar
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc-state-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc2-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-destinations-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jvm-il-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\uil2-service.xml

All files are standard default.  These files are normally placed in the 
deploy/jms directory in the Default server configuration, and it works.  But 
when they are in a clustered configuration as mentioned above, it gets the 
errors that the XAConnectionFactory cannot be found.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100990#4100990

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Nodes not join Cluster - UDP discarded Message

2007-11-01 Thread [EMAIL PROTECTED]
- Are the 3 additional boxes in the same subnet as the others ?
- Do they bind to correct addresses ? 127.0.0.1 is *not* one !
- Any firewalls on ? If so, turn off to see whether the JOIN is successful
- Do you use VLANs ? If so, the 3 additional boxes need to be in the same VLAN 
as the others. Make sure VLANs dont drop IP multicast packets
- If nothing else works, you can always fallback to TCP:TCPPING and
- list your 6 nodes in TCPPING explicitly

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100991#4100991

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: no page context active exception when use seam pdf

2007-11-01 Thread jiyuan_wang
components.xml 
(replace quote with \ and [] replace less than/great than, since they cause 404 
error)
___
[?xml version=\1.0\ encoding=\UTF-8\?]
[components xmlns=\http://jboss.com/products/seam/components\
xmlns:core=\http://jboss.com/products/seam/core\
xmlns:security=\http://jboss.com/products/seam/security\
xmlns:drools=\http://jboss.com/products/seam/drools\
xmlns:web=\http://jboss.com/products/seam/web\
xmlns:pdf=\http://jboss.com/products/seam/pdf\
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\
xsi:schemaLocation=
\http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.2.xsd 
 http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.2.xsd
 http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.2.xsd
 http://jboss.com/products/seam/web 
http://jboss.com/products/seam/web-1.2.xsd
 http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-1.2.xsd\]


[core:init 
debug=\true\ 
myFacesLifecycleBug=\true\ 
jndi-pattern=\acctrecv/#{ejbName}/local\ /]

[core:manager conversation-timeout=\12\ 
  concurrent-request-timeout=\500\
  conversation-id-parameter=\cid\
  conversation-is-long-running-parameter=\clr\/]

[core:managed-persistence-context name=\entityManager\ auto-create=\true\

persistence-unit-jndi-name=\java:/seamspaceEntityManagerFactory\/]


[web:multipart-filter create-temp-files=\true\
max-request-size=\100\
url-pattern=\*.seam\/]  
[!-- [pdf:documentStore useExtensions=\true\ /] --]
[H/components]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100993#4100993

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread supernovasoftware.com
I remember reading the new forum is based on Seam.  When will it be ready and 
is there a beta version I can try?

Will it be open source?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100992#4100992

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100992
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: no page context active exception when use seam pdf

2007-11-01 Thread jiyuan_wang
web.xml
(replace quote with \ and [] replace less than/great than, since they cause 404 
error) 
_
[?xml version=\1.0\ encoding=\UTF-8\?]
[web-app version=\2.4\ 
xmlns=\http://java.sun.com/xml/ns/j2ee\
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\
xsi:schemaLocation=\http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd\]

[!-- This is the original that was working with richFaces --]

[!-- Ajax4jsf (must come first!) --]

[context-param]
[param-name]org.ajax4jsf.SKIN[/param-name]
[param-value]blueSky[/param-value]
[/context-param]

[filter]
[display-name]Ajax4jsf Filter[/display-name]
[filter-name]ajax4jsf[/filter-name]
[filter-class]org.ajax4jsf.Filter[/filter-class]
[/filter]

[filter-mapping]
[filter-name]ajax4jsf[/filter-name]
[url-pattern]*.faces[/url-pattern]
[/filter-mapping]


[!-- Seam --]
[listener]
[listener-class]org.jboss.seam.servlet.SeamListener[/listener-class]
[/listener]

[!-- Propagate conversations across redirects --]
[filter]
[filter-name]Seam Redirect Filter[/filter-name]
[filter-class]org.jboss.seam.servlet.SeamRedirectFilter[/filter-class]
[/filter]

[filter-mapping]
[filter-name]Seam Redirect Filter[/filter-name]
[url-pattern]*.faces[/url-pattern]
[/filter-mapping]


[filter]
[filter-name]Seam Exception Filter[/filter-name]
[filter-class]org.jboss.seam.servlet.SeamExceptionFilter[/filter-class]
[/filter]

[filter-mapping]
[filter-name]Seam Exception Filter[/filter-name]
[url-pattern]*.faces[/url-pattern]
[/filter-mapping]

[filter]
[filter-name]Seam Multipart Filter[/filter-name]
[filter-class]org.jboss.seam.web.MultipartFilter[/filter-class]
[init-param]
  [param-name]createTempFiles[/param-name]
  [param-value]true[/param-value]
[/init-param]
[/filter]

[filter-mapping]
[filter-name]Seam Multipart Filter[/filter-name]
[url-pattern]*.seam[/url-pattern]
[/filter-mapping]

[!-- 
[filter]
[filter-name]Seam Servlet Filter[/filter-name]
[filter-class]org.jboss.seam.servlet.SeamServletFilter[/filter-class]
[/filter]

[filter-mapping]
[filter-name]Seam Servlet Filter[/filter-name]
[url-pattern]*.pdf[/url-pattern]
[/filter-mapping]

[servlet]
[servlet-name]Document Store Servlet[/servlet-name]
[servlet-class]org.jboss.seam.pdf.DocumentStoreServlet[/servlet-class]  
  
[/servlet]

[servlet-mapping]
[servlet-name]Document Store Servlet[/servlet-name]
[url-pattern]*.pdf[/url-pattern]
[/servlet-mapping]
--]

[session-config]
[session-timeout]
120
[/session-timeout]
[/session-config]

[welcome-file-list]
[welcome-file]
index.html
[/welcome-file]
[/welcome-file-list]

[!-- JSF --]

[context-param]
[param-name]javax.faces.STATE_SAVING_METHOD[/param-name]
[param-value]client[/param-value]
[/context-param]

[context-param]
[param-name]javax.faces.DEFAULT_SUFFIX[/param-name]
[param-value].xhtml[/param-value]
[/context-param]

[context-param]
[param-name]facelets.DEVELOPMENT[/param-name]
[param-value]true[/param-value]
[/context-param]

[!--
[context-param]
[param-name]com.sun.faces.validateXml[/param-name]
[param-value]true[/param-value]
[/context-param]

[context-param]
[param-name]com.sun.faces.verifyObjects[/param-name]
[param-value]true[/param-value]
[/context-param]

[context-param]
[param-name]org.ajax4jsf.SKIN[/param-name]
[param-value]DEFAULT[/param-value]
[/context-param]
--]

[filter]
[filter-name]MyFacesExtensionsFilter[/filter-name]

[filter-class]org.apache.myfaces.webapp.filter.ExtensionsFilter[/filter-class]
[init-param]
[param-name]maxFileSize[/param-name]
[param-value]50m[/param-value]
[description]Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
[/description]
[/init-param]
[/filter]

[!-- extension mapping for adding [script/], [link/], and other resource tags 
to JSF-pages  --]
[filter-mapping]
[filter-name]MyFacesExtensionsFilter[/filter-name]
[!-- servlet-name must match the name of your 
javax.faces.webapp.FacesServlet entry --]
[servlet-name]Faces Servlet[/servlet-name]
[/filter-mapping]

[!-- extension mapping for serving page-independent resources 

[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread [EMAIL PROTECTED]
anonymous wrote : I remember reading the new forum is based on Seam.  When will 
it be ready and is there a beta version I can try?
  | 
  | Will it be open source?

Soon now (we really are getting closer) but I'm not sure how long exactly. It's 
all based around the wiki architecture that Christian is building (which is 
used to run http://in.relation.to/ and is available in Seam examples now 
(though the forums aren't finished). It will be under the same license as Seam.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100995#4100995

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100995
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Improved performance

2007-11-01 Thread [EMAIL PROTECTED]
2.1.0.GA

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100999#4100999

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread syzork
when i call something like em.query(...) returns an exception:


  | 16:00:30,890 ERROR [STDERR] java.lang.NullPointerException
  | 16:00:30,890 ERROR [STDERR] at 
com.flavio.b.ArtworkServlet.doGet(ArtworkServlet.java:59)
  | 16:00:30,890 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | 16:00:30,890 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 16:00:30,890 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 16:00:30,890 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 16:00:31,046 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | 16:00:31,046 ERROR [STDERR] at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | 16:00:31,046 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,046 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
  | 16:00:31,046 ERROR [STDERR] at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,125 ERROR [STDERR] at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | 16:00:31,125 ERROR [STDERR] at 
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 16:00:31,125 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 16:00:31,625 ERROR [STDERR] at 
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | 16:00:31,625 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 16:00:31,625 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 16:00:31,625 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 16:00:31,625 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 16:00:32,125 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | 16:00:32,125 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 16:00:32,125 ERROR [STDERR] at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 16:00:32,125 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | 16:00:32,125 ERROR [STDERR] at 

[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread supernovasoftware.com
This is great.  Real seam applications as opposed to smaller area specific 
examples will prove quite useful for learning how to structure larger 
applications.

Plus, I could use a nice forum for my inventory tracking software. :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101000#4101000

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101000
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
It was a problem sending the emai using assyncrhonousEmailProcessor.  When I 
send directly in my action the problem does not occur.

Any ideas about why?

Regards,

Petterson

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101004#4101004

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - need help passing UI params to SFSB

2007-11-01 Thread asookazian
so I tried @RequestParameter with pages.xml config and failed (value was not 
coming thru, so it was null).

now I'm trying the regular JSF way per pg. 292 of the Geary/horstmann 2nd 
edition.

Anything wrong with the following code?  this doesn't work either (I'm viewing 
the params object values in the eclipse debugger and it's null):

h:form id=mainForm   
  | h:outputText value=No Direct Reports 
rendered=#{myAuditList != null and myAuditList.rowCount==0}/
  | h:dataTable id=dataTable1 
value=#{myAuditList} var=myRow rendered=#{myAuditList != null and 
myAuditList.rowCount  0}
  |  styleClass=dataTable 
rowClasses=oddRow, evenRow frame=hsides
  | 
  | h:column
  | f:facet name=headerEmployee 
Name/f:facet  
  | 
  | !-- siteId and employeeNumber hidden 
fields are used for all radio buttons --
  | h:outputText id=employeeName 
value=#{myRow[0].id.employeeName}/
  | h:inputHidden id=employeeNameHidden 
value=#{myRow[0].id.employeeName}/
  | h:inputHidden id=siteId 
value=#{myRow[0].id.siteId}/  
  | h:inputHidden id=employeeNumber 
value=#{myRow[0].id.employeeNumber}/
  | /h:column
  | 
  | h:column
  | f:facet name=headerSiteId/f:facet 

  | 
  | h:outputText 
value=#{myRow[0].id.siteId}/   
  | /h:column
  | 
  | h:column
  | f:facet 
name=headerEmployeeNumber/f:facet 
  | 
  | h:outputText 
value=#{myRow[0].id.employeeNumber}/ 
  
  | /h:column
  | 
  | h:column
  | f:facet name=headerAccount 
Approved?/f:facet
  | 
  | h:selectOneRadio 
id=accountApprovedRB value=#{myRow[1].icomsAccountApproved} 
onclick=processNote(this, #{myAuditList.getRowIndex()}, 
'accountApproved');checkForSubmit(#{myAuditList.getRowIndex()})  
  | f:selectItems 
value=#{securityAuditAction.securityAuditRadioButtons} /
  | /h:selectOneRadio 
  | h:graphicImage 
id=acctGraphic value=/img/icon_edit.gif 
onclick=editNote(#{myAuditList.getRowIndex()}, 'accountApproved'); 
style=visibility:hidden/
  | /h:column
  | 
  | h:column
  | f:facet name=headerSecurity Level 
Approved?/f:facet
  | h:selectOneRadio 
id=securityLevelApprovedRB value=#{myRow[1].securityLevelApproved} 
onclick=processNote(this, #{myAuditList.getRowIndex()}, 
'secLevelApproved');checkForSubmit(#{myAuditList.getRowIndex()})  
  | f:selectItems 
value=#{securityAuditAction.securityAuditRadioButtons} /
  | /h:selectOneRadio 
  | h:graphicImage 
id=securityLevelGraphic value=/img/icon_edit.gif 
onclick=editNote(#{myAuditList.getRowIndex()}, 'secLevelApproved'); 
style=visibility:hidden/  
  | /h:column
  | 
  | h:column
  | f:facet name=headerAdjustment Limit 
Approved?/f:facet
  | h:selectOneRadio 
id=adjustmentLimitApprovedRB value=#{myRow[1].adjustmentLimitApproved} 
onclick=processNote(this, #{myAuditList.getRowIndex()}, 
'adjLimitApproved');checkForSubmit(#{myAuditList.getRowIndex()})  
  | f:selectItems 
value=#{securityAuditAction.securityAuditRadioButtons} /
  | /h:selectOneRadio   
  | h:graphicImage 
id=adjLimitGraphic value=/img/icon_edit.gif 

[jboss-user] [JBoss Seam] - MyFaces, Seam and JBoss 4.2.1 GA problem

2007-11-01 Thread maykellff
Hi all, i have an old MyFaces-EJB3 sample application that i'm refactoring to 
use Seam, i set every single datail (i've read a lot of tutorial and forum's 
posts about the topic ) in order to integrate Seam with my old myfaces 
application but when i try to run it on server i get the following error:

[quoted]
23:51:06,875 INFO  [STDOUT] 23:51:06,859 ERROR [StartupServletContextListener] 
Error initializing ServletContext
java.lang.IllegalArgumentException: Class 
org.jboss.seam.jsf.SeamApplicationFactory is no 
javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:132)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107)
at 
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:439)
[/quoted]

If i let the Myfaces jar files in web-inf/lib but delete the myfaces listener 
entry from web.xml the application get the following error:

[quoted]
00:27:19,234 INFO  [STDOUT] 00:27:19,234 ERROR [[/jsfTest]] 
StandardWrapper.Throwable
java.lang.IllegalStateException: No Factories configured for this Application. 
This happens if the faces-initialization does not work at all - make sure that 
you properly include all configuration settings necessary for a basic faces 
application and that all the necessary libs are included. Also check the 
logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you 
use some special web-containers which do not support registering 
context-listeners via TLD files and a context listener is not setup in your 
web.xml.
A typical config looks like this;

  
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class


at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4373)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.
[/quoted]

If i eliminate the myfaces jar, and the myfaces listener declaration in web.xml 
the application works well, then the error is exclusively related to the use of 
Myfaces, i think some kind of conflict between Seam listener and Myfaces 
Listener, but i don't know why and how solve this.

This is my web.xml:
[qouted]
?xml version=1.0?
!--
 * Copyright 2004 The Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the License);
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
--
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 display-namejsfTest/display-name
 context-param
  param-nameorg.ajax4jsf.SKIN/param-name
  param-valueblueSky/param-value
 /context-param
 
 context-param
  param-namejavax.faces.CONFIG_FILES/param-name
  param-value/WEB-INF/navigation-rule.xml/param-value 
 /context-param
 
  context-param
  State saving method: client or server (= default)
See JSF Specification 2.5.2
  param-namejavax.faces.STATE_SAVING_METHOD/param-name
  param-valueclient/param-value
 /context-param

context-param
 param-nameorg.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL/param-name
 param-valuetrue/param-value
/context-param 
  
 
  display-nameAjax4jsf Filter/display-name
  filter-nameajax4jsf/filter-name
  filter-classorg.ajax4jsf.Filter/filter-class
  init-param
   param-nameforceparser/param-name
   param-valuefalse/param-value
  /init-param
 


 filter-mapping
  filter-nameajax4jsf/filter-name
  servlet-nameFaces Servlet/servlet-name
  REQUEST
  FORWARD
  INCLUDE
 /filter-mapping
 
 
 
 
 !-- Listener, that does all the startup work (configuration, init). --

  
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class



 
listener-classorg.jboss.seam.servlet.SeamListener/listener-class
 



 
 !-- Faces Servlet --
 
  servlet-nameFaces Servlet/servlet-name
  servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  

[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread enrokuta
Did you define the web:context-filter in components.xml? Can you post some code 
around line 59?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101013#4101013

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Help with Weblogic to JBoss migration

2007-11-01 Thread hanif77
I have a problem with JNDI when moving from Weblogic  6 to JBoss 4.2.0.GA.

I have a class which is bound to a JNDI name (Global), but when I do a lookup I 
always seem to get a copy rather than a reference. This code had previously 
worked ok on Weblogic.

public class RuleCacheHolder implements Serializable // implements 
T3StartupDef, IRuleCacheHolder
{
/**
 * 
 */
private static final long serialVersionUID = 2938516269249036614L;
private String _className = this.getClass().getName();
protected boolean noConnection = false;

private String _cacheName;
private String _cacheType;
private String _types[];

private Hashtable cache = new Hashtable();

private static final String jndiName = CACHE_HOLDER_;

public RuleCacheHolder(String cacheName, String cacheType, String 
types[]) {
setCacheName(cacheName);
setCacheType(cacheType);
setTypes(types);

try {
new InitialContext().bind(jndiName + cacheName, this);
// initialiseCache();

// WebLogger.trace(_className+ 
CACHE_HOLDER_+getCacheName()+
// CREATED...);
} catch (NamingException ne) {
ne.printStackTrace();
}

}

After creation I populate the cache hashtable from a different class, however 
when a subsequent lookup is done the cache hashtable is empty. I am using a 
jndi prop file and have tried changing the CallByValue setting in 
jboss-service.xml. There are no errors or exceptions in the lookup.

I have scoured the various sites to no avail so any help would be greatly 
appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101016#4101016

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101016
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:fileUpload+trinidad = no Renderer for component family

2007-11-01 Thread wiberto
Did you find a solution to this? I'm getting the data = null.

The multipart filter is being called and it's recognizing it as a multi part 
request. It gets the content size of the file right, but then I see no data 
when the bean is called.

I heard it might be an issue with Trinidad, but I haven't heard a confirmation.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101019#4101019

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Classpath error??

2007-11-01 Thread earniedyke
Greetings all,

I am trying to run a Seam 1.2.1.GA application with RichFaces 3.1.2.GA and 
Faceltes and I continue to receive the error below. Even though the Sun RI is 
supposed to be the installed JSF implementation, the Admin portlet seems to 
still be using MyFaces. I can find FacesContext in 
\jboss-web.deployer\jsf-libs\jsf-api.jar and no where else so I can't 
understand why this error is occurring.

Thanks in advance for any and all assistance.

Earnie!

Caused by: java.lang.LinkageError: loader constraints violated when linking 
javax/faces/context/FacesContext class
  | at 
com.sun.facelets.impl.DefaultResourceResolver.resolveUrl(DefaultResourceResolver.java:19)
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.init(DefaultFaceletFactory.java:70)
  | at 
com.sun.facelets.FaceletViewHandler.createFaceletFactory(FaceletViewHandler.java:286)
  | at 
com.sun.facelets.FaceletViewHandler.initialize(FaceletViewHandler.java:197)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:494)
  | at 
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:397)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:377)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:474)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
  | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
  | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
  | at 
org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
  | at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)

[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread syzork

  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:persistence=http://jboss.com/products/seam/persistence;
  | xmlns:web=http://jboss.com/products/seam/web;
  | xmlns:drools=http://jboss.com/products/seam/drools;
  | xmlns:bpm=http://jboss.com/products/seam/bpm;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:mail=http://jboss.com/products/seam/mail;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-2.0.xsd
  |  http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-2.0.xsd 
  |  http://jboss.com/products/seam/persistence 
http://jboss.com/products/seam/persistence-2.0.xsd 
  |  http://jboss.com/products/seam/web 
http://jboss.com/products/seam/web-2.0.xsd 
  |  http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-2.0.xsd
  |  http://jboss.com/products/seam/bpm 
http://jboss.com/products/seam/bpm-2.0.xsd
  |  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-2.0.xsd
  |  http://jboss.com/products/seam/mail 
http://jboss.com/products/seam/mail-2.0.xsd;
  |  
  | ...
  | web:context-filter url-pattern=/b/* /
  | ...
  | /components
  | 

ArtworkServlet.java

  | 
  | String query = from gs_artwork_info a where a.fileName = 
:filename;
  | System.out.println(this.em.toString());
  | artworkInfo = (ArtworkInfo) 
this.em.createQuery(query).setParameter(filename,fileName).getSingleResult();
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101021#4101021

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101021
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Nodes not join Cluster - UDP discarded Message

2007-11-01 Thread jboss_cody
Thank you for the reply Bela,

Before I answer your questions, I thought that I should also mention that I am 
using vmware Server w/Centos5  to develop my cluster. 

I have successfully configured two separate VM's for my cluster. (vmware Server 
only allows up to 4 virtual NICs per vm)

I started 3 nodes on one vm, and they form a cluster.

Then I start 3 more nodes on the other vm and they form a cluster.

I then changed the cluster-configurations on the 2nd set of nodes, to match 
those of the 1st set of nodes. 

I start the 1st set of nodes. (ips .11, .12, .13). I start the 2nd set of nodes 
(.21, .22, .23) on the other vm.

I am using UDP transport with the configurations of 'all'. I can see the 
traffic taking place, but my 2nd set of nodes are unable to JOIN the 1st set of 
nodes. 

I know my problem exists in my UDP configuration, but that's as far as I've 
gotten. 


anonymous wrote : Are the 3 additional boxes in the same subnet as the others ?

 -Yes, each share the same subnet addr, I simply copied the network - 
configurations and only made modifications to the actual host names and ip 
addrs.

anonymous wrote : Do they bind to correct addresses ? 127.0.0.1 is *not* one ! 

   -Yes, I have the -b option included in the startup scripts of each 
instance/node.

anonymous wrote : Any firewalls on ? If so, turn off to see whether the JOIN is 
successful

  -No, at the initial configuration of VMware server, we disabled SELinux and 
any other firewall that might interfere.

anonymous wrote : Do you use VLANs ? If so, the 3 additional boxes need to be 
in the same VLAN as the others. Make sure VLANs dont drop IP multicast packets 

  -??? How can I find out this info.

P.S. I've said this before, but just to make it clear, I am a newbie to all of 
these concepts, so please work with me here.

Sorry for any stupid, obvious questions.

anonymous wrote : If nothing else works, you can always fallback to TCP:TCPPING 
and
  | - list your 6 nodes in TCPPING explicitly

This was my next plan, but from what I've read, there is extra network traffic 
using this approach.


Oh yeah, Here is an excerpt from a node in the 1st set:


  | 2007-10-31 22:55:40,984 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
192.168.202.11:32789] discarded message from non-member 192.168.202.21:32796, 
my view is [192.168.202.11:32789|0] [192.168.202.11:32789]
  | 2007-10-31 22:55:41,516 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
192.168.202.11:32789] discarded message from non-member 192.168.202.21:32796, 
my view is [192.168.202.11:32789|0] [192.168.202.11:32789]
  | 2007-10-31 22:55:48,172 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
192.168.202.11:32787] discarded message from non-member 192.168.202.21:32794, 
my view is [192.168.202.11:32787|0] [192.168.202.11:32787]
  | 2007-10-31 22:55:48,832 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
192.168.202.11:32787] discarded message from non-member 192.168.202.21:32794, 
my view is [192.168.202.11:32787|0] [192.168.202.11:32787]
  | 2007-10-31 22:55:50,509 DEBUG 
[org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions 
that have expired ...
  | 2007-10-31 22:55:53,055 WARN  [org.jgroups.protocols.pbcast.GMS] merge 
responses from subgroup coordinators = 1 ([]). Cancelling merge
  | 2007-10-31 22:55:53,056 ERROR [org.jgroups.protocols.pbcast.GMS] coords or 
merge_id == null
  | 2007-10-31 22:55:53,056 ERROR [org.jgroups.protocols.pbcast.GMS] coords or 
merge_id == null
  | 2007-10-31 22:55:55,512 WARN  [org.jgroups.protocols.pbcast.GMS] merge 
responses from subgroup coordinators = 1 ([]). Cancelling merge
  | 2007-10-31 22:55:55,513 ERROR [org.jgroups.protocols.pbcast.GMS] coords or 
merge_id == null
  | 2007-10-31 22:55:55,513 ERROR [org.jgroups.protocols.pbcast.GMS] coords or 
merge_id == null
  | 2007-10-31 22:56:00,514 DEBUG 
[org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions 
that have expired ...
  | 2007-10-31 22:56:00,590 WARN  [org.jgroups.protocols.pbcast.GMS] merge 
responses from subgroup coordinators = 1 ([]). Cancelling merge
  | 
  | 
  | 

 boolean isBad = (this.Network_traffic == NOT GOOD) ;
 System.out.print(isBad.toString());

-NOT GOOD

Thanks again : )

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101024#4101024

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101024
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Nodes not join Cluster - UDP discarded Message

2007-11-01 Thread jboss_cody
anonymous wrote :  boolean isBad = (this.Network_traffic == NOT GOOD) ;
  | System.out.print(isBad.toString());
  | 
  | -NOT GOOD 

Correction:

-true

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101026#4101026

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - jndi jboss service problem connecting

2007-11-01 Thread ByDcc
   Hi all,
   I'm trying to connect to the jboss service JNDI from a stand alone 
application and always I try to lookup an object I get a 
javax.naming.NameNotFoundException.

   I have deployed two entity ejb3:
INFO  [Ejb3Configuration] found EJB3 Entity bean: 
com.cartstore.persistence.domain.model.CategoryEntity
INFO  [Ejb3Configuration] found EJB3 Entity bean: 
com.cartstore.persistence.domain.model.ItemEntity

INFO  [AnnotationBinder] Binding entity from annotated class: 
com.cartstore.persistence.domain.model.CategoryEntity
INFO  [EntityBinder] Bind entity 
com.cartstore.persistence.domain.model.CategoryEntity on table CATEGORY
INFO  [AnnotationBinder] Binding entity from annotated class: 
com.cartstore.persistence.domain.model.ItemEntity
INFO  [EntityBinder] Bind entity 
com.cartstore.persistence.domain.model.ItemEntity on table ITEM


   I have defined a datasource:
INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=CartStoreDS' to JNDI name 
'java:CartStoreDS'


   I've invoked the method list of JNDIView and I've seen:
Inside:
java: Namespace
Some of them:
 +- timedCacheFactory (class: javax.naming.Context)
Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
  +- SecurityProxyFactory (class: 
org.jboss.security.SubjectSecurityProxyFactory)
  +- CartStoreDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- comp (class: javax.naming.Context)
  +- EntityManagers (class: org.jnp.interfaces.NamingContext)
  |   +- cartstore (class: org.jboss.ejb3.entity.TransactionScopedEntityManager)

I'm using the server jboss-4.2.1.GA and the IDE 
JBossIDE-2.0.0.Beta2-Bundle-win32.zip

I've tried to lookup several objects and always have got the same result 
javax.naming.NameNotFoundException:

For example. With CartStoreDS I get:
javax.naming.NameNotFoundException: CartStoreDS  not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)

And in the console trace when I run jboss I see:
12:49:40,234 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=CartStoreDS' to JNDI name 
'java:CartStoreDS'

I've tried to lookup a datasource, an EntityManager, TopicConnectionFactory and 
so on.
My code is:

public static void main(String[] args) {

try {
..
Hashtable ht = new Hashtable();
ht.put(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);
ht.put(java.naming.provider.url, 
jnp://localhost:1099);
ht.put(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces);

Context ic = new InitialContext(ht);
  //EntityManager em = (EntityManager) 
ic.lookup(java:/EntityManagers/cartstore);
DataSource ds= (DataSource) 
ic.lookup(java:/DefaultDS);

} catch(NamingException e) {
e.printStackTrace();
}
}

When I run jboss I don't see any trace about the port 1099. The only trace I 
see is:
INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

I tried the same thing out eclipse with identical results.

What am I doing bad?

Thank you in advance.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101027#4101027

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101027
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread enrokuta
You should be defining the EntityManager as a local variable of the doGet 
method rather than having it as a member.
Seam injection cannot be applied to servlets. You have to use 
Component.getInstance instead.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101030#4101030

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101030
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Batch Index using Hibernate Search and Seam

2007-11-01 Thread mat
We need to index a large number of records using Hibernate Search;
Following the documentations and examples from SEAM, we have implemented the 
followings. This is to eliminate Out Of Memory Exception and Timeout Exception 
when indexing a large number of records.  
The method works fine (well, haven?t tested it with a large number yet) when it 
is called from a stateful seam component (as the backing bean for use actions).
However, since this would be a long running process we need to add the 
@Asynchronous.  Adding this annotation stops the method after the EntityManager 
call and log.info(EntityManager initilized.); is never called !
The persistence.xml has been modified for the specified batchSize as per 
documentation.

Your help and feedback is highly appreciated;

Environment:

JBoss-4.2.1
SEAM-2.0.CR1
RichFaces-3.1.2


  | @Name(indexManager)
  | public class IndexManagerBean {
  | 
  | @Logger
  | static Log log;
  | 
  | public int batchSize = 50;
  | 
  | 
  | //@Asynchronous
  | public void buildIndex(Class entityClass) {
  | log.info(asynchronously rebuilding Lucene index for entity:  + 
entityClass);
  | EntityManager em = (EntityManager) 
Component.getInstance(entityManager);
  | log.info(EntityManager initilized.);
  | FullTextSession fullTextSession = (FullTextSession)em.getDelegate();
  | fullTextSession.setFlushMode(FlushMode.MANUAL);
  | fullTextSession.setCacheMode(CacheMode.IGNORE);
  | org.hibernate.Transaction transaction = 
fullTextSession.beginTransaction();
  | //Scrollable results will avoid loading too many objects in memory
  | ScrollableResults results = fullTextSession.createCriteria( 
entityClass ).scroll( ScrollMode.FORWARD_ONLY);
  | int index = 0;
  | while( results.next() ) {
  | index++;
  | fullTextSession.index( results.get(0) ); //index each element
  | if (index % batchSize == 0) fullTextSession.clear(); //clear 
every batchSize since the queue is processed
  | }
  | transaction.commit();
  | 
  | try {
  | if (results != null) results.close();
  | } catch (Exception ex) {
  | ex.printStackTrace();
  | }
  | }
  | 
  | }
  | 
  | 

The entityManager is configured in the components.xml as:


  | persistence:filter name=accessCompanyFilter
  | persistence:nameaccessCompanyFilter/persistence:name
  | persistence:parameters
  | keycurrentAccessCompany/key
  | value#{currentAccessCompany}/value
  | /persistence:parameters
  | /persistence:filter
  | 
  | persistence:managed-persistence-context name=entityManager
  |   auto-create=true
  |   
entity-manager-factory=#{TestEntityManagerFactory}
  |   persistence-unit-jndi-name=java:/ 
TestEntityManagerFactory  
   
  | 
persistence:filtersvalue#{accessCompanyFilter}/value/persistence:filters
  
  | /persistence:managed-persistence-context
  | 
  |  
  |  persistence:managed-persistence-context name=gloabalEntityManager
  |  auto-create=true
  |  
entity-manager-factory=#{TestEntityManagerFactory}
  |  
persistence-unit-jndi-name=java:/TestEntityManagerFactory
  | /persistence:managed-persistence-context
  | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101028#4101028

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101028
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Webservice invocation woes!

2007-11-01 Thread Jihnd
Hello all,
I've created a web service using netbeans on jboss 4.2.1ga by exposing a ejb. 
the wdsl is created and loads in browser when i check it  the jmx-console also 
seems pretty convinced all is working
but then when i try an invoke it from within a flex page, i get either;
2007-10-26 00:08:40,500 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] 
SOAP request exception
  | javax.ejb.EJBException: java.lang.NullPointerException
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | ... leading to
  | Caused by: java.lang.NullPointerException
  | at Audiorec.AVmanBean.findAudiorec(AVmanBean.java:30)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 
 
or, it's this;
16:14:08,703 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
  | java.lang.ClassCastException: 
com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl
  | at org.jboss.ws.core.soap.SOAPEnvelopeImpl.init(SOAPEnvelopeImpl.java:60)
  | at 
org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
  | at 
org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
  | at 
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262)
  | at 
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
  | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | 16:14:09,000 ERROR [RequestHandlerImpl] Error processing web service request
  | org.jboss.ws.WSException: java.lang.ClassCastException: 
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
  | at org.jboss.ws.WSException.rethrow(WSException.java:68)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
  | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 

[jboss-user] [Clustering/JBoss] - Re: Forwarding from Jboss over Apache using mod_proxy withou

2007-11-01 Thread [EMAIL PROTECTED]
It's not clear to me from your reply exactly what URLs you are invoking, so I'm 
not sure if you are trying what I suggested. lf you still have troubles, please 
include in your reply the exact URLs you are invoking when it works and when it 
doesn't.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101033#4101033

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Exception on timeout due to Hibernate Filter

2007-11-01 Thread mat
We are using Hibernate Search and Hibernate Filter with Seam.
On timeout, we get the folowing NP Exceptions which we cannot resolve.  This 
seems to be due to the hibernate filter we are setting.
There is no such an exception prior to the timeout.

Your help and feedback is highly appreciated;

Environment:

JBoss-4.2.1
SEAM-2.0.CR1
RichFaces-3.1.2



The entityManager is configured in the components.xml as:


  | persistence:filter name=accessCompanyFilter
  | persistence:nameaccessCompanyFilter/persistence:name
  | persistence:parameters
  | keycurrentAccessCompany/key
  | value#{currentAccessCompany}/value
  | /persistence:parameters
  | /persistence:filter
  | 
  | persistence:managed-persistence-context name=entityManager
  |   auto-create=true
  |   
entity-manager-factory=#{TestEntityManagerFactory}
  |   persistence-unit-jndi-name=java:/ 
TestEntityManagerFactory  
   
  | 
persistence:filtersvalue#{accessCompanyFilter}/value/persistence:filters
  
  | /persistence:managed-persistence-context
  | 
  |  
  |  persistence:managed-persistence-context name=gloabalEntityManager
  |  auto-create=true
  |  
entity-manager-factory=#{TestEntityManagerFactory}
  |  
persistence-unit-jndi-name=java:/TestEntityManagerFactory
  | /persistence:managed-persistence-context
  | 
  | 


Generated Exception:




  | 
  | javax.ejb.EJBTransactionRolledbackException: Filter [accessCompanyFilter] 
parameter [currentAccessCompany] value not set
  | 
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy155.init(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:40)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 

[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application

2007-11-01 Thread syzork
yeah! it´s working now! thanks

I tried to inject entitymanager because i was getting an exception related to 
'no active application context active', now i see that was using a wrong 
url-pattern in web:context

Thanks again!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101036#4101036

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101036

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: XAConnectionFactory not found only in Clustering

2007-11-01 Thread [EMAIL PROTECTED]
When does this happen?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101040#4101040

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to access seam components from a servlet filter?

2007-11-01 Thread akwatters
I understand how do do this using the context filter and a servlet but I 
haven't been able to do this from a servlet filter.

Has anyone been able to do this please?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101042#4101042

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101042
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: XAConnectionFactory not found only in Clustering

2007-11-01 Thread seoeng
On startup:


  | 01 Nov 2007 10:50:27,213  INFO [main] (Embedded.java:889) - Catalina naming 
disabled
  | 01 Nov 2007 10:50:27,416  INFO [main] (AprLifecycleListener.java:140) - The 
Apache Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path: ../lib
  | 01 Nov 2007 10:50:27,635  INFO [main] (Http11Protocol.java:182) - 
Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
  | 01 Nov 2007 10:50:27,651  INFO [main] (AjpProtocol.java:165) - Initializing 
Coyote AJP/1.3 on ajp-127.0.0.1-8009
  | 01 Nov 2007 10:50:27,651  INFO [main] (Catalina.java:536) - Initialization 
processed in 435 ms
  | 01 Nov 2007 10:50:27,651  INFO [main] (StandardService.java:507) - Starting 
service jboss.web
  | 01 Nov 2007 10:50:27,651  INFO [main] (StandardEngine.java:431) - Starting 
Servlet Engine: JBossWeb/2.0.1.GA
  | 01 Nov 2007 10:50:27,713  INFO [main] (Catalina.java:584) - Server startup 
in 59 ms
  | 01 Nov 2007 10:50:27,838  INFO [main] (TomcatDeployer.java:127) - deploy, 
ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
  | 01 Nov 2007 10:50:28,510  INFO [main] (TomcatDeployer.java:127) - deploy, 
ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
  | 01 Nov 2007 10:50:28,682  INFO [main] (TomcatDeployer.java:127) - deploy, 
ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
  | 01 Nov 2007 10:50:28,791  INFO [main] (TomcatDeployer.java:127) - deploy, 
ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/
  | 01 Nov 2007 10:50:28,901  INFO [main] (RegistryServlet.java:63) - Loading 
jUDDI configuration.
  | 01 Nov 2007 10:50:28,901  INFO [main] (RegistryServlet.java:75) - Resources 
loaded from: /WEB-INF/juddi.properties
  | 01 Nov 2007 10:50:28,901  INFO [main] (RegistryServlet.java:154) - 
Initializing jUDDI components.
  | 01 Nov 2007 10:50:29,276  INFO [main] (TomcatDeployer.java:127) - deploy, 
ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
  | 01 Nov 2007 10:50:29,760  INFO [main] (MailService.java:356) - Mail Service 
bound to java:/Mail
  | 01 Nov 2007 10:50:29,916  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
  | 01 Nov 2007 10:50:29,948  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
  | 01 Nov 2007 10:50:30,010  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
  | 01 Nov 2007 10:50:30,041  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 01 Nov 2007 10:50:30,104  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
  | 01 Nov 2007 10:50:30,135  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
  | 01 Nov 2007 10:50:30,182  INFO [main] (RARDeployment.java:105) - Required 
license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
  | 01 Nov 2007 10:50:30,198  INFO [main] (QuartzResourceAdapter.java:52) - 
start quartz!!!
  | 01 Nov 2007 10:50:30,260  INFO [main] (SimpleThreadPool.java:247) - Job 
execution threads will use class loader of thread: main
  | 01 Nov 2007 10:50:30,291  INFO [main] (QuartzScheduler.java:195) - Quartz 
Scheduler v.1.5.2 created.
  | 01 Nov 2007 10:50:30,291  INFO [main] (RAMJobStore.java:138) - RAMJobStore 
initialized.
  | 01 Nov 2007 10:50:30,291  INFO [main] (StdSchedulerFactory.java:1014) - 
Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource 
file in Quartz package: 'quartz.properties'
  | 01 Nov 2007 10:50:30,291  INFO [main] (StdSchedulerFactory.java:1018) - 
Quartz scheduler version: 1.5.2
  | 01 Nov 2007 10:50:30,291  INFO [main] (QuartzScheduler.java:400) - 
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
  | 01 Nov 2007 10:50:30,416 TRACE [main] (ServiceMBeanSupport.java:87) - 
Constructing
  | 01 Nov 2007 10:50:30,432 TRACE [main] (ServiceMBeanSupport.java:87) - 
Constructing
  | 01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:256) - 
Creating jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
  | 01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:269) - 
Created jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
  | 01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:256) - 
Creating jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
  | 01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:269) - 
Created jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
  | 01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:285) - 
Starting jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
  | 01 Nov 2007 10:50:30,510 DEBUG [main] 

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate/JPA jars

2007-11-01 Thread kuvera
Hi,

I am trying to get started with JPA/Hibernate, in a standalone application. 
Jars are in classpath, persistence.xml is there, but it gives me an exception 
on the first line:

emf = Persistence.createEntityManagerFactory(punit);


  | java.lang.NoSuchMethodException: 
org.hibernate.validator.ClassValidator.init(java.lang.Class, 
java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, 
java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
  | 

It looks like jar version problem, but I have the latest jars:


  | antlr-2.7.6.jar443 432  2006/05/05
  | asm-attrs.jar   16 777  2005/03/17
  | asm.jar 26 360  2005/03/17
  | cglib-2.1.3.jar282 338  2005/12/02
  | dom4j-1.6.1.jar313 898  2005/08/13
  | ehcache-1.2.3.jar  208 048  2006/11/03
  | ejb3-persistence.jar50 574  2007/03/28
  | hibernate-annotations.jar  265 130  2007/03/28
  | hibernate-commons-annotations.jar   66 426  2007/03/28
  | hibernate-entitymanager.jar116 544  2007/03/28
  | hibernate-validator.jar 60 992  2007/03/28
  | hibernate3.jar   2 255 753  2007/07/31
  | javassist.jar  471 005  2006/11/16
  | jboss-archive-browsing.jar 413 698  2007/03/28
  | jdbc2_0-stdext.jar   6 727  2004/06/03
  | jta.jar  8 812  2004/06/03
  | 
(Apache commons and mysql libs are also there in another dir.)

persistence.xml is read in, making an xml syntax error complains.


  | ?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  | version=1.0
  | persistence-unit name=punit
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | properties
  | property name=hibernate.show_sql value=true /
  | property name=hibernate.format_sql value=true /
  | property name=hibernate.connection.driver_class
  | value=com.mysql.jdbc.Driver /
  | property name=hibernate.connection.url
  | 
value=jdbc:mysql://localhost:3306/nyilzar2?characterEncoding=utf8 /
  | property name=hibernate.connection.username 
value=... /
  | property name=hibernate.connection.password 
value=... /
  | property name=hibernate.dialect
  | value=org.hibernate.dialect.MySQLDialect /
  | /properties
  | /persistence-unit
  | /persistence
  | 

Please help.

kuvera


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101046#4101046

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - AbstractResource subclass gets ClientAbortException writing

2007-11-01 Thread JakeC
While writing to the output stream, I get the following stacktrace:
11:03:00,031 INFO  [Util] 0: Writing 16,384 bytes of 57,567 to buffer
  | 11:41:42,202 INFO  [Util] 0: Writing 16,384 bytes of 57,567 to buffer
  | 11:41:42,202 INFO  [Util] 0: Writing 16,384 bytes of 57,567 to buffer
  | 11:41:42,202 INFO  [Util] 0: Writing 16,384 bytes of 57,567 to buffer
  | 11:41:42,202 ERROR [Util] Error serving file: path to file
  | ClientAbortException:  java.net.SocketException: Connection reset by peer: 
socket write error
  | at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366)
  | at 
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
  | at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
  | at 
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
  | at 
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
  | at 
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:88)
  | at com.mycompany.myproject.Util.download(Util.java:93)

My code that does the writing is here:
public static void download(HttpServletResponse response, File file, 
String downloadName)
  | throws IOException {
  | FileInputStream fis = null;
  | OutputStream os = null;
  | if(file != null  file.exists()) {
  | try {
  | byte[] buf = new byte[BUF_SIZE];
  | if(downloadName != null  downloadName.trim().length()  0)
  | response.setHeader(Content-Disposition, 
attachment;filename=\ +
  | downloadName + \);
  | response.setHeader(Cache-Control, no-store);
  | response.setHeader(Pragma, no-cache);
  | response.setDateHeader(Expires, 0);
  | response.setContentType(application/octet-stream);
  | fis = new FileInputStream(file);
  | os = response.getOutputStream();
  | int len = -1;
  | int x = 0;
  | while((len = fis.read(buf)) != -1) {
  | log.info({0}: Writing {1} bytes of {2} to 
buffer, x, len, file.length());
  | os.write(buf, 0, len);
  | }
  | } catch (Throwable t) {
  | log.error(Error serving file: +file, t);
  | 
response.sendError(HttpServletResponse.SC_NOT_FOUND);
  | } finally {
  | if(fis != null) 
try{fis.close();}catch(Throwable t){
  | log.warn(Error closing input stream:  
+ t.getMessage(), t);
  | }
  | if( os != null) try{ 
os.flush();}catch(Throwable t){
  | 
if(org.apache.catalina.connector.ClientAbortException.equals(t.getClass().getCanonicalName()))
  | log.info(client canceled 
download);
  | else
  | log.warn(Error flushing output 
stream:  + t.getClass().getCanonicalName(), t);
  | }
  | if( os != null) try{ 
os.close();}catch(Throwable t){
  | log.warn(Error closing output stream: 
 + t.getMessage(), t);
  | }
  | }
  | } else {
  | log.error(Error serving unknown file: +file);
  | response.sendError(HttpServletResponse.SC_NOT_FOUND);
  | }
  | }

It works just fine under http, but croaks in https. This is with a self-signed 
certificate, after accepting it, of course.

I checked the request path, and it is using the https protocol.

One problem I'm having on that page is that IE believes that the page contains 
both secure and unsecure items. However, our entire web app is completely under 
https, and there are no references to external resources. Looking at the source 
of the page, the only things with http: in them are the DOCTYPE dtd and the 
html xmlns declarations. Could that possibly have anything to do with it?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101048#4101048

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using fine-grained pages.xml

2007-11-01 Thread chris.simons

Seam wizards,

I'm using the Seam 1.21GA documentation as a guide for breaking out a lengthy 
pages.xml into single, page specific files.

According to the documentation, I am to break out each file into their given 
view-id and append .page.xml.

Therefore, I have added:
/resources/admin/da/categoryAdmin.page.xml
...

I have stripped out the corresponding page definition from pages.xml and placed 
into each fine-grained file.  Likewise, I removed the view-id parameter from 
each fine-grained page file.

Here is what that same fine-grained file now looks like:
!DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.2//EN
  |   http://jboss.com/products/seam/pages-1.2.dtd;
  |   
  | page conversation-required=true 
no-conversation-view-id=/admin/da/moduleAdmin.xhtml
  | #{cvAdminModule.name}
  | begin-conversation nested=true join=false/
  | navigation from-action=#{adminValueManager.findValuesByCategory}
  | redirect view-id=/admin/da/valueAdmin.xhtml/
  | /navigation
  | /page

However, after doing so, page definitions are no longer working.  Have I done 
something wrong?  Should the fine-grained files actually go under 
/resources/WEB-INF?  If so, the documentation may need to describe this in more 
detail.

Thanks for taking a look - hope someone has an tip for me to look at.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101052#4101052

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread samdoyle
[EMAIL PROTECTED] wrote :  
Expressions.instance().createValueExpression(#{myBean.myProperty})  returns 
Object. It needs to cast to your object type.
  | 
  |   | Interpolator.instance().interpolate(#{myBean.myProperty}) 
  |   |  returns String.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101057#4101057

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101057
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - I need help with scope type

2007-11-01 Thread rcherchi
Hi,
I use jboss-seam-1.2.1.GA and jboss-4.0.5.GA. 
I need to perform a member registration for the web site I'm working on. The 
registration perform some server side validation. I also have some ajax calls 
using javascript and seam remoting.
At the moment, it works with a stateful session bean and the conversation or 
session scope.
Because it's a one page process, I would say that the page scope more 
appropriate.
I have similar needs for other pages in the site. I use the session scope 
everywhere at the moment.

I can't figure out how to use correctly a page or event scope.

Would you have any recommendations for migrating from a SESSION scope to PAGE 
or EVENT.

Thanks for your time.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101063#4101063

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101063
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread samdoyle
I'll give that at try, thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101064#4101064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >