[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-06-18 Thread Sammy8306
Oh, that would be cool, where did you see that?

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
Oh, hold on, I think I understand now - you are using a Seam component marked 
@Validator as your JSF validator. And it rolls back the transaction when you 
throw the exception.

Yeah, you would need to mark the Seam component @Intercept(NEVER).

I guess I should have special handling for ValidatorException.  

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
Don't take offence, but, do you actually understand the JSF validation model?

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

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


[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book

2007-06-18 Thread baz
anyone?

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
I really don't know what you're talking about. "Regular" JSF validation 
definitely doesn't work by you throwing exceptions around!

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

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


[jboss-user] [JBossWS] - Re: cannot call jboss ws from MS SOAP SDK

2007-06-18 Thread sandello
I think, this is the bug.
I have posted it to the Jira
http://jira.jboss.com/jira/browse/JBWS-1712

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

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


[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2007-06-18 Thread gurkanerdogdu
You downloaded no dependency plugin so you got NPE because of library 
dependency of the plugin.You have to manually put all the libraries that ide 
requires into the lib folder of the plugin.

Another solution is that you go downloaded page and download standalone version 
with dependency. 

IDE supports two use cases:

 1- Viewing of the remote cache in the JBoss AS via jndi name
 2- Managing cache configuration file via creating local cache instance in IDE 
. 

If you want to view your  local cache(not in JBoss AS) in IDE, you have to 
create new local cache instance in IDE with same group that you wish to 
inspect. 

 I will update IDE according to the final version of the JBoss Cache soon...

 

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread hstang
Hmm, so I guess regular-JSF validations is not recommended and should not be 
used then?  

Very well... I'm going to let this issue rest, but hopefully others will find 
this discussion useful and will save them some trouble if they encounter these 
sorts of issues.

Thanks for your help.



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

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


[jboss-user] [Clustering/JBoss] - can jbossweb do Clustering???????

2007-06-18 Thread shan0yu
if can

any datum will help me.

my email:[EMAIL PROTECTED]

thank you very much~

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Forgot password option

2007-06-18 Thread jeeva
Hi all,
the jboss portal is linked to hsql database by default .It is using memory 
table.How to retrive a password forgot by a userusing the secret question and 
answer?

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

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


[jboss-user] [Beginners Corner] - hsql

2007-06-18 Thread jeeva
I am new to jboss .There is hsql connected internally.But since its storing in 
memory table i have no idea how to access the contents.Can anybody help.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: mod_jk intermittently loosing connection to jboss 4.2

2007-06-18 Thread modoc
I haven't tried changing back to AJP yet.  I hate impacting my users with 
errors when I don't absolutely need to.

Your statement makes me even more leery.

devon

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
Yes, it would definitely cause your problem.

Hold on: you didn't mention anything about a ValidationException before!

A ValidationException is a runtime exception, and hence causes tx rollbacks. 
(This is standard EJB rules.)

You should not throw ValidationExceptions. 

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: import org.jboss.mq.server.jmx.Queue

2007-06-18 Thread milind.uc
Hi Jhowell,

Fell pleasure to see your reply thanks for your reply.Actually my application 
is a desktop application .Ad when I made the mysql connection  using datasource 
nad if I keep  true  then I got the error 
that the not able to lookup my jndi name.
My datasource file isas below ::


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | DBConnection
  | false 
  | 
jdbc:mysql://localhost:3306/millind_demo?autoReconnect=true
  | com.mysql.jdbc.Driver
  | root
  | root
  |  60
  |   10
  |   5000
  |   15
  |   
  |   
  |  mySQL
  |   
  |   
  | 
  | 
  | 
  | 


thast why I kept it false as I accessed 
the datasoure from plain pojo.. Everything is fine with this fashion but when I 
used "getBinaryStream" on sql resultset it give the errorrs like below::


anonymous wrote : 
  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy3.getBinaryStream(Unknown Source)
  | at in.etp.dim.ui.gfhfghfgh.main(gfhfghfgh.java:57)
  | Caused by: java.lang.IllegalAccessException: Method=public abstract 
java.io.InputStream java.sql.ResultSet.getBinaryStream(int) throws 
java.sql.SQLException does not return Serializable
  | at 
org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.doResultSetMethod(WrapperDataSourceService.java:478)
  | at 
org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.invoke(WrapperDataSourceService.java:252)
  | .


I  am now going to call it from seesion bean. But not understanding how to 
create proxy and how to call it from plain pojo...

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

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


[jboss-user] [JBoss Portal] - How can I change the default portal ??

2007-06-18 Thread tufla
Hello to all,

I'm working in JBPortal 2.4.1 and I need to change the default portal, so when 
the users entry to my site be able to see my content and not the default jboss 
pages ?

How can I do that ?

Any help will be appreciated.

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread hstang
When 

  | commitOrRollback(phaseId);
  | 

is called, it's actually doing a rollback instead of a commit.  Does doing a 
rollback would cause this strange behaviour then?

It looks like RollbackInterceptor is doing a rollback, since a 
ValidationException is thrown.  


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Strange NoClassDefFoundError for AS 4.2.0 on WinXP

2007-06-18 Thread ToeCheez
Thank y'all for your patience.  It turns out that my Eclipse IDE was at 
fault...ish.  If i compiled the classes using Eclipse I would get the error, 
and if not I wouldn't.  So I updated Eclipse and it worked.

Funny that it was only one class in like 1,000 every time.

Thanks, JBoss.
-patrick

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

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


[jboss-user] [JBoss Seam] - Re: jboss-el doesn't include javax.el.LocalStrings?

2007-06-18 Thread matt.drees
http://jira.jboss.com/jira/browse/JBSEAM-1494

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Embedded Jboss Settings for 1.3.0.Alpha

2007-06-18 Thread [EMAIL PROTECTED]
Um - I'm just using the beta2 release

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

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


[jboss-user] [JBoss Seam] - Re: jboss-el doesn't include javax.el.LocalStrings?

2007-06-18 Thread [EMAIL PROTECTED]
I've seen it too. Please create an issue in JIRA.

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

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


[jboss-user] [JBoss Seam] - Re: Embedded Jboss Settings for 1.3.0.Alpha

2007-06-18 Thread wesleyhales
Thanks Bill - That post is very helpful.

Gavin - Can we get a version of jboss-embedded-all.jar that contains 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener? Or basically 
everything from svn.

I tried to co and compile jbossas but I kept getting "package org.jboss.util.id 
does not exist" I know I could track down the dependencies, build jbossas, and 
then embedded, but if you have the correct jar laying around it would be a huge 
help.

Thanks

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

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


[jboss-user] [JBoss Seam] - jboss-el doesn't include javax.el.LocalStrings?

2007-06-18 Thread matt.drees
Sometimes I get a stracktrace looking like this:

  | javax.el.ELException: java.util.MissingResourceException: Can't find bundle 
for base name javax.el.LocalStrings, locale en_US
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  | at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at 
org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:452)
  | at 
org.jboss.seam.mock.BaseSeamTest$Request.invokeAction(BaseSeamTest.java:463)
  | at 
org.uscm.crs.registration.FamilyRegistrationTest$4.invokeApplication(FamilyRegistrationTest.java:98)
  | at 
org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:600)
  | at 
org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:552)
  | at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:483)
  | at 
org.uscm.crs.registration.FamilyRegistrationTest.createFamilyRegistration(FamilyRegistrationTest.java:101)
  | at 
org.uscm.crs.registration.FamilyRegistrationTest.singleRegistration(FamilyRegistrationTest.java:56)
  | Caused by: java.util.MissingResourceException: Can't find bundle for base 
name javax.el.LocalStrings, locale en_US
  | at java.util.ResourceBundle.throwMissingResourceException(Unknown 
Source)
  | at java.util.ResourceBundle.getBundleImpl(Unknown Source)
  | at java.util.ResourceBundle.getBundle(Unknown Source)
  | at javax.el.ELResolver.message(ELResolver.java:40)
  | at javax.el.BeanELResolver.getValue(BeanELResolver.java:72)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:102)
  | at org.jboss.seam.Component.getValueToInject(Component.java:2016)
  | at org.jboss.seam.Component.injectAttributes(Component.java:1497)
  | at org.jboss.seam.Component.inject(Component.java:1321)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:44)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:30)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
  | at 
org.uscm.crs.registration.SpouseManager_$$_javassist_70.rejectRecords(SpouseManager_$$_javassist_70.java)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
  | ... 33 more
  | ... Removed 25 stack frames
  | 

It masks the real exception, which is slightly frustrating; I have to set a 
breakpoint to find out what really went wrong.  

I downloaded Tomcat 6 and put javax/el/LocalStrings.properties in my classpath, 
and that worked.  Perhaps this file should be put in Seam, or better yet in 
Jboss-el.

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
No. Its an extended persistence context. It outlasts the transaction.

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

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


[jboss-user] [JBossCache] - Some problem with cache

2007-06-18 Thread ylims
hi. 
need your help.
 what mean's that?

  | 09:03:47,812 INFO  [STDOUT] FlexWorkflow: Error on geting task information
  | 09:04:16,468 INFO  [STDOUT] FlexWorkflow: Clear cache (21 instances)
  | 09:04:19,281 INFO  [STDOUT] FlexWorkflow: Clear cache (100 instances)
  | 09:04:29,343 INFO  [STDOUT] FlexWorkflow: Close connection
  | 09:04:46,453 INFO  [STDOUT] Exception in thread "Cache auto delete"
  | 09:04:46,453 INFO  [STDOUT] java.lang.NullPointerException
  | 
  | ..
  | .
  | ..
  | 
  | 09:07:38,546 INFO  [STDOUT] FlexWorkflow: Clear cache (22 instances)
  | 09:07:40,093 INFO  [STDOUT] FlexWorkflow: Clear cache (100 instances)
  | 09:07:52,546 INFO  [STDOUT] FlexWorkflow: Clear cache (100 instances)
  | 09:08:16,468 INFO  [STDOUT] FlexWorkflow: Clear cache (72 instances)
  | 09:08:19,421 INFO  [STDOUT] FlexWorkflow: Clear cache (1 instances)
  | 09:08:20,234 INFO  [STDOUT] FlexWorkflow: Clear cache (103 instances)
  | 09:08:24,515 INFO  [STDOUT] FlexWorkflow: Clear cache (7 instances)
  | 09:08:27,750 INFO  [STDOUT] FlexWorkflow: Clear cache (218 instances)
  | 09:08:41,671 INFO  [STDOUT] FlexWorkflow: Clear cache (100 instances)
  | 09:08:54,250 INFO  [STDOUT] FlexWorkflow: Clear cache (62 instances)
  | 09:09:08,312 INFO  [STDOUT] FlexWorkflow: Clear cache (100 instances)
  | 09:09:11,906 INFO  [STDOUT] FlexWorkflow: Clear cache (99 instances)
  | 09:09:33,750 INFO  [STDOUT] FlexWorkflow: Clear cache (106 instances)
  | 
 

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

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


[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError

2007-06-18 Thread timfox
It doesn't matter if your client is running in eclipse or anywhere else, it 
still needs to be using the correct jars.

I was merely pointing out that those correct jars are specified in the user 
guide.

It seems that previously you were using different jars than those specified in 
the user guide, but now you are using the correct ones, so all is good :)

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

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


[jboss-user] [JBoss Seam] - Seam autodeploy ant scripts under eclipse

2007-06-18 Thread mgrouch
Seam autodeploy ant scripts (ones generated by seam-gen) 
under eclipse run too slow. There are too many extra steps. Files 
(jars, config files) are copied multiple times. Why in development
mode it doesn't compile files right into jboss deploy directory?



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

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


[jboss-user] [EJB/JBoss] - How to make JBoss convert null values to 0's while fetching

2007-06-18 Thread [EMAIL PROTECTED]


We are using JBoss and XDoclet in our project. While getting data from using 
entity bean, if a DB column has null value, the abstract get method is throwing 
NullPointerException. Instead, is there a way to tell JBoss through XDoclet 
tags or XML files, to convert null value to 0 while getting data from numeric 
columns in the database table?

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

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


[jboss-user] [JNDI/Naming/Network] - Failed to retrieve stub from server

2007-06-18 Thread tamaluna
I wasn't sure which forum to submit this to, since it covers a variety of 
topics -- hibernate, JNDI, clustering, etc.  So I'm picking this forum; if you 
can suggest a better one, I'll repost there.

Here's the situation.  We've had a web app that's been running fine on JBoss 
4.0.5.GA, as the server-side for a Flex app.  I built an MDB, added it to the 
deploy dir, and it worked somewhat with our web app, but the MDB couldn't find 
the FlexSession stuff.  So we thought we'd build an .ear, to include the .war 
of the web app and the .jar of the MDB.

The problem I'm getting on start-up is anonymous wrote : ...
  | 17:59:02 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext 
properties:{}
  | 17:59:02 FATAL [org.hibernate.connection.DatasourceConnectionProvider] 
Could not find datasource: jdbc/PlanITDataSource
  | javax.naming.CommunicationException: Failed to retrieve stub from server 
192.168.1.18:1100 [Root exception is java.io.StreamCorruptedException: 
unexpected block data]
  | ...
Now, I never had this problem before, so something is not configured right, I 
guess.  That IP address belongs to my colleague, who is running a clustered 
JBoss setup; I'm running non-clustered.  He's also running Linux, whereas I'm 
running Windows XP Pro.  He was able to get the app up and running, after 
wading through some configuration issues.  We're on the same LAN, as are 
several other developers, who are only using the .war, not the .ear or .jar 
(MDB), and they don't experience any errors.

Can you please tell me what's wrong with our set-up?  Is there a way to make 
sure the clustered JBoss installation doesn't interfere with the non-clustered 
ones?  I'm hoping that will solve my issue.  Or maybe there's another solution.

Thanks
Pauly T.

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

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


[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError

2007-06-18 Thread vri_97
Hi Tim Fox,

As quoted from my first post :
"I'm using JBoss AS 4.2, Eclipse 3.2.2, JBoss IDE2.0, and JBoss Messaging 1.3 
GA. I can run the sample ejb3mdb from Jboss Messaging bundle with no problem. "

Yes, I can run the sample with no problem, but I have problem when run it in 
Eclipse 3.2.2 with JBOSS IDE2.0. So what I'm doing is to update the Jboss ide 
plug-in.
Perhaps I'm just careless of not reading the Jboss ide plug-in guide on Jboss 
Messaging installation.

The solution was found by my partner, which has the similar solution, when we 
have problem running EJB3 in JBoss AS 4.2 in Jboss IDE.

Thank you.

Regards,
Ferry

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

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


[jboss-user] [JBoss Seam] - Re: Still Having Authentication Issues w/1.3

2007-06-18 Thread [EMAIL PROTECTED]
I tried pretty much exactly this yesterday with seam-gen and authentication 
worked fine.  You will need to put together a working (buildable) test case in 
JIRA so that we can reproduce the issue.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: using JbossMQ's MessageCache standalone?

2007-06-18 Thread genman
There is JBoss Cache, the page is here: http://labs.jboss.com/jbosscache/

To emulate the JBossMQ cache, all you have to come up with is some sort of 
eviction policy that evicted entries if the free memory was below some 
threshold.

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread [EMAIL PROTECTED]
This should be fixed now, would you be able to try with latest CVS?

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

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


[jboss-user] [JBossWS] - JBoss 4.0.2 and JBossWS

2007-06-18 Thread bruparel
We are tied to JBoss release 4.0.2 because of the Client requirements.  I would 
like to know if any release of JBoss Web Services can be deployed in this 
container that has WS-Addressing and WS-Eventing support.  The idea is to use 
JBoss Web Services functionality exploiting WS-Eventing (and in turn 
WS-Addressing) coupled with JMS for asynchronous web services communication.  
If anyone can point me to any documentation/resources in that direction, I will 
really appreciate it.
Thanks.
Bharat


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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread hstang
"[EMAIL PROTECTED]" wrote : How many times does 
ManagedPersistenceContext.initEntityManager() get called?
  | 
  | How many times does Home.setInstance() get called?
  | 
  | Put breakpoints.

For both questions, once.

OK, I'm exhausted after trying to trace through at the end of the day...BUT 
here's my finding:  

I traced down to handleTransactionsAfterPhase() in SeamPhaseListener.java, line 
312.  


  |public void handleTransactionsAfterPhasel(PhaseEvent event)
  |{
  |   if ( Init.instance().isTransactionManagementEnabled() ) 
  |   {
  | log.info("handleTransactionsAfterPhase committing 
here**");
  |  PhaseId phaseId = event.getPhaseId();
  |  boolean commitTran = phaseId==PhaseId.INVOKE_APPLICATION || 
  |event.getFacesContext().getRenderResponse() || //TODO: no 
need to commit the tx if we failed to restore the view
  |event.getFacesContext().getResponseComplete() ||
  |( phaseId==PhaseId.RENDER_RESPONSE && 
!Init.instance().isClientSideConversations() );
  |  
  |  if (commitTran)
  |  { 
  | commitOrRollback(phaseId); //we commit before destroying 
contexts, cos the contexts have the PC in them
  |  }
  |   }
  |}
  | 

This code suggests to commit/rollback transaction if validation fails, since 
you are checking if event.getFacesContext().getRenderResponse().  This is the 
same check you use in org.jboss.seam.core.Validation in 
afterProcessValidations.  Correct me if I'm wrong.

Could this be why my managed property is set to false, and the em could not 
find the instance anymore?




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

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


[jboss-user] [JBossWS] - Re: UnmarshallException for xsd type any

2007-06-18 Thread meghanai_99
I guess it just needed wrapper element 'any' around wsse security element. It 
is accepting the SOAP request fine now.

Thanks,
Meghana

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

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


[jboss-user] [JBossWS] - UnmarshallException for xsd type any

2007-06-18 Thread meghanai_99
Hello,

I am publishing BPEL processes on JBoss 4.0.5GA, JBossWS 1.2.1 and JBPM 3.2

My xsd defines a certain type as shown below -

  | 
  | 
  | 
  | 
  | 


The request message contains wsse:security element as child of 
'CredentialsType'. However when the SOAP message is received, I get following 
exception -

org.jboss.ws.WSException: org.jboss.ws.core.jaxrpc.binding.BindingException: 
org.jboss.ws.core.jaxrpc.binding.jbossxb.Un
  | marshalException: Failed to parse source: Failed to find read method or 
field for property 'security' in class com.seren
  | a.bpel.CredentialsType
  | at 
org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:248)
  | at 
org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:95)
  | at 
org.jboss.ws.core.soap.DOMContent.transitionTo(DOMContent.java:77)
  | at 
org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140)
  | at 
org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:171)
  | at 
org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:243)
  | at 
org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:111)
  | at 
org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:126)
  | at 
org.jboss.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.ja
  | va:103)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
  | at 
org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
  | at 
org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)


  | Caused by: org.jboss.ws.core.jaxrpc.binding.BindingException: 
org.jboss.ws.core.jaxrpc.binding.jbossxb.UnmarshalExceptio
  | n: Failed to parse source: Failed to find read method or field for property 
'security' in class com.serena.bpel.Credenti
  | alsType
  | at 
org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:108)
  | at 
org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:59)
  | at 
org.jboss.ws.core.jaxrpc.binding.DeserializerSupport.deserialize(DeserializerSupport.java:59)
  | at 
org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:178)
  | ... 34 more

The auto-generated CredentialsType class is as follows - 
public class  CredentialsType
  | {
  | 
  | protected javax.xml.soap.SOAPElement[]  _any;
  | public CredentialsType(){}
  | 
  | public CredentialsType(javax.xml.soap.SOAPElement[] _any){
  | this._any=_any;
  | }
  | public javax.xml.soap.SOAPElement[]  get_any() { return _any ;}
  | 
  | public void set_any(javax.xml.soap.SOAPElement[] _any){ this._any=_any; }
  | 
  | }

Can someone tell me how I can get this working? Let me know if I should provide 
more information.

Thank you,
Meghana

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

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


[jboss-user] [Beginners Corner] - Re: [b][size=18][color=blue]Can we use JBoss in all type of

2007-06-18 Thread deeprave
jboss works fine on FreeBSD. Check your ports collection under the "java" 
category.


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

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


[jboss-user] [Management, JMX/JBoss] - Where is org.jboss.varia.scheduler.Schedulable?

2007-06-18 Thread eelgueta
Hi All,

I want to implement a schedulable class/method, but I can't import the 
org.jboss.varia.scheduler.Schedulable interface. Can anybody tell me which 
JBoss jar should I import?

I'm using 4.0.3 SP1.

TIA.

Edo.

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

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


[jboss-user] [JBoss Seam] - help with seam generate-entities and enum fields

2007-06-18 Thread glennsil
When I run seam generate-entities on a project using an existing mysql database 
with enum fields in the tables, they get converted to String types
in the generated beans. And, if I drop-create the tables on deployment, the 
enum fields become varchar(n) types. Is there any way to preserve the enum 
types, or do I have to add the enum types in the beans and convert all the 
String types to my enum types in the code with the @Enumeration annotation?



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

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


[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-06-18 Thread davidfed
Yep, that's what I tried and that's how it didn't work.  So I just have an 
external getter for now.

It looks like Seam 1.3 EL will allow Enum.values() in a value expression.  That 
will simplify this and a number of things like it.

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
How many times does ManagedPersistenceContext.initEntityManager() get called?

How many times does Home.setInstance() get called?

Put breakpoints.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Strange NoClassDefFoundError for AS 4.2.0 on WinXP

2007-06-18 Thread ToeCheez

Hello.

I am getting this strange error.  Here is more info:  I tried renaming the 
class, moving the class to another package, changing the version of JBoss AS, 
and trying a different version of Java.  Is there anyway a class loader would 
have OS-specific issues?

Thanks again.

ToeCheez

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread hstang

  | @Transactional
  | public boolean isManaged() 
  | {
  |   return getInstance()!=null &&
  | getEntityManager().contains( getInstance() );
  | }
  | 

getEntityManager().contains( getInstance() ) is returning false is the culprit.

So I checked whether the EM has changed by looking at the hash code (is this a 
valid way of doing it?), and the hash codes remain constant throughout the 
conversation.  As well, the (T) getComponentInstance( 
getPersitenceContextName() ) is only called once, which is expected, so it 
doesn't appear the EM is ever null.

The getInstance() hasn't changed either--it's not null.  

Is there anywhere in Seam where em's cache is cleared either explicitly or 
implicitly?  

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

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


[jboss-user] [JBossWS] - change HTTP status code in a WS fault

2007-06-18 Thread james_Chiu
Hi,

 
We are using JBoss WS 1.2.1 in our server side. 

Our client side is implemented in Flex and it communicates with the server side 
through JBoss WS.

Flex can?t not handle a WebFault that gives HTTP status code = 500.

Therefore, we are looking for a way that we can change HTTP status code from 
500 to 200 when throwing an exception.

 

Would be very appreciated if you can shed some light how to change HTTP status 
code from 500 to 200.


Use a handler, servlet, ?

Thanks,

James

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

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


[jboss-user] [JBossWS] - Re: How is the service URL constructed

2007-06-18 Thread [EMAIL PROTECTED]
As of jbossws-2.0.0 this is described here
http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs#How_do_I_know_what_endpoint_address_is_being_used.3F

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

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


[jboss-user] [JBoss Portal] - Re: Classpath problem with GATE

2007-06-18 Thread KevinNCSU
Yes, I believe we are using gate-3.1-build2270 and that we are using ANNIE 
though I will need to follow up on that to be sure.

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

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


[jboss-user] [JBoss jBPM] - Re: Starters-Kit 3.1.2 Problems

2007-06-18 Thread timothyj
Try to compile under JDK 1.5 rather than 1.4.

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread [EMAIL PROTECTED]
I just committed some further changes to this code.

I would appreciate it if you could test out the latest rev...

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread [EMAIL PROTECTED]
OK, yes, that is the default.

So, now try putting a breakpoint in EntityHome.isManaged() and finding out why 
it returns false.

Does the EntityHome somehow "forget" its instance? Does the persistence context 
change between calls? 

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

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


[jboss-user] [JBossWS] - Re: jbossws 1.2.1 /jboss 4.0.5 : how do i bypass MessageFa

2007-06-18 Thread [EMAIL PROTECTED]

  | /**
  |  * Load a factory using this ordered lookup procedure
  |  *
  |  * 
  |  *  Use the system property
  |  *  Use the properties file "lib/jaxm.properties" in the JRE directory
  |  *  Use the Services API (as detailed in the JAR specification), if 
available, to determine the classname
  |  *  Use the default factory implementation class
  |  * 
  |  *
  |  * @author [EMAIL PROTECTED]
  |  * @since 14-Dec-2006
  |  */
  | public class SAAJFactoryLoader
  | 

Step 3, the Services API uses a classloader. You should probably be able to set 
the context classloader such that it gives access to the SAAJ impl that you 
want.

Please note, JBossWS will only work with its own SAAJ impl.

Please use the jbossws-2.0 code base

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

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


[jboss-user] [JBoss Portal] - Re: Classpath problem with GATE

2007-06-18 Thread [EMAIL PROTECTED]
When you mention GATE, are you referring to the General Architecture for Text 
Engineering project? If yes, which version and are you using ANNIE?

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

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


[jboss-user] [JBossWS] - Re: Retrieving alias for WS Secure client

2007-06-18 Thread [EMAIL PROTECTED]
This is currently not supported. You are however welcome to contribute this 
extension

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

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


[jboss-user] [JBossWS] - Re: Duplicate SOAP body/envelope tags in SOAP message

2007-06-18 Thread [EMAIL PROTECTED]
Have a look at the JAXWS client API
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Web_Service_Clients

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

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


[jboss-user] [JBossWS] - Re: Basic authentication for WS fails to authenticate from c

2007-06-18 Thread [EMAIL PROTECTED]
Please start from the working sample from the testsuite. There is one for BASIC 
authentication

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate and regular JSF validation and EntityHome prob

2007-06-18 Thread hstang
"[EMAIL PROTECTED]" wrote : The reason for (2) is that s:validateAll ONLY adds 
a (Hibernate) validator if you didn't specify any validators yourself. Since 
you have your own JSF validator, you need to specify  in addition 
to the JSF validator.
  | 
Thanks--that solves (2). But this case isn't documented, and would certainly 
cause confusion for those who encounter similar troubles down the road by 
trying to mix s:validateAll and regular-JSF validators, which isn't that 
uncommon.  The Seam validation reference documentation may need a slight 
enhancement:

  | However, it is not much less verbose than what we started with, so let's 
try ..
  | /* example with s:validateAll here */
  | This tag simply adds an   to every input in the form. For a 
large form, it can save a lot of typing!
  | 

"[EMAIL PROTECTED]" wrote : 
  | As for (1), I thought you just reported in JIRA that this problem was 
solved for you.
I reported this on JIRA this morning on my home PC, but prior to posting this 
thread I had tested (1) at work literally 15-20 times (with the most up-to-date 
Seam-CVS) just to make sure I'm not imagining things.  The problem still exists 
on my end.  My earlier report that it was fixed was erroneous, and I apologize 
if I had responded too quickly.  I think I lost some credibility here, so maybe 
I need someone to vouch for me on this issue when they encounter it.  =) 

"[EMAIL PROTECTED]" wrote : 
  | Oh and shouldn't your EntityHome be conversation scoped?
  | 
EntityHome is, by default, conversation-scoped right?  I am assuming my 
declaration in components.xml as [fwk:entity-home name="personHome" 
entity-class="Person"] wouldn't change the default scope.  Anyhow, I 
doubled-check and ensured that when the long-running conversation started, the 
EntityHome was joining that conversation properly (as per debug.seam)

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

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


[jboss-user] [JBossWS] - Re: Using JSR181 - problem with value types and arrays

2007-06-18 Thread [EMAIL PROTECTED]
Have a look at the marshal tests in the test suite. there are array tests of 
all kind

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

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


[jboss-user] [JBoss Seam] - Re: seam and myfaces

2007-06-18 Thread [EMAIL PROTECTED]
Yes, it is possible.

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

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


[jboss-user] [JBoss Portal] - Classpath problem with GATE

2007-06-18 Thread KevinNCSU
Hello,

The application I'm working on requires a file gate.jar to be listed on the 
classpath as it needs to load classes dynamically.  This seems to be causing my 
portal to throw exceptions when I try to view it, though the JBoss AS boots up 
without errors.

If gate.jar is removed from the JBOSS_CLASSPATH environment variable the portal 
works fine. Also the application I'm developing works fine on same JBoss AS 
without the portal installed and said environment variables set.

Any suggestions on how to get this jar file so it can load classes dynamically 
from it and still have my portal running would be much appreciated!


Information and stack trace follows:

JBoss AS / Portal:

Installed bundled JBoss AS 4.0.4GA with Portal 2.4.0GA using the portal profile 
in the jems-installer-1.2.0BETA2

ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]]
 Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.NoSuchMethodError: 
javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
at 
org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:122)
at 
org.jboss.portal.theme.impl.JSPLayout.assembleResponse(JSPLayout.java:34)
at 
org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:360)
at 
org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at 
org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at 
org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.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.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
at $Proxy133.handle(Unknown Source)
at 
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at 
org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
at 
org.jboss.portal.server.ServerInterceptor

[jboss-user] [JBoss Seam] - Re: Implement VNC/RDP/NetMeeting-like desktop sharing for he

2007-06-18 Thread avbentem
> you can't see into other people's sessions

Ah yes, of course, Seam keeps its state in the servlet's session, not in some 
list that is otherwise accessible. Well, I had a nice dream for about 15 
minutes ;-)

Thanks,
Arjan.

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

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


[jboss-user] [JNDI/Naming/Network] - error in deploying an EAR file in JBOSS

2007-06-18 Thread spanneer
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.j2ee:module=TransEJB.jar,uid=380020690,service=EjbModule
  State: FAILED
  Reason: javax.management.InstanceAlreadyExistsException: 
jboss.j2ee:jndiName=ejb/SignOn,service=EJB already registered.


Help me on fix it.

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

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


[jboss-user] [JBoss Seam] - seam and myfaces

2007-06-18 Thread kgoedert
Hello,

I have an app using tiles + myfaces + hibernate. I would like to start using 
seam. Is it possible to mantain everything that I have done with myfaces? Or 
myfaces can not co-exist with seam?

Thanks for any help

Kelly

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

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


[jboss-user] [JBoss Seam] - Re: Implement VNC/RDP/NetMeeting-like desktop sharing for he

2007-06-18 Thread [EMAIL PROTECTED]
Its not possible to implement this in a servlet engine, you can't see into 
other people's sessions.

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

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


[jboss-user] [Beginners Corner] - Re: Out-of-the-box JBoss 5.0 Beta 2 Crashing On Startup

2007-06-18 Thread gzoller
Gracias, Jaikiran.

What a bummer!  I hope this gets fixed in a patch soon.  My new application 
uses my new best friend, the ConcurrentSkipListMap, which is a 1.6 creation.

Greg

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

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


[jboss-user] [JBoss Seam] - Implement VNC/RDP/NetMeeting-like desktop sharing for helpde

2007-06-18 Thread avbentem
A Seam application user can have multiple concurrent conversations running 
within a single session. One can also use the same conversation in multiple 
workspaces for the same HTTP session. Seam knows how to tell those apart, so I 
guess at the server side one could get a list of all workspaces of all users. 
Now, what about making that list available to helpdesk personnel, and make 
selecting a single workspace show the very same screen on a totally different 
computer...? 

Of course, unlike with true desktop sharing, the two sessions would not share 
the mouse nor keyboard, and one would not know if the other user has entered 
some new values in form fields. In fact, or would not even know when the other 
user submits the page. Also, the actual views will differ due to using 
different browsers, different screen sizes, etc. But to assist helpdesk 
personnel in telling what the user is looking at, a read-only snapshot of the 
last loaded screen would be great! While on the phone with the user, the 
helpdesk employee can then refresh the snapshot to keep in sync with the 
workspace the real user is looking at.

No, I don't expect this to be easy -- at all... First of all one needs to 
somehow set the Identity to get a specific window act as if the other user is 
running it (this might include Hibernate filters) while, if possible, still 
running in the context of the helpdesk employee in the other windows. Most 
likely some Seam security mechanisms must be relaxed to allow for peeking into 
the conversation without invalidating it. Then, if doable for simple pages, 
pages that use Ajax may make things quite complicated. And when all is done 
then one might decide that on second thought helpdesk personnel should not be 
be allowed to see some specific views...

Nevertheless: any thoughts...?

Thanks,
Arjan.

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

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


[jboss-user] [JBossWS] - Help I get: Failed to create a new SAX parser

2007-06-18 Thread hurzeler
After installing jbossws-1.2.1.GA on jboss4.0.5GA with ant deploy-jboss40 
running jdk1.5.0_12 I get the exception below at the startup of jboss. What am 
I missing. Please help! Thanks.


  | 05:38:45,000 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 05:38:47,171 INFO  [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://223.1.1.128:3873/]
  | 05:38:49,562 INFO  [ServiceConfigurator] Problem configuring service 
jboss.web:service=WebServer
  | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX 
parser
  | at 
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
  | at 
org.jboss.system.ServiceConfigurator.parseJbxbSerialData(ServiceConfigurator.java:641)
  | at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:327)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.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.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.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

[jboss-user] [JBoss Seam] - Still Having Authentication Issues w/1.3

2007-06-18 Thread gzoller
I'm getting the exception below when I try to authenticate the default login 
form.  Here's the methodology I used for this test:

I did the following test on two parallel systems--1 using Seam 1.2/JBoss 
4.0.5.GA and 1 using Seam 1.3A/JBoss 4.2.0.GA.  The process steps followed were 
identical in both instances.  Both tests were done on out-of-the-box default 
installations/configurations of both Seam and JBoss.  No code, html, 
configuration, or other artifact outside what seam-gen creates was added to 
either test.

1) seam setup to configure the project.  Provided path to JBoss, project name, 
and db info (provided even though I'm not using db for this test)

2) seam new-project to generate new project files

3) Import generated files into JBoss IDE/Eclipse as a new project.  Confirmed 
from build.properities that each was pointed at the correct JBoss instance.

4) Clean build, deploy, and start server

On both of these tests I can start the app w/o problems.  I go to the login 
page and enter anything for username/pwd and submit the form.  On the Seam 1.2 
test I get what I expected: authenticated entry to the application w/no errors. 
 The Seam 1.3 test says my login failed and coughs out the exception below.

I didn't touch any of the generated configuration, but did confirm that the 
'authenticator' definition in components.xml generated properly:


  |
  | 

Any ideas appreciated!

Thanks,
Greg


  | 10:47:37,436 ERROR [SeamLoginModule] Error invoking login method
  | javax.el.PropertyNotFoundException: Target Unreachable, identifier 
'authenticator' resolved to null
  | at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:157)
  | at 
org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:104)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.access$000(Unknown Source)
  | at javax.security.auth.login.LoginContext$5.run(Unknown Source)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown 
Source)
  | at javax.security.auth.login.LoginContext.login(Unknown Source)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:322)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:315)
  | at org.jboss.seam.security.Identity.login(Identity.java:231)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  | at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:346)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:70)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:60)
  | at 
org.jb

[jboss-user] [Beginners Corner] - Re: Out-of-the-box JBoss 5.0 Beta 2 Crashing On Startup

2007-06-18 Thread jaikiran
anonymous wrote : Java VM: Java HotSpot(TM) Client VM 1.6.0-b105

anonymous wrote : java.lang.IllegalStateException: Class not found: 
[Ljava.lang.String;

Have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6



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

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


[jboss-user] [JBoss Seam] - Re: Can I hook complex validations into Seam's validation me

2007-06-18 Thread NoLiveTv
That was just what I needed.  It works great.

Thanks guys!

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

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


[jboss-user] [Beginners Corner] - Out-of-the-box JBoss 5.0 Beta 2 Crashing On Startup

2007-06-18 Thread gzoller
Hello,

I'm getting a really unusual (and spectacular) crash when JBoss 5 Beta 2 starts 
up.  This is a "naked"/unmodified install from the zip file and nothing running 
on it except what came packaged.

I have successfully taken 4.0.5 and 4.2.0 out of the box and they ran just fine 
with no issues in precisely the same environment.

Any ideas?

Thanks,
Greg


  | 13:24:13,467 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 13:24:13,467 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 
(build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
  | 13:24:13,467 INFO  [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.Beta2
  | 13:24:13,467 INFO  [ServerImpl] Home URL: file:/C:/Program 
Files/jboss-5.0.0.Beta2/
  | 13:24:13,467 INFO  [ServerImpl] Library URL: file:/C:/Program 
Files/jboss-5.0.0.Beta2/lib/
  | 13:24:13,467 INFO  [ServerImpl] Patch URL: null
  | 13:24:13,467 INFO  [ServerImpl] Server Name: default
  | 13:24:13,467 INFO  [ServerImpl] Server Home Dir: C:\Program 
Files\jboss-5.0.0.Beta2\server\default
  | 13:24:13,467 INFO  [ServerImpl] Server Home URL: file:/C:/Program 
Files/jboss-5.0.0.Beta2/server/default/
  | 13:24:13,467 INFO  [ServerImpl] Server Data Dir: C:\Program 
Files\jboss-5.0.0.Beta2\server\default\data
  | 13:24:13,467 INFO  [ServerImpl] Server Temp Dir: C:\Program 
Files\jboss-5.0.0.Beta2\server\default\tmp
  | 13:24:13,467 INFO  [ServerImpl] Server Config URL: file:/C:/Program 
Files/jboss-5.0.0.Beta2/server/default/conf/
  | 13:24:13,467 INFO  [ServerImpl] Server Library URL: file:/C:/Program 
Files/jboss-5.0.0.Beta2/server/default/lib/
  | 13:24:13,467 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
  | 13:24:13,499 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/C:/Program 
Files/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
  | 13:24:14,831 INFO  [ProfileImpl] Using profile root:C:\Program 
Files\jboss-5.0.0.Beta2\server\default
  | 13:24:15,913 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  | at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  | at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  | at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  | at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | at 
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  | at 
org.jboss.kernel.plug

[jboss-user] [JBoss Seam] - Re: JNDI Problem ?

2007-06-18 Thread [EMAIL PROTECTED]
Yes, its definitely too redundant. Web Beans will default component names, and 
we may well decide to default to a qualified name (though thats by no means 
certain). Unfortunately we're stuck with the EJB name default.

But notice that EJB names are only unique in the ejb-jar. So for a truly large 
app you would usually package things into multiple ejb-jars.

Seam/Web Beans names are different, they need to be unique in the whole ear, 
and so I think there's an even stronger argument for defaulting to a qualified 
name. 

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread rhboss
Same exception for Java 5.  I will post to JIRA.

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

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


[jboss-user] [EJB 3.0] - Re: Mysterious Exception

2007-06-18 Thread waynebaylor
could you post some info on the persistence.xml

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

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


[jboss-user] [EJB 3.0] - Re: Interceptor without transaction participation

2007-06-18 Thread waynebaylor
do you normally need read access to the entity? you could remove the get* 
methods.

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

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


[jboss-user] [JBoss Seam] - Re: JNDI Problem ?

2007-06-18 Thread ChristopheA
Thanks for the reply...

I quickly had a look at the spec, where I found :

anonymous wrote : The name annotation element defaults to the unqualified name 
of the bean class. The name?whether explicitly specified or defaulted?must be 
unique within the ejb-jar.

Plus, I actually had an error (i haven't noticed it) thrown by the EJB 
container at the beginning of the deployement, stating :

jboss.j2ee:ear=Global_EAR_Project.ear,jar=EJB3_Action_Test.jar,name=SearchAction,service=EJB3
 + is already registered

So it's very consistent with what you said.

Adding @Stateful(name="test/example1/search") and 
@Stateful(name="test/example2/search") where required, solved the problem.

Thanks for having made things clearer to me.



Now, just one more question I'd like to have your opinion on...

For large application developpement with Seam, you finally end up with beans 
that look like :

package com.my.package;
  | 
  | @Stateful(name="com/my/package")
  | @Name("com.my.package.MyBean")
  | public class MyBeanAction implements MyBean
  | ...

Don't you think there is too much redundancy ?

(Seam turned me into a loafer)



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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Aahh.. makes sense.  

I will change it tomorrow and give feedback.  

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

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


[jboss-user] [JBoss Seam] - Re: Download pdf file in JBoss Seam

2007-06-18 Thread markfoerstein
You must first set up pdf generation.

Just follow chapter 15. "iText PDF generation" in the docs.

It has everything you need to know.

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread [EMAIL PROTECTED]
OK, thats definitely Bad.

You should always use @PersistenceContext inside a REQUIRES_NEW bean, and get a 
container-managed PC. 

The Seam-managed PC is associated with the outer (suspended) tx managed by 
Seam. You shouldn't associate it with a new one. Its only allowed to be 
associated with one transaction at a time.

I wish there was an easy way for me to detect cases like this, but its actually 
very difficult, because all I have is a UserTransaction, and no Transaction. 

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread rhboss
I will have to check.  It did work with Seam1.2.1GA and Java 1.6_01.
Thanks.

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

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


[jboss-user] [JBossWS] - Re: wsconsume ant task

2007-06-18 Thread rphadnis
You need the getopt.jar in the classpath. If you are using Jboss 4.2 then that 
file is in the client directory under jboss home.

-Rahul

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Jip... this is what we have:

@In(create = true, value = "napEntityManager")
  | EntityManager em;
  | 

We do all sorts of things (e.g. sometimes we have to evict a touched entity)...

L

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread [EMAIL PROTECTED]
Oh hold on, I didn't see Java 6. Does it work on Java 5?

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread [EMAIL PROTECTED]
Create an issue in JIRA, and include the code of the component that causes this.

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

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


[jboss-user] [JBoss Seam] - Re: NullPointerException in org.jboss.seam.interceptors.WebS

2007-06-18 Thread rhboss
Sorry, this is on Jboss 4.2GA and Java 1.6_01

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

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


[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-18 Thread jorges38
I am having the same problem: 

Argument Error: An option for component mycomboid was not an instance of 
javax.faces.model.SelectItem. Type found: java.util.ArrayList.

mycomboid = id for the selectOneMenu 

Riket44, did you find a solution? 


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

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


[jboss-user] [JBoss Tools (users)] - Re: JBossWS Plugin gen code problem

2007-06-18 Thread pringleuc
I have the same problem,  did you find a solution?

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

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


[jboss-user] [JBoss jBPM] - Re: Help with concurrent subprocess instances!

2007-06-18 Thread estaub
Fork (as in ForEachForkActionhandler) is what you want.
There's nothing preventing multiple tokens "for the same way of execution".  
The fact that they CAN be different doesn't mean they MUST be different.

You wait for all of them to complete by having them transition to a join node 
(in the parent process).  You don't need to do anything more.

So in the parent process, you have a minimum sequence of:

start
fork
sub-process
join
end

The fork creates as many tokens as necessary.
When they reach the join, they will block until everyone is completed.

-Ed Staub

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

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


[jboss-user] [JBoss Seam] - NullPointerException in org.jboss.seam.interceptors.WebServi

2007-06-18 Thread rhboss
Hi.  After upgrading to Seam 1.3alpha, attempting to invoke @WebMethod 
annotated methods on my SLSBs, either via SOAP or natively, results in an NPE 
inside WebServiceInterceptor.
I am using Jbossws 1.2.1.GA and did not have this problem with Seam 1.2.1.GA.  
Have I misconfigured something, or is this a bug?  Thanks.
This is for the SOAP invokation:


  | 
  | 11:33:19,430 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
  | javax.ejb.EJBTransactionRolledbackException
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
  | at $Proxy623.findByName(Unknown Source)
  | at 
com.daxsolutions.ejb.PermissionsManagerImpl.authenticate(PermissionsManagerImpl.java:346)
  | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | a

[jboss-user] [Clustering/JBoss] - Unable to login properly to a clustered JBoss environment us

2007-06-18 Thread jesseuc1981
Hello.  I'm not sure if this is the right place to post this question but if 
it's not you can direct me to the correct message board.  I'm having some 
difficulty using form based authentication in a JBoss cluster.  Sorry in 
advance for the long post I just want to get enough information down for you to 
be able to diagnose the problem.

I have a small Java application that I?m deploying to a JBoss Cluster.  There 
are currently 2 JBoss servers running in the cluster (I'll refer to them as 
JBossServer1 and JBossServer2).  They are running on two different machines 
(actually they are running on two separate VM ware instances on the same 
machine but to the outside world they appear to be two totally separate 
machines).  Both JBoss servers are version 4.0.5 and they are both running on 
computers running FreeBSD version 6.2.  The JBoss cluster is fronted by an 
Apache Server.  The Apache Server is doing some URL rewriting so that requests 
to multiple URLs (about 10) will be directed to the same JBoss cluster.  The 
Apache server also performs load balancing using the RoundRobbin method.  We do 
NOT have sticky sessions setup.

The web application contains several different servlets (SignupServlet, 
CustAdminServlet, AdminServlet, etc.)  Each of these would be accessed through 
URL's such as (http://hostname/MyApp/SignupServlet, 
http://hostname/MyApp/CustAdminServlet, http://hostname/MyApp/AdminServlet) 
where "hostname" is one of the 10 URL's that the Apache Server maps to the 
actual JBoss Servers.  All of the servlets EXCEPT for the AdminServlet are 
completely open and don't require a username or password to access.  The 
AdminServlet however requires the user to login.  I?m using form based 
authentication as my authentication method (set in the web.xml file that gets 
deployed in my applications ear file).

I have made several JBoss configuration changes to try and get everything 
working.  I have read through the JBoss clustering section of the JBoss 
documentation 
(http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html) and have 
followed the instructions in section 16.5 (the HTTP Services section).  I 
configured HTTP session state replication and this seems to be working 
correctly.  When I go my server's jmx console and invoke the printDetails 
operation on the TomcatClusteringCache I can see that there is session 
information that is being replicated.  I've also gone into the file 
jbossweb-tomcat5x.sar/server.xml and setup the ClusteredSingleSignOn valve as 
shown on the SingleSignOn Wiki page 
(http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn):



I thought that maybe I just had single sign-on or clustering configured wrong 
on one of the servers so I did some testing to find out.  Note: I was using 
Mozilla Firefox as my browser.

Test 1: (Success)
First I started up ONLY JBossServer1.  I entered the URL 
http://hostname/MyApp/AdminServlet in my browser and was taken to the login 
page as I would suspect.  I checked my cookies and there was a JSESSIONID 
cookie for this site.  I invoked the printDetails operation on the 
TomcatClusteringCache and saw there was nothing replicated yet.

Then I enter my username and password and press the login button.  I'm logged 
into my application as I should be.  I checked my cookies and there was a 
JSESSIONID cookie AND a JSESSIONIDSSO cookie for this site.  I invoked the 
printDetails operation on the TomcatClusteringCache and saw there was 
information replicated (for a sample of what this looked like see the bottom of 
my post).  

Everything worked the way I would expect it.

Test 2: (Success)
For the next test I started up ONLY JBossServer2.  I entered the URL 
http://hostname/MyApp/AdminServlet in my browser and was taken to the login 
page.  I checked my cookies and there was a JSESSIONID cookie for this site.  I 
invoked the printDetails operation on the TomcatClusteringCache and saw there 
was nothing replicated yet.

Then I entered my username and password and pressed the login button.  I got 
logged into my application as I should be.  I checked my cookies and there was 
a JSESSIONID cookie AND a JSESSIONIDSSO cookie for this site.  I invoked the 
printDetails operation on the TomcatClusteringCache and saw there was 
information replicated (for a sample of what this looked like see the bottom of 
my post).  

Everything worked the way I would expect it.


Test 3: (Fail)
This is the test where I started having problems.  I started up both of the 
JBoss servers.  I again entered the URL http://hostname/MyApp/AdminServlet in 
my browser and was taken to the login page.  I checked the cookies and there as 
a JSESSIONID cookie for this site.  The invoked the printDetails operation on 
the TomcatClusteringCache (on both JBossServer1 and JBossServer2) and saw that 
nothing was replicated yet.

I entered my username and password and pressed the login button.  But instead 
of being logged into the application like I should have b

[jboss-user] [JBoss Seam] - Re: Error in update to 1.3.0

2007-06-18 Thread rlubke
The issue with the InitFacesContext was resolved in the 1.2_04 P02 release this 
past May.



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

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


[jboss-user] [JBoss jBPM] - I am totally lost :-(

2007-06-18 Thread kosulin
I am still not sure. If I create a custom form, like foreachfork from Wiki, 
that means I create at least 2 ways of execution.
But what I need is to create multiple tokens for the same way of execution (run 
the same subprocess) and start them.
May be, instead of fork, I just need to implement a node with ActionHandler 
which creeates tokens for each instance of subprocess and starts them?

But then, how do I wait for all instances to finish before proceeding to next 
node? Should they send events, and my main process should have a state which 
listens until all subprocesses report?

Another problem is how business analyst can watch the process status if no 
diagram can be created to reflect the flow?

Googling for "Alfresco Content Manager" brings nothing :-(

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread [EMAIL PROTECTED]
Oh, yeah, that totally gives me insight.

Tell me something: are you using a seam-managed persistence context from inside 
a REQUIRES_NEW session bean?

Naughty-naughty :-)

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

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


[jboss-user] [JBoss Seam] - Re: Error in update to 1.3.0

2007-06-18 Thread [EMAIL PROTECTED]
There are changes you need to make to your configuration when you upgrade to 
1.3. Check the Seam examples.


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

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


[jboss-user] [JBoss Seam] - Re: Question: how to make confirmation box work with h:comma

2007-06-18 Thread dustismo
I just read that wiki link you left, and judging by that I'm guessing that my 
solution won't work (and you probably tried it anyway).

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Hmm.. something else... my method where this happens (save) is annotated with a 
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)

and the sfsb with 
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)

Dont know if that might give some insight.

L


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

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


[jboss-user] [JBoss Seam] - Re: Error in update to 1.3.0

2007-06-18 Thread srpantano
But this only happens when I run with 1.3, with the 1.2.1 it works fine!

What more information are need to you resolve for me?

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

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


[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Seam thinks that the version numbers are different (the values of the 
versions). These values do not correlate with the version value in the database 
(8910 and 8904 with 1 in the db).

I am using :
  |  private Integer version;
  | 
  |  @Version
  | public Integer getVersion() {
  | return version;
  | }
  | 

There is a few other things that also pop up .. especially with checkboxes.  I 
will look into it a bit tomorrow and give feedback as well.


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

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


[jboss-user] [JBoss Seam] - Re: Error in update to 1.3.0

2007-06-18 Thread [EMAIL PROTECTED]
This is a totally generic error that the RI throws when something it can't 
install something it finds in faces-config.xml.

I mean to raise a bug on this, its impossible to see what really went wrong.


Put the JSF RI source in your sourcepath and use your debugger.

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

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


[jboss-user] [JBoss Seam] - Re: Question: how to make confirmation box work with h:comma

2007-06-18 Thread dustismo
This seems like a roundabout way to get what you want..  I believe the 
following will do what you are looking for:


  | 
  | #{messages['general.delete']}
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Error in update to 1.3.0

2007-06-18 Thread srpantano
When I try to run my application with 1.3 Seam version the follow error appear, 
what I can do to fix?


  | 14:53:47,430 ERROR [STDERR] java.lang.UnsupportedOperationException
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:477)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:436)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
...

  | 14:53:47,461 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
  | 14:53:47,461 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:508)
  | 14:53:47,461 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
  | 14:53:47,492 INFO  [STDOUT] 14:53:47,492 ERROR [[/seg]] Exception sending 
context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
  | javax.faces.FacesException: java.lang.UnsupportedOperationException
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
  | at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
...

  | 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(ServiceC
  | 14:53:47,492 INFO  [STDOUT] ontroller.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:589)
  | 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 java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.UnsupportedOperationException
  | at 
com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | at com.sun.faces.util.Util.createInstance(Util.java:477)
  | at com.sun.faces.util.Util.createInstance(Util.java:436)
  | at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
  | at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  | ... 137 more
  | 14:53:47,492 INFO  [ServletContextListener] Welcome to Seam 1.3.0.ALPHA

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

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


[jboss-user] [JBoss Seam] - Re: Can I hook complex validations into Seam's validation me

2007-06-18 Thread [EMAIL PROTECTED]
The booking example shows you how to do this.

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

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


  1   2   3   >