[jboss-user] [JBoss Messaging] - How to migrate to JBossAS 5.0.0beta3 ?

2007-12-21 Thread Juergen.Zimmermann
The release notes of JBossAS 5.0.0beta3 are saying:
anonymous wrote : jboss-service.xml - legacy static mbeans for compatibility

In my app I have a SAR archive containing META-INF/jboss-service.xml. How do I 
migrate resp. replace this contents?

  | 
  | 
  | 
  | jboss.mq:service=DestinationManager
  | 
  | 
  | 
  | 
  | jboss.mq:service=DestinationManager
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115156
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - JBoss Cache with Weblogic 9.2 Cluster

2007-12-21 Thread gerinjacob
Hi all,
I am facing problem with JBoss caching when used in Weblogic 9.2 clustered 
environment.
I have created a cluster in Weblogic Server, under which I have 2 managed 
servers. The setup is done in a single machine.
I congifured JBoss xml for caching and deployed my application.
But I am getting the following error.
 <> <> <> <1198306689420> 
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | org.jboss.cache.BatchModeTransactionManagerLookup
  | 
  | REPEATABLE_READ
  | 
  | REPL_ASYNC
  | 
  | eOrder_Cls
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 2
  | 
  | 2
  | 
  | 15000
  | 
  | 
  | 
  | 
  | 
  |
  |   5
  |   
  |   
  |   5000
  |   1000
  |   
  |   
  |   5000
  |   1000
  |   
  |   
  |   5
  |   4
  |   
  |
  | 
  |
  | false
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Changing .seam extension

2007-12-21 Thread nuclaves
Will simply editing the servlet mappings in web.xml do?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115152
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Changing .seam extension

2007-12-21 Thread nuclaves
Hello,
How would I go about using an extension other than .seam in a seam application? 
Is it possible to set the extension for a specific page?

I'm asking because I need to migrate an application to seam but I don't want to 
update the urls that existing clients call.
Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115151
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Destruction/cleanup of temporary queues

2007-12-21 Thread paduffy
I seem to have a few temporary queues hanging around within my broker after the 
client app exits.  

- what sequence of JMS calls will cause the temp Q to be destroyed?

- In the event of abnormal client exit, is there some way in which the temp Qs 
can be auto cleaned up by the broker?

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115146
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustered Connection Factories

2007-12-21 Thread paduffy
Similar question.  My application structure is as follows:

- Several dozen clients issue requests into a well know Q in AS instance 
CENTRAL (basically a message router).

- MDB in CENTRAL performs routing based on message properties. Request is then 
placed on topic maintained in AS instance CENTRAL.

- Several hundred (geo distributed) AS instance EDGE each have MDB listening to 
the remote topic maintained in CENTRAL.   They decide to accept a messsage via 
the selector they apply to the remote topic.

The idea is that internal messaging in EDGE must continue to function when 
CENTRAL is down.  Thus the broker in CENTRAL performing the routing function, 
and the independent brokers in each EDGE.

So my question is what is the recommended strategy to acheive HA at instance 
CENTRAL (the routing function).  We were considering a clustered pair of 
CENTRAL.  Clients connecting to CENTRAL would use a clustered connection to 
submit requests into the system.  But what about the MDBs listening in EDGE?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: in.relation.to website and Bloggers menu

2007-12-21 Thread asookazian
cool, thx.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115139
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: in.relation.to website and Bloggers menu

2007-12-21 Thread amitev
1) Look at the bottom of the page there is a text - This website was created 
with JBoss Seam and runs on JBoss Application Server

2) This is pure css

#sidebar {
  | float: left;
  | left: 10px;
  | margin-top: 15px;
  | width: 130px;
  | position: fixed;
  | }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115138
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Custom principal in Web application

2007-12-21 Thread brent.atkinson
I think I have found where the caller principal is being populated: 
org.jboss.security.plugins.JaasSecurityManager.updateCache(...). It appears 
what occurs is that once a user authenticates, a DomainInfo object is created 
and stored in the login domain's cache. The DomainInfo object is assigned the 
Subject for the authenticated user which is a copy of the Subject created by 
the authentication process.

The caller Principal is then manually assigned to the DomainInfo object by 
searching the original Subject for a Group called "CallerPrincipal" and if 
found taking the first Principal object in the Group. If no such Group is found 
and the Principal can't be reused from the cache, the first non-Group Principle 
found in the Subject's set of Principals is assigned to the DomainInfo object.

It seems (with the code from 4.0.5 GA at least), that unless you add the 
CallerPrincipal Group in your module(s), it doesn't matter if you specify the 
custom class in your login config... despite using instances of your Principal 
class in the login modules, the code that calls the 
JaasSecurityManager.isValid() authentication code from the web container passes 
in an instance of SimplePrincipal 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm(line 491). At 
JaasSecurityManager.updateCache() (line 778) the manager has a non-null 
principal so the test fails and the subject is not scanned for the principal as 
previously described (if it did it would yield the custom principal), instead, 
it uses the SimplePrincipal passed in from the web container.

So, to make a long story short... make sure you include a Group named 
"CustomPrincipal" with the custom principal added to it. Otherwise, you'll 
always get the SimplePrincipal passed in from the tomcat side.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115135
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Unable to use @Asynchronous annotation on Glassfish server

2007-12-21 Thread usedtoclimb
When I attempt to use the @Asynchronous annotation as described in the 
reference manual (section 17.1.1. Asynchronous methods) I receive an 
InstatiationException with the message "Could not instantiate Seam component: 
org.jboss.seam.core.dispatcher".  I have narrowed down the issue as follows:

Asynchronous method in interface SystemManager.java

  | @Asynchronous
  | public void asyncTest();

Implemented in SystemManagerBean.java  

  | public void asyncTest(){
  | System.out.println("This is a test of async method.");
  | }

Called from Manager.xhtml

  | 

Dispatcher added to Components.xml

  | 

I am using Seam 1.2.1 on a Glassfish server. I am able to use a commandButton 
to call other methods in the same bean from the same jsf page, but when I call 
the "asyncTest()" method I get the stack trace shown below.  

Any suggestions are appreciated.


org.jboss.seam.InstantiationException: Could not instantiate Seam component: 
org.jboss.seam.core.dispatcher
javax.faces.el.EvaluationException: org.jboss.seam.InstantiationException: 
Could not instantiate Seam component: org.jboss.seam.core.dispatcher
at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
at javax.faces.component.UICommand.broadcast(UICommand.java:383)
at 
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
at 
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
at 
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
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.servletService(ApplicationFilterChain.java:411)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
...etc...

Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: org.jboss.seam.core.dispatcher
at org.jboss.seam.Component.newInstance(Component.java:1740)
at org.jboss.seam.Component.getInstance(Component.java:1643)
at org.jboss.seam.Component.getInstance(Component.java:1610)
at org.jboss.seam.Component.getInstance(Component.java:1589)
at org.jboss.seam.Component.getInstance(Component.java:1584)
at org.jboss.seam.core.Dispatcher.instance(Dispatcher.java:238)
at 
org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:26)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
at 
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
at 
org.javassist.tmp.java.lang.Object_$$_javassist_3.asyncTest(Object_$$_javassist_3.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMeth

[jboss-user] [JBoss Seam] - resetting/clearing a session scoped SFSB

2007-12-21 Thread asookazian
I have a conversation scoped SFSB which has a session scoped SFSB injected into 
it as follows:

@In(create=true)
  | private NoteLocal noteAction;

In my xhtml, there is a h:selectOneMenu coded as follows:

  | 
  | 
  | 
  |   
  |   
  |

The javascript function changePeer() does the following:

  | function changePeer() { 
  | Richfaces.showModalPanel('mpChangePeer',{width:450, top:200});
  | }

And the modalPanel is as follows:

  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  | 

My question is when the user clicks 'Continue' button, I need to reset and/or 
clear and/or instantiate a new instance of the session scoped SFSB so that the 
data is fresh/clear and data shows properly in the dataTable of the main form.

What is the best way to do this in Seam?

The other question (which I may post on richfaces forum) is that if they click 
'Cancel' then I need to reset to h:selectOneMenu value to the previous value.  
How do I do this?  thx.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-21 Thread igain
Yes you are correct these 2 users doesn't see each other's information but they 
see rather 2 other user's information.

Yeah definaitly I will report it back whatever observations i find.

Thanks once again.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-21 Thread EricJava
"[EMAIL PROTECTED]" wrote : I couldn't think of a good name.  Component is too 
generic.  JSF component.  AWT component.  Seam component?  To me "swing" is 
synonymous with Java GUI components.  So p:swing, despite not being technically 
correct,  seemed to me to be the only thing captured the idea of a GUI 
component being inserted.  I'm still open to suggestions.

Ok, swing is fine.  You're right, Component is used in every other sentences 
when talking about Java anything.

"[EMAIL PROTECTED]" wrote : BTW, the problem with the LAF wasn't just that the 
components were being rendered differently but that they weren't being rendered 
at all with the default LAF on my machine.  That's very troubling because it 
means none of this is guaranteed to work out of the box.

Hmm.  What kind of machine?  I only have Linux machines here so that's all I've 
tested on.  As you say, anyone using Swing JComponents is going to want to set 
the LAF to something that looks more generic or cross-platform.  I don't know 
what's the right way (the "Seam way") of doing that.  Could there be a setting 
for Swing UI LaF in the components.xml file?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115125
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: What does it take for a POJO to promote a conv. to long-

2007-12-21 Thread EricJava
Will do, after I solidly confirm it with a test case.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115123
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Stop error

2007-12-21 Thread gabewong
Edit /etc/sysconfig/selinux
and set entry to:
SELINUX=disabled

Reboot server

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115121
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-21 Thread [EMAIL PROTECTED]
I couldn't think of a good name.  Component is too generic.  JSF component.  
AWT component.  Seam component?  To me "swing" is synonymous with Java GUI 
components.  So p:swing, despite not being technically correct,  seemed to me 
to be the only thing captured the idea of a GUI component being inserted.  I'm 
still open to suggestions.

BTW, the problem with the LAF wasn't just that the components were being 
rendered differently but that they weren't being rendered at all with the 
default LAF on my machine.  That's very troubling because it means none of this 
is guaranteed to work out of the box. 





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Entity EJB3.0 Unit Testing - How to setup JNDI datasourc

2007-12-21 Thread sushmu
Thanks Pete. I'm more interested in running Embedded JBoss with a datasource 
rather than EJB3Unit. I know Seam 2.0 is full of examples on Embedded JBoss but 
it has the seam-gen magic built in.

Right now I'm following the Hibernate CaveatEmptor examples, but that might be 
using an older version of Embedded Jboss. I'll check out the links that you 
have provided. Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115113
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: CMS security not working

2007-12-21 Thread DanielGallot
anonymous wrote : anonymous wrote : 
  |   | But there is another effect I don't understand : "myRole" got read 
access to "/MyTopDirectory/TheUsableDirectory" and not to other directories 
where it has not been granted write access. Specifying 'write' access to 
'/TheUsableDirectory' should recurse to other directories under 
'/TheUsableDirectory', and since write implies read, you should have 'read' 
access there. *Except ofcouse if you specifically specify permissions on nodes 
under this, which override the recursing permissions*
  | Are you overriding the recursing permissions the nodes? 
OK, I understand why "myRole" get read access to '/TheUsableDirectory' (hence 
we should have write access), but I don't understand why it has not read access 
on '/TheUsableDirectory2' since it has read access to "/".
I am not overriding more than what I describe.

anonymous wrote : Reason I ask is if you grant read access to 'MyTopDirectory" 
but no access to '/', then you will not get access to 'MyTopDirectory' for 
obvious security reasons. Permissions only recurse down the tree, not up the 
tree.
  | 
OK I have to grant read access to "/".


anonymous wrote : for myRole2 who needs write access to /MyUsableDirectort2 but 
only read access to /MyUsableDirectory, then for permissions on 
/MyUsableDirectory make sure you grant this role atleast *read access*
In fact I don't want to grant "myRole2" with read access to /MyUsableDirectory.
But when "overriding the recursing permissions" happens ? As soon as you make 
one change for a given role in whatever directory ? That would explain why the 
read access is no more available to '/TheUsableDirectory2'

Thanks and Merry christmas you too. I am on holidays now until 02/01/2008.
Happy to read you next year !


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: CMS security not working

2007-12-21 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | But there is another effect I don't understand : "myRole" got read access 
to "/MyTopDirectory/TheUsableDirectory" and not to other directories where it 
has not been granted write access. 
  | 

btw, one more thing, if you are overriding the recursing permissions, which 
looks like you are, then

for myRole2 who needs write access to /MyUsableDirectort2 but only read access 
to /MyUsableDirectory, then for permissions on /MyUsableDirectory make sure you 
grant this role atleast *read access*

same goes for myRole getting read/write on MyUsableDirectory - specify write 
access for it there

and myRole getting read on MyUsableDirectory - specify read access for myRole 
on that, not write access

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115109
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Parameters and @Factory

2007-12-21 Thread amorfis
But this old values are used when @Factory method is called, and then new 
values are set. This is not what I want, I need @Factory to be called after 
setting new values. How can I do it? And why "blog" example behaves differently?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: CMS security not working

2007-12-21 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | I try and I got the following :
  | - "Create a folder", in "/MyTopDirectory/TheUsableDirectory", for a user 
with "myRole"
  | ==> exception "access denied" 
  | 
If the role 'myRole' has write access on '/MyTopDirectory/TheUsableDirectory' 
then you should be allowed to create a Folder under '/TheUsableDirectory'. If 
thats failing, I will have to look into trying to reproduce this and fix it if 
it is actually a bug. Let me look into this.

anonymous wrote : 
  | But there is another effect I don't understand : "myRole" got read access 
to "/MyTopDirectory/TheUsableDirectory" and not to other directories where it 
has not been granted write access. 
  | 
Specifying 'write' access to '/TheUsableDirectory' should recurse to other 
directories under '/TheUsableDirectory', and since write implies read, you 
should have 'read' access there. *Except ofcouse if you specifically specify 
permissions on nodes under this, which override the recursing permissions*
Are you overriding the recursing permissions the nodes?

anonymous wrote : 
  | I try to not give read access to all roles on "/"
  | 

Are you atleast granting '/' access to roles that should be granted this?

Reason I ask is if you grant read access to 'MyTopDirectory" but no access to 
'/', then you will not get access to 'MyTopDirectory' for obvious security 
reasons. Permissions only recurse down the tree, not up the tree.

Hope this clarifies some issues.

Thanks and Merry Christmas

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115107
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Why no SSL information in the JBoss logs?

2007-12-21 Thread DaveNaden
Is there a way to modify the log4j config file, jboss-log4j.xml , so that it 
will include information about SSL keystores and certificates being used by the 
server?  

I've got SSL working using the tomcat connector configuration.

Thanks,
Dave Naden


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115106
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 2-way SSL having trouble with applets

2007-12-21 Thread DaveNaden
JBoss 4.2.0, JDK 1.5.0_13

I've got 2-way SSL working fine, and I can log into JBoss.

when I try to go to the console, there is an applet in the left side--it 
doesn't seem able to get the client certificate.  Sometimes it will prompt me 
for which cert, but none show up in the prompt window.  It's obvious that the 
client cert is working, except with applets.  

Does anybody know the secret to fixing this?

Thanks,
Dave Naden



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115105
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error selecting object - SEAM 1.2.1GA

2007-12-21 Thread james_hays
I'm assuming from the previous postings that you've seen this issue before?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115104
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: error message & trinidad

2007-12-21 Thread ebu
it is indeed, otherwise there would be no InvalidStateException. The problem 
appeared to be quite obvious - this exception just was not catched. After 
reading validation part of seam ref i somehow decided that seam cares about 
catching validation exception itself. But as it became clear after studying dvd 
example it doesn't. Thus after adding an interceptor around my bean i got my 
messages in place:


  |try {
  |return ctx.proceed();
  | 
  |} catch (InvalidStateException e) {
  | InvalidValue[] vals = e.getInvalidValues();
  | for (InvalidValue val: vals) {
  | FacesMessages.instance().add(val);
  | }
  | Transaction.instance().setRollbackOnly();
  | 
  | return null;
  |}
  | 

the only problem i still have is that  trinidads inputText tag doesn't want to 
show messages forcing me to use h:inputTag with h:message instead...
Havn't somebody had some issues with using trinidad to display messages?

wbr, eugene.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Transactional Method Flush

2007-12-21 Thread DiegoCoronel
ty, i got then...


  | 
  | validator.assertFalse=falha na valida\u00E7\u00E3o
  | validator.assertTrue=falha na valida\u00E7\u00E3o
  | validator.future=deve ser uma data futura
  | validator.length=comprimento deve estar entre {min} e {max}
  | validator.max=deve ser menor ou igual a {value}
  | validator.min=deve ser maior ou igual a {value}
  | validator.notNull=n\u00E3o deve ser nulo
  | validator.past=deve ser uma data passada
  | validator.pattern=deve seguir o padr\u00E3o "{regex}"
  | validator.range=deve estar entre {min} e {max}
  | validator.size=tamanho deve estar entre {min} e {max}
  | validator.email=deve ser um endere\u00E7o de e-mail bem formado
  | 
  | org.jboss.seam.loginFailed=Falha no Login
  | org.jboss.seam.loginSuccessful=
  | 
  | org.jboss.seam.TransactionFailed=Falha na transa\u00E7\u00E3o
  | org.jboss.seam.NoConversation=O fluxo terminou, expirou ou estava 
processando outro pedido
  | org.jboss.seam.IllegalNavigation=Navega\u00E7\u00E3o Ilegal
  | org.jboss.seam.ProcessEnded=Processo \#0 j\u00E1 est\u00E1 encerrado
  | org.jboss.seam.ProcessNotFound=Processo \#0 n\u00E3o encontrado
  | org.jboss.seam.TaskEnded=Tarefa \#0 j\u00E1 est\u00E1 encerrada
  | org.jboss.seam.TaskNotFound=Tarefa \#0 n\u00E3o encontrada
  | org.jboss.seam.NotLoggedIn=Por favor, primeiro realize o log in 
  | 
  | javax.faces.component.UIInput.CONVERSION=o valor n\u00E3o pode ser 
convertido para o tipo esperado
  | javax.faces.component.UIInput.REQUIRED=preenchimento obrigat\u00F3rio
  | javax.faces.component.UIInput.UPDATE=Ocorreu um erro durante o 
processamento da informa\u00E7\u00E3o enviada
  | javax.faces.component.UISelectOne.INVALID=valor inv\u00E1lido
  | javax.faces.component.UISelectMany.INVALID=valor inv\u00E1lido
  | 
  | javax.faces.converter.BigDecimalConverter.DECIMAL=o valor deve ser um 
n\u00FAmero
  | javax.faces.converter.BigDecimalConverter.DECIMAL_detail=o valor deve ser 
um n\u00FAmero decimal com um ou mais d\u00EDgitos, opcionalmente seguido por 
um ponto e  a fra\u00E7\u00E3o, ex. {1}
  | javax.faces.converter.BigIntegerConverter.BIGINTEGER=o valor deve ser um 
n\u00FAmero inteiro
  | javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=o valor deve 
ser um n\u00FAmero inteiro com um ou mais d\u00EDgitos
  | javax.faces.converter.BooleanConverter.BOOLEAN=valor deve ser verdadeiro ou 
falso
  | javax.faces.converter.BooleanConverter.BOOLEAN_detail=valor deve ser 
verdadeiro ou falso (qualquer outro valor diferente de verdadeiro ser\u00E1 
falso)
  | javax.faces.converter.ByteConverter.BYTE=valor deve ser um n\u00FAmero 
entre 0 e 255
  | javax.faces.converter.ByteConverter.BYTE_detail=valor deve ser um 
n\u00FAmero entre 0 e 255
  | javax.faces.converter.CharacterConverter.CHARACTER=valor deve ser um 
caractere
  | javax.faces.converter.CharacterConverter.CHARACTER_detail=valor deve ser um 
caractere ASCII v\u00E1lido
  | javax.faces.converter.DateTimeConverter.DATE=valor deve ser uma data
  | javax.faces.converter.DateTimeConverter.DATE_detail=valor deve ser uma 
data,  ex. {1}
  | javax.faces.converter.DateTimeConverter.TIME=valor deve ser uma hora
  | javax.faces.converter.DateTimeConverter.TIME_detail=valor deve ser uma 
hora,  ex. {1}
  | javax.faces.converter.DateTimeConverter.DATETIME=valor deve ser uma data e 
uma hora
  | javax.faces.converter.DateTimeConverter.DATETIME_detail=valor deve ser uma 
data e uma hora,  ex. {1}
  | javax.faces.converter.DateTimeConverter.PATTERN_TYPE=um padr\u00E3o ou tipo 
deve ser especificado para converter o valor
  | javax.faces.converter.DoubleConverter.DOUBLE=valor deve ser um n\u00FAmero
  | javax.faces.converter.DoubleConverter.DOUBLE_detail=valor deve ser um 
n\u00FAmero entre 4.9E-324 e 1.7976931348623157E308
  | javax.faces.converter.EnumConverter.ENUM=valor deve poder ser convertido 
para um enum
  | javax.faces.converter.EnumConverter.ENUM_detail=valor deve poder ser 
convertido para um enum ou de um enum que contenha a constante {1}
  | javax.faces.converter.EnumConverter.ENUM_NO_CLASS=valor deve poder ser 
convertido para um enum ou de um enum, por\u00E9m nenhum enum foi fornecido
  | javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=valor deve poder 
ser convertido para um enum ou de um enum, por\u00E9m nenhum enum foi fornecido
  | javax.faces.converter.FloatConverter.FLOAT=valor deve ser um n\u00FAmero
  | javax.faces.converter.FloatConverter.FLOAT_detail=valor deve ser um 
n\u00FAmero entre 1.4E-45 e 3.4028235E38
  | javax.faces.converter.IntegerConverter.INTEGER=valor deve ser um 
n\u00FAmero inteiro
  | javax.faces.converter.IntegerConverter.INTEGER_detail=valor deve ser um 
n\u00FAmero inteiro entre -2147483648 e 2147483647
  | javax.faces.converter.LongConverter.LONG=valor deve ser um n\u00FAmero 
inteiro
  | javax.faces.converter.LongConverter.LONG_detail=valor deve ser um 
n\u00FAmero inteiro entre -9223372036854775808 e 9223372036854775807
  | javax.faces.converter.NumberConverter.CURRENCY=valor dev

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple JBoss installations, first one is ok second one

2007-12-21 Thread PeterJ
I know I have done this before without any problems, but just to verify, I did 
it again. And it works for me.

Which JDBC driver version are you using? Mine is mysql-connector-java-5.0.4.jar.

Are you sure that you placed the jdbc jar in the right server/default/lib 
directory for the second server? I ask because I have often miscopied the file 
to some other directory (gee, you'd think it would work if I put in in 
deploy...)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Love the test support in seam except for...

2007-12-21 Thread andrew.rw.robinson
For those that are interested, here is my hack:
TestBase.java:

  |   private static TestBase instance; 
  |   
  |   /**
  |* @see org.jboss.seam.mock.SeamTest#init()
  |*/
  |   @Override @BeforeClass @BeforeSuite
  |   public synchronized void init() throws Exception
  |   {
  | if (instance == null)
  | {
  |   instance = this;
  |   super.init();
  | }
  | else
  | {
  |   for (Field field : BaseSeamTest.class.getDeclaredFields())
  |   {
  | field.setAccessible(true);
  | field.set(this, field.get(instance));
  |   }
  | }
  |   }
  |   
  |   /**
  |* @see org.jboss.seam.mock.SeamTest#cleanup()
  |*/
  |   @Override @AfterSuite(alwaysRun = true) @AfterClass
  |   public synchronized void cleanup() throws Exception
  |   {
  | if (instance == this)
  | {
  |   super.cleanup();
  |   instance = null;
  | }
  | else
  | {
  |   for (Field field : BaseSeamTest.class.getDeclaredFields())
  |   {
  | if (field.getType().isPrimitive())
  | {
  |   continue;
  | }
  | field.setAccessible(true);
  | field.set(this, null);
  |   }  
  | }
  |   }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115090
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-21 Thread [EMAIL PROTECTED]
anonymous wrote : 2 end user reporting that they are seeing some other user's 
data and they also gave us the name and other info of that user which they were 
seeing on screen and i did check back in our db and those user are valid user 
who submit their information via our application.
  | 

I take it these 2 users didn't see each others' information, but rather 2 other 
peoples' information?  That is there were 4 users involved; just that only 2 
made a report.

Thanks for the report. Yes, please report back if you find any more 
information. I'll think about any other way this kind of problem could happen. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115088
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: CMS security not working

2007-12-21 Thread DanielGallot
anonymous wrote : "/" - make readable to all roles including "myRole" except 
Users and Anonymous
  | "/MyTopDirectory/TheUsableDirectory" - make readable and writable to 
"myRole"
  | 
  | let me know what you get with this setup.
  | 
  | note: this is essentially the same result you are trying to achieve except 
its a simpler way to approach it.
OK, I understand this is a simpler conf because I don't need to declare again 
the same rights than the rights already granted in the parent directories. 

I try and I got the following :
- "Create a folder", in "/MyTopDirectory/TheUsableDirectory", for a user with 
"myRole"
==> exception "access denied"

- "Upload a file" : idem

But there is another effect I don't understand : "myRole" got read access to 
"/MyTopDirectory/TheUsableDirectory" and not to other directories where it  has 
not been granted write access.

Do I miss something(s) ?

I see the second effect because actually I need to get the following : I have 
also "myRole2" that should have write access on 
"/MyTopDirectory/TheUsableDirectory2" but not read access to 
"/MyTopDirectory/TheUsableDirectory" - and vice versa for "myRole" - in fact I 
have 20 different roles and corresponding "TheUsableDirectoryN".
And also "mySupervisor" that has read/write access to all these directories, 
but not "/" !

I try to not give read access to all roles on "/", granting the read access on 
"/MyTopDirectory" - I get "access denied" (the exception) immediatly on the CMS 
administration. (N.B. : anonymous get "access denied" as a gentle message)

So what can I do ? I am a bit lost...

Thanks a lot for your help.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115085
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - in.relation.to website and Bloggers menu

2007-12-21 Thread asookazian
1) is this site developed using JSF/SEAM/EJB3?

2) what kind of component is that bloggers menu that stays fixed even if you 
scroll the vertical scroll bar?

that's pretty cool.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-21 Thread igain
2 end user reporting that they are seeing some other user's data and they also 
gave us the name and other info of that user which they were seeing on screen 
and  i did check back in our db and those user are valid user who submit their 
information via our application.

So i can't rule out, that session is not getting duplicated. However I never 
heard or seen session is getting duplicated in person. I have been testing so 
many times and never got other user's information

Okay I have put the session.invalidate() at the end of application workflow 
process.

Hoping it would reduce the chance of session  collision. I am also logging the 
session id if it's get duplicated.

Thanks for your support

I would monitor

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115080
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Rendering email from a servlet

2007-12-21 Thread [EMAIL PROTECTED]
I've not tested this, and see several ways in which it might fail (you don't 
have a full faces environment available, and as I haven't coded for it some of 
the needed mocks may not be available).

File a JIRA issue and I can try to take a look, but I'm not going to get around 
to it soon.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115078
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to use log inside interceptor ?

2007-12-21 Thread [EMAIL PROTECTED]
private static Log log = Logging.getLog(LogInterceptor.class);

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JTA transactions

2007-12-21 Thread [EMAIL PROTECTED]
Ask on the hibernate, or JBoss AS forum.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115076
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: What does it take for a POJO to promote a conv. to long-

2007-12-21 Thread [EMAIL PROTECTED]
Please file an issue in the RichFaces jira about this.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115075
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - SMPC transaction propagation and REQUIRES_NEW

2007-12-21 Thread asookazian
SEAM2.0.0.GA
JBOSS4.2.1.GA

I'm currently using multiple SMPC's (for multiple DB's) that are configured in 
the components.xml.  Also using flushMode=MANUAL for @Begin method to ensure 
that transactions are atomic (i.e. no premature updates before conversation 
ends).  Seems to be working ok so far!

I'm trying to understand the impact of the below statement from the ref pdf.  
It sounds like Seam is violating the EJB3 spec in this regard.  This part is 
what I'm concerned about:
anonymous wrote : 
  | However as the Seammanaged persistence context is propagated to any 
component within the conversation, it will be propagated to
  | methods marked REQUIRES_NEW.

When a method is marked REQUIRES_NEW, afaik, the current transaction is 
suspended until the method marked REQUIRES_NEW is completed.  REQUIRES_NEW 
indicates that the method should always be executed inside a new transaction 
context.

So I'm assuming in this case an exception would be thrown if you use SMPC and 
REQUIRES_NEW in case a transaction would be propagated.  I tried it from a JSF 
getter method call to a method marked REQUIRES_NEW in a SFSB and there are no 
issues (but in that case apparently there is no transaction propagation)...

anonymous wrote : If you are using EJB3 and mark your class or method 
@TransactionAttribute(REQUIRES_NEW) then the transaction
  | and persistence context shouldn't be propagated to method calls on this 
object. However as the Seammanaged
  | persistence context is propagated to any component within the conversation, 
it will be propagated to
  | methods marked REQUIRES_NEW. Therefore, if you mark a method REQUIRES_NEW 
then you should access the entity
  | manager using @PersistenceContext.

--pg. 116 of JBoss Seam 2.0.0.GA ref pdf

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityHome's persist, update, remove... methods does not s

2007-12-21 Thread [EMAIL PROTECTED]
entityHome.persist() does a flush for you. If you don't want this behaviour, 
implement your own version of persist :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115072
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Entity EJB3.0 Unit Testing - How to setup JNDI datasourc

2007-12-21 Thread [EMAIL PROTECTED]
Although I'm not Gavin, 

http://jira.jboss.com/jira/browse/JBSEAM-2026

You'll need some way to make the DS available via JNDI (register the DS in 
JNDI).

The simplest solution is to run in a integration test environment e.g. Embedded 
JBoss. There are discussions on the forum on how to make this best work, and 
this issue http://jira.jboss.com/jira/browse/JBSEAM-2371 to fix the problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115070
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cooking lobsters (bijection)

2007-12-21 Thread [EMAIL PROTECTED]
After the method calls you should see an outjected lobster - what scope are you 
outjecting the lobster to? You can debug this by placing breakpoints in the 
bijection interceptor.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115069
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to use log inside interceptor ?

2007-12-21 Thread DiegoCoronel
this probably isnt hard, but i didnt find any way to get seam log, anyone can 
help me?


  | @Interceptor
  | public class LogInterceptor {
  | 
  | @Logger
  | private static Log log;
  | 
  | @AroundInvoke
  | public Object checkLoggedIn(InvocationContext invocation) throws 
Exception {
  | try {
  | log.info("Executando operacao antes");
  | return invocation.proceed();
  | }
  | finally {
  | log.info("Executando operacao depois");
  | }
  | }
  | 
  | }
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115068
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Parameters and @Factory

2007-12-21 Thread [EMAIL PROTECTED]
The first call to the method occurs to rebuild the JSF tree, the input fields 
aren't applied to the model after this.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115063
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-21 Thread [EMAIL PROTECTED]
Those are two different pages, so you won't have the same page context for both 
pages... (i.e. what you are trying to do is flawed from a design perspective)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115066
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error selecting object - SEAM 1.2.1GA

2007-12-21 Thread [EMAIL PROTECTED]
I rewrote the whole entity converter between 1.2 and 2.0 - ant its quitedeeply 
integrated into Seam core as well. You should be able to pull out the relevant 
classes though to build your own version - you'll need classes from 
org.jboss.seam.ui.converter and org.jboss.seam.framework.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-21 Thread asookazian
Ok, thanks!  I did not see a keyword hit on 'TransactionalSeamPhaseListener' in 
the 2.0.0.GA ref pdf so I got a little confused when comparing with the Seam 
chapter in Bauer/king book.

thanks again.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115062
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Love the test support in seam except for...

2007-12-21 Thread andrew.rw.robinson
Seam's TestNG support is quite nice, but there is one major design flaw that 
really affects test case design. 

The test classes are designed to be used as a black box. The init and cleanup 
methods are made to be used at the class instance level. Ramping up Seam is 
very slow. My project, which is still small takes a long time to initialize 
mainly because of: seam deployment, hibernate configuration, drools rule 
parsing.

Having each test class ramp up all of the full stack is not feasible for time 
reasons. This means that it is best to put all unit tests in one class with 
hundreds of methods.  I really don't like that design. I would prefer to build 
a test class for each entity bean and for each managed bean.

What would be great is to re-architect the test classes so that the init and 
cleanup are annotated with @BeforeSuite and @AfterSuite respectively. The 
variables that these classes should be either static or made in such a way that 
there is only one instance per test suite. 

If they could be made in such a way that they could also be run in parallel in 
one JVM instance (forkMode of once) that would be great as well, as then the 
tests could simulate a server with many requests at once.

I can probably hack this behavior into my test cases, but it would most likely 
break with changes to the source as I may have to use reflection to set the 
private variables.

Any chance at getting this type of functionality in the provided test classes?

Thanks,
Andrew

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115057
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - javax.el.PropertyNotFoundException

2007-12-21 Thread vikramchhetryy
Hi all,
My code looks like this:-
User.java

  | @Entity
  | @Name("userBean")
  | @Scope(SESSION)
  | @Table(name = "abcd")
  | public class User implements Serializable {
  | 
  | private static final long serialVersionUID = -7928759431732764467L;
  | private String StrUserName;
  | private String StrPassword;
  | 
  | @Id
  | @NotNull
  | public String getStrUserName() {
  | return StrUserName;
  | }
  | public void setStrUserName(String strUserName) {
  | StrUserName = strUserName;
  | }
  | @NotNull
  | public String getStrPassword() {
  | return StrPassword;
  | }
  | public void setStrPassword(String strPassword) {
  | StrPassword = strPassword;
  | }
  | 
  | }
  | 

login.xhtml


  | 
  | Username
  | 
  | Password
  | 
  | 
  | 

I m getting following exception while loading login page

javax.el.PropertyNotFoundException: /login.xhtml @26,64 
value="#{userBean.StrUserName}": Property 'StrUserName' not found on type 
com.xyz.user.User

Any help would be appreciated.

Regards,
Vikram

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115054
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-21 Thread [EMAIL PROTECTED]
This is enabled by default in Seam 2.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Rendering email from a servlet

2007-12-21 Thread usedtoclimb
I am trying to send html email from a servlet and could use some help.

I have added the following to my components.xml file as described in chapter 21 
of the reference manual (Section 21.1.2.5. Context management for custom 
servlets):
   

With the above in place, my servlet can retrieve a non-null Renderer 
(org.jboss.seam.core.Renderer) using the following:
   Renderer renderer = (Renderer) 
Component.getInstance("org.jboss.seam.core.renderer");

I then try to use the renderer:
renderer.render("/WEB-INF/email/test-email.xhtml");
but this throws an exception as shown in the stacktrace below. Do I need to 
somehow provide more context for the renderer? Note that for this test the 
xhtml file has no dynamic content, although I am hoping to make it dynamic at 
some point. Any suggestions would be appreciated. 

The following is the stack trace that results from the call to the renderer:
java.lang.NullPointerException
at 
com.sun.faces.application.ApplicationAssociate.(ApplicationAssociate.java:143)
at com.sun.faces.application.ApplicationImpl.(ApplicationImpl.java:156)
at 
com.sun.faces.application.ApplicationFactoryImpl.getApplication(ApplicationFactoryImpl.java:97)
at org.jboss.seam.mock.MockFacesContext.(MockFacesContext.java:62)
at 
org.jboss.seam.ui.facelet.FaceletsRenderer$Context.wrap(FaceletsRenderer.java:59)
at 
org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:110)
at com.el.util.mail.EmailServlet.processRequest(EmailServlet.java:54)
at com.el.util.mail.EmailServlet.doGet(EmailServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:56)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at 
org.apache.catalina.core.Container

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-21 Thread PeterJ
Did you change any of the files in the jms directory? Specifically, did you 
change hsqldb-jdbc2-service.xml (or perhaps replace it with another file)? That 
file directs MQ to use DefaultDS as its data source.

You mentioned MySQL. Also, the error message "Access denied for user 
'jbossuser'@'localhost' (using password: YES))" is a typical MySQL error 
message. I am assuming that you must have changed hsqldb-jdbc2-service.xml to 
use a different data source, or replace DefaultDS with MySQL.

Until you get the database access issue solved, you will not be able to use the 
messaging service., and no queue or destinations will show up.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Changing the isolation level for Portal's TreeCache

2007-12-21 Thread [EMAIL PROTECTED]
I am not sure if READ_COMMITTED will solve your issue fully.

I would lean towards using optmistic locking instead.

Unfortunately, optimistic locking support does not exist in 2.4. It has been 
fixed in 2.6 in addition to other locking issues in a clustered setup.

We are still striving to make it even better.

If possible, try upgrading to our latest portal release which is 2.6.3

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115043
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [News & Announcements] - JBossAS 5.0.0.Beta3 released

2007-12-21 Thread rrajesh
JBoss AS 5.0.0.Beta3 has been released and is available for download on 
sourceforge.
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=563302

JBoss 5.0.0.Beta3 Release Notes

This is the last Beta release of the JBoss 5.0.x series for the Java EE™ 5 
codebase! This release completes a  big round of refactorings related to the 
transformation of JBossAS into a pure POJO-based server. There should be no API 
changes from this point on as we move closer to a final release.

For information on the APIs that make up Java EE 5, see Java EE APIs & Docs. A 
tutorial on Java EE 5 can be found here.

A sample Java EE 5 application that can be run on top of JBoss 5.0.0.Beta3 and 
demonstrates many interesting technologies is the Seam Booking Application 
available here. This application makes use of the following technologies 
running on JBoss 5:

* EJB3
  o Stateful Session Beans
  o Stateless Session Beans
  o JPA (w/ Hibernate validation)
* JSF
  o Facelets
  o Ajax4JSF
* Seam

The JBoss Seam Wiki links to many interesting topics about Seam.
Overview

* Highlights
* Known Compatibility Issues
* Known Configuration Issues
* JBoss/Thirdparty Library Updates
* Detailed Release Notes
* Additional Docs and Help
* Licenses
* About JBoss

Highlights

JBoss 5 is the next generation of the JBoss Application Server build on top of 
the new JBoss Microcontainer. The JBoss Microcontainer is a lightweight 
container for managing POJOs, their deployment, configuration and lifecycle. It 
is a standalone project that replaces the famous JBoss JMX Microkernel of the 
3.x and 4.x JBoss series. The Microcontainer integrates nicely with the JBoss 
framework for Aspect Oriented Programming, JBoss AOP. Support for JMX in JBoss 
5 remains strong and MBean services written against the old Microkernel are 
expected to work.

JBoss5 is designed around the advanced concept of a Virtual Deployment 
Framework (VDF), that takes the aspect oriented design of many of the earlier 
JBoss containers and applies it to the deployment layer. Aspectized Deployers 
operate in a chain over a Virtual File System (VFS), analyze deployments and 
produce metadata to be used by the JBoss Microcontainer, which in turn 
instantiates and wires together the various pieces of a deployment, controlling 
their lifecycle and dependencies.

Many key features of JBoss 5 are provided by integrating other standalone JBoss 
projects:

* JBoss EJB3 included with JBoss 5 provides the implementation of the 
latest revision of the Enterprise Java Beans (EJB) specification. EJB 3.0 is a 
deep overhaul and simplification of the EJB specification. EJB 3.0's goals are 
to simplify development, facilitate a test driven approach, and focus more on 
writing plain old java objects (POJOs) rather than coding against complex EJB 
APIs.
* JBoss Messaging is a high performance JMS provider in the JBoss 
Enterprise Middleware Stack (JEMS), included with JBoss 5 as the default 
messaging provider. It is also the backbone of the JBoss ESB infrastructure. 
JBoss Messaging is a complete rewrite of JBossMQ, which is the default JMS 
provider for the JBoss AS 4.x series.
* JBossCache 2.0 that comes in two flavors. A traditional tree-structured 
node-based cache and a PojoCache, an in-memory, transactional, and replicated 
cache system that allows users to operate on simple POJOs transparently without 
active user management of either replication or persistency aspects.
* JBossWS 2 is the web services stack for JBoss 5 providing Java EE 
compatible web services, JAXWS-2.0.
* JBoss Transactions is the default transaction manager for JBoss 5. JBoss 
Transactions is founded on industry proven technology and 18 year history as a 
leader in distributed transactions, and is one of the most interoperable 
implementations available.
* JBoss Web is the Web container in JBoss 5, an implementation based on 
Apache Tomcat that includes the Apache Portable Runtime (APR) and Tomcat native 
technologies to achieve scalability and performance characteristics that match 
and exceed the Apache Http server.

JBoss 5 includes numerous features and bug fixes, many of them carried over 
upstream from the 4.x codebase. See the Detailed Release Notes section for the 
full details.
Compatibility Issues

* JBossAS 5 runs under Java 5 but there is an ongoing task to make it run 
safely under Java 6, too (JBAS-5031). If using a Sun Java 6 runtime, you may 
want to set  -Dsun.lang.ClassLoader.allowArraySyntax=true, as described in 
JBAS-4491.
* If using proprietary JBoss/EJB3 annotations, those have moved into the 
org.jboss.ejb3.annotation package, EJBTHREE-1099. Those are now included in a 
new artifact, jboss-ejb3-ext-api.jar
* Work on EJB3 Extended Persistence Context support is not completed, 
EJBTHREE-1026.
* Interoperating with previous JBoss EJB3 implem

[jboss-user] [JBossWS] - Re: howto disable debug output from client

2007-12-21 Thread PeterJ
You did not state which version of JBossWS you are using, so I will assume the 
version that is in JBossAS 4.2.2.

The log4j.properties file can be found in client/jbossws-client.jar. It is set 
to log to the console at debug level, you can change it to log at WARN or ERROR 
instead.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115039
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re:

2007-12-21 Thread [EMAIL PROTECTED]
1) Don't use autoreconnect

anonymous wrote : 
  | autoReconnect=true
  | 

This breaks transactions. A reconnect looses all the state.

2) Why are you defining a local-tx datasource then handling the transaction 
yourself?
Looks very confused to me. no-tx-datasource perhaps if want to do everything
yourself?

3) "thread" session context is just "broken" if you in an appserver/using 
JTA/CMT/BMT.
It simply doesn't understand transaction demarcation (see the FAQ)
and [url]http://www.hibernate.org/42.html[url]

4) You should also be using "AFTER_STATEMENT" release mode 
http://www.hibernate.org/hib_docs/reference/en/html/transactions.html
since the appserver's connection manager already does the necessary
caching of the connection and also understands when to (not) cache better 
than hibernate when crossing transaction boundaries.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustered Connection Factories

2007-12-21 Thread timfox
If you use a connection factory with connection load balancing, this means that 
subsequent connections created with that factory will be made to different 
nodes in the cluster, in a round-robin fashion.

Typically with MDBs, you deploy the MDB on every node of the cluster, in a 
homogenous fashion, the MDBs then consume from the local clustered queue which 
you've also deployed on each node in the cluster.

So, you want the MDB on node A to consume from the clustered queue instance on 
node A, and you want the MDB instance on node B to consume from the clustered 
queue instance on node B. I.e. you want each MDB to consume from its local 
queue instance.

If you were to use a connection factory with load balancing = true for the MDB 
on node A to create its connection to the queue, then subsequent connections 
would actually make connections to the queue instance on different nodes, but 
you always want it to connect to the local queue instance to minimise network 
traffic between servers.

That's why it doesn't normally make sense to enable connection load balancing 
for MDBs.

Hope that helps.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115038
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-21 Thread PeterJ
Yes, by the the 21st I mean today  (actually, I meant tomorrow ;-)). It's not 
there yet but there is still a lot of day left.

Do not add the URLDeploymentScanner to bootstrap-beans.xml. The 
URLDeploymentScanner is an mbean while the beans in bootstrap-beans.xml are 
pojos. On 4.x, all deployers were mbeans within the jmx kernel, but in 5.0 the 
deployers are pojo beans in the microcontainer (the rewriting of the deployers 
is why deployment is an adventure on 5.0). What you should do is find the 
attributes you are interested in changing in bootstrap-beans.xml and change 
those (like the 'scanPeriod' attribute of the 'HDScanner' bean.)

And no I did not test the hot swap by touching application.xml.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115036
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam EJB not binding

2007-12-21 Thread felixk2
I figured it out. My project wasn't setup correctly. I wasn't using EAR 
deployment.

Thanks,
Felix

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115037
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

2007-12-21 Thread [EMAIL PROTECTED]
This is a known "bug" (really a configuration issue) currently in JBoss5.

The issue is that the AOP advice for @JMX is not installed until
after conf/jboss-service.xml or bootstrap-beans.xml is processed.

This is because it is done by the aop deployer which runs later.

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=125347

In general the implementation details (rather than the deployment layer)
like the transaction manager  should be in "deploy" anyway, 
\but there's lots of work to be done before that is possible. e.g.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112404
to properly define dependencies and make sure deployers are 
properly seperated from runtime infrastructure.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Higher JMSPriority not stepping in front of lower JMSPri

2007-12-21 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | It appears that JBoss is queuing up a message before the MDB even processes 
it.  So a higher priority message must wait what appears to be the 
invoker-proxy-binding's  # of messages before it jumps in front.
  | 

Correct. It's called read ahead. It would be very inefficient (latency) to wait
until a message listener completes its onMessage() before
retrieving the next message to process from the server.

It's not configurable in JBossMQ, try JBoss Messaging 
or submit a patch to make it configurable (there's an old feature request
about it somewhere but it was closed when we stopped developing JBossMQ).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115028
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Exiting on IOE : java.io.InterruptedIOException: Operati

2007-12-21 Thread [EMAIL PROTECTED]
"kenubie" wrote : Anyone knows the solution to the original post ?
  | Does not seem like there was a solution?

That because there is no problem.  :-)
For the 10,000th time DEBUG != ERROR


  | Connection c = ConnectionFactory.createConnection(); // => DEBUG messages 
about connection construction
  | try
  | {
  |// do stuff
  | }
  | finally
  | {
  |c.close(); // => DEBUG messages about connection close (including 
IO/interrupted, etc)
  | }
  | 

Now if you got an I/O execption when you didn't close the connection
then there might be problem, e.g. I/O read timeout => network split. 
That's why the message is logged at DEBUG.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Exceptions on the same page

2007-12-21 Thread alessandrolt
Unable to use the Exception Control of Seam without indicate a redirect?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115024
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Standard Message Driven Bean

2007-12-21 Thread [EMAIL PROTECTED]
Read the FAQ.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115022
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: not start MDB delivery automatically

2007-12-21 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : Not in any of the current releases.
  | The feature was added for jca inbound resource adapters in jboss 5
  | http://jira.jboss.com/jira/browse/JBAS-4517
  | 

NOTE: This work is incomplete since although the feature is in the code,
there is not xml tag (or annotation for EJB3) currently in JBoss5 to enable it. 
;-(


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115021
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - how to make multiple web applications sharing the same jbpm

2007-12-21 Thread apdo
I would like to have 2 web applications (on the same jboss server) sharing the 
same bpm. (i.e. sharing the same processdefinition, process instance 
taskinstance ...) 
This would allow one of the application to see the processes instantiated in 
the other web application.

to try this I have done the following but I am not sure if it is the right way 
to do.

I have use the seam todo example. I have package and deploy it to a jboss 
server.

I have modify the seam todo exemple (application.xml and build.xml files) to 
rename the jar, war, ear as jboss-seam-todo2 instead of jboss-seam-todo. also, 
the context root has been modify to seam-todo2. I have package and deploy it to 
the same jboss server.

both applications are connected to the same database.

both applications are working fine. As I wanted, they can both see the process 
instantiated by the other web application.

However, according to what I understand, both application have its own jbpm 
engine but share the same database. If it is the case, that is most probably 
not the way to share bpm among multiple web application.

One point that surprise me is that according to my understanding, jbpm use 
hibernate that has cashing. For this reason, I have been surprise to see that 
both web application see the same list of process. I would not have expect this 
to work since according to my understanding the way I share bpm is at database 
level only.

Is there somebody that can tell me if the way I am sharing bpm among multiple 
web applications on the same web server is correct or not?
If not how do you propose to do it?

An Phong Do
solabs.com

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: not start MDB delivery automatically

2007-12-21 Thread [EMAIL PROTECTED]
Not in any of the current releases.
The feature was added for jca inbound resource adapters in jboss 5
http://jira.jboss.com/jira/browse/JBAS-4517

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/server/src/main/org/jboss/ejb/plugins/inflow/JBossMessageEndpointFactory.java?r1=54873&r2=66023

Since the MessageEndpointFactory class is configurable in the invoker proxy 
binding,
you could replace the jboss class with one that has the deliveryActive code 
from the JBoss 5


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115018
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Memory leak in JBossWS 2.0.1 native and JBoss 4.2.1

2007-12-21 Thread aon72
Thank you for your response. We analysed the problem with 
jboss-4.0.5/jboss-4.2.1 and jbossws-2.0.2.

jbossws-2.0.2 have solved the problem!

regards!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115017
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2007-12-21 Thread Kumarselvan
Will check this by enabling the trace Log and will send you the further 
information by tomorrow

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115014
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Setting up JBoss Embedded in a Maven Project

2007-12-21 Thread victor.cardona
One minor correction in my post above.  In the previous post, I had the 
contents of the bootstrap directory in src/test/resources.  If I have 
everything under bootstrap I get the following.
anonymous wrote : 
  | org.jboss.deployers.spi.DeploymentException: Unable to find bootstrap file: 
conf/bootstrap-beans.xml in classpath
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:200)
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  | at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
  | at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  | at 
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
  | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  | at org.testng.TestRunner.runWorkers(TestRunner.java:678)
  | at org.testng.TestRunner.privateRun(TestRunner.java:624)
  | at org.testng.TestRunner.run(TestRunner.java:495)
  | at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
  | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
  | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
  | at org.testng.SuiteRunner.run(SuiteRunner.java:190)
  | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
  | at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
  | at org.testng.TestNG.run(TestNG.java:699)
  | at org.testng.TestNG.privateMain(TestNG.java:824)
  | at org.testng.TestNG.main(TestNG.java:802)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115015
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JNDI over HTTP problem

2007-12-21 Thread [EMAIL PROTECTED]
Try the jndi faq. e.g. java: namespace is not accesible remotely.

The correct code is either:

If you have defined it in your enc (again see JNDI FAQ for resource-refs)

  | InitialContext jndiContext = new IntiialContext();
  | ConnectionFactory connFactory = 
(ConnectionFactory)jndiContext.lookup("java:comp/env/jms/ConnectionFactory");
  | 

or 

  | ConnectionFactory connFactory = 
(ConnectionFactory)jndiContext.lookup("HTTPConnectionFactory");
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Transactional Method Flush

2007-12-21 Thread ASavitsky
Find the message's key, and redefine it in your own messages.properties as 
blank. Worked for me to get rid of login messages

HTH,

Alex

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115011
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Changing Dead Letter Queue for specific queues

2007-12-21 Thread [EMAIL PROTECTED]
JBossMQ does not support DLQs, try JBoss Messaging.
DLQs are only implemented in the MDB.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Unable to browse messages in queue LRUCache error

2007-12-21 Thread [EMAIL PROTECTED]
You can tell it failed to the load message because there is no HARD in the 
message
desription. It should be:
anonymous wrote : 2 msg=232 HARD STORED PERSISTENT queue=QUEUE.DLQ
  |  priority=4 lateClone=false hashCode=22159791
since it has just invoked makeHard() on the message reference
which executes the code "fixed" in the above "bug report".


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - When session replication starts?

2007-12-21 Thread barabaka
The question is when the replication of session actually starts? 

Consider the following scenario: we have serializable object let's call it 
SessionData which we put into the session. Then we make change on SessionData 
property, for instance 
sessionData.setName("new name");

Of course the code above will not trigger replication immediately, but will the 
sessionData object be replicated after some period of time or we need to call 
session.setAttribute() explicitly?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115006
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Unable to browse messages in queue LRUCache error

2007-12-21 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-3792

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Setting up JBoss Embedded in a Maven Project

2007-12-21 Thread victor.cardona
Has anyone succeeded in setting up JBoss Embedded in a Mavenized project?  All 
I want to do is run some unit and integration tests, but I can't seem to get 
Embedded to start up correctly.  My project is POJO only with JPA.  My 
development environment is detailed below.


JBoss Seam 2.0.0.GA
JBoss Embedded Beta2
jdk 1.5.0_14
Maven 2.0.7
Ant 1.7.0


My POM contains the following:

  | 
  | org.jboss.embedded
  | jboss-embedded
  | beta2
  | test
  | pom
  | 
  | 
  | org.jboss.embedded
  | jboss-embedded-api
  | beta2
  | test
  | 

I have placed the bootstrap directory and all of its contents into 
src/test/resources.  I then added the following to my testng.xml file:

  | 
  | 
  | 
  | 
  | 

Finally, I added my test which extends SeamTest.  However when I run my tests, 
I get the following error:
anonymous wrote : 
  | org.jboss.deployers.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** DEPLOYMENTS IN ERROR: Name -> Error
  | 
  | 
vfsfile:/C:/Documents%20and%20Settings/CardonVR/My%20Documents/workspace/seamist-new-tomcat/target/test-classes/deploy/META-INF/ra.xml
 -> java.lang.NullPointerException
  | 
  | 
vfsfile:/C:/Documents%20and%20Settings/CardonVR/My%20Documents/workspace/seamist-new-tomcat/target/test-classes/deploy/jboss-local-jdbc.rar
 -> java.lang.NullPointerException
  | 
  | 
vfsfile:/C:/Documents%20and%20Settings/CardonVR/My%20Documents/workspace/seamist-new-tomcat/target/test-classes/deploy/jboss-xa-jdbc.rar
 -> java.lang.NullPointerException
  | 
  | 
vfsfile:/C:/Documents%20and%20Settings/CardonVR/My%20Documents/workspace/seamist-new-tomcat/target/test-classes/deploy/jms-ra.rar
 -> java.lang.NullPointerException
  | 
  | 
  | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual 
State}
  | 
  | jboss.jca:name=DefaultDS,service=DataSourceBinding
  |  -> jboss.jca:name=DefaultDS,service=LocalTxCM{Start:Configured}
  |  -> jboss.jca:name=DefaultDS,service=LocalTxCM{Create:Configured}
  | 
  | jboss.jca:name=DefaultDS,service=LocalTxCM
  |  -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Start:Configured}
  |  -> 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Create:Configured}
  | 
  | jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
  |  -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Create:** 
NOT FOUND **}
  |  -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Start:** 
NOT FOUND **}
  | 
  | jboss.jca:name=DefaultDS,service=ManagedConnectionPool
  |  -> 
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Create:Configured}
  |  -> 
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Start:Configured}
  | 
  | jboss.jca:name=JmsXA,service=DataSourceBinding
  |  -> jboss.jca:name=JmsXA,service=TxCM{Start:Configured}
  |  -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
  | 
  | jboss.jca:name=JmsXA,service=ManagedConnectionFactory
  |  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |  -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Start:** NOT FOUND **}
  |  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |  -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:** NOT FOUND 
**}
  | 
  | jboss.jca:name=JmsXA,service=ManagedConnectionPool
  |  -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Start:Configured}
  |  -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
  | 
  | jboss.jca:name=JmsXA,service=TxCM
  |  -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Start:Configured}
  |  -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
  | 
  | jboss.messaging.connectionfactory:service=ConnectionFactory
  |  -> jboss.messaging:service=PostOffice{Start:Configured}
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  |  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  | jboss.messaging.destination:name=DLQ,service=Queue
  |  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  |  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |  -> jboss.messaging:service=PostOffice{Start:Configured}
  | 
  | jboss.messaging.destination:name=ExpiryQueue,service=Queue
  |  -> jboss.messaging:service=PostOffice{Start:Configured}
  |  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  |  -> jboss.messaging:service=ServerPeer{Start:Configured}
  | 
  | jboss.messaging.destination:name=PrivateDLQ,service=Queue
  |  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  |  -> jboss.messaging:service=PostOffice{Start:Configured}
  | 
  | jboss.messag

[jboss-user] [JBoss Seam] - Re: Transactional Method Flush

2007-12-21 Thread DiegoCoronel
any way to stop these auto messages ? i just wanna show only my messages.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114997
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityHome.persist fails with @GeneratedValue

2007-12-21 Thread asookazian
well I determined the root cause of the exception I was getting 
(org.hibernate.PersistentObjectException: detached entity passed to persist: 
com.cox.beans.entity.TblSecurityAuditNote).  It was that I had a loop that was 
trying to persist an already perstisted/inserted JPA entity into the DB and 
Hibernate notices this and throws the exception before you get a primary key 
violation SQLException from DB.

So in my case it was a programmer's error. The fix was to set the already 
persisted entity to null in the array so in the code it will not exec the 
em.persiste(note) again.

I think that the wording of the hibernate exception could be more clear.  I 
still don't understand exactly what it's trying to indicate literally (I now 
know it's saying you're trying to insert a record in the table which has an 
existing primary key value).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114996
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam ajax & conversation

2007-12-21 Thread Andy Gibson
Are you sure you are in a long running conversation? Do you start the 
conversation from pages.xml or calling a @Begin annotated method?

Cheers,

Andy


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114994
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [The Lizzard's corner] - Re: Who is mrs. Julia Firsova?

2007-12-21 Thread [EMAIL PROTECTED]
She used to do the graphics for the website, but it was a while ago. :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustered Connection Factories

2007-12-21 Thread pache
>From my understanding, load-balancing is not suitable because a MDB open 
>several session, and you expect them to be connected to the same node.

(dont ask me about the best factory to use :))

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss + Xerces + Xalan ... lots of problems

2007-12-21 Thread viniciuscarvalho
If someone cares ...

I've solved this by using the VM parameter : 
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"

I have no idea why the Xalan transformer causes this, but it solved my problem, 
and that what matters ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Automatically log someone in.

2007-12-21 Thread badock
"wesleyhales" wrote : although not very elegant, have you tried:
  | 

yes, that's the solution i came up with, but i don't find it elegant, 
i'm still looking for a better solution 

thanks anyway ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:fileUpload not actually sending output?

2007-12-21 Thread dloebbe
Since I am not able to post a comment into the jira ticket I like to announce, 
that the same things happen when having the gravel lib in the classpath. In 
this case, the seam multipart request is replaced by the 
GravelHttpServletRequest. I found this by debugging 
FileUploadRendererBase.doDecode().

The result is the same as with the trinidad libs. The setter for the byte[] is 
called with a null value.

Anyway, is there a workaround?

Bye, daniel

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Request forward error with Portlet

2007-12-21 Thread anantj
Hi All,

I am having a protlet web-app. Which contains one portlet and deployed on JBoss 
portal 2.6.2 as well as 2.6.3.

The portlet class calls one of the servlet created by me. The servlet after 
processing request it forwards the response to one JSP which is done using 
RequestDispatcher. But it gives following error. 

Please help me to solve this problem.

19:07:39,656 ERROR [[summary]] Servlet.service() for servlet summary threw 
exception
java.lang.NullPointerException
at 
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at 
org.apache.jasper.compiler.JspRuntimeContext.getWrapper(JspRuntimeContext.java:188)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:299)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.tsc.bo.action.SummaryKPIAction.doGet(SummaryKPIAction.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
at 
org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:86)
at com.tsc.bo.portlet.SummaryPortlet.doView(SummaryPortlet.java:19)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
at 
org.jboss.portal.portlet.invocati

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Migration of SAR files from 4.2.2 to 5.0

2007-12-21 Thread [EMAIL PROTECTED]
There are supported, no problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ajp threads hung in java.net.SocketInputStream.socketRea

2007-12-21 Thread clb100
Looks like my problem is a known one.

http://jira.jboss.com/jira/browse/JBWEB-82

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-21 Thread dkane
damianharvey, 

thank you for the example. 

This radically differs from the model I have had in mind about page parameters. 
I thought that tag 
 
takes value FROM  #{testBean.id} and makes it available via @RequestParam.

In your example, value is being taken from row.id using f:param (that is 
understandable) , and then it is being ASSIGNED TO #{testBean.id}. 

I thought "param" in pages.xml exposes value to context for further usage, i.e. 
"value=" attribute is getter, not setter. 

How can it work in both directions ? At least it works in the way I expected.. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Autostart process on JBoss start

2007-12-21 Thread kukeltje
according to the docs it is...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-21 Thread damianharvey
I don't think that there's anything *wrong* with @RequestParameter, but it 
isn't optional so your Bean containing it must always be passed it.

Using just page params is just as easy. You would do something like this:
test.xhtml:

  | 
  | 
  | 
  | #{row.id}
  | 
  | 
  | 
  | Normal Delete
  | 
  | 
  | 
  | AJAX Delete
  | 
  | 
  | 
  | 
  | 
  | 
test.page.xml:

  | 
  | 
TestBean.java

  | @Name("testBean")
  | public class TestBean {
  | private long id;
  | private List widgets = new ArrayList
  | 
  | public long getId() {
  | return this.id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | public void deleteWidget() {
  | Widget widget = entityManager.find(Widget.class, this.id);
  | entityManager.remove(widget);
  | widgets.remove(widget);
  | }
  | 
  | public List getWidgets() {
  | if(this.widgets == null || this.widgets.size == 0) {
  | loadWidgets();
  | }
  | return this.widgets;
  | }
  | private void loadWidgets() {
  | this.widgets = entityManager.createQuery("select w from Widget 
w").getResultList();
  | }
  | 
Hope this helps.

Cheers,

Damian.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114962
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Exceptions on the same page

2007-12-21 Thread alessandrolt
How does an exception be launched on the same page that called it, using 
pages.xml (or annotations)? 

Only see redirects ...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam ajax & conversation

2007-12-21 Thread Stateless Bean
Hi,
I got bean in conversation mode and when i fire method via seam ajax from this 
bean, always my destroy method is fired, why?

Is see in jboss console info : "Destroy"

  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name("ordersAction")
  | 
  | @Destroy @Remove
  | public void destroy() { System.out.println("Destroy - ordersAction"); }
  | 

Why this happen?

My ajax method in js

  | Seam.Component.getInstance("ordersAction").checkCode(newCode, 
checkCodeCallback);
  | 

method isn't annotaed @Destroy and @End 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using @In to inject a reference to a bean in a different Jar

2007-12-21 Thread EoinByrne
Hi guys

I have an ear file containing 2 jars as ejb modules.  In jar A I have a bean 
which extends a pojo in Jar B and uses the @In tag to inject a reference to an 
ejb in jar b.  It seems that the reference is comming out as null.

For the In tag itself I am specifiing create=true and required=true.

Is there some way to inject a reference to a bean in a different jar while 
still using annotations?

Thanks
Eoin


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114958
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Entity EJB3.0 Unit Testing - How to setup JNDI datasourc

2007-12-21 Thread sushmu
After searching it seams (pun intended) like caveatemptor jpa example is the 
best bet for doing entity bean testing with an embedded ejb3 datasource.

Hi Gavin, have any plans embracing Maven?? The seam community can greatly 
benefit from a maven seam-gen ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Migration of SAR files from 4.2.2 to 5.0

2007-12-21 Thread Juergen.Zimmermann
Can SAR archives still be used without any changes?
Or is there any migration (or replacement?) necessary when using JBoss 5 ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB3 WebService Deployment inside EAR

2007-12-21 Thread roele
It seems i found the major problem of this weird behavior. I exposed my 
WebService through an interface annotated with @WebService, then my ServiceBean 
implemented this interface which not worked at all. Later on i tried to 
annotate my ServiceBean directly which seems to work fine... 
Is this a known issue or did i still miss something?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114953
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: [Seam] problem with ant explode

2007-12-21 Thread damianharvey
Do you have any compilation errors?

Can you run any of the other ant tasks?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm-console + versioned seam backing bean

2007-12-21 Thread apdo
I figure out that for my needs, with all the Seam features, I is easier for me 
to write my own application instead of trying to adapt the bpm-console.

I have started from the seam-todo example. I have added a xhtml form with field 
to fill for the todo task. This form use a backing bean and it work fine.

>From there I have remove the todo process definition from the todo example and 
>create a xhtml page that allows me to deploy process definition.

I have deploy a first version of my todo process definition. this process 
definition include the processdefinition.xml and the backing bean in the par 
file
I have start the process and it use the backing bean that come from the par 
file!

I have deploy a second version of my todo process definition. this process is 
identical to the previous version except that I have modify the string that is 
printed from one of the backing bean method. I start a process of this second 
process definition version. 
I realize that both the process of the version one and the process of the 
version two are using the first version of the backing bean.


Like it is possible to do in the bpm console, I want my user to be able to 
deploy in my application new process and new process version of already 
deployed processes.

for a process definition, the versionning is supported for:
the process definition (xml file)
the action handler
and the task xhtml form (there is a good example on how to do this in the 
bpm-console)

however, a xhtml form to be fully functional must need backing bean.


1. Is this supported and I am doing something wrong in my test to use backing 
bean?

If it is not supported, is it a planned feature? I will look into the code but 
I don't think I could easily had this feature myself.

2. An alternative would be to have a ear for every version of the process 
definition. This ear will include the backing bean for a specific version of 
the process definition. This should work fine however, following my limited 
testing on this, the startup of jboss is significantly longer if I deploy a lot 
of ear.
What is your though about this alternative?


An Phong Do
solabs.com

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - JTA transactions

2007-12-21 Thread breako
Hi,
I am using a Seam managed EntityManaged and configured the persistence unit to 
use JTA transactions.


  |
  |   org.hibernate.ejb.HibernatePersistence
  |   java:/DefaultDS
  |   
  |  
  |  
  |  
  |  
  |   
  |
  | 

My backing bean, is using conversation scope.
All works fine, I am just wondering if in the middle of a request, I wish to 
call out to another party who wishes to join the transaction and update another 
database (e.g. a legacy database). 

What is the best way to do this?Is it just a matter of that party using the 
same transaction manager or is there something extra special I have to do?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114948
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Re-routing Tokens

2007-12-21 Thread dleerob
Thank you for the advice.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Re-routing Tokens

2007-12-21 Thread Olivier_Debels
Choosing between node.leave() or node.enter() is in our approach configurable 
(the implementation class which determines how to re-route the token is 
interchangeable).

Completed task instances aren't deleted too, which is ok since they can be used 
for logging and auditing purposes.  We use the same code as you do (and also 
set canceled flag) (but also check if any tokens, super processes etc need to 
be ended).  We also add the reason why they were ended (can be used for 
auditing purposes and to filter them out).  

If needed we can always write a purge method which removes/backups any old 
completed task instance / process instance in the database (taking in account 
any logging records etc that need to be removed too).

Be aware when ending task instances like this and having fork/join with a task 
node in between.  This could result in a never ending process instances.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >