[jboss-user] [JBoss Seam] - Re: JBoss seam with eclipse

2007-06-15 Thread [EMAIL PROTECTED]
There is a page on the Seam wiki

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

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


[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code

2007-06-15 Thread miloslav.vlach
Hi, I tried to use ui:include but with no success.

When I use 


  | ui:include src=/templates/testtemplate.xhtml /
  | 

it works. But the I use 


  | ui:include src=/templates/#{a.template}.xhtml / 
  | 

where #{a.template} = testtemplate I got


  | HTTP Status 404 - /cms/index.seam
  | 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.2GA binds to IP but not webapp

2007-06-15 Thread lpiccoli
anonymous wrote : is there some config that binds the web application to an IP?
  | 

ooops looks like this is user error. The web-app was deployed correctly to 
public IP just like the manual states!

i was just testing incorrectly.

ouch:-(

-lp

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

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


[jboss-user] [JBoss jBPM] - The relationship between jbpm BPEL and jbpm jPDL

2007-06-15 Thread debra
I am not clear about the relationship between jbpm BPEL and jbpm jPDL, can 
someone tell me something? Thanks a lot.

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

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


[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code

2007-06-15 Thread miloslav.vlach
Solved !!

The problem is not in ui:include but in ui:repeat - 


http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets

Working code...


  | s:fragment rendered=#{articleAction.article != null}
  |c:forEach items=#{articleAction.article.articles} var=a
  | #{a.template}
  | ui:include src=/templates/#{a.template}.xhtml /
  |/c:forEach
  | /s:fragment
  | [/code[

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

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


[jboss-user] [EJB/JBoss] - ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeExceptio

2007-06-15 Thread ssuhaila
 i just new in this java..so  need help because when i deploy my program
this error in jboss will appear. before this ok..but after i install a new 
version of netbeans there is a problem.

PLEASE HELP ME!!

2007-06-15 13:22:42,546 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
RuntimeException in method: public abstract java.util.List 
com.utm.iumis.hrms.facade.kegiatanluar.KegiatanLuarFacadeRemoteBusiness.getClubList()
 throws java.rmi.RemoteException:
java.lang.NullPointerException
at 
com.utm.iumis.hrms.facade.kegiatanluar.KegiatanLuarFacadeBean.getClubList(KegiatanLuarFacadeBean.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:954)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy57.getClubList(Unknown Source)
at 
com.utm.iumis.hrms.web.delegate.KegiatanLuarDelegate.getClubList(KegiatanLuarDelegate.java:131)
at 
com.utm.iumis.hrms.struts.action.kegiatanluar.DaftarKegiatanLuarAction.init(DaftarKegiatanLuarAction.java:149)
at 
com.utm.iumis.hrms.struts.action.kegiatanluar.DaftarKegiatanLuarAction.papar(DaftarKegiatanLuarAction.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at 
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at 
org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:150)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at 

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Setting jboss-web service ports

2007-06-15 Thread bestlong
becuse jboss.bind.address default is not 0.0.0.0

on jboss-4.2.0GA is 127.0.0.1 

when start server you can use run.sh -b 0.0.0.0




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

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


[jboss-user] [JBoss Seam] - Re: Writing a custom converter which wraps EntityConverter

2007-06-15 Thread Newlukai
Isn't there anyone who's done such an implementation?

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

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


[jboss-user] [JBoss Seam] - Re: ELContext exception

2007-06-15 Thread eirirlar
I've removed the modules for el-api, el-ri and jboss-seam from the ear's 
application.xml, and instead listed the jar-dependencies in the ejb's and web's 
META-INF/MANIFEST.MF like this:

Class-Path: lib/jboss-seam-1.2.1.jar lib/el-api-1.2.1.jar lib/el-ri-1.2.1.jar

It works! Thanks.

However, I've tried removing the classpath entries from the ejbproject.jar's 
MANIFEST.MF, and to my surprise it still works(!) Do I really need to list 
el-api, el-ri and jboss-seam jars here?

(Removing el-api, el-ri and jboss-seam jars from both the ear's application.xml 
and the war's MANIFEST.MF did not work, as expected).

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm-gpd 3.0.12 not working with Eclipse 3.3

2007-06-15 Thread [EMAIL PROTECTED]
Hi Phil,

I tested the 3.0.x as well as the 3.1.x branches yesterday with Eclipse 3.3RC3 
and it all seemed to work, so you might try your chances with one of those 
combinations. I think you might have to build the designer from the sources 
though with the appropriate Eclipse drivers:
- Eclipse SDK 3.3RC
- WTP 2.0RC3
- emf-sdo-xsd 2.3.0RC3
- GEF-SDK 3.3RC3
- dtp-SDK 1.5RC3

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: Licence Question - Commercial End Product

2007-06-15 Thread [EMAIL PROTECTED]
Just using the product and redistributing it can be done under any license. If 
you make changes and/or patches to the source code, they should be returned to 
the community by licensing them under the LGPL.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration

2007-06-15 Thread baz
Hi, thanks for the answer.

We have a 32bit machine, so what can else be the problem.


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

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


[jboss-user] [EJB 3.0] - Re: JBoss EJB 3.0 TrailBlazer doesn't seem to work for me

2007-06-15 Thread happytour
I'm following up my previous post. Looking in the server,log file I noticed 

11:11:22,196 WARN  [ServiceController] Problem starting service 
jboss.j2ee:service=EJB3,module=beans.jar
  | java.lang.NoClassDefFoundError: javax/ejb/InvocationContext

Any suggestion ? I installed the server using jems-installer 1.2.0GA and I have 
chosen EJB3 config.

Many thanks in advance,

Nicolas

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

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


[jboss-user] [JBoss jBPM] - End a path of execution

2007-06-15 Thread pattchen
hi,
I would like to know how to end a path of execution in jBPM. In fact, i have a 
path of execution which should end if a certain condition is evaluated to true, 
so that others activities will not take place.

I've tried these solutions:
1.
if(condition){
  |executionContext.getToken().end;   
  | }
  | else{
  | executionContext.leaveNode();
  | }

2.
if(condition){
  | Node endNode = 
executionContext.getProcessDefinition().findNode(end);
  | executionContext.getToken().setNode(endNode);   
  | }
  | else{
  | executionContext.leaveNode();
  | }

3.
if(condition == false){
  | executionContext.leaveNode();
  | }

all work, but I feel that there is a difference because solutions 1 and 2 
explicitly end the path of execution while the third just behaves as a state 
node.

Can someone explain me the difference, and which is the right solution to 
resolve my problem?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration

2007-06-15 Thread petemuir
Ah, maybe it affects 32bit as well - I didn't follow closely the discussion

https://facelets.dev.java.net/issues/show_bug.cgi?id=213

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6196102

We need a new draft of 1.1.12 - then we can update the one  in Seam.  You may 
want to try compiling facelets from (their) CVS and then compile Seam against 
that facelets library.

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

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


[jboss-user] [JBoss Seam] - question about datepicker on IE

2007-06-15 Thread nico.ben
Hi,
using seam1.2.1GA I see that 
datepicker in IE is displayed partially in background 
if there is a combobox or textarea near him.
With input text no problem.
No problem with firefox too.

I haven't found posts about it (probably a stylesheet problem).

If you noticed that problem, could you please give me a tip to quickly solve it?

Thanx u,
Nico

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

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


[jboss-user] [JNDI/Naming/Network] - Re: a problem in jboss-4.2.0GA

2007-06-15 Thread tihsho
I am hitting the same problem in 4.2.0 GA. The code runs OK on a 4.0.5 server.

I am hitting the bean successfully via JNDI but then it all falls apart as per 
huyiping2007's error

Any suggestions would be appreciated

Cheers

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

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


[jboss-user] [JBoss Seam] - Use of the Tomahawk tag library not recommended

2007-06-15 Thread wima1
Hi,

In the 'Chapter 24. Seam JSF controls' of the Seam Documentation 1.2.1.GA it's 
mentionned that the use of the Tomahawk tag
library is not recommended. I wonder why. Can anybody give me some reasons? 
Thanks a lot. Markus

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

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


[jboss-user] [JBoss Seam] - Re: To Gavin king__suggestion about restriction

2007-06-15 Thread ybxiang.wolf
Another reason why i want to do like that:

My customers need an UI Interface to assign permisisons by themselves. When i 
told them the concept of roles and permissions, they told me:I just want 
select one user and assign some permission to him, and nothing more!

I have thought about this question about one year!!!I implements this feature 
by HttpSession.
Now seam is so good, I will never use old framework. And i hope seam has this 
feature so much!!! Please!!!

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

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


[jboss-user] [JBoss Seam] - Re: Charset encoding problem in URL parameters

2007-06-15 Thread adrien.loyat
Thanks a lot ryildirim. 

It works fine now.

Adrien

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

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


[jboss-user] [JBoss Seam] - To Gavin king__suggestion about restriction

2007-06-15 Thread ybxiang.wolf
Gavin King:

I love seam so much!
I have 2 years web experience, and find that the security restriction offered 
by seam(jbpm or drools) is not enough. Now,i give a example:

100 Users:
u1u100.

100 Actions,namely 100 methods:
m01---m1000

now,
u1 is allowed to access m01-m10
u2 is allowed to access m11-m20
u3 is allowed to access m21-m30
u4 is allowed to access m31-m40
u5 is allowed to access m41-m50
..
u100 is allowed to access m991-m1000

Then, if i use drools, i must create 100 roles

I suggest:
add a new method named addPermission to class 
org.jboss.seam.security.Identity.

when i logg in, i just code like this:


@Name(authenticator)
public class AuthenticateAction {
@Logger Log log;
@In Identity identity;

@IfInvalid(outcome=REDISPLAY)
public boolean authenticate() {
log.info(authenticating #0, identity.getUsername());
//...
//find permission from DB for this user
List lst_user1 = ...;
for(int i=0;ilst_user1.size();i++){
identity.addPermission(lst_user1.get(i).toString());
}

}
}


And check permission lick this:

In JSF:
s:link view=/.xhtml action=#{xxx} value=Logout 
rendered=#{identity.hasPermission('xxx')}/

In java code:
@Restrict(...hasPermission('xxx')...)
public void xxx(){

}



I think this is a more simpler method about access control. I really love seam 
and want seam has this feature!!!

Please think about it. 

When i touch ejb2.1, i really hate it EJB! 
But EJB3.0 give me the new hope. Hibernate, ejb3.0,seam are really the best in 
the word.


Please, please think about this suggestion



(I am chinese, i really envy americans have so good enviroment! )

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

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


[jboss-user] [JBoss Messaging] - Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread rtm333
It seems that in JBM 1.3.0.GA on AS 4.2.0.GA the processing of 
TopicSession.DUPS_OK_ACKNOWLEDGE for topics is broken. It used to work in 
previous versions up to JBM 1.2.0.sp1 on AS 4.0.5.GA. The first indication of 
the problem is that in listMessageCountersAsHTML() of the ServerPeer MBean the 
Depth counter of the topic will always grow, although the messages are 
delivered to the subscriber. When trying to close the consumer, the following 
exceptions are thrown and the subscription is leaked:

java.lang.IllegalStateException: Cannot remove references while deliveries are 
in progress, there are 147

javax.jms.IllegalStateException: Cannot find binding for topic sub with queue 
name: a5g2ys-jbgoe3-f2yes1cr-1-f2yew8i8-q
 
A workaround is to use AUTO_ACKNOWLEDGE.


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

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


[jboss-user] [JBoss Seam] - Re: To Gavin king__suggestion about restriction

2007-06-15 Thread ybxiang.wolf
[EMAIL PROTECTED] wrote : I think you've got kind of the wrong idea about 
what the security rulebase should look like. 
  | 
  | It should not have 1000s of rules, 1 for each user, instead it should have 
one rule which says: if the needed Permission belongs to 
User.getPermissions(), grant the permission.

**
It should not have 1000s of rules, 1 for each user, instead it should have one 
rule which says: if the needed Permission belongs to User.getPermissions(), 
grant the permission.
~~~This is just what i want!
~~~This is just what i want!
~~~This is just what i want!
~~~This is just what i want!
~~~This is just what i want!

I think i haven't grasp drools and cann't use it correctly. I will spend more 
time on drools and seam. 

Thank you so much!!! 
You are the best(NOT so called one of the best) in jboss.com.



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

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


[jboss-user] [JBoss Portal] - Re: probleme with

2007-06-15 Thread eagleIT
Sorry for the bad title.
So i use the function page.createWindow , the window is well stored in the 
database, but unfortunately the window is not visible in my portal , even after 
logout/login. the window just doesn't appear. I think my portalObjectContainer  
is not reinjected. The portlet Perzonalize bundled with Jboss Portlet works 
just fine.


 * Action pour ajouter une window dans une page donnée, avec une région donnée
  |*/
  |   public void actionAddWindow() {
  | Page page = (Page) this.selectedPage;
  | try {
  | 
  |   String instanceName = this.selectedPortletName;
  |   String nameWindow = this.selectedPortletName.replaceAll(Instance, 
Window);
  |   nameWindow = nameWindow + (int) (100 * Math.random());
  |   Window window = page.createWindow(nameWindow, ContentType.PORTLET, 
instanceName);
  |   Content content = window.getContent();
  | 
  |   window.setDeclaredProperty(ThemeConstants.PORTAL_PROP_REGION, 
this.selectedRegionName);
  |   window.setDeclaredProperty(ThemeConstants.PORTAL_PROP_ORDER,  + 
Integer.MAX_VALUE);
  |   
  |   
  |   reinitOrderWindows(window);
  |   
  |   
//this.portletInfo.getPortletContext().setAttribute(PortalObjectContainer, 
portalObjectContainer);
  |   
//this.portletInfo.getPortletContext().setAttribute(InstanceContainer, 
instanceContainer);
  | 
  | } catch (DuplicatePortalObjectException unexpected) {
  |   unexpected.printStackTrace();
  | }
  | 
  |   }

Sorry for the poor english ;)

Best Regards.

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

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

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


[jboss-user] [JBoss Seam] - Re: To Gavin king__suggestion about restriction

2007-06-15 Thread ybxiang.wolf
I have read seam_reference and JBoss seam-simplity and power beyond java, i 
really love them!

haha

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

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


[jboss-user] [JBoss Seam] - Re: To Gavin king__suggestion about restriction

2007-06-15 Thread [EMAIL PROTECTED]
I think you've got kind of the wrong idea about what the security rulebase 
should look like. 

It should not have 1000s of rules, 1 for each user, instead it should have one 
rule which says: if the needed Permission belongs to User.getPermissions(), 
grant the permission.

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

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


[jboss-user] [JBoss Seam] - Re: To Gavin king__suggestion about restriction

2007-06-15 Thread ybxiang.wolf
Gavin king:

Thank you again!!!
You make java better!!! You are changing JAVA and JAVAers!!! You are the best!!!

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

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


[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration

2007-06-15 Thread petemuir
You can c:forEach over h:column

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

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


[jboss-user] [JBoss Seam] - Re: Writing a custom converter which wraps EntityConverter

2007-06-15 Thread petemuir
This should be fairly straightforward - just extend the class, copy the 
annotations (and give it a new name), and delegate as needed.

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread timfox
Can you verify if the behaviour occurs in TRUNK?

This looks like a dupe of 
http://www.jboss.org/index.html?module=bbop=viewtopict=110195

which was fixed in TRUNK http://jira.jboss.com/jira/browse/JBMESSAGING-982

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

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


[jboss-user] [EJB 3.0] - How to provide the identity in the annotation for MDB?

2007-06-15 Thread JasonHsu
I have a normal MDB defined like:

  | @MessageDriven(activationConfig = { 
  |  @ActivationConfigProperty(propertyName=destinationType, 
propertyValue=javax.jms.Topic) 
  | ,@ActivationConfigProperty(propertyName=destination, 
propertyValue=/topic/testTopic)
  | })
  | public class MyMdb implements MessageDrivenBean, MessageListener {
  |  ..
  | }
  | 

It works fine with the default destination (on JBoss Messaging 1.3 GA). Now, I 
want to access a secured topic(remote) which has been set correctly if I use 
testUser and testPassword to access it locally (on remote box)

What's the keyword of the propertyName that I can specify the identity to my 
MDB? I've been searching around but can't any piece of information regarding 
this issue. Please help!

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread pakhi
Hi, I ve been reading your issues, and I am also finiding a similar issue in my 
application. I am jus trying to insert in one table in whihc one field in 
IdentityId.  
My Entity Bean is like follows:


@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column (name=id)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}

and my table contains this field id as set to IDENTITY

then also i m getting this error...

sed by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]'last_insert_id' is not a recognized function name.
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(Unknown 
Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown 
Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
14:18:36,232 ERROR [STDERR] at 
com.microsoft.jdbc.base.BaseStatement.executeQuery

Has anyone tried to look into such Entitiy insertion...

Please reply... I ve been looking into it for so long...
THanks alot...

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

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


[jboss-user] [Beginners Corner] - Object pool in JBoss

2007-06-15 Thread bardl
Hi,

I have created a service bean performing xml transformations. Since the 
transformer obect is not threadsafe I have used the ObjectPool in the 
apache.commons.pool.impl package. 

But this means I have to import a third party package into my project, which I 
would rather avoid if possible.

I have searched for an ObjectPool package in jboss but haven't found any.

So my question is: Does anyone know of a package/class in JBoss I could use ?


Thanks, in advance.

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

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


[jboss-user] [JBoss Seam] - EL enhancement does not work in pages.xml

2007-06-15 Thread BerndMueller
I tried to use EL enhancements in pages.xml like


  | rule if=#{comp.method('param')}
  | 

and get a 
javax.faces.el.ReferenceSyntaxException: Invalid expression:

The same EL-Code works as the action method of a commandButton
(with String return of course).

Are EL enhancements not allowed in pages.xml?

Thanks

Bernd

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

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


[jboss-user] [JBoss Seam] - Problem selecting the pageflow

2007-06-15 Thread trekker880
Hi
i have a problem regarding to select the pageflow according to the user type.
Suppose i have 2 diff types of users.
Say Admin  CSR
For Admin i want to select the pageflow1.jpdl.xml and for the CSR user i want 
to select the pageflow2.jpdl.xml

How would i select this if i give an action on the login button of the 
login.jsp.

Is there any facility in the seam  pageflow so that it can redirect to the 
corrosponding pageflow...?

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

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


[jboss-user] [JBoss Portal] - struck log4j related problems while starting CAS war

2007-06-15 Thread advaittrivedi
I have installed Central Authentication Service v 3.0.7 on JBoss Portal 2.6. 
For that we need to put cas.war to /JBOSS_HOME/server/default/deploy

After that i started the server, but i got:

15:38:58,767 INFO  [[/cas]] Initializing Log4J from [classpath:log4j.properties]
15:38:58,923 ERROR [STDERR] log4j:ERROR A 
org.jboss.logging.util.OnlyOnceErrorHandler object is not assignable to a o
rg.apache.log4j.spi.ErrorHandler variable.
15:38:58,923 ERROR [STDERR] log4j:ERROR The class 
org.apache.log4j.spi.ErrorHandler was loaded by
15:38:58,923 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]
] whereas object of type
15:38:58,923 ERROR [STDERR] log4j:ERROR 
org.jboss.logging.util.OnlyOnceErrorHandler was loaded by [org.jboss.system.se
[EMAIL PROTECTED]
15:38:58,986 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported 
error follows.
15:38:58,986 ERROR [STDERR] java.lang.ClassCastException: 
org.jboss.logging.appender.DailyRollingFileAppender

So I decided to remove log4j and commons-logging from web-inf/lib of cas.war. I 
also verified they are present in lib of /JBOSS_HOME/server/default. Now server 
startup simply halts at:

15:42:43,162 INFO  [[/cas]] Initializing Log4J from [classpath:log4j.properties]

No errors any where!! Any idea whats going on. 

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread itsme
hi folks,

you should get around this by setting strategy to GenreationType.TABLE. This 
should result in a table created at database named hibernate_sequences (or 
something similar). This table provides the next id as an integer mapped by the 
name of the entity as key.

maybe this could help.

regards

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

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


[jboss-user] [JBoss Seam] - Re: Database connection

2007-06-15 Thread alexrozario

sorry sir, i cant follw you.
can you give me that link..
where are those examples. 
can you help me further please...

and i had one more doubt..
i have created an seam+ejb 3.0 project in exadel IDE. In that i used Oracle 9i 
as an databse and JBOSS as an application server.

while ruinning the server it shows the following error.

ObjectName: persistence.units:ear=New.ear,jar=NewEJB.jar,unitName=First
  State: FAILED
  Reason: javax.naming.NameNotFoundException: Oracle not bound
  I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Oracle
  Depends On Me:
jboss.j2ee:ear=New.ear,jar=NewEJB.jar,name=FirstEjb,service=EJB3


where, New is my proect name contains newejb for ejb files and newweb for 
xhtml/jsf files. and oracle is my jndi name..

i am in confused state.. can you help me more..

thank you sir

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

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


[jboss-user] [Management, JMX/JBoss] - Changing from remoting.transport.Connector to invocation.poo

2007-06-15 Thread ecatum
Hi,

We've developped an application where a webapp agent communicates using 
Invoke/rmi with a server servlet serviced by our handler (MySubSys.class):


  |  --- -
  | | webapp agent .invoke | ---RMI--- | servlet - handler (MySubSys.class) |
  |  --- -
  | 

Using invoke works fine on the agent's side but the server servlet gets rapidly 
limited under heavy load because of increasing number of agent connections 
(seen in this example using: netstat | grep 8052). 
- Driving the client to be refused new connections.

So, I would like to change the following jboss-service.xml inside my 
mySubSys.sar:


  | server
  | 
  |   mbean code=org.jboss.remoting.transport.Connector
  | name=jboss.remoting:service=Connector,transport=RMI
  | display-name=MySubSys Socket transport Connector
  | attribute name=Configuration
  | config
  | invoker transport=rmi
  | attribute name=registryPort 
isParam=true8053/attribute
  | attribute 
name=serverBindAddress${jboss.bind.address}/attribute
  | attribute 
name=serverBindPort8052/attribute
  | /invoker
  | handlers
  | handler 
subsystem=MYSUBSYScom.subsys.MySubSys/handler
  | /handlers
  | /config
  | /attribute
  | dependsjboss.jca:service=DataSourceBinding,name=subsysDS/depends
  |   /mbean
  | 
  | /server
  | 

for another configuration using invocation.pooled.server.PooledInvoker ?

Any suggestions?
Thanks a lot

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread rtm333
It still occurs with revision 2769, which was the most current one on TRUNK on 
this Monday and was checked in after JBMESSAGING-982 was closed.

In addition there are several differences to the behaviour reported in 
conjunction with JBMESSAGING-982:

1. It happens not only under heavy load as a race condition, but always.
2. The non-shrinking of the depth counter can be observed immediately and 
before closing the consumer.

As far as I can tell, it is not related and not resolved with the previous 
issue.


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

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


[jboss-user] [EJB 3.0] - Re: Database Connection

2007-06-15 Thread alexrozario
Thank you sir.
thank you for your valuable response..
i have followed the things you have specified..

now i am in a right path i think, but still i cant finish my task.
i cant connect with database.

can you help me further.

i have created an entity bean as First.java(i have table named First in my 
remote database). i have created FirstEjb as remote interface and created 
FirstEjbBean as stateless session bean. my oracle jndi name is oracle..

but

while ruinning the server it shows the following error.

ObjectName: persistence.units:ear=New.ear,jar=NewEJB.jar,unitName=First
  State: FAILED
  Reason: javax.naming.NameNotFoundException: Oracle not bound
  I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Oracle
  Depends On Me:
jboss.j2ee:ear=New.ear,jar=NewEJB.jar,name=FirstEjb,service=EJB3


persistence-unit name=First
jta-data-sourceOracle/jta-data-source
/persistence-unit

this is my persistence file.. i think i have to change here only..

i am in confused state..

can you please guide me to overcome this issue..

thank you sir..

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

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


[jboss-user] [JBoss Seam] - Greate thanks to Jboss team and Jboss-Seam team especialy

2007-06-15 Thread Phantom
You can delete my message, but I just want to say you realy greate thanks for 
the Jboss-Seam product!!! 
It's realy simple to code and create web applications!
Some mounth ago I thought that Struts2 is perfect, but after learning JbossSeam 
and writing several projects on them, I think that JbossSeam is realy 
sagnificant and perfect framework for J2EE programmers.

Thank you! 

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread pakhi
Hey.. thanks for your reply... I really appreciate the same so soon... 
But now i am getting the error as follows:

15:56:14,638 ERROR [MultipleHiLoPerTableGenerator] could not read or init a hi 
value
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR. at 
com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at 
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at 
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at 
com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(Unknown 
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(

I made this change as you guided... 
@Id
@GeneratedValue(strategy = GenerationType.TABLE)
@Column (name=id)
public int getId() {
return id;
}

Please guide, is there some constaint in inserting into the table though this 
entity bean. 

Thanks again... :)

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

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


[jboss-user] [JBoss Portal] - Unable to load tag handler

2007-06-15 Thread vsramineni
Hai, 

Iam working on jboss-portal-2.6-cr2 and iam deploying an application with 
my own lay-out and theme. During run time iam getting an error like this 
Unable to load tag handler class 
org.jboss.portal.core.theme.tag.RegionTagHandler for tag p:region 

I have copied all the jar files into my lib folder. 

please help me to solve this.

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread itsme
you could try to create a wrapperservice, which creates your id instead of 
doing it by using hibernate. the service could look something like this:

  | public Long createId(String entity){
  | //read current value
  | //increment that
  | //write back to database
  | //return original value to caller
  | }
  | 
This creates a simple ID-Service with no dependancies. Don't forget to remove 
the annotation for the strategy. If that works probably  there is something 
wrong in the combination of hibernate and ms sql server.

regards

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

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


[jboss-user] [EJB 3.0] - Re: Database Connection

2007-06-15 Thread andydale
Hi

you're right, a chage is needed in the persistence file: change the following

jta-data-sourceOracle/jta-data-source

to

jta-data-sourcejava:/Oracle/jta-data-source

Cheers,

Andy

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread timfox
Ok, can you please add a JIRA task (against 1.4.0.CR1) with directions how to 
replicate.

Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: instances problem

2007-06-15 Thread habicht
The original hsql-ds.xml worked. The problem with the DefaultDS is gone.

I have two web projects MyPortal, containing my-object.xml and 
portlet-instances.xml and MyPortlet which contains portlet.xml and the 
MyPortlet.class in /WEB-INF/classes/org/jboss/portlet/hello/MyPortlet.class

Both the portal-pages from my-object.xml and MyPortlet are listed in the 
management-portlet from the jboss default-portal only the instance is missing. 
If I create it via management-portlet everything works great but then I 
wouldn't need the portlet-instances.xml.

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

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


[jboss-user] [EJB 3.0] - Isolated Classloader with JPA (java.lang.ClassCastException:

2007-06-15 Thread FelderR
Each EAR Deployment is isolated in a seperate Classloader. This is due to the 
fact, that we use different Hibernate versions on different EAR Deployments. 

We specifiy the isolation in the jboss-app.xml file as following:
jboss-app
  loader-repositoryclassloader:loader=earfilename
loader-repository-configjava2ParentDelegation=false
/loader-repository-config 
  /loader-repository
/jboss-app

While migrating from native Hibernate access to JPA access we consider problems 
with this isolated classloaders, as the EntityManagerFactory is built from the 
Class org.jboss.ejb3.entity.PersistenceUnitDeployment. This class is in the 
Library jboss-ejb3.jar which is located in the lib directory of JBoss. 

The problem is, that we fall back to the lib directory of JBoss and therefore 
the Hibernate Version that lies within this directory is used as persistence 
provider for JPA. 

So we have two different versions of hibernate, one in the lib directory and 
one in the EAR file. This leads to the problem that we get a ClassCastException 
when setting the Dialect as the Dialect Object was used from the hibernate 
Version within the EAR file, the DialectFactory was used from the hibernate 
version within the lib directory.

Any ideas (especially to the JBoss Members) how to solve this issue?

Thx Rene

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

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


[jboss-user] [EJB 3.0] - Ejb 3s and scheduling with cron expression.

2007-06-15 Thread paradigmza
Hi,


I have a simple problem and I was wondering if there is a easy solution...

I have an EJB3


  | @Stateless
  | public class SendSettlementEmailBean implements SendSettlementEmail {
  | public void sendEmail() {
  | System.out.println(Running Now);
  | }
  | }


Now I want this piece of code to run on the 1st day of every month? How do I go 
about doing that?

I tried using quartz, but it only works with ejb 2.1, and I had a brief look at 
the EJB3 Timer but it looks like it can't take a cron expression?

Is there a standard way to do this?

Thanks Sean.

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

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


[jboss-user] [Installation, Configuration Deployment] - cant't deploy in context root on jboss-4.2.0.GA

2007-06-15 Thread hasc

Hi,

i have trouble getting my application running in the root context on 
jboss-4.2.0GA. i read the documentation, the howtos and so on, maybe i'm stupid 
but i cant get it working...

i was trying to configure apache and tomcat with ajp ant got so far that i 
could access the application with [mydomain.tld/app] but no way with 
[mydomain.tld].
so i tried to get it running on 127.0.0.1:8080 - without success.

i tried the foloowring:

- i renamed the ROOT.war
- in application.xml i defined:
context-root/context-root
  | 
  | or 
  | 
  | context-root /
  | 
- i did the same in jboss-web.xml
all without success. i remember i got it working on jboss-4.0.5.GA but now on 
jboss-4.2.0.GA i have no clue.

can anyone help please?

regards and thanks,
hasc 

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread timfox
Ok, I have replicated and am investigating

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: cant't deploy in context root on jboss-4.2.0.GA

2007-06-15 Thread hasc
i posted this thread also in the instalation forum since it has nothing to do 
wis this one. i was too tired last night and soved it now.

stupid mistake from me. i overlooked that the config-file wasn't deployed in 
the expected way.

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

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


[jboss-user] [JBoss Portal] - Need help with Iframe portlet.

2007-06-15 Thread Louritz
Hi

I used ant to build the war file and dropped it in the Portal Deploy folder. 
Everything works fine accept when I try and edit the portlet. As soon as I hit 
update it gives me a long error. failed to lazily initialize a collection of 
role...
Does anyone know how I can fix this?

Thx

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

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


[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread paradigmza
Yip, I couldn't agree more... its AWESOME... (been using it since version 1)

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread pakhi
Hey thanks for your concern, i will try this way and get back to you, but I 
want to intimate that I tried my code like this: 
@Id
@Column (name=id)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}

In this i m not generating the value with the @GenerateValue, and thus it 
inserts one id in the table and does not allows us to enter the second record 
id. i m getting the error, of  Inserting duplicate key...

Please look into the issue, if you could help us with some code sample in such 
a case. Thanks... 


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: cant't deploy in context root on jboss-4.2.0.GA

2007-06-15 Thread hasc
stupid mistake from me. i ovelooked that the config-file wasn't deployed in the 
expected way.



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

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


[jboss-user] [JNDI/Naming/Network] - Re: a problem in jboss-4.2.0GA

2007-06-15 Thread itsme
try changing as follows

  | Counter/remote
  | 
to

  | CounterBean/remote
  | 

regards

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

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


[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-15 Thread itsme
did i unterstand you right? Preparing the code like your last post you can get 
the entity to the table stored an it has an id. If so the table is created with 
id=autoincrement and thus it should be turned off. Looked at the ddl to correct 
this.

regards

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

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


[jboss-user] [EJB 3.0] - Re: Isolated Classloader with JPA (java.lang.ClassCastExcept

2007-06-15 Thread fhh
Well, I am not a jboss and memeber and everything but an expert on class 
loading but shouldn't you be able to simply remove the (now uneeded) Hibernate 
libs from the EAR?

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Session scoped component and usage

2007-06-15 Thread miloslav.vlach
Hi all,

i have problem with SESSION scoped component.

I have an action which create one entity and add children to it. Name of the 
entity is ComponentLayout and I would like to this component exits until the 
save method is invoked.

But problem is: when I call the action addArticle and add article to the 
ComponentLayout the collection contains only one item.

The instance of the ComponentLayout is destroyed and new instance is created.

Can somebody help me ?

Thanks Mila


  | @Name(componentLayoutAddAction)
  | @Scope(ScopeType.SESSION)
  | public class ComponentLayoutAddAction implements Serializable{
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 3749007088722731841L;
  | 
  | @In
  | Session ses;
  | 
  | @Logger
  | Log log;
  | 
  | @DataModel
  | ListArticleLinker articlesInComponent;
  | 
  | @In(required = false)
  | ViewArticle viewArticle;
  | 
  | @In(required = false)
  | ArticleLinker articleLinker;
  | 
  | @In
  | ComponentLayout componentLayout;
  | 
  | @SuppressWarnings(unchecked)
  | @Factory(articlesInComponent)
  | public void init() {
  | if (componentLayout == null)
  | return;
  | if (componentLayout.getArticles().size()  0) {
  | articlesInComponent = componentLayout.getArticles();
  | }
  | 
  | }
  | 
  | public String addArticle() {
  | log.info(adding article: #0, articleLinker);
  | 
  | componentLayout.getArticles().add(articleLinker);
  | 
  | articlesInComponent = null;
  | return success;
  | }
  | 
  | public String save() {
  | log.info(saving component: #0, componentLayout);
  | return success;
  | }
  | 
  | public String remove() {
  | log.info(removing article: #0, viewArticle);
  | return success;
  | }
  | 
  | @Destroy
  | @Remove
  | public void end() {
  | 
  | }
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Localization

2007-06-15 Thread jeneric
Hi,
I'm wondering if there is a way to change the locale for the session by using a 
request parameter (i.e. http://someurl/page.xhtml?locale=fr)?  We need this 
ability since we have users who will be navigating to this application from 
another web app.  
Right now we are able to receive a locale request parameter and change the 
localization settings using the LocaleSelector within our backing bean, 
however, that does not impact the initial page request, only subsequent 
requests. 

/Eric


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

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


[jboss-user] [JBoss Seam] - Problem with conversation propagation

2007-06-15 Thread Fleury
Hey,

I can not propagate correctly the same conversation id during page flow 
navigation.


Here is what I do :


I start a page flow by calling the method startNavigation of a stateful bean 
myBean :


@Begin(nested=true, pageflow=nav, id = browseProcesses) 
public void startNavigation() {}

At this stage, all is right and I see the URL :

http://localhost:8080/seam_console/home.seam?cid=browseProcessDefinitions

After that, I click the link :

s:link value=Show Processes action=#{myBean.showProcesses} 

and the conversation id in the URL is :

http://localhost:8080/seam_console/Process%20definitions.seam?cid=browseProcessDefinitions

The cid value is OK at this stage, but if I click now the new following link on 
the new page :

 s:link value=Show Process action=#{myBean.showProcess} 

the conversation id change suddenly :

http://localhost:8080/seam_console/Process%20definition.seam?cid=12

The two methods myBean.showProcess and myBean.showProcesses return simply the 
name of a transition in the page flow.

Why can I not keep the same conversation id after the second link? It works for 
the first link, but the conversation id change after clicking the second 
link... The two links have the same syntax...

Thank you for your help.

LF




 

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

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


[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread luizruiz
+1 !!

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

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


[jboss-user] [EJB/JBoss] - Can't lookup queue/B

2007-06-15 Thread happytour
Greetings,

In a simple JMS producer I'm doing the following

InitialContext ctx = new InitialContext();
  | Queue q = (Queue)ctx.lookup (queue/B);

This raises the following exception:

Exception in thread main javax.naming.CommunicationException [Root exception 
is java.rmi.NoSuchObjectException: no such object in table]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
ro.happytour.happyledger.jms.client.JMSProviderClient.main(JMSProviderClient.java:11)
  | Caused by: java.rmi.NoSuchObjectException: no such object in table

Could anybody please help ?

Kind regards,

Nicolas


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

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


[jboss-user] [JBossWS] - Re: WebServiceRef injection does not work

2007-06-15 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | To me it look like the wsrunclient simply provides a classpath for simple 
(i.e. Service.create) invocations
  | 

I have problems with Service.create() too using JBoss 4.0.5GA, latest EJB3 and 
JBossWS packages.

When I start my client I catch the following exception:

  | javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: 
Cannot obt
  | ain wsdl service: HelloService
  | at javax.xml.ws.Service.create(Service.java:731)
  | at com.imnet.oam.ws.HelloClient.init(HelloClient.java:13)
  | at com.imnet.oam.ws.HelloClient.main(HelloClient.java:27)
  | Caused by: java.lang.IllegalArgumentException: Cannot obtain wsdl service: 
Hello
  | Service
  | at 
org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildM
  | etaDataInternal(JAXWSClientMetaDataBuilder.java:131)
  | at 
org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildM
  | etaData(JAXWSClientMetaDataBuilder.java:85)
  | at 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.init(ServiceDelegat
  | eImpl.java:140)
  | at 
org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(Provid
  | erImpl.java:61)
  | at javax.xml.ws.Service.init(Service.java:83)
  | at 
org.jboss.ws.core.jaxws.client.ServiceExt.init(ServiceExt.java:60)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
  | 
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  | orAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  | onstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | at javax.xml.ws.Service.create(Service.java:726)
  | ... 2 more
  | 

This is the WSLD generated while deploying the EJB3 web service:

  | definitions name='HelloService' targetNamespace='http://mypc:8080' 
xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://mypc:8080' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  |  types
  |   xs:schema targetNamespace='http://mypc:8080' version='1.0' 
xmlns:xs='http://www.w3.org/2001/XMLSchema'
  |xs:element name='sayHello' nillable='true' type='xs:string'/
  |xs:element name='sayHelloResponse' nillable='true' type='xs:string'/
  |   /xs:schema
  |  /types
  |  message name='Hello_sayHello'
  |   part element='tns:sayHello' name='sayHello'/
  |  /message
  |  message name='Hello_sayHelloResponse'
  |   part element='tns:sayHelloResponse' name='sayHelloResponse'/
  |  /message
  |  portType name='Hello'
  |   operation name='sayHello' parameterOrder='sayHello'
  |input message='tns:Hello_sayHello'/
  |output message='tns:Hello_sayHelloResponse'/
  |   /operation
  |  /portType
  |  binding name='HelloBinding' type='tns:Hello'
  |   soap:binding style='document' 
transport='http://schemas.xmlsoap.org/soap/http'/
  |   operation name='sayHello'
  |soap:operation soapAction=''/
  |input
  | soap:body use='literal'/
  |/input
  |output
  | soap:body use='literal'/
  |/output
  |   /operation
  |  /binding
  |  service name='HelloService'
  |   port binding='tns:HelloBinding' name='HelloPort'
  |soap:address location='http://mypc:8080/HelloService/Hello'/
  |   /port
  |  /service
  | /definitions
  | 

The client code follows:

  | package org.me.ws;
  | 
  | import java.net.URL;
  | import javax.xml.namespace.QName;
  | import javax.xml.ws.Service;
  | 
  | public class HelloClient {
  |   private static final String SERVICE_NAME = HelloService;
  |   private static final String WSDL_LOCATION = 
http://mypc:8080/HelloService/HelloService?wsdl;;
  |   private Service service;
  |   
  |   public HelloClient() throws Exception {
  | service = Service.create(new URL(WSDL_LOCATION), new 
QName(SERVICE_NAME));
  |   }
  |   
  |   public String getMessage() {
  | Hello hello = null;
  | 
  | hello = service.getPort(Hello.class);
  | return hello.sayHello(Jim);
  |   }
  |   
  |   public static void main(String[] args) {
  | HelloClient client = null;
  | 
  | try {
  |   client = new HelloClient();
  |   System.out.println(client.getMessage());
  | } catch (Throwable t) {
  |   t.printStackTrace();
  | }
  |   }
  | }
  | 

and finally the service implementation class code follows:

  | package com.imnet.oam.ws;
  | 
  | import javax.jws.*;
  | import javax.jws.soap.SOAPBinding;
  | import javax.ejb.Stateless;
  | 
  | @Stateless
  | @WebService(name=Hello, targetNamespace=http://mypc:8080;, 
serviceName=HelloService)
  | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
  | public class Hello {
  |   private String message = new String(Hello, );
  | 
  |   @WebMethod
  |   public String sayHello(String name) {
  | return message + name + .;
  |   }
  | }
  | 

The 

[jboss-user] [JBoss Seam] - Re: How to create reusable Seam components?

2007-06-15 Thread Manuel Palacio
I think what you need is a JSF component and not a Seam component

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Message Bridge Configuration

2007-06-15 Thread adoorsarath
sir,

  I am new to JBoss.I want to configure a message Bridge which consumes 
messages from a source queue , and send them to target queue , typically on a 
different server.

  Here I am using JBossMQ as the JMS provider.

  can any one suggest me few URLs which can solve my problem.

  I have the solution if I use Jboss Messaging  as the JMS provider

  But i need it to use JBossMQ

  would indeed appreciate help on this
  
  

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

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


[jboss-user] [JBoss jBPM] - task and actions

2007-06-15 Thread dd974
Hello, 

There is my problem :

I would like to execute an action just after the task is sent but before it is 
solved. node-leave actions and before-signal actions are executed once task 
is solved and node-enter just before task is defined. Is there a solution ?

There's my simple task :


  | task-node name=do-task
  | task name=task-1 swimlane=administrator
  | controller
  | variable name=text access=read/
  | variable name=alarmId access=read/
  |/controller
  |/task
  |transition name=finished to=end/transition
  | /task-node
  | 

Thank you in advance

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

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


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

2007-06-15 Thread petemuir
You should be able to do this using a page action

page view-id=* action=#{foo.initLocale} /


  | @RequestParameter String locale;
  | 
  | public void initLocale() {
  | if (locale != null) {
  | // Set the locale
  | }
  | }

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

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


[jboss-user] [JBoss Seam] - Re: Session scoped component and usage

2007-06-15 Thread petemuir
You need to outject the componentLayout as well.

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

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


[jboss-user] [JBoss jBPM] - Re: task and actions

2007-06-15 Thread kukeltje
task sent? What does that mean?



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

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


[jboss-user] [EJB 3.0] - Re: Isolated Classloader with JPA (java.lang.ClassCastExcept

2007-06-15 Thread FelderR
If I remove them everthing would work fine! But that would lead to the problem 
that all EAR Projects on the production server use the same Hibernate version. 
On our production machine we have about 20 projects using different versions of 
hibernate (some still use hibernate 2).

Some other projects are evaluating toplink. I don't want to set up a new JBoss 
Instance for every version of any JPA Provider in use on our server.

If that would be the case I would reccomend to step back to using hibernate 
without JPA. 

You could also remove the classloader isolation with all the drawbacks you will 
have. 

But thanks for the response!

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with DUPS_OK_ACKNOWLEDGE in JBM 1.3.0.GA

2007-06-15 Thread timfox
http://jira.jboss.com/jira/browse/JBMESSAGING-991

I have fixed this locally.

I can't commit yet though since I am in the middle of another piece of work.

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

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


[jboss-user] [JBoss Seam] - Re: Forced login?

2007-06-15 Thread KnisterPeter
I have a similar request for my page navigation. We have two login pages in our 
project.
There is a registration page which does not require login, but when the user 
registers successful, then no login should be required. Also there should be a 
login page for already registered users.
I've defined my pages.xml as follows:

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE pages PUBLIC
  | -//JBoss/Seam Pages Configuration DTD 1.2//EN
  | http://jboss.com/products/seam/pages-1.2.dtd;
  | pages login-view-id=/login.xhtml
  | 
  | page view-id=/login.xhtml login-required=false
  | param name=c value=#{campaign.id} /
  | 
  | action if=#{validation.succeeded}
  | execute=#{identity.login()} /
  | 
  | navigation
  | rule if=#{identity.loggedIn}
  | redirect view-id=/invite.xhtml /
  | /rule
  | /navigation
  | /page
  | 
  | page view-id=/register.xhtml login-required=false
  | param name=c value=#{campaign.id} /
  | 
  | action if=#{validation.succeeded}
  | execute=#{register.register(person)} /
  | /page
  | 
  | page view-id=* login-required=true
  | navigation from-action=#{identity.logout()}
  | redirect view-id=/login.xhtml /
  | /navigation
  | /page
  | 
  | exception class=org.jboss.seam.security.NotLoggedInException
  | redirect view-id=/login.xhtml
  | message severity=warnPlease login first./message
  | /redirect
  | /exception
  | 
  | /pages
  | 

But the register.xhtml page does redirect to the login.xhtml page... Any ideas?

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

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


[jboss-user] [JBoss Portal] - Re: Authentication using system username and password

2007-06-15 Thread brownfielda
Are the systems in question stand-alone systems or do they authenticate with a 
server (perhaps via LDAP)?

Unless they are authenticated via a server I don't see how any server-side app 
could use the local machine's authentication without including a client side 
application.


This is just musing, but it could technically be done via mac address or 
something, but that has some gaping security holes in and of itself.

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

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


[jboss-user] [Installation, Configuration Deployment] - Application context replication in jboss 4.0.5 clusteting

2007-06-15 Thread varma_i
Hi,

 How can we configure application context replication in jboss 4.0.5 in a 
clustered environment. Please give me the complete proceedure for doing the 
same.

Thanks in advance
Varma.


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

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


[jboss-user] [JBoss Seam] - Re: Session scoped component and usage

2007-06-15 Thread miloslav.vlach
I add @Out, but exception is thrown


  | org.jboss.seam.RequiredException: In attribute requires non-null value: 
componentLayoutAddAction.componentLayout
  | 

M.

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

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


[jboss-user] [JBoss Seam] - entity update without submit

2007-06-15 Thread hispeedsurfer
Have the problem that the entity is updated without a submit.
Once I have changed the value of the drop-down-menu it's directly updated to 
database.

This should not the correct behaviour!?! But I don't know why?


  | s:decorate id=generationDecorator template=edit.xhtml
  | ui:define name=labelGeneration:/ui:define
  | h:selectOneMenu id=gen value=#{specialrelease.generation} 
converter=#{selectItemHelper} required=true
  | f:selectItems value=#{specialreleaseeditor.allGenerations}/
  | a:support event=onblur reRender=generationDecorator/
  | /h:selectOneMenu
  | f:verbatim
  | a 
href=javascript:Richfaces.showModalPanel('_gpanel',{left:'auto', top:'auto'})
  | New Generation
  | /a
  | /f:verbatim
  | br  /
  | s:message/s:message
  | /s:decorate
  | 
  | 

This is what to see in console firsthand of change. 

  | 15:22:06,480 INFO  [STDOUT] Hibernate: update specialreleases set 
version=?, generation_id=?, creater_id=?, requestNumber=?, description=?, 
requestYear=?, status=?, document=?, numberOfParts=?, valideToDate=?, 
permitDate=?, timerHandle=? where id=? and version=?
  | 

Is this possible in case of a wrong configuration or what can it be? 

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

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


[jboss-user] [J2EE Design Patterns] - looking for blue.pdf

2007-06-15 Thread gwk
Hi guys,

could some kind soul please restore http://www.jboss.org/blue.pdf ?

It's an important piece of history, IMHO.  See 
http://www.theserverside.com/news/thread.tss?thread_id=16834.

--
Regards,
Georg.


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

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


[jboss-user] [JBoss Seam] - Re: Session scoped component and usage

2007-06-15 Thread miloslav.vlach
the @Out I have added... but not succesfull

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

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


[jboss-user] [JBoss Seam] - Re: Session scoped component and usage

2007-06-15 Thread miloslav.vlach
When I add 

@In(create = true)
ComponentLayout 


and display on add.xhtml #{componentLayout} I got different instance.

first submit
[EMAIL PROTECTED]

after submit...


[EMAIL PROTECTED]




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

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


[jboss-user] [Clustering/JBoss] - Re: JMS ConnectionFactory not bound exception: Help needed..

2007-06-15 Thread mpogra
Finally i m able to deploye the app in all nodes of cluster and session 
replication is working fine with mode_jk option. The problem was because, i was 
deploying all queus and topics form /all/depoy folder. These needs to be deploy 
from /all/deploy-hassingleton/jms folder.

But i m still getting exception  ConnectionFactory not bound exception  
mentioned in first post in other nodes but application is deployed fully on 
nodes and session is mentioned.

My application uses Ques and Topics as shown below

  | mbean code=org.jboss.mq.server.jmx.Topic
  |  name=jboss.mq.destination:service=Topic,name=CACHE_KEY
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |   /mbean
  |   mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=MESSENGER_ERROR
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |   /mbean
  | 

My Topic, Queues and there respecitve clients are in same application sever. 

My jms client is:

  | private TopicPublisher _publisher = null;
  | String jmsFactory = ConnectionFactory;
  | Context jndiContext = new InitialContext();
  | Object obj = jndiContext.lookup(jmsFactory);
  | TopicConnectionFactory connectionFactory = (TopicConnectionFactory) obj;
  | TopicConnection connection = 
connectionFactory.createTopicConnection();
  | TopicSession session = 
connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
  | String jmsTopic = topic/CACHE_KEY;
  | Topic topic = (Topic) jndiContext.lookup(jmsTopic);
  | 
  | TopicSubscriber subscriber = 
session.createSubscriber(topic);
  | subscriber.setMessageListener(this);
  | connection.start();
  | _publisher = session.createPublisher(topic);
  | _message = session.createMapMessage();
  | 

The class of above client implements javax.jms.MessageListener. When i m 
directly hitting the node (without the Apache Http server) otherthen master 
node then, When above client is trying to look for ConnectionFactory it 
throws exception as explained in first post. I have tried using HAJMS port 1100 
in provider URL as well but unable to get the object. 

Can any one please explain me about this behaviour or let me know if i m 
missing any configuration?

However when i shut-down the master node then application is continues with 
second node (session is replicated). 

But second node is performing all initlization before serving the request, is 
it expected behaviour? or i m missing anything?

Actually we are migratting application from weblogic to jboss and client want 
clustering support. 

Please advice what to do?

Tnanks in advance.

Mahesh.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion

2007-06-15 Thread ambika_devi
You mean to say that each and every JSF pages in my web application to be 
changed to access the JBPM Engine and to be made as a war file then deployed in 
the server.

Can you pls tell me that my application to be deployed in jbpm server or in 
some other web server like Tomcat or JBoss etc...

You have also mentioned to include the java class code in the save button of my 
jsf page, in the java class code u r passing some arguments.

  | public void save(Hashtable taskVariables, String transition)
  | 
where this arguments are coming from, where i dont have any taskvariables and 
transitions in my web application.

I think that we are using the taskvariables and transitions in JBPM right. So 
how do you want me to integrate these parameters into my own web application.

Then clear me with one thing like is it possible to access the jbpm database 
from my application, if that is the case then i have to specify the jbpm 
configuration file and everything, can u help me in the directory structure of 
the web application which is using jbpm.

Pls kindly help me and explain me clearly.




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

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


[jboss-user] [JCA/JBoss] - Re: XA Error Connecting to multiple Oracle XA Datasources

2007-06-15 Thread dmailhot
Hi.  We are seeing a very similar problem with 4.0.5.  Might not be the same 
problem but can you confirm wheter or not this problem is known to be present 
in 4.0.5?

Thank you

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

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


[jboss-user] [JBoss Seam] - Re: JSF Component not rendered, but no errors reported

2007-06-15 Thread jfrankman
I am new to JSF and SEAM. What do you mean by create a phase listener. Is this 
a class I need to write, or is this done via a configuration setting? Any link 
to documentation would be appreciated.

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

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


[jboss-user] [JBoss Seam] - Re: entity update without submit

2007-06-15 Thread petemuir
try using the bypassUpdates option on a:support

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Can't lookup queue/B

2007-06-15 Thread happytour
Greetings, 

In a simple JMS producer I'm doing the following 

   InitialContext ctx = new InitialContext();
  | Queue q = (Queue)ctx.lookup (queue/B); 

This raises the following exception: 

Exception in thread main javax.naming.CommunicationException [Root exception 
is java.rmi.NoSuchObjectException: no such obje
  | ct in table]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
ro.happytour.happyledger.jms.client.JMSProviderClient.main(JMSProviderClient.java:11)
  | Caused by: java.rmi.NoSuchObjectException: no such object in table   


Could anybody please help ? 

Kind regards, 

Nicolas 
 
 


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

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


[jboss-user] [JBoss Seam] - Re: No active conversation context after an Exception

2007-06-15 Thread jaymahajan
Hi, 

I am having a problem when there is an unhandled application exception. After 
this exception I connot navagate anywhere in the app without receiving another 
exception No active conversation. I can't seem to find a way to recover. I 
have found I can run the page debug.seam and things start working again. Also 
it depends when the exception occurs it seems to be a problem only during the 
render phase or when receiving the Facelets formatted error message. 

Glenn 




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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 Alpha - pdf component causes problem

2007-06-15 Thread [EMAIL PROTECTED]
It doesn't look remotely related to PDF.  Do you get an error from a full 
restart of the server?

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

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


[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread fernando_jmt
+1

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

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


[jboss-user] [JBoss Seam] - Re: Writing a custom converter which wraps EntityConverter

2007-06-15 Thread Newlukai
Thanks. I've it implemented this way:

public class SeverityConverter implements Converter {
  | public Object getAsObject(FacesContext context, UIComponent component, 
String value) throws ConverterException {
  | Converter entityConverter = (Converter) 
Component.getInstance(org.jboss.seam.ui.entityConverter);
  | 
  | if(NoSelectionConverter.NO_SELECTION_VALUE.equals(value)) {
  | return entityConverter.getAsObject(context, component, 
value);
  | }
  | 
  | int severity = Integer.parseInt(value);
  | if(severity = 0) {
  | return entityConverter.getAsObject(context, component, 
value);
  | }
  | 
  | return AdditionalSeverities.getSeverityByID(severity);
  | }
  | 
  | public String getAsString(FacesContext context, UIComponent component, 
Object value) throws ConverterException {
  | Converter entityConverter = (Converter) 
Component.getInstance(org.jboss.seam.ui.entityConverter);
  | Severityclass severity = (Severityclass) value;
  | 
  | if(severity == null || severity.getID() = 0) {
  | return entityConverter.getAsString(context, component, 
value);
  | }
  | 
  | return String.valueOf(severity.getID());
  | }
  | }

I'm wondering if the way I get the EntityConverter is OK or if there's a more 
elegant way.

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

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


[jboss-user] [JBoss Seam] - Re: value for '#{org.jboss.seam.security.identity}' sometime

2007-06-15 Thread koenhandekyn
let me add the full stack trace

it is scary to see this happen ' sometimes ' without any real logic

as far as i can trace it's a seam internal nullpointer exception

- - - - -

16:16:21,508 ERROR [ExceptionFilter] uncaught exception
javax.servlet.ServletException: /layout/menu.xhtml @17,58 
rendered=#{identity.loggedIn}: Cannot get value for expression 
'#{org.jboss.seam.security.identity}'
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
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:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:619)
16:16:21,552 ERROR [ExceptionFilter] exception root cause
javax.faces.el.EvaluationException: /layout/menu.xhtml @17,58 
rendered=#{identity.loggedIn}: Cannot get value for expression 
'#{org.jboss.seam.security.identity}'
at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:640)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:157)
at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.access$101(AjaxViewRoot.java:53)
at 
org.ajax4jsf.framework.ajax.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:287)
at 
org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:53)
at 

[jboss-user] [JBoss Seam] - Re: Writing a custom converter which wraps EntityConverter

2007-06-15 Thread Newlukai
Thanks. Have a nice weekend.

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

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


[jboss-user] [JBossCache] - Re: STREAMING_STATE_TRANSFER fails with lots of data.

2007-06-15 Thread [EMAIL PROTECTED]
Hey,

This has been resolved for the next candidate release (2.0.0 CR3).

Regards,
Vladimir

http://jira.jboss.com/jira/browse/JBCACHE-1106
http://jira.jboss.com/jira/browse/JBCACHE-1109


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

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


[jboss-user] [JBoss Seam] - Re: Can't set Character encoding for submitted form data

2007-06-15 Thread idylle
You're right Ramazan, adding useBodyEncodingForURI=true in my server.xml 
solved my problem.  

Thanks a lot!

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

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


[jboss-user] [JBoss AOP] - JBoss AOP 2.0.0.alpha5 released!

2007-06-15 Thread [EMAIL PROTECTED]
You can read the propaganda here  http://jbossaop.blogspot.com/ (We are working 
on getting this blog integrated into our labs page)

Download if from http://labs.jboss.com/jbossaop/downloads. 

Relase notes can be found at 
http://jira.jboss.com/jira/browse/JBAOP?report=com.atlassian.jira.plugin.system.project:changelog-panel

This is an important release on the way towards 2.0.0.GA

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

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


[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread gus888
+1

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

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


[jboss-user] [JBossWS] - Deployment fails after upgrading from 4.0.3sp1 to 4.2.0.GA -

2007-06-15 Thread J2EEUser
Our application was deploying and running on JBoss4.0.3.sp1 without any issues.
I upgraded JBoss from 4.0.3sp1 to 4.2.0.GA. After that I am getting the 
following deployment error. 
Anybody had this issue?  Any ideas? Thanks.
===
Exception:
2007-06-14 16:52:42,051 ERROR [org.jboss.deployment.MainDeployer] Could not 
start deployment: 
file:/opt/nxtn/jboss-4.2.0.GA/server/default/tmp/deploy/tmp53419app.ear-contents/appweb.war
org.jboss.deployment.DeploymentException: Cannot start service endpoint; - 
nested throwable: (org.jboss.ws.WSException: Element credential found in 
jaxrpc-mapping but not in the schema: null)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at 
org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:101)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
   

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

2007-06-15 Thread jeneric
Thanks - that worked perfectly!

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

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


  1   2   3   >