[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-28 Thread asookazian
this would be similar to:

HttpServletRequest.getContextPath();

so is there a way to do this with Faces/Seam???

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

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


[jboss-user] [Clustering/JBoss] - Shunning Problems

2007-08-28 Thread nicolaou
Hi,

I have a cluster setup with two nodes on different machines. The setup has been 
working fine from the begging but lately I face the following problem. I have a 
process running on the cluster every morning that keeps the servers busy for 
some minutes(10 min). I noticed that not always but every now and then one of 
the nodes is suspected and shunned from the cluster but it never rejoins the 
group even when I restart the node. It seems that at the begging of the problem 
node 2 does not leave the group saying that it waits for an exit message and 
then it says that it is the coord and is being suspected???

The log file of node 1 (192.168.202.56) is:

2007-08-23 11:36:50,088 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37355|28] [192.168.202.56:37355]
2007-08-23 11:36:50,729 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37357|28] [192.168.202.56:37357]
2007-08-23 11:36:55,505 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37352|16] [192.168.202.56:37352]
2007-08-23 11:36:57,801 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:36:58,374 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected 
member: 192.168.202.57:32932 (additional data: 19 bytes)
2007-08-23 11:37:00,303 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:37:02,805 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:37:03,306 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected 
member: 192.168.202.57:32932 (additional data: 19 bytes)
2007-08-23 11:37:05,571 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37355|29] [192.168.202.56:37355, 192.168.202.57:32943]
2007-08-23 11:37:05,571 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37357|29] [192.168.202.56:37357, 192.168.202.57:32941]
2007-08-23 11:37:05,595 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.202.56:37352|17] [192.168.202.56:37352, 192.168.202.57:32939]
2007-08-23 11:37:05,604 INFO  [org.jboss.cache.TreeCache] locking the / subtree 
to return the in-memory (transient) state
2007-08-23 11:37:05,604 INFO  [org.jboss.cache.TreeCache] locking the / subtree 
to return the in-memory (transient) state
2007-08-23 11:37:05,613 INFO  
[org.jboss.cache.statetransfer.StateTransferGenerator_1241] returning the state 
for tree rooted in /(1024 bytes)
2007-08-23 11:37:05,615 INFO  
[org.jboss.cache.statetransfer.StateTransferGenerator_1241] returning the state 
for tree rooted in /(1024 bytes)
2007-08-23 11:37:05,632 INFO  [org.jboss.cache.TreeCache] locking the / subtree 
to return the in-memory (transient) state
2007-08-23 11:37:05,633 INFO  
[org.jboss.cache.statetransfer.StateTransferGenerator_1241] returning the state 
for tree rooted in /(1024 bytes)
2007-08-23 11:37:06,821 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:37:08,308 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected 
member: 192.168.202.57:32932 (additional data: 19 bytes)
2007-08-23 11:37:09,322 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:37:11,824 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional data: 19 bytes)], pingable_mbrs=[192.168.202.56:37348 (additional 
data: 19 bytes)], local_addr=192.168.202.56:37348 (additional data: 19 bytes)
2007-08-23 11:37:13,312 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected 
member: 192.168.202.57:32932 (additional data: 19 bytes)
2007-08-23 11:37:14,325 WARN  [org.jgroups.protocols.FD] ping_dest is null: 
members=[192.168.202.57:32932 (additional data: 19 bytes), 192.168.202.56:37348 
(additional 

[jboss-user] [JBoss Portal] - Re: Problems deploying HelloWorldJSFPortlet

2007-08-28 Thread prassana
Hi
 
 i had similar exception and i could not solve this exception. I got this 
exception after i added some jars to my jboss-AS-4.0.5/server/default/'lib  
directory (also i replaced some existing jars by mistake). I could not find a 
solution to this problem. I also posted this problem. 
 http://www.jboss.com/index.html?module=bbop=viewtopict=116697

I did not find any reply. so finally i checked out jboss portal 2.6.1 again , 
build it and deployed. Id did not throw any exception after that. (this time i 
was careful while adding jars to default/lib)



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

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


[jboss-user] [JBoss jBPM] - Re: how to create WEB-INF directory?

2007-08-28 Thread dleerob
You should be able to find the jbpm-console war file under: 
jbpm-jpdl-suite-3.2.1\jbpm-jpdl-3.2.1\deploy. If that is what you are looking 
for.

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

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


[jboss-user] [JBoss jBPM] - Re: the jbpm process diagram

2007-08-28 Thread dleerob
I managed to solve this one in my own webapp, that did not use JSF (as the 
jbpm-console does). I posted the solution on this thread: 
http://www.jboss.com/index.html?module=bbop=viewtopict=102817.
Hopefully it will help you.

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

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


[jboss-user] [JBoss Seam] - Re: Two web applications in one Seam app

2007-08-28 Thread madsph
Okay, maybe I am not a complete nut-case for trying to deploy two webapps in 
the same earfile - but then I am for not configuring jbpm in the one that 
caused the problem.

Adding 
  bpm:jbpm
  /bpm:jbpm

to components.xml solves my problem (naturally!).

Sorry for taking up your time.
madsph

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread amitev
very nice post really

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

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


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

2007-08-28 Thread yohann49
In fact, when I look on the Debug page, in the session context, packageLine is 
not create but it'sinject and outject. Where is the problem ?

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

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


[jboss-user] [JBoss Seam] - submit username and password for towice to login successfull

2007-08-28 Thread chlol
my env:jboss-4.2.0.GA + jboss-seam-2.0.0.BETA1

after the jboss  start ,i can login to my application's home page for once,then 
i logout to login page,but here i must submit the username and password 
towice,then login to the home page,why?

can you help me? thank you!

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread amitev
Here is a link for tuning of jboss as

http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming

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

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


[jboss-user] [JBoss Portal] - Re: Resize portlet using

2007-08-28 Thread tellarsrinivasprabhu
Hi all,

 I too have same question. Is it possible to implement re sizable portlet. Also 
is it possible to implement a close button along with minimize and maximize 
buttons. like what you can see in Google ig http://www.google.com/ig

thanks, 
tellarsrinivasprabhu

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

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


[jboss-user] [JBoss Seam] - Can't validate inputsecret with Ajax and hibernate validator

2007-08-28 Thread franck93
Has anyone been successful in performing ajax validation with hibernate 
validator annotations (@NotNull and @Length(min=6) for example) on an 
inputSecret field.

When i try to do so the ajax does performs the validation but also resets the 
field to an empty string!!!

I assume this has to do with the default jsf behaviour that is not sending back 
to the browser the values of inputsecret fields but i was wondering if anyone 
had found a workaround.

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

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


[jboss-user] [JBoss Seam] - is it rich:menuItem bug ?

2007-08-28 Thread chlol
my menu source code:
rich:menuItem submitMode=ajax value=update action=/UserEdit.xhtml
f:param name=userId 
value=#{authenticator.user.id}/
/rich:menuItem

the Authenticator class:

@Name(authenticator)
@Scope(ScopeType.SESSION)
public class Authenticator {
@Logger
Log log;
@In
Identity identity;
@In
EntityManager entityManager;

private User user = new User();

public boolean authenticate() {
log.info(authenticating #0, identity.getUsername());
// write your authentication logic here,
// return true if the authentication was
// successful, false otherwise
try {
user = (User) entityManager
.createQuery(
from User where 
username = :username and password = :password)
.setParameter(username, 
identity.getUsername())
.setParameter(password, 
identity.getPassword())
.getSingleResult();
if (user.getUserRoles() != null) {
for (UserRole role : user.getUserRoles()) {

identity.addRole(role.getRole().getName());
}
}
return true;
} catch (NoResultException ex) {
return false;
}

}

@Out
public User getUser() {
return user;
}
}


i login to the home page ,then drop the menu update,the url is 
manhour/UserEdit.seam?cid=37
but the edit page has no the user info,but when i drop the menu update 
again,the url is manhour/UserEdit.seam?userId=1cid=38,here the user info 
appear,i can't understant that.

can you help me?


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

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


[jboss-user] [JBoss Portal] - Re: Sub Page tabs in portal

2007-08-28 Thread [EMAIL PROTECTED]
You will have to adapt your theme (the CSS).


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

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


[jboss-user] [EJB/JBoss] - Re: java.lang.IllegalStateException: Underlying collection h

2007-08-28 Thread Filot
Sorry, maybe one precision:

the exception is raised precisely at this instruction:


  | 
  | String instName = pss.instantiateProject(test33);
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive

2007-08-28 Thread fhh
... or download the nightly builds from 
http://hudson.jboss.org/hudson/job/JBossSeam/.



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

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


[jboss-user] [JBoss Seam] - javax.faces.el.PropertyNotFoundException: Base is null

2007-08-28 Thread asookazian
Can anybody please explain this error???

i have a new Seam project with a testit.jsp:

%@ page language=java pageEncoding=ISO-8859-1%
  | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h%
  | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
  | %@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s %
  | 
  | !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  | html
  | head
  | titleget web context info/title
  | /head
  | 
  | body
  | f:view
  | h:form
  | 
  | h:commandButton type=submit value=get web context info
  |  action=#{webContextInfo.testit} /
  | /h:form
  | /f:view
  | /body
  | /html

submits to following SLSB:

package org.jimfarley.gadgets;
  | 
  | import javax.ejb.Stateless;
  | import javax.faces.context.FacesContext;
  | 
  | import org.apache.log4j.Logger;
  | import org.jboss.seam.annotations.Name;
  | 
  | @Stateless
  | @Name(webContextInfo)
  | public class WebContextInfoBean implements IWebContextInfoBean {
  | 
  | Logger log = Logger.getLogger(this.getClass());
  | 
  | public void testit() {
  | 
  | String contextPath = 
FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath();
  | 
  | log.debug(contextPath =  + contextPath);
  | 
  | String viewId = 
FacesContext.getCurrentInstance().getViewRoot().getViewId();
  | 
  | log.debug(viewId =  + viewId);
  | }
  | }

getting following stack trace:

2007-08-28 00:18:00,421 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/PracticalSeam-Intro-Seam].[Faces
 Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | javax.faces.FacesException: Error calling action method of component with 
id _idJsp0:_idJsp1
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 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.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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 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)
  | Caused by: javax.faces.el.EvaluationException: Exception while invoking 
expression #{webContextInfo.testit}
  | at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | ... 25 more
  | Caused by: javax.faces.el.PropertyNotFoundException: Base is null: 

[jboss-user] [JBoss Seam] - Re: javax.faces.el.PropertyNotFoundException: Base is null

2007-08-28 Thread asookazian
I added a commandButton to the addGadget.jsp and the associated new method to 
the SLSB and got the following:

  | 2007-08-28 00:34:42,875 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/PracticalSeam-Intro-Seam].[Faces
 Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | javax.faces.FacesException: Value binding '#{gadget.gadgetTypes}'of 
UISelectItems with component-path {Component-Path : [Class: 
javax.faces.component.UIViewRoot,ViewId: /addGadget.jsp][Class: 
javax.faces.component.html.HtmlForm,Id: _idJsp0][Class: 
javax.faces.component.html.HtmlSelectOneMenu,Id: _idJsp2][Class: 
javax.faces.component.UISelectItems,Id: _idJsp3]} does not reference an Object 
of type SelectItem, SelectItem[], Collection or Map but of type : null

something wrong with the classpath or configuration(s)?  this is project based 
on the intro-Seam example from the new Practical Jboss book...

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss installation in Vista

2007-08-28 Thread ros060
Hello,

I am trying to install JBoss AS on my laptop which is running vista. 

But everytime I extract the files to the C drive and try to run it I get the 
following error:

C:\jboss-4.2.0.GA\binrun
'findstr' is not recognized as an internal or external command,
operable program or batch file.

Would be really thankful if somebody could help me with this problem.

Thanks in advance.
ros

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

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


[jboss-user] [JBoss Portal] - Sub Page tabs in portal

2007-08-28 Thread srinivas j
Hi All,

I have portal page and sub pages, sub page tabs are coming vertically but Can I 
 show this tabs horizontally in the main tab, please help me on this how to 
make it.

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

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


[jboss-user] [JBoss Seam] - SEAM internationalization problem :(

2007-08-28 Thread alex_enache
Hi guys,

I'm having a problem with internationalization in SEAM for 2 days now. And I 
can't seem to make it right. So, I have the following files:

pmResources_ro.properties
pmResources_en.properties
pmResources_fr.properties
pmResources.properties

They are stored in:
/myapp.ear/myapp.war/WEB-INF/classes/

Here is what faces-config.xml contains about the bundle:
application
  | message-bundlepmResources/message-bundle
  | locale-config
  | default-localero/default-locale
  | supported-localero/supported-locale
  | supported-localeen/supported-locale
  | supported-localefr/supported-locale
  | /locale-config
  | /application

The components.xml part:
core:resource-bundle
  | core:bundle-names
  | valuepmResources/value  
  | /core:bundle-names
  | /core:resource-bundle

And in my page I use it with:
...
  | f:loadBundle basename=pmResources var=bundle/
  | ...
  | h:outputText value=Text=#{bundle.AboutUsText}/

Even though ro should be default, every time I load the page en is the one 
displayed. And I tried to use:
h:selectOneMenu value=#{localeSelector.language}
  | f:selectItem itemLabel=English itemValue=en/
  | f:selectItem itemLabel=Francais itemValue=fr/
  | f:selectItem itemLabel=Romana itemValue=ro/
  | /h:selectOneMenu
  | s:button action=#{localeSelector.select} value=ChangeLanguage/

From what I know, JSF searches the properties files in the following order:
pmResources_ro.properties
pmResources_ro_RO.properties
pmResources_en.properties
pmResources_en_US.properties
pmResources_fr.properties
pmResources_fr_FR.properties
pmResources.properties

Can anyone help me with this ? Thanks in advance!

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Commnication between 2 J2ee application deployed in 2 JBOSS

2007-08-28 Thread shankha
I have one J2ee unit deployed (UI - Controller) in One JBOSS server .

I have another J2ee  unit(Device Controller) deployed in different  JBOSS 
server.

I have to start the Device Controller UNIT(deployed in App server 2) from the 
UI - Controller  from 1st JBOSS app server. 

Here Start Device Controller UNIT from UI controller  menas start the RUN 
method of one of the controller classes in the DC unit - that is Start the 
Execution Thread of the DC unit[/b]


What should be the best approach to start one unit deployed in one application 
server from the UI controller deployed in different app server.

-- Previously we have standalone Java Units (running in different m/c)and we 
use the RMI  to start different unit from one controlling Java swing UI running 
in amother m/c.

-- Here different units are deployed in different JBOSS server.
and controlling  UI (use to start /stop different Units )running in amother 
JBOSS server.

What should be the best approach in this case ??

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

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


[jboss-user] [JBoss Seam] - a4j-trinidad and maven???

2007-08-28 Thread balteo
Hello,
In which maven repository can I find a4j-trinidad please?
I looked everywhere and was not able to find it.
Can anyone help please?
Thanks in advance,
Julien.

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

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


[jboss-user] [JBoss Seam] - Re: javax.faces.el.PropertyNotFoundException: Base is null

2007-08-28 Thread asookazian
ok, so I restarted JBoss 4.0.5 (BTW I'm using Seam 1.2.1.GA with this app).

I'm getting the following stack trace while it's deploying this app:

2007-08-28 00:43:33,046 DEBUG [org.jboss.seam.deployment.ComponentScanner] 
found component class: org/jimfarley/gadgets/GadgetAdminBean.class
  | 2007-08-28 00:43:33,046 DEBUG [org.jboss.seam.deployment.ComponentScanner] 
could not load class: org.jimfarley.gadgets.GadgetAdminBean
  | java.lang.ClassNotFoundException: org.jimfarley.gadgets.GadgetAdminBean
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
  | at 
org.jboss.seam.deployment.ComponentScanner.handleItem(ComponentScanner.java:59)
  | at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:139)
  | at org.jboss.seam.deployment.Scanner.scan(Scanner.java:118)
  | at 
org.jboss.seam.deployment.ComponentScanner.getClasses(ComponentScanner.java:39)
  | at 
org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:585)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:490)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | 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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 

[jboss-user] [EJB 3.0] - Help! Embedded EJB container + TestNG

2007-08-28 Thread anescu
Hello,

we're using a Seam 1.2.1 generated environment, and we are having some problmes 
with some of the tests.

More specific, I made 2 tests that use JMS queues, so then I started looking 
around how to define JMS queues for the embedded container. I found the 
tutorial http://docs.jboss.org/ejb3/embedded/embedded-tutorial/mdb-standalone/ 
that defines a queue, so I did my xml. I put the file in the 
embedded-ejb\conf folder, but then I realized that only the 
embedded-jboss-beans.xml is loaded from the folder.

So, my question is, how do I define in TestNG to also load my JMS queues? Also 
I suppose I need to load this file too: jboss-jms-beans.xml (which doesn't 
seem to load, it contains the connection factory which is not loaded).

All the JBoss tutorials acutally have a Main class that loads a list of files...
But we're using TestNG ant task, so there must be a way to configure what files 
must be loaded, right?

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

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


[jboss-user] [JBoss Portal] - Error on deployment: This portlet app is already registered

2007-08-28 Thread grininger.h
Hi, when I'm deploying my portal app I get the following error:
This portlet app is already registered
It doesn't happen all the time, but every second deployment, so I have to do a 
double redeployment every time.

Thanks for any help.

The stacktrace:


  | 10:03:26,115 DEBUG [DeploymentContext] Instantiating deployment for url 
file:/usr/local/jboss-4.2.0.GA/server/node/tmp/deploy/tmp15703mydemo.ear-contents/campusportal-exp.war/WEB-INF/layout/portal-strategies.xml
 by factory LayoutFeaturesDeploymentFactory
  | 10:03:26,115 DEBUG [DeploymentContext] Create step for deployment 
LayoutFeaturesDeployment for url 
file:/usr/local/jboss-4.2.0.GA/server/node/tmp/deploy/tmp15703mydemo.ear-contents/campusportal-exp.war/WEB-INF/layout/portal-strategies.xml
  | 10:03:26,115 DEBUG [MainDeployer] Done with create step of deploying WEB-INF
  | 10:03:26,115 DEBUG [MainDeployer] Begin deployment start 
file:/usr/local/jboss-4.2.0.GA/server/node/tmp/deploy/tmp15703mydemo.ear-contents/campusportal-exp.war/WEB-INF/
  | 10:03:26,115 DEBUG [DeploymentContext] Start step for deployment 
PortletAppDeployment for url 
file:/usr/local/jboss-4.2.0.GA/server/node/tmp/deploy/tmp15703mydemo.ear-contents/campusportal-exp.war/WEB-INF/portlet.xml
  | 10:03:26,117 DEBUG [NestedThrowable] 
org.jboss.util.NestedThrokusswable.parentTraceEnabled=true
  | 10:03:26,117 DEBUG [NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
  | 10:03:26,117 DEBUG [NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
  | 10:03:26,118 ERROR [MainDeployer] Could not start deployment: 
file:/usr/local/jboss-4.2.0.GA/server/node/tmp/deploy/tmp15703mydemo.ear-contents/campusportal-exp.war/WEB-INF/
  | org.jboss.deployment.DeploymentException: Cannot deploy portlet 
application; - nested throwable: (java.lang.IllegalArgumentException: This 
portlet app is already registered)
  | at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:157)
  | at 
org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:94)
  | at 
org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
  | at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:211)
  | at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:217)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy221.deploy(Unknown Source)
  | at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:259)
  | at 
org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
  | at 
org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:160)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
  | at $Proxy225.handleNotification(Unknown Source)
  | at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
  | at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
  | at 
org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
  | at 
org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
  | 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss installation in Vista

2007-08-28 Thread [EMAIL PROTECTED]
We haven't tried it on Vista. Obviously it's this line in bin/run.bat:

  | ...
  | rem Add -server to the JVM options, if supported
  | %JAVA% -version 21 | findstr /I hotspot  nul
  | if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
  | ...
  | 
Just change it to:

  | set JAVA_OPTS=%JAVA_OPTS% -server
  | 
and try again.

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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread grininger.h
forget to mention: I'm using JBoss 4.2.0 GA and JB Portal 2.6.0-CR3

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

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


[jboss-user] [JBoss jBPM] - bpm_orchestration2 example question

2007-08-28 Thread Arutha

Goodmorning,
I had a quick question on the execution of this process. 

As I understand it, the way it is implemented in the integrated jBPM of ESB4.2, 
the user triggers the initialisation of the process by running the 
startProcess task in the buildfile, which sends a JMS to the gateway of the 
process-starter (similar to how the process is deployed). This service creates 
and signals the deployed process once, moving the process to the 2nd node: 
Receive Order. As I understand it, the link between this node and the service 
in jboss-esb.xml is the tag Service1, executing the logic, the Groovy-script 
for each service. 

Now here's the question: how does the process step to the next node. Or, more 
precisely, what happens after the Groovy-script is executed for Service1? I do 
not understand how the remaining signals to the process take place. Is this 
done automatically?

Regards

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

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


[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive

2007-08-28 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote :  Seam 2.0CR1 is due to be released very soon now.
  | 
  | 
  | When?
  | 
  | :)

When it's done :).  But seriously, there's not that many issues remaining, the 
problem is that a bunch of last minute issues keep popping up in the release 
which is holding us up a little bit.

http://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=10071fixfor=12311435

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

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


[jboss-user] [JBoss Portal] - Re: Sub Page tabs in portal

2007-08-28 Thread srinivas j
Hi Thomas,

Thanks for Quick response

Do you have any sample selectors do display like this?

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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread grininger.h
addendum:
Upgraded to JBP 2.6.0 (GA) - same problem!



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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread [EMAIL PROTECTED]
Don't forget your web.xml in the war file if you use exploded directories

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread [EMAIL PROTECTED]
Great post, very informative and I think it will make a valuable addition to 
the wiki.  Thanks!

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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread grininger.h
Hi, what do you mean by don't forget? I'm not using exploded directories.

Im deploying the app as an EAR file which contains the WAR file. The WAR file 
has a WEB-INF/web.xml file included.
For deployment, I just overwrite the existing EAR file with the new one. 

That's where I got the deployment exception.

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

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


[jboss-user] [JBoss Seam] - Re: Class loading problem

2007-08-28 Thread [EMAIL PROTECTED]
Then you should post this on a JBoss AS forum :)

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

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


[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-28 Thread [EMAIL PROTECTED]
IIRC 

facesContext.getExternalContextI().getRequestContextPath() + / + 
facesContext.getViewRoot().getViewId();

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

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


[jboss-user] [EJB 3.0] - Is it possible to deploy EJB2 style entity beans in a EJB 3.

2007-08-28 Thread jeklund
Hi everybody,

I'm about to try a phased migration from EJB2 to EJB3. When I changed version 
to ejb-jar version=3.0 xmlns=http://java.sun.com/xml/ns/j2ee; in 
ejb-jar.xml, JBoss lists every session bean as EJB3-service, but none of the 
old entity beans show up in the debug log.

However I get a lot of 
2007-08-28 09:00:30,558 WARN  [org.jboss.injection.EJBHandler] IGNORING 
DEPENDENCY: unable to find ejb-local-ref of interface 
org.ejbca.core.ejb.ra.UserDataLocal and ejbLink of UserData in  ejb-jar.xml of 
UserAdminSession it might not be deployed yet warnings for the entity beans.

and later I get
2007-08-28 09:00:31,271 DEBUG 
[org.jboss.ejb3.stateless.StatelessDelegateWrapper] Starting failed 
jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=TableProtectSession,service=EJB3
java.lang.RuntimeException: Failed to populate ENC: 
env/ejb/TableProtectDataLocal global jndi name was null

I also noticed some
2007-08-28 09:00:17,579 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] 
Unable to retrieve orbjavax.management.InstanceNotFoundException: 
jboss:service=CorbaORB is not registered. but I'm not sure this is related..

Isn't it possible to start the migration by simple running the old code in it's 
new environment? I'm using JBoss 4.2.1.GA and Sun's Java 1.5.0_12 on Ubuntu x64.

Any help would be greatly appreciated,
Johan


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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread [EMAIL PROTECTED]
Then there is something in your application that prevents your application to 
undeploy correctly.

There was this bug:
http://jira.jboss.com/jira/browse/JBPORTAL-1648

But you are saying that you are not using exploded directories so i don't know.



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

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


[jboss-user] [JBoss Seam] - Re: a4j-trinidad and maven???

2007-08-28 Thread [EMAIL PROTECTED]
Ask on the richfaces forum

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

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


[jboss-user] [JBoss Seam] - Re: javax.faces.el.PropertyNotFoundException: Base is null

2007-08-28 Thread [EMAIL PROTECTED]
Do a complete clean on your project, build it.  Make sure you have clean JBoss 
AS install.

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

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


[jboss-user] [JBossCache] - Re: JBoss cashe Integeration with hibernate

2007-08-28 Thread AbdElrahman
hi 
thank u for your replay 
my problem is not in using jbossCache as a caching technique for hibernate , my 
problem is that i am using hibernate in a project with spring and i want  to 
use jbosscache as caching technique for the whole project objects.

can u help me ?

thank u

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

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


[jboss-user] [JBoss Seam] - Re: SEAM internationalization problem :(

2007-08-28 Thread [EMAIL PROTECTED]
Use the Seam message bundle 

h:outputText value=#{messages.aboutUsText} /

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

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


[jboss-user] [JBoss Seam] - Re: ResourceNotFoundException after Seam 2.0 upgrade

2007-08-28 Thread romaintaz
Hi,

I have currently the same problem with GradientA.

Cleaning the browser cache indeed solves the problem. However, if I restart my 
application, the exception is thrown again.

Is it a way to get rid of this exception?

Another question: What is the source of this problem?

Thanks.

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

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


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

2007-08-28 Thread [EMAIL PROTECTED]
Post the exception stack trace.

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

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


[jboss-user] [JBoss Seam] - Re: the intercept component don't work!

2007-08-28 Thread [EMAIL PROTECTED]
Use [ code ] tags

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread paradigmza
Nice

Will defiantly use this...

Great Post.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: error null pointer exception

2007-08-28 Thread Mazarj
this is the code:

/*
 * Lecteur.java
 *
 * Created on 12 octobre 2000, 17:07
 */
 
package sabswing.noyau.accesBase;

/** 
 *
 * @author  Ventrillonp
 * @version 
 */
import java.util.List; 
import java.io.PrintStream;
import java.io.IOException;
import java.io.FileReader;
import java.io.FileNotFoundException;

import java.io.InputStreamReader;
import java.io.Reader;
import java.io.InputStream;


public class Lecteur extends Object {

  protected String nomFichier;
  protected IniFileAnalyser anal;
  private PrintStream printStream = System.err;
  private List allRepertoire;
  
  /** Construire un Lecteur
  @see setNomFichier
  @see setAllRepertoire
  */
  public Lecteur() {
  this(null, null);
  }  
  /** Construire un Lecteur avec un nom de fichier specifie
  @param nomFichier : nom de fichier sans repertoire
  @see setNomFichier
  @see setAllRepertoire
  */
  public Lecteur(String nomFichier) {
this(nomFichier, null);
  }
  /** Construire un Lecteur avec un nom de fichier specifie et une liste de 
repertoires
  @param nomFichier : nom de fichier sans repertoire
  @param allRepertoire : Liste de String contenant chacune un repertoire 
relatif au package racine
  @see setNomFichier
  @see setAllRepertoire
  */
  public Lecteur(String nomFichier, List allRepertoire) {
  this.nomFichier = nomFichier;
  this.allRepertoire = allRepertoire;
  }  

  /** Obtenir le nom du fichier que l'on va lire
  @return une chaine contenant le nom du fichier (comme specifée lors du 
constructeur ou set)
  */
  public String getNomFichier() {
return(nomFichier);
  }   
  /** Positionner le nom du fichier que l'on va lire
  @param nomFichier
  */ 
  public void setNomFichier(String nomFichier) {
this.nomFichier = nomFichier;
  }  
  
  
  
  public PrintStream getPrintStream() {
return(printStream);
  }  
  public void setPrintStream(PrintStream printStream) {
this.printStream = printStream;
  }  
  /** obtenir la liste des repertoires utilise pour rechercher le fichier a lire
  un repertoire est de la forme /dir1/dir2/..., Il est relatif au 
package racine
  @return une liste de String
 */
  public List getAllRepertoire() {
  return(allRepertoire);
  }  
  /** positionner la liste des repertoires utilise pour rechercher le fichier a 
lire
  un repertoire est de la forme /dir1/dir2/...
  @param allRepertoire : liste de String
 */
  public void setAllRepertoire(List allRepertoire) {
  this.allRepertoire = allRepertoire;
  }  
  private FileReader createFileReader() throws FileNotFoundException {
  FileReader fr = null;
  FileNotFoundException fnfe = null;
  if(allRepertoire == null) { 
  fr = new FileReader(getNomFichier());
  } else {
  // essayer de trouver le fichier dans chacun des erpertoires 
de allRepertoires
  int i=0;
  while(iallRepertoire.size()  fr == null) {
  try {
fr = new 
FileReader(((String)allRepertoire.get(i))+getNomFichier());
  } catch (FileNotFoundException exc) {
  fnfe = exc;
  }
  i++;
  }
  }
  if(fr == null) {
  throw(fnfe);
  }
  return(fr);
  }  
  private InputStreamReader createStreamReader() throws FileNotFoundException {
  InputStreamReader sr = null;
  InputStream is;
  if(allRepertoire == null) {
  is = getClass().getResourceAsStream(getNomFichier());
  sr = new InputStreamReader(is);
  } else {
  // essayer de trouver le fichier dans chacun des erpertoires 
de allRepertoires
  int i=0;
  while(iallRepertoire.size()  sr == null) {
is = 
getClass().getResourceAsStream(((String)allRepertoire.get(i))+getNomFichier());
if(is != null) {
sr = new InputStreamReader(is);
}
i++;
  }
  }
  if(sr == null) {
  throw(new FileNotFoundException(getNomFichier()));
  }
  return(sr);
  }
  public Reader createReader() throws FileNotFoundException {
  return(createStreamReader());
  }
  
  protected void skipSection() throws IOException {
int typeLigne = anal.readLine();
while(typeLigne == IniFileAnalyser.LINE_TYPE_PROPERTY){  
  typeLigne = anal.readLine();
}
  }  
  

[jboss-user] [JBoss Seam] - Re: richfaces3.0.1 is not fit for seam?

2007-08-28 Thread [EMAIL PROTECTED]
You've got the wrong prefix for dragndrop support.  RTM.

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

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


[jboss-user] [JBoss Seam] - Re: Handling all exception with one action?

2007-08-28 Thread mnrz
any idea? :)

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

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


[jboss-user] [JBoss Seam] - Re: SEAM internationalization problem :(

2007-08-28 Thread alex_enache
Hi there Pete,

and thanks for your reply. I've tried that just now. It still loads the en 
bundle before the ro one. But I tried the following thing: I've removed the 
en locale from faces-config.xml. And now, if I set fr or ro as the 
default locale, it seems to load it as it should. Maybe this is a bug regarding 
the en supported locale ?

Thanks again for your reply Pete, and if anyone has had this problem, and found 
a solution, please post it here again(or a link to the solution).

Regards,
Alex Enache

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

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


[jboss-user] [JCA/JBoss] - Problem creating service jboss.jca:service=ConnectionFactory

2007-08-28 Thread jamesjmp
hello,
starting JBoss 4.0.5 I have the following error:
10:45:49,640 WARN [ServiceController] Problem creating service 
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file 
org/apache/xalan/templates/ElemExsltFunction

¿any idea? thanks in advance!

This is the complete log until the error appears:

10:45:42,546 INFO [Server] Starting JBoss (MX MicroKernel)...
10:45:42,546 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
10:45:42,546 INFO [Server] Home Dir: C:\jboss-4.0.4.GA
10:45:42,546 INFO [Server] Home URL: file:/C:/jboss-4.0.4.GA/
10:45:42,546 INFO [Server] Patch URL: null
10:45:42,546 INFO [Server] Server Name: default
10:45:42,546 INFO [Server] Server Home Dir: C:\jboss-4.0.4.GA\server\default
10:45:42,546 INFO [Server] Server Home URL: 
file:/C:/jboss-4.0.4.GA/server/default/
10:45:42,640 INFO [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\default\log
10:45:42,640 INFO [Server] Server Temp Dir: C:\jboss-4.0.4.GA\server\default\tmp
10:45:42,640 INFO [Server] Root Deployment Filename: jboss-service.xml
10:45:43,015 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
10:45:43,015 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_11-b03,Sun Microsystems Inc.
10:45:43,015 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:45:43,500 INFO [Server] Core system initialized
10:45:45,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
10:45:47,093 INFO [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://192.168.9.112:3873/]
10:45:47,609 INFO [AspectDeployer] Deployed AOP: 
file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml
10:45:49,296 INFO [WebService] Using RMI server codebase: http://JAIME-JMP:8083/
10:45:49,640 WARN [ServiceController] Problem creating service 
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file 
org/apache/xalan/templates/ElemExsltFunction
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.xalan.processor.XSLTSchema.class$(XSLTSchema.java:326)
at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:566)
at org.apache.xalan.processor.XSLTSchema.(XSLTSchema.java:70)
at org.apache.xalan.processor.StylesheetHandler.(StylesheetHandler.java:1287)
at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(TransformerFactoryImpl.java:374)
at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
at org.jboss.deployment.XSLSubDeployer.createService(XSLSubDeployer.java:141)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.create(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
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 

[jboss-user] [JBoss Seam] - Re: ResourceNotFoundException after Seam 2.0 upgrade

2007-08-28 Thread romaintaz
I just redeployed entirely my application on my Tomcat server, and the error 
disappeared!
My problem is solved.

However, if you have any idea why this exception occurs, I am interested!

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

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


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

2007-08-28 Thread [EMAIL PROTECTED]
Sorry pete.. its a bit short:


  | 21:35:09,843 INFO  [MailSession] Creating JavaMail Session 
(smtp.gmail.com:465)
  | 21:35:09,843 INFO  [MailSession] connected to mail server
  | 21:35:15,437 INFO  [UserDetailsControllerImpl] Email sending failed: 
javax.faces.FacesException: Exception reading response
  | 21:35:15,687 INFO  [UserDetailsControllerImpl]  destory
  | 21:35:15,703 INFO  [UserDetailsControllerImpl]  destory
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Can't validate inputsecret with Ajax and hibernate valid

2007-08-28 Thread franck93
Thank you !
it does work with this attribute

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

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


[jboss-user] [JBoss Seam] - Re: ResourceNotFoundException after Seam 2.0 upgrade

2007-08-28 Thread romaintaz
Ok, sorry to post again, but in fact my problem is still NOT solved.

Clean Tomcat and redeploying my webapp only solved this problem temporary. The 
first time I use my application, everything is good, but if I restart Tomcat, 
the exception is thrown again...


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

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


[jboss-user] [EJB 3.0] - Re: Backing beans

2007-08-28 Thread zhamdi
Hi Raskri,

Your post was really useful for me, I found it as the second link in my first 
googling attemp (jboss backing beans admin)  ;-). 

I'd like to know why JBoss doesn't supply a richer admin interface: there's no 
way to see which JNDI path was applied to a resource, I still didn't find where 
to look in the jmx or web console to see the deployed Backing beans, there's a 
node for the war but (it shows only the servlets) no node for the ejb jars... 
The onfo is really exploded :-/

Does someone maybe know about another independent admin console developed to 
fill these blanks?...

Regards,
Zied Hamdi



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem creating service jboss.jca:service

2007-08-28 Thread jamesjmp
hello,
starting JBoss 4.0.5 I have the following error:
10:45:49,640 WARN  [ServiceController] Problem creating service 
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file 
org/apache/xalan/templates/ElemExsltFunction

¿any idea? thanks in advance!

This is the complete log until the error appears:

10:45:42,546 INFO  [Server] Starting JBoss (MX MicroKernel)...
10:45:42,546 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
10:45:42,546 INFO  [Server] Home Dir: C:\jboss-4.0.4.GA
10:45:42,546 INFO  [Server] Home URL: file:/C:/jboss-4.0.4.GA/
10:45:42,546 INFO  [Server] Patch URL: null
10:45:42,546 INFO  [Server] Server Name: default
10:45:42,546 INFO  [Server] Server Home Dir: C:\jboss-4.0.4.GA\server\default
10:45:42,546 INFO  [Server] Server Home URL: 
file:/C:/jboss-4.0.4.GA/server/default/
10:45:42,640 INFO  [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\default\log
10:45:42,640 INFO  [Server] Server Temp Dir: 
C:\jboss-4.0.4.GA\server\default\tmp
10:45:42,640 INFO  [Server] Root Deployment Filename: jboss-service.xml
10:45:43,015 INFO  [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
10:45:43,015 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_11-b03,Sun Microsystems Inc.
10:45:43,015 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
10:45:43,500 INFO  [Server] Core system initialized
10:45:45,734 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
10:45:47,093 INFO  [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://192.168.9.112:3873/]
10:45:47,609 INFO  [AspectDeployer] Deployed AOP: 
file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml
10:45:49,296 INFO  [WebService] Using RMI server codebase: 
http://JAIME-JMP:8083/
10:45:49,640 WARN  [ServiceController] Problem creating service 
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file 
org/apache/xalan/templates/ElemExsltFunction
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.xalan.processor.XSLTSchema.class$(XSLTSchema.java:326)
at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:566)
at org.apache.xalan.processor.XSLTSchema.(XSLTSchema.java:70)
at 
org.apache.xalan.processor.StylesheetHandler.(StylesheetHandler.java:1287)
at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(TransformerFactoryImpl.java:374)
at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
at 
org.jboss.deployment.XSLSubDeployer.createService(XSLSubDeployer.java:141)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.create(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at 

[jboss-user] [JBoss Seam] - ajax4jsf:commandButton page flow action rerender

2007-08-28 Thread tjakopec
I post this problem od Ajax4jfs and ricfaces forums and have no answer. Promlem 
is linked with pageflow functionality so I posted here

original post
 http://www.jboss.com/index.html?module=bbop=viewtopict=116940

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - hot deployment issue with Axis

2007-08-28 Thread jimmymani
Hi
i am getting some exception if I run my axis client from Jboss after hot 
deplyment.

service = new Service(WsdlUtil.retrieveWsdlInputStream(wsdlUrl),
  WsdlUtil.getServiceQName( wsdl ));



2007-08-28 04:15:10,655 INFO  [org.apache.catalina.loader.WebappClassLoader] 
Illegal access: this web application instance has been stopped already.  Could 
not load META-INF/services/org.apache.axis.EngineConfigurationFactory.  The 
eventual following stack trace is caused by an error thrown for debugging 
purposes as well as to attempt to terminate the thread which caused the illegal 
access, and has no functional impact.
2007-08-28 04:15:10,657 INFO  [STDOUT] [WARN ] DiscoverResources - 
-getNextResources: Ignoring Exception java.io.IOException: Invalid use of 
destroyed classloader, UCL destroyed at:
2007-08-28 04:15:10,658 ERROR [STDERR] java.io.IOException: Invalid use of 
destroyed classloader, UCL destroyed at:
2007-08-28 04:15:10,661 ERROR [STDERR]  at 
org.jboss.mx.loading.RepositoryClassLoader.findResources(RepositoryClassLoader.java:585)
2007-08-28 04:15:10,661 ERROR [STDERR]  at 
java.lang.ClassLoader.getResources(ClassLoader.java:1015)
2007-08-28 04:15:10,662 ERROR [STDERR]  at 
java.lang.ClassLoader.getResources(ClassLoader.java:1011)
2007-08-28 04:15:10,663 ERROR [STDERR]  at 
java.lang.ClassLoader.getResources(ClassLoader.java:1011)
2


am i missing some configuraion in Jboss.
i am using ejb3 and Jboss-4.0.5GA

please help me in solving this issue
jimmy

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

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


[jboss-user] [JBoss Seam] - Re: ResourceNotFoundException after Seam 2.0 upgrade

2007-08-28 Thread [EMAIL PROTECTED]
Not a problem with Seam, ask on Richfaces forum

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

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


[jboss-user] [Management, JMX/JBoss] - gets stuck configuting log4j.xml

2007-08-28 Thread aie0
After I add following lines in log4j.xml:


  | appender name=SECURIRTYLOG
  | class=org.apache.log4j.FileAppender
  |param name=File value=${jboss.home}/log/security.log/  
  |param name=Append value=false/ 
  |layout class=org.apache.log4j.PatternLayout  
  |param name=ConversionPattern value=%d %-5p [%c] %m%n/  
  |/layout 
  |/appender 
  |category name=org.jboss.security  
  |priority value=TRACE class=org.jboss.logging.XLevel/  
  |appender-ref ref=SECURIRTYLOG/  
  |/category
  | 
and starting JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)

it gets stuck on the following line:

12:52:30,203 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss on JDK to use JSR199

2007-08-28 Thread Marco.Pehla
Hello everybody,


I need to compile generated Java source code on JBoss inside of a EJB3.  I 
already migrated the JSR 199 compiler API of Java 7 to libraries that can be 
used in ordinary Java 5 standalone applications. The JSR 199 Java Compiler API 
works pretty well and does not need any access to the underlying file system. 
This is everything I need. But JBoss is running on a JRE, only Tomcat use the 
JDK.


  | JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
  | 

This is the reason why the compiler object in the code above is null. 


How can I run JBoss on a JDK. I couldn't be so difficult, or am I wrong?


Thank you in advance,
Marco

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem creating service jboss.jca:service

2007-08-28 Thread jamesjmp
hello,
I´ve found the solution I was looking for. I had removed the ds.xml file from 
my deploy directory. In that file was defined the datasource that 
jboss.jca:service=DataSourceBinding was expecting. After restarting with this 
file all have worked out succesfully.
regards!

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

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0: Why does @Datamodel require a setter?

2007-08-28 Thread [EMAIL PROTECTED]
anonymous wrote :  @DataModel is like @Out with additional logic to convert 
the data from one type to another (e.g. List - DataModel). However it has an 
additional bit (reinjecting the value when using PAGE scope) - that which we 
are discussing.

Add this explanation and the discussion result to the docs, please.


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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0: Why does @Datamodel require a setter?

2007-08-28 Thread [EMAIL PROTECTED]
So that when you do:

@Name(eventLister)
  | public class EventListerAction {
  |
  | @DataModel(value=eventList, scope=ScopeType.PAGE)
  | private ListInteger eventList;
  | 
  | @DataModelSelection(eventList)
  | private Integer selectedEvent;
  | 
  | @Factory(eventList)
  | public void initRequestList() {
  |   ...
  | }
  | 
  | public void selectEvent() {
  |log.info(selectedEvent);
  | }
  |
  | }

That eventList isn't null (it would be unless we did this set).  This seems 
like a reasonable assumption to me (and anyway we can't change this behaviour 
now!). This is the relevant commit:

http://fisheye.jboss.com/browse/JBoss/jboss-seam/src/main/org/jboss/seam/Component.java?r=1.93#l734

anonymous wrote : I always thought that @DataModel works pretty much like 
@Factory: Once a datamodel is created it becomes a completly independent, 
fist-class component. The difference is of course that @Factory is called 
automatically and @DataModel is only used if the annotated bean is called.

@DataModel is like @Out with additional logic to convert the data from one 
type to another (e.g. List - DataModel).  However it has an additional bit 
(reinjecting the value when using PAGE scope) - that which we are discussing.

I've committed a fix to CVS, let me know how it works out.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss on JDK to use JSR199

2007-08-28 Thread [EMAIL PROTECTED]
Why not point JAVA_HOME to a jdk ?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem with Datasource deploying within cluster

2007-08-28 Thread rodiere
Hi,
we build an application (EAR) and we deployed in standalone mode without any 
problem (Jboss 4).

If we try to deploy this application in a cluster mode, we've got the following 
exception :

DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name 
[java:OracleDS]
INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] 
Destroying singletons in 
{org.springframework.beans.factory.support.DefaultListableBeanFactory defining 
beans [xx]
ERROR [org.springframework.web.context.ContextLoader] Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'alertServices' defined in ServletContext resource 
[/WEB-INF/ejbContext.xml]: 
javax.naming.NameNotFoundException: OracleDS 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.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:91)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
at 
org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
at 
org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)


Does anynone can help us ?

Thanks,

Stephane

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

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


[jboss-user] [JCA/JBoss] - Re: Problem creating service jboss.jca:service=ConnectionFac

2007-08-28 Thread jamesjmp
hello,
I´ve found the solution I was looking for. I had removed the ds.xml file from 
my deploy directory. In that file was defined the datasource that 
jboss.jca:service=DataSourceBinding was expecting. After restarting with this 
file all have worked out succesfully.
regards!

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Timer Service not started for singleton deployments (4.0.5.G

2007-08-28 Thread lkowalczyk
I installed an ejb3-clustered configuration of JBoss 4.0.5 and deployed an 
application in all/deploy-hasingleton.  Upon deployment of a single session 
bean contained in the application I get an exception (snippet of server.log 
below):

anonymous wrote : 2007-08-28 12:24:08,640 INFO  [org.jboss.ejb3.EJBContainer] 
STARTED EJB: pl.zprsa.haos.admin.customs.EditCustomsAction ejbName: 
EditCustomsAction
  | 2007-08-28 12:24:08,656 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] 
createTimerService: [EMAIL PROTECTED]
  | 2007-08-28 12:24:08,671 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] 
removeTimerService: [EMAIL PROTECTED]
  | 2007-08-28 12:24:08,671 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] 
Starting failed 
jboss.j2ee:ear=Haos.ear,jar=Admin-ejb.jar,name=EditCustomsAction,service=EJB3
  | java.lang.NullPointerException
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:164)
  | 

This exception is repeated for every other session bean.  

Line 164 of DatabasePersistencePolicy is 

anonymous wrote : list.addAll(dbpPlugin.selectTimers(containerId));

Obviously, dbpPlugin is null (list is instantiated beforehand in the same 
method).  I debugged the problem and made sure that 
DatabasePersistencePolicy.startService() is never called before the call to 
listTimerHandles().

How do I get around this problem for singleton deployments?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss on JDK to use JSR199

2007-08-28 Thread Marco.Pehla
JAVA_HOME points to my JDK. When I type in SET in the console it shows:

  | JAVA_HOME=C:\Programme\Java\jdk1.5.0_12
  | 
But this is not the point. As far as I know does JBoss not really need a JDK to 
run. The JRE is absolute sufficient if everything is compiled, as I read in 
some other posts. The Java compiler is only necessary for Tomcat in order to 
compile JSP's. 

I could send you the two migrated JSR199 libraries. If you have time, you could 
try them in standalone applications and then e.g. in a EJB3 on JBoss. 

I guess that only JBoss need to use the tools.jar library. (I know that 
tools.jar is in the classpath and inside is the Java compiler. This is 
specified in the run.bat file.)



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

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


[jboss-user] [JBoss Seam] - LIE with SMPC in ICEFaces tab navigation

2007-08-28 Thread nickarls
Already posted this on the ICEFaces Seam integration forum but no-one has 
answered it in almost 10 minutes so ;-) (and there are probably some ICE-users 
here too...)

I have a standard SMPC and load an Order, I can see the order and the 
entityManager in the long-running conversation scope but when I navigate a 
tab and some lazy loading on the order is triggered, the LIE bites me. 

The application hangs (ICEFaces feature?) and when I press F5, I get to the 
debug page, but with a conversation id that doesn't have the order or the 
entitymanager in the conversation.

Is there any black magic that has to be applied when navigating ICEFaces tabs 
so that the conversation is propagated?

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

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


[jboss-user] [JBossWS] - WIKI down

2007-08-28 Thread [EMAIL PROTECTED]
The WIKI is currently unvailable. However i put the documentation online that 
was compiled from WIKI contents. It can accessed here:

http://labs.jboss.com/jbossws/docs/index.html

Sorry, for the inconvinience.
I'll keep you posted once the WIKI is back online. Please refer to the static 
contents in the meantime.

Heiko 

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

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


[jboss-user] [JBoss jBPM] - Re: how to create WEB-INF directory?

2007-08-28 Thread praveenngowda
no i am not looking for that ..
wheni deploy a prcess a WEB-INF directory ll be created by itself but it is not 
happening in my case and now the process is not deploying means when i 
open http://localhost:8080/jbpm  it is not showing the deployed process


Thank you.

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

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


[jboss-user] [JBoss Portal] - Re: .. edit userprofile // profile-config.xml

2007-08-28 Thread Antoine_h

Look at the Identity JMX services.
They are the services for manipulating Users, Roles and the User Profile.
(no beans... beans are there for initialization, then they are used through JMX 
services).

The main class is : org.jboss.portal.identity.IdentityContext
from there, you can see the 4 services for identity.
Look at the jboss-service.xml for the description of the service.

In the UserPortlet.java, you can find an example of how to create/modify a User 
and it's profile data.


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

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


[jboss-user] [EJB 3.0] - Stateless Session Bean - java.lang.reflect.UndeclaredThrowab

2007-08-28 Thread ramarao_1234
Hi ,
When i am accessing a stateless session bean methods in a servlet 
i am able to access some methods without any problem. But some methods are 
throwing the following error. 
I am not able to find oput why it is hapening with only some methods.


The error is as follows:


 java.lang.reflect.UndeclaredThrowableException
2007-08-28 16:21:31,765 ERROR STDERR  - at 
$Proxy458.getUserResource(Unknown Source)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
com.ecc.login.servlets.HomePage.login(HomePage.java:569)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
com.ecc.login.servlets.HomePage.doPost(HomePage.java:131)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
java.lang.Thread.run(Thread.java:595)
2007-08-28 16:21:31,765 ERROR STDERR  - Caused by: java.io.IOException
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:94)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:70)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-08-28 16:21:31,765 ERROR STDERR  - at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)

[jboss-user] [JBoss Seam] - Re: Datmodel(Selection with facelets) does not work

2007-08-28 Thread [EMAIL PROTECTED]
Which version of Seam?

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

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


[jboss-user] [JBoss Portal] - Re: jboss portal listening only on localhost 8080

2007-08-28 Thread Antoine_h
I would look at the Weather portlet and how it works :
 - in the preferences : is there any configuration for proxy 
 - in the code : see if there is a proxy capability (ie how it call the distant 
service)

if you add it, you can contribute by providing the new code...

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

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


[jboss-user] [JBossWS] - Re: New Wiki site for JBossWS is down or not working since f

2007-08-28 Thread palin
http://www.jboss.org/index.html?module=bbop=viewtopict=117230

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

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


[jboss-user] [EJB 3.0] - Re: Is it possible to deploy EJB2 style entity beans in a EJ

2007-08-28 Thread jeklund
I guess http://www.jboss.com/index.html?module=bbop=viewtopict=72369 answers 
my question (if it still is valid).

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

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


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

2007-08-28 Thread [EMAIL PROTECTED]
Ok, post your UserDetailsControllerImpl (make sure you aren't catching and 
logging the exception message here, I think you are), and turn on Seam mail 
debugging in components.xml

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

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


[jboss-user] [JBoss Seam] - Re: Email and Doco

2007-08-28 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-1876

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

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


[jboss-user] [JBoss Portal] - Re: Error on deployment: This portlet app is already registe

2007-08-28 Thread grininger.h
I will try 2.6.2 as soon it's available. 

Maybe it's important to know that I'm using the HA variant of JBP? Of 
course it could be something in the app, but it's strange that after two 
redeploys everything works fine ... oh well

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

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


[jboss-user] [JBoss Seam] - Re: Add versions to seam2 tags?

2007-08-28 Thread [EMAIL PROTECTED]
You've got some weird packaging/stale jar situation going on there.  Make sure 
you have classloading isolation correct, and that you have no stale jars lying 
around in your deployed project.

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

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


[jboss-user] [JBoss Seam] - Datmodel(Selection with facelets) does not work

2007-08-28 Thread baz
Hello,
today i have a question about DataModelSelection. I have not found an answer 
for this for more than one year. But now a solution will be greatly appreciated.
This is the starting point: (all code is simplified)
i do have a fully functinal page in my app:

  | [...]
  | rich:dataTable id=experimentSiteList 
var=experimentSitevalue=#{experimentSiteList}
  | 
  | rich:column
  | h:outputText size=5 id=year 
value=#{experimentSite.experiment.year}/h:outputText
  | /rich:column
  | [...]
  | rich:column
  | s:link id=viewFieldplan 
value=Fieldplan
  | 
action=#{htmlFieldplanBacking.showFieldplan}
  | propagation=begin 
target=Fieldplan
  | f:param name=experimentid
  | 
value=#{experimentSite.experiment.experimentId} /
  | /s:link
  | /rich:column
  | /rich:dataTable
  | 
and the backing contains the datamodel 
@DataModel
  | private ListExperimentSite experimentSiteList;
  | 
  | @DataModelSelection
  | @Out(required=false)
  | private ExperimentSite selectedExperimentSite;
  | 
  | @Factory(experimentSiteList)
  | public void getExperimentSitesByUser() {
  | experimentSiteList = experimentQuery.getResultList();
  | }   
  | 
  | 
The experimentSites are shown and when clicking on the link the 
selectedExperimentSite is set.

The problem is:
We do need more than one of this kind of page, but with different kind of 
actions.

So the not working solution would be to use facelets:
[This refactored xhtml page does not work]

  | ui:component
  | rich:dataTable id=experimentSiteList 
var=experimentSitevalue=#{list}
  | 
  | rich:column
  | h:outputText size=5 id=year 
value=#{list}/h:outputText
  | /rich:column
  | [...]
  | rich:column
  | ui:insert 
name=actions/
  | /rich:column
  | /rich:dataTable
  | /ui:component
  | 
The calling page:

  | []
  | ui:decorate template=myTemplate.xhtml
  |   ui:param name=list value=experimentSiteList/
  |   ui:define name=actions
  | s:link id=viewFieldplan 
value=Fieldplan
  | 
action=#{htmlFieldplanBacking.showFieldplan}
  | propagation=begin 
target=Fieldplan
  | f:param name=experimentid
  | 
value=#{experimentSite.experiment.experimentId} /
  | /s:link
  |   /ui:define
  | /ui:decorate
  | []
  | 
The List of ExperimentSites are rendered as expected. But when clicking on a 
link the DataModelSelection selectedExperimentSite is null. Why?
Any insight is greatly welcomed.

Or, if you have a working solution, please share it with us. Thanks.
Ciao,
Carsten

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

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


[jboss-user] [JBoss Seam] - messageformat error blows up (JBSEAM-1859)

2007-08-28 Thread atao
When an EL expression is not closed by a brace, an error is thrown.

It would be better to show the wrong expression as it is:
1/ it's already the way of doing the thing, see in InterpolatorTest the 
existing case of

// test that a messageformat error doesn't blow up
Assert.assertEquals({nosuchmessage}, 
interpolator.interpolate({nosuchmessage}));
 
2/ atm when an EL expression is not closed by a brace, the trace doesn't give a 
clear clue of what is wrong (see trace below). I wasted too much time with such 
an error.

With the wrong expression shown in place of the expected result, it'd be 
straightforward.

In any case I suggest to check that the end bracket is present and at least to 
throw a exception with a specific message.


Error in Authenticator:


  | public boolean authenticate() {
  | try {
  | User user = (User) entityManager
  | .createQuery(
  | from User where 
username = :username and password = :password)
  | .setParameter(username, 
identity.getUsername())
  | .setParameter(password, 
identity.getPassword())
  | .getSingleResult();
  | 
  | if (user.getRoles() != null) {
  | for (UserRole mr : user.getRoles())
  | 
Identity.instance().addRole(mr.getName());
  | }
  | return true;
  | } catch (NoResultException ex) {
  | FacesMessages.instance().add(
  | 
#{messages['entity.user.login.invalid']);
  | return false;
  | }
  | }
  | 
  | 

and the trace (only the first occurence, as it starts a loop):
anonymous wrote : 
  | 13:47:43,500 INFO  [STDOUT] Hibernate: select user0_.username as 
username11_, user0_.name as name11_, user0_.password as password11_, 
user0_.currentBranch as currentB4_11_ from User user0_ where user0_.username=? 
and user0_.password=?
  | 13:47:43,531 ERROR [SeamPhaseListener] uncaught exception
  | java.util.NoSuchElementException
  | at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
  | at 
org.jboss.seam.core.Interpolator.interpolateExpressions(Interpolator.java:94)
  | at org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:66)
  | at 
org.jboss.seam.faces.FacesMessages.createFacesMessage(FacesMessages.java:371)
  | at 
org.jboss.seam.faces.FacesMessages.createFacesMessage(FacesMessages.java:379)
  | at org.jboss.seam.faces.FacesMessages$1.run(FacesMessages.java:425)
  | at org.jboss.seam.faces.FacesMessages.runTasks(FacesMessages.java:156)
  | at org.jboss.seam.faces.FacesMessages.afterPhase(FacesMessages.java:166)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:224)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:82)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
  | at 

[jboss-user] [JBoss Seam] - Re: Seam 2.0: Why does @Datamodel require a setter?

2007-08-28 Thread fhh
I think I am finally getting you. IMHO it is acceptable that the backing list 
would be null during the second call but than null would be outjected again and 
the dataModel removed from its scope after the call which is probably a bit 
confusing :-).

But if this is correct doesn't this problem apply to any case where the scope 
of the datamodel is longer than that of the action bean outjecting it? The same 
could happen with  a stateless action bean and a conversation scoped datamodel.

Regards

Felix

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

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


[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2007-08-28 Thread dleerob
Thanks for the updated guide. It really did help with 3.2.1. Made life a lot 
easier...

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

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


[jboss-user] [JBoss Seam] - Re: Datmodel(Selection with facelets) does not work

2007-08-28 Thread baz
Sorry Pete i forgot:
Seam 2.0.0Beta original libs except  Seam-ui which is  self compiled approx 
2007-07-11 (due to an problem with fileupload)

Richfaces 3.1.0 RC3

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

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


[jboss-user] [JBoss Seam] - Add versions to seam2 tags?

2007-08-28 Thread paradigmza
Hi,

I deployed a Seam 2 Beta app to Jboss that was running a Seam 1 App.

I get an error while using the seam2beta app that the decorate tag cannot be 
found

anonymous wrote : com.sun.facelets.tag.TagException: /login.xhtml @22,53 
s:decorate Tag Library supports namespace: 
http://jboss.com/products/seam/taglib, but no tag was defined for name: decorate
  | at 
com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)
  | at 
com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:194)
  | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
  | at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
  | at javax.xml.parsers.SAXParser.parse(Unknown Source)
  | at javax.xml.parsers.SAXParser.parse(Unknown Source)
  | at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:232)
  | at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
  | at 
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:496)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)

I can fix this error by deploying the Seam2Beta app to Jboss then the seam1 app.

I am not sure if this behavior is expected? Must I create a Jira? or is this a 
bug with JBoss?  (both apps are deployed as ear files)

Regards,
Sean.

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

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


[jboss-user] [EJB 3.0] - Re: Stateless Session Bean - java.lang.reflect.UndeclaredThr

2007-08-28 Thread wolfc
You're trying to force an object over the line which has a reference to an 
org.apache.log4j.Logger instance, which is not serializable.

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

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


[jboss-user] [JBoss Seam] - JMS Subscription in Seam component

2007-08-28 Thread dkane
Dear colleagues, 

I know that Seam Remoting allows to subscribe to JMS topic in Javascript code 
of the web-page. 
But for my task, it would be better to subscribe from within the back-end Java 
class of Seam component. 

Question 1 : is it good practice at all ?
 
Question 2 : JMS message will affect some fields of the component . What is the 
best way to refresh mapped controls in web-page - AJAX timer , etc ? 

Thank you. 

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

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


[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released

2007-08-28 Thread palin
bernhard_pauler wrote : I tried to deploy jbossws-native-2.0.1.GA on 
jboss-4.0.5.GA but failed:
  | 
  | BUILD FAILED
  |   | C:\temp0\jbossws-native-2.0.1.GA\build\build-deploy.xml:79: The 
following error occurred while executing this line:
  |   | C:\temp0\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:298: 
Warning: Could not find file 
C:\jboss-4.0.5.GA\server\default\deploy\jbossws.sar\META-INF\jboss-service-no-ejb3.xml
 to copy.
  | 
  | Deployment on jboss-4.2.1.GA was successful.

On jira you'll find an issue for this and a workaround to be used with jbws 
2.0.1.GA.
http://jira.jboss.com/jira/browse/JBWS-1796 


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

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


[jboss-user] [Beginners Corner] - Re: Deployment out of deploy folder

2007-08-28 Thread [EMAIL PROTECTED]
Hello,

awesome!! Thanks for your quick help.

Jasmine. 

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-28 Thread hispeedsurfer
Hi,

it's important for me. Is it possible to maintain quartz scheduled job after 
server restart anf if the answer is 'yes' please tell tell me what I have to 
do!!!


Thanks
Andreas 

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread mgrouch
Thanks.

One more suggestion for General UI Design Tips

Prevent user from double submissions by using one of common solutions...



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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread [EMAIL PROTECTED]
You can, just hit Edit this page' on the 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam page

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

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


[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications

2007-08-28 Thread mgrouch
Use 64-bit OS with 64-it JVM is a good one.

http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming

Can we someone add link to this thread from Seam WIKI or make this
thread sticky?

Thanks


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

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


[jboss-user] [EJB 3.0] - Re: Stateless Session Bean - java.lang.reflect.UndeclaredThr

2007-08-28 Thread ramarao_1234
Hi,
Thanks for the early response.
I am giving part of my code where the error is coming. Could you suggest me 
where may be error.


Method in the Bean:


public TabFactory getTabList(String corporateId) throws EccException {
Connection conn = null; 
TabFactory tabFactory = null;
logger = EkaLogger.getLogger(this.getClass().getName());
try {
logger.debug(came to tab list);
conn = DbConnection.getConnection(true);
tabFactory = new TabFactory(conn);
tabFactory.initialize(corporateId);
logger.debug(Successfully complted tablist initialization);
}catch(Exception ex) {
logger.debug(Exception in EccLoginBean - getTabList);
throw new EccException(ex.getMessage(),2,ex);
}finally{
try {
if(conn != null) {
if(rs != null) 
rs.close();
conn.close();
logger.debug(Closed connection in 
EccLoginBean TabList);
}
} catch (Exception e) {
logger.debug(Exception in EccLoginBean - 
getTabList-2);
throw new EccException(e.getMessage(),2,e);
}
}
logger.debug(Tabfactory is +tabFactory);
return tabFactory;
}



Calling part from servlet:

TabFactory tabFactory = eccLogin.getTabList(strCorporateId);




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

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


[jboss-user] [JBoss Seam] - Message after log out

2007-08-28 Thread kgalligan
Is there an easy way to add a message after a user logs out?  Logout is handled 
with 'Identity.instance().logout()'.  I'd like to have some type of a message 
on certain logout events.  Specifically for this one, if the same user logs in 
somewhere else, we log the previous instance out and i want to put something 
like, You have been logged out because (whatever).

I tried just adding it to the FacesMessages, but that gets dumped with the 
session.  Any thoughts?

Thanks in advance,
-Kevin

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

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


  1   2   3   >