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

2007-06-19 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=bbop=viewtopicp=4055462#4055462

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055462
___
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-19 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=bbop=viewtopicp=4055465#4055465

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055465
___
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-19 Thread baz
anyone?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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-19 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=bbop=viewtopicp=4055464#4055464

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055464
___
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-19 Thread Sammy8306
Oh, that would be cool, where did you see that?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055469
___
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-19 Thread anescu
Yes,

I have tried it, as it was suggested in the Wiki and it does absolutly nothing. 
That is why I suspect a Seam bug around there (I suppose the Wiki is correct 
and works for a normal JSF application).

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

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


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

2007-06-19 Thread [EMAIL PROTECTED]
server/default/lib/scheduler-plugin.jar

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

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


[jboss-user] [The Lizzard's corner] - what value should set for wrapper.java.initmemory wrapper.

2007-06-19 Thread kmthien
Hi guys,

   I am using jboss4.0.5 installing in Cent OS with memory of 1024MB and jdk 
1.5.0_08. Hence, what value should I set for wrapper.java.initmemory and 
wrapper.java.maxmemory? What actually is the wrapper.java for compare to 
JAVA_OPTS? my current configuration is like below:

#
# Wrapper Properties
#
# Java Application
set.JAVA_HOME=/usr/java/j2sdk
wrapper.java.command=%JAVA_HOME%/bin/java

set.JBOSS_CONFIG=default
set.JBOSS_HOME=/opt/jboss4
set.JBOSS_LOG=/var/log/jboss4/%JBOSS_CONFIG%

# Use new ticker
wrapper.use_system_time=FALSE

# Java Main class
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=%JBOSS_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%JBOSS_HOME%/bin/run.jar
wrapper.java.classpath.3=%JAVA_HOME%/lib/tools.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%JBOSS_HOME%/lib

# Java Additional Parameters
wrapper.java.additional.1=-Dprogram.name=run.sh
wrapper.java.additional.2=-Djava.endorsed.dirs=%JBOSS_HOME%/lib/endorsed

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=64

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=128

# Application parameters.  Add parameters as needed starting from 1
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c
wrapper.app.parameter.3=%JBOSS_CONFIG%

# Port which the native wrapper code will attempt to connect to
wrapper.port=1777

wrapper.startup.timeout=300
wrapper.ping.timeout=300
wrapper.shutdown.timeout=300
wrapper.disable_shutdown_hook=TRUE
wrapper.request_thread_dump_on_failed_jvm_exit=TRUE

#
# Wrapper Logging Properties
#
# Format of output for the console.  (See docs for formats)
wrapper.console.format=PM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=%JBOSS_LOG%/server.log

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPTM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=NONE

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#
# Wrapper NT Service Properties
#
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
[EMAIL PROTECTED]@

# Display name of the service
[EMAIL PROTECTED]@

# Description of the service
[EMAIL PROTECTED]@

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false


Thanks  Regards,
Mark


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

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


[jboss-user] [JBossWS] - Problem deploying web service

2007-06-19 Thread Christy
Hi!
I have a problem:
I'm using JBoss 4.2.0 with jbossws-1.2. I wrote simple web service (JAX-WS 
based) and successfully deployed it in automatic manner ( jbossws did it using 
only my source class and web.xml). After I restarted JBoss the web service had 
dissappeared!! Why did it happens? Do I need every time to redeploy it?
Thank you for your help!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055475
___
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-19 Thread anescu
Hi,

Mea culpa...

The solution in the Wiki does work after all. I deleted the action by mistake. 
But the solution you proposed doesn't work, the code in the onclick attribute 
is placed first in the JS generated code, so if you do something like 
onclick=return confirm('Question...');
the rest of ther script will never fire.
So this solution works after all:
onclick=if (!confirm('Are you sure you want to delete this record?')) return 
false;


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055476
___
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-19 Thread dkane
Thank you for attention. 
I have solved that , but still don't understand the reason. 
The project was created as J2EE 1.4 project in JBoss IDE and moved all 
sources there. I have re-created one as EJB3.0 project and now it works. The 
only difference was that JBoss AOP 1.3 libraries appeared in library list. In 
J2EE 1.4 project I were unable to select this library from the list of 
available libraries to attach. 



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

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


[jboss-user] [JBossWS] - Re: org.jboss.ejb3.client.ClientLauncher in which Jar file?

2007-06-19 Thread jaheersk1234
http://svn.nuxeo.org/trac/nuxeo/browser/demo/Apogee/ECMDemo/lib/jboss-ejb3.jar?rev=4314
 

u can download jboss-ejb3.jar from the above url

regards,
jaheer

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

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


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

2007-06-19 Thread habicht
I've checked it several times. the log file contains no errors.

About the view rights. I took the passage with only personalizerecursive from 
the reference-guide and thought that personalize would include view rights.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055478
___
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-19 Thread dkane
Sorry for the typo, the correct text  : 

Thank you for attention.
I have solved that , but still don't understand the reason.
The project was created as J2EE 1.4 project in JBoss IDE. I have re-created 
one as EJB3.0 project  and moved all sources there and now it works. The only 
difference was that JBoss AOP 1.3 libraries appeared in library list. In 
J2EE 1.4 project I were unable to select this library from the list of 
available libraries to attach. 

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

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


[jboss-user] [JBoss Seam] - How to implement Transaction and Rollback

2007-06-19 Thread [EMAIL PROTECTED]
Hi, 

I have a method which calls some other methods. 


  |   public String parentMethod()
  |   {
  | try
  | {
  |  childMethod1();
  |  childMethod2();
  |  childMethod3();
  | }
  | catch(Exception e)
  | {
  |   facesMessages.add(errorMessage);
  | }
  | 
  | return actionOutCome;
  |   }
  | 

All the child methods update some data in db. 

But if any of the child method fails to perform correctly(throws exception), I 
want to roll back the changes made by other methods. 

How can I do this? 

I read about @Transactional and @Rollback (ifOutCome=) 

Could not get more on how to use @Transactional ... and can not use @Rollback 
as method returns the same string (JSF Action Outcome) each time for page 
navigation. 

Regards, 

Suraj

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055481
___
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-19 Thread lcoetzee
A new day ;-) 

I have changed my EntityManager to be container managed:

  | @PersistenceContext(type=PersistenceContextType.EXTENDED, 
name=napEntityManager)
  | EntityManager em;

I now get the following:
2007-06-19 09:29:04,036 ERROR 
[csir.content.management.seam.ContentManagementBean] Failed to persist content
  | javax.persistence.PersistenceException: 
org.hibernate.PersistentObjectException: detached entity passed to persist: 
csir.content.par.RainbowContent
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
  | at 
org.jboss.ejb3.entity.ExtendedEntityManager.persist(ExtendedEntityManager.java:101)
  | at 
org.jboss.seam.persistence.EntityManagerProxy.persist(EntityManagerProxy.java:128)
  | at 
csir.content.management.seam.ContentManagementBean.save(ContentManagementBean.java:1191)
  | 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.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:45)
  | 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.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
  | at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
  | 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.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71)
  | 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$RequiresNew.invoke(TxInterceptor.java:253)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 

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

2007-06-19 Thread [EMAIL PROTECTED]
You cant call persist() on a detached object dude.

It has to be something you got with new.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055484
___
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-19 Thread lcoetzee
I will check it, but this is code that has worked with all the Seam CVS's prior 
to the weekend. My feeling is that, that detatched thing would have popped 
earlier.

L


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055486
___
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-19 Thread kukeltje
please what is so difficult about my previous post this is JSF stuff, 
not jBPM. So please ask in the correct forum and learn JSF Btw Google 
(or Yahoo, Altavista, search.nl or whatever really IS your friend)

JSF, selectitems, example  great keywords to search on, but I bet you already 
figured that out yesterday

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM IDE Source

2007-06-19 Thread kukeltje
Where did you find a reference to the sourcforge repositery? That is OLD, not 
used anymore (did you look at the latest checkindate). Use the one at jboss

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

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


[jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek

2007-06-19 Thread poyge394

  |URL wsdlLocation = new URL(http://example.org/my.wsdl;);
  |QName serviceName = new QName(http://example.org/sample;, MyService);
  |Service service = Service.create(wsdlLocation, serviceName);
  | 


Service.create does not exists.

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

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


[jboss-user] [JBoss.NET] - Re: DataSource to MySQL with Axis2 and JBoss

2007-06-19 Thread zolv
ciaciapek wrote : ...
  | use-java-contextfalse/use-java-context
  | ...
  | 

Thx, It works!

zolv

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

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


[jboss-user] [Beginners Corner] - accessing a file in WEB-INF

2007-06-19 Thread dreuzel
I tried out  a facelet  application adding a taqlibrary , creating custom tags 


It is suggested to add the  library in /WEB-INF/facelets/tags/mytags.taglib.xml


but it just does not find the  file  the there. (File not found)
I changed the  ear build  so that it is realy in jboss -  ear - war  File  and 
deployment directories. THis on the correct spot. but it can not saem to find 
the  file over there.

Error:   Severe: Error Loading Library  /WEB-INF/taglibrary/mytag.taglib.xml
java.io.FilenotFoundException  same  location  I'm using windows XP



I'm I still missing  something to allow me to access that file  ??
Are  there more things  I can verify 


Thanks in advance 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055493
___
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-19 Thread [EMAIL PROTECTED]
No this is the kind of thing that can happen when you pass an object from one 
persistence context to a different one.

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

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


[jboss-user] [JBoss jBPM] - Re: Setting Variable Types

2007-06-19 Thread kukeltje
nope, this is in the processdefinition. jbpm 3.1 already supports this.

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

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


[jboss-user] [JBoss Seam] - Conversation - setting and getting

2007-06-19 Thread urosmil
Hi,

I have 2 questions:

1) is it possible to set conversation scope in faces-config.xml; in the same 
way as for session scope: managed-bean-scopesession/managed-bean-scope

2) how go get conversation scoped bean through java code, as it's possible for 
session scoped bean:
MyBean myBean = (MyBean) 
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get(myBean
 );

Thanks,
Uros!

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

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


[jboss-user] [JBoss Seam] - Loosing information right out of my entity bean....

2007-06-19 Thread g00se24
Hello, 

i've quite a nice little problem:

I outject a entity bean out of a seam component with multiple relations 
(OneToOne, ManyToMany, ManyToOne).
So far everything works fine. The first page is rendered correct using the 
data. But if I do something like calling an seam action the ManyToMany 
relations are resolving to null. The other relations are working fine.

Have anybody something a solution?

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

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


[jboss-user] [JBoss jBPM] - Unable to start websale process

2007-06-19 Thread dabd
Hi,

I am trying to run the websale process that comes with jbpm-jpdl-suite-3.2.GA.
But it crashes with the following error:
Stream error while reading XML: www.w3.org

How to fix this?

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: Unable to start websale process

2007-06-19 Thread kukeltje
HHH

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

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


[jboss-user] [JBoss Seam] - Re: Loosing information right out of my entity bean....

2007-06-19 Thread petemuir
Show some code.  Are you in a conversation?

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

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


[jboss-user] [JBoss jBPM] - Problem with a simple process definition using a Timer (JPDL

2007-06-19 Thread Fleury
Hey,

I can not make the process definition below working. The timer seems never to 
fire. No action is executed. Curiously, a lot of tokens are created in the 
database...
Could you please test this process definition and report what you observe ? I 
do not know if the problem comes from my configuration or from jpdl3.2 (this 
process was working with jpdl 3.1.4).

Thank you very much for your help

LF


The process definition :




?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition
  |   xmlns=urn:jbpm.org:jpdl-3.1  name=bistable
  |start-state name=start
  |   transition name=to_timer to=Timer/transition
  |/start-state
  |state name=Timer async=true
  |   timer name='startParallelProcesses' 
  | duedate='1 seconds' 
  | repeat='30 seconds' transition=to_parallel_processes
  |  action name=action1 
class=com.sample.action.MessageActionHandler async=true
  | messageFiring timer/message
  |  /action
  |/timer
  |transition name=to_parallel_processes to=fork1/transition
  |   event type=node-leave
  | action name=action1 
class=com.sample.action.MessageActionHandler async=true
  | messageLeaving timer/message
  |  /action
  |   /event
  |/state
  |fork name=fork1 async=true
  |   transition name=to_node1 to=node1/transition
  |   transition name=to_node2 to=node2/transition
  |/fork
  |node name=node1 async=true
  |   event type=node-enter
  |  action name=action1 
class=com.sample.action.MessageActionHandler async=true
  | messageEntering node1/message
  |  /action
  |   /event
  |   transition name=to_join1 to=join1/transition
  |/node
  |node name=node2 async=true
  |   event type=node-enter
  |  action name=action1 
class=com.sample.action.MessageActionHandler async=true
  | messageEntering node2/message
  |  /action
  |   /event
  |   transition name=to_join1 to=join1/transition
  |/node
  |join name=join1 async=true
  |   transition name=back_to_timer to=Timer
  |   action name=action1 class=com.sample.action.MessageActionHandler 
async=true
  | messageBack to timer/message
  |  /action
  |   /transition
  |/join
  | /process-definition


The MessageActionHandler class :

  | package com.sample.action;
  | 
  | import org.apache.commons.logging.Log;
  | import org.apache.commons.logging.LogFactory;
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | 
  | public class MessageActionHandler implements ActionHandler {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | String message;
  | 
  | public void execute(ExecutionContext context) throws Exception {
  | log.info(message);
  | }
  | 
  | private static final Log log = 
LogFactory.getLog(MessageActionHandler.class);
  | }[/img]

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader does not delete item from table

2007-06-19 Thread gmeroz
can you explain how to do it?
if i use pojoCache.getCache().getMembers(), i get an empty list...

By the way, deleting the cahce with the exmaple i gave on my previous post, 
takes a long time (because of the for loop). When running on JBoss with 
transactions, it may cause a transaction timeout which cause this problem as 
well. 
Is there a way to make it be deleted faster? 

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

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


[jboss-user] [JCA/JBoss] - ejb server socket connection

2007-06-19 Thread teodoro21
Hi, I'm developing a simple session ejb and It has to do request socket
connections to an old server socket application developed with C lamguage.

Now, I'd like to know if a good solution it could be a JCA Resource Adapter to 
make socket connections and it could be a scalable solution.
Any suggestions are welcome.

Teo. 

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

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


[jboss-user] [JBoss Seam] - Re: Conversation - setting and getting

2007-06-19 Thread petemuir
urosmil wrote : 1) is it possible to set conversation scope in 
faces-config.xml; in the same way as for session scope: 
managed-bean-scopesession/managed-bean-scope

No.  And a bean declared in faces-config.xml isn't a Seam component.

anonymous wrote : 2) how go get conversation scoped bean through java code, as 
it's possible for session scoped bean:

Contexts.lookupInStatefulContexts(foo) or 
Contexts.getConversationContext().get(foo)

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

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


[jboss-user] [JBoss jBPM] - How to access process variables?

2007-06-19 Thread dabd
I defined an action handler
that tries to access a process variable like this:
Integer quant = (Integer) 
executionContext.getContextInstance().getVariable(quant);

But I get a null pointer exception. 

 The variable quant was defined in the Form Controller of the process 
designer and I generated the form with the same tool.

What am I missing?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Pageflow action state

2007-06-19 Thread KnisterPeter
Hi,

is there something like a pageflow action state? I need a state where I could 
end the current conversation and not the pageflow and  afterwards execute 
another method. 

My usecase is the following: when a new user registers at our service he should 
be logged in automatically. The pageflow must end before this automatic login, 
because the current transaction must be commited to have the user visible in db 
for the seam identity.login action method.

Is there any other solution for this?

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow action state

2007-06-19 Thread petemuir
KnisterPeter wrote : is there something like a pageflow action state? I need 
a state where I could end the current conversation and not the pageflow and  
afterwards execute another method. 

No, a conversation and a pageflow are the same length

anonymous wrote : My usecase is the following: when a new user registers at our 
service he should be logged in automatically. The pageflow must end before this 
automatic login, because the current transaction must be commited to have the 
user visible in db for the seam identity.login action method.

I don't see why these two things are related (transaction commiting, pageflow 
ending).  Call em.flush(), call identity.login(), then end the pageflow, 
transitioning to the users home page.

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a simple process definition using a Timer (

2007-06-19 Thread Fleury
ok it's nicely working... there was a mistake in my config, so i could not see 
nothing in my console

sorry

LF

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

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


[jboss-user] [JBoss Seam] - Re: Loosing information right out of my entity bean....

2007-06-19 Thread g00se24
Here we go:

PS: I'm using a4j extremly hard!!!


  | /**
  |  *
  |  * @author Dennis Guse
  |  *
  |  */
  | @Name(users)
  | @Scope(ScopeType.SESSION)
  | public class UserControl  extends Selection implements Serializable {
  | 
  | @Out(required=false)
  | public User getSelectedUser() {
  | User selected = ((User) super.getSelected());
  | if (selected != null) {
  | System.out.println(selected.toString());
  | }
  | return (User) super.getSelected();
  | }
  | 
  | @In(required=false)
  | public void setSelectedUser(User user) {
  | setSelected(user);
  | }
  | 
  | public void add() {
  | setSelected(new User());
  | }
  | 
  | public ListUser getResult() {
  | return entityManager.createQuery(getQuery()).getResultList();
  | }
  | }
  | 
  | table xmlns=http://www.w3.org/1999/xhtml;
  |xmlns:s=http://jboss.com/products/seam/taglib;
  |xmlns:ui=http://java.sun.com/jsf/facelets;
  |xmlns:f=http://java.sun.com/jsf/core;
  |xmlns:h=http://java.sun.com/jsf/html;
  |xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  |xmlns:a4j=https://ajax4jsf.dev.java.net/ajax;
  | tr
  | td
  | h:outputLabel for=clientClient/h:outputLabel
  | /td
  | td
  | h:outputText id=client value=#{selectedUser.client} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=statusStatus/h:outputLabel
  | /td
  | td
  | h:outputText id=status value=#{selectedUser.status} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=customerGroupCustomerGroup/h:outputLabel
  | /td
  | td
  | h:outputText id=customerGroup 
value=#{selectedUser.customerGroup} /
  | /td
  | /tr
  | 
  | tr
  | td
  | h:outputLabel for=titleTitel/h:outputLabel
  | /td
  | td
  | h:outputText id=title value=#{selectedUser.title} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=firstNamefirstName/h:outputLabel
  | /td
  | td
  | h:outputText id=firstName value=#{selectedUser.firstName} 
/
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=surNamesurName/h:outputLabel
  | /td
  | td
  | h:outputText id=surName value=#{selectedUser.surName} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=languageLanguage/h:outputLabel
  | /td
  | td
  | h:outputText id=language value=#{selectedUser.language} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=usernameuserName/h:outputLabel
  | /td
  | td
  | h:outputText id=username value=#{selectedUser.username} / 
   
  | /td
  | /tr
  | tr
  | table
  | tr
  | td
  | h:outputLabel for=streetStreet/h:outputLabel
  | /td
  | td
  | h:outputText id=street 
value=#{selectedUser.address.street} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel 
for=addressStreetNumber/h:outputLabel
  | /td
  | td
  | h:outputText id=address 
value=#{selectedUser.address.streetNumber} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=zipZIP/h:outputLabel
  | /td
  | td
  | h:outputText id=zip 
value=#{selectedUser.address.zip} /
  | /td
  | 
  | /tr
  | tr
  | td
  | h:outputLabel for=townTown/h:outputLabel
  | /td
  | td
  | h:outputText id=town 
value=#{selectedUser.address.town} /
  | /td
  | /tr
  | tr
  | td
  | h:outputLabel for=countryCountry/h:outputLabel
  | /td
  | td
  | h:outputText id=country 
value=#{selectedUser.address.country} /
  | /td
  | /tr
  | /table
  | /tr
  | /table
  | 
  | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | 

[jboss-user] [JBoss jBPM] - Re: Unable to start websale process

2007-06-19 Thread dabd
kukeltje wrote : HHH

Arrogance diminishes wisdom.


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

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


[jboss-user] [JBossWS] - Cannot obtain java type mapping for

2007-06-19 Thread poyge394
can anybody give me a guideline pleass

client code:

 
  | URL url = new URL(http://api.tradera.com/v1/publicservice.asmx?WSDL;);
  | QName qname = new QName(http://api.tradera.com;, PublicService);
  | 
  |  ServiceFactory factory = ServiceFactory.newInstance();
  |  Service service = factory.createService(url, qname);
  | 
  |  PublicServiceSoap pss = (PublicServiceSoap) service.getPort(new 
QName(http://api.tradera.com;, PublicServiceSoap), PublicServiceSoap.class);
  | 

Exception:






  | WARN   getSOAPAddress, Unprocessed extension element: 
{http://schemas.xmlsoap.org/wsdl/http/}address
  | WARN   processBinding, Unsupported binding: 
{http://schemas.xmlsoap.org/wsdl/http/}binding
  | WARN   getSOAPAddress, Unprocessed extension element: 
{http://schemas.xmlsoap.org/wsdl/http/}address
  | WARN   processBinding, Unsupported binding: 
{http://schemas.xmlsoap.org/wsdl/http/}binding
  | WARN   processBinding, Unsupported binding: 
{http://schemas.xmlsoap.org/wsdl/http/}binding
  | WARN   processBinding, Unsupported binding: 
{http://schemas.xmlsoap.org/wsdl/http/}binding
  | WARN   getBindingByInterfaceName, Multiple WSDL bindings referrence the 
same interface: {http://api.tradera.com}PublicServiceSoap
  | WARN   getBindingByInterfaceName, Multiple WSDL bindings referrence the 
same interface: {http://api.tradera.com}PublicServiceSoap
  | WARN   getBindingByInterfaceName, Multiple WSDL bindings referrence the 
same interface: {http://api.tradera.com}PublicServiceSoap
  | org.jboss.ws.WSException: Cannot obtain java type mapping for: 
{http://api.tradera.com}GetItem
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processDocElement(JAXRPCMetaDataBuilder.java:627)
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:886)
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:214)
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:216)
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:133)
  | at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:85)
  | at 
org.jboss.ws.core.jaxrpc.client.ServiceImpl.init(ServiceImpl.java:111)
  | at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
  | at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
  | at 
se.sj.ipl.tradera.AddItemXmlWebService.testTraderaPublicApiStatic(AddItemXmlWebService.java:58)
  | 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
  | at 
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
  | at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
  | at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
  | at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
  | at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
  | at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
  | at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
  | at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | 
  | 
  | 
  | 

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

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

[jboss-user] [JBoss Seam] - Re: Any way to access login-required flag from EL?

2007-06-19 Thread jamoreno
i have problems with cache.

My template.xhtml.
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//ES 
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  
html xmlns=http://www.w3.org/1999/xhtml;
  xmlns:ui=http://java.sun.com/jsf/facelets;
  xmlns:h=http://java.sun.com/jsf/html;
  xmlns:f=http://java.sun.com/jsf/core;
  xmlns:s=http://jboss.com/products/seam/taglib;

meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
meta content=no-cache http-equiv=Pragma /
meta content=no-cache http-equiv=Cache-Control /
meta content=no-store http-equiv=Cache-Control /
meta content=max-age=0 http-equiv=Cache-Control /
meta content=1 http-equiv=Expires /
Asterisk





ui:include src=menu.xhtml
ui:param name=projectName value=Asterisk/
/ui:include


ui:insert name=body/



Powered by Seam.
Generated by seam-gen.





But jboss is using cache. I don't want to use cache because i watch old values. 
Can somebody help me? 

Sorry for my bad English and thanks. 

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

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


[jboss-user] [JBoss Messaging] - Scheduled messages not delayed

2007-06-19 Thread jpansier
Hi,

I use jboss messaging 1.3.0 integrated in jboss 4.2.0, with clustered queue, 
and oracle persistent database.
I follow the automated clustered installation of jboss messaging.

I want to schedule jms messages. When I send jms message with 
JMS_JBOSS_SCHEDULED_DELIVERY property,
messages are consumed as soon as are produced. The SCHED_DELIVERY column value 
in database seems correct.

Is there a specific configuration to allow this fonctionnality ?

Best Regards,

Joel

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

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


[jboss-user] [JBoss jBPM] - jBPM 3.2GA in JBoss 4.2GA loader constraints violation

2007-06-19 Thread psourisseau
Hi,

I try to deploy the jbpm-enterprise-3.20GA.ear file to jboss 4.2GA application 
server...

I've this error during the deployment :
java.lang.LinkageError: loader constraints violated when linking 
javax/el/ExpressionFactory class

There's el library in server/lib and an other in jbpm distribution ...
What can i do ?
  - Delete el library in jbpm distribution 
  - Delete el library in application server distribution
  - Do a copy 


Thx for your help...

Regards,


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

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


[jboss-user] [JBoss Seam] - popup on mouse hover

2007-06-19 Thread limousyf
Hello,

T:popup from tomahawk taglib seems to be incompatible with seam (or I just 
failed make it work ...).

Is there a way to make a popup on a button ? The popup is supposed to appear on 
mouse hover (like a tooltip for example).

Thanks for any help here

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

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


[jboss-user] [JBoss Seam] - Re: popup on mouse hover

2007-06-19 Thread damianharvey
Take a look at this article from Smashing Magazine: 
http://www.smashingmagazine.com/2007/06/12/tooltips-scripts-ajax-javascript-css-dhtml/

Lots of ways to create popups.

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

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


[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed

2007-06-19 Thread timfox
Can you please post your code, or an example that fails?

In the mean time, please take a look at 
org.jboss.test.messaging.jms.ScheduledDeliveryTest to see scheduled delivery in 
action.

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

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


[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer

2007-06-19 Thread baz
We are migrating one of our projects to jboss 4.2.0GA.
After identifying that we also have to copy commons-digester*.jar and 
commons-beanutils*.jar  to WEB-INF/lib folder
there are no more errors at startup. 
But we get the org.apache.commons.collections.UnboundedFifoBuffer 
error:-(
We have replaced the commons-collection.jar in jboss*/server/default/lib with 
one of the versions comming from seam-gen(seam1.2.1GA)
And we are also copying commons-beanutils (in this case version 1.7)

Situation:

1.) Having a project generated with seam-gen(from Seam1.2.1GA) running on JBoss 
AS 4.0.5GA without complains

2.) Using the instructions on this site: 
[url]http://www.michaelyuan.com/blog/2007/05/29/seam-book-examples-updated-to-jboss-as-420-ga/
[/url]
we tried to migrate to JBoss AS 4.2.0GA
3.) Making the changes corresponding to beanutils and digester

4.) Server starts fine and we are getting the UnboundedFifoBuffer error

5.) Googeling about this error finding among other posts this thread.

6.) trying to copy the right versions of collection and digester.jars

7.) Stuck.. No solution so i post here.

Can one post me a link to working versions of the librarys.
We do have 
seam-1.2.1GA
richfaces-1.1.1 with corresponding Ajax
facelets 1.0.13 alpha
commons-collections3.1 (from generated app)
commons-digester1.6 
commons-beanutils-1.7.0

Hope someone can help me out.
Ciao,
baz

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

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


[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?

2007-06-19 Thread stalep
thanks, my pleasure :)
i can only agree with you that the maven respositories could easily be much 
better, but i believe its getting there. jboss have its own repository, a 
snapshot repository and think that modules will be updated faster in the future.
remember that many projects (jboss aop included), still use ant as a 
build/test-tool and will probably do so for a long time (maven isnt best at 
everything :).
i enjoy the power and simplicity of ant in small projects where you need a lot 
of out-of-the-box tweaking, but on bigger projects i really like the 
modularity that maven gives.

personally i believe that most of the jboss projects have good documentation 
and examples included, but if there is something you feel is missing from the 
aop documentation let us know and we'll try to make it better. - and yes, the 
maven plugin will get some documentation and examples when its final :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055526
___
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-19 Thread CarstenRudat
Hi waynebaylor,

I'd like to control the read-access based on a users role (and a special use 
case).

E.g. I have one business case, where a balance of account A should not be 
visible for users with role clerk. But in another case balance should not be 
visible for a user with a role employee...

May I use @Permit on entities (anyhow it would not fulfil my needs, but it 
would be interesting to know)?

Thanks,
Carsten



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

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


[jboss-user] [JBoss jBPM] - jBPM 3.2GA jboss4.2GA ClassCastException during jbbmear de

2007-06-19 Thread psourisseau
Hi,

When i deploy jBPM 3.2GA in 4.2.0GA server i 've a lot of ClassCastException

  - java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
  - java.lang.ClassCastException: 
com.sun.faces.application.ApplicationAssociate 
 

Wich library version i must use ?

Thx for your help,
Regards,
Pascal



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

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


[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed

2007-06-19 Thread jpansier
Indeed, I have look the unit test 
org.jboss.test.messaging.jms.ScheduledDeliveryTest.

my code : 

  | @Stateless
  | @Clustered(partition=MyPartition)
  | @RemoteBinding(jndiBinding=JMSManagerBean/remote)
  | @TransactionManagement(value=TransactionManagementType.BEAN)
  | public class JMSManagerBean implements JMSManager {
  | 
  |private static final long serialVersionUID = 1L;
  | 
  |private static Logger log = Logger.getLogger(JMSManagerBean.class);
  | 
  |private QueueConnectionFactory qcf;
  |private QueueConnection qc = null;
  |private QueueSession session = null;
  |private QueueSender qs = null;
  |private Queue queue;
  | 
  |private int connect() {
  | String nomFileOut = queue/myQueue;
  | 
  | HashtableString, String properties = new 
HashtableString,String();
  | properties.put(InitialContext.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | properties.put(InitialContext.PROVIDER_URL, 
localhost:+HAJNDI_PORT.intValue());
  | Context ictx = new InitialContext(properties);
  | 
  | qcf = (QueueConnectionFactory) 
ictx.lookup(ClusteredConnectionFactory);
  | log.debug(Queue Out Name :  + nomFileOut);
  | 
  | queue = (Queue) ictx.lookup(nomFileOut);
  | 
  | qc = qcf.createQueueConnection();   
  | session = qc.createQueueSession(true, Session.CLIENT_ACKNOWLEDGE);
  | qs = session.createSender(queue);
  | 
  | return 0;
  | }
  | 
  | 
  | public int sendMessage() {
  | try {
  | connect();
  | TextMessage messageOut; 
  | messageOut = session.createTextMessage();
  | 
  | messageOut.setText(My message);
  | messageOut.setJMSType(String.class.getName());
  | try {
  | long dateSchedule = current.getDeliveryDate().getTime();
  | log.debug(*** dateSchedule :  + dateSchedule);
  | 
messageOut.setLongProperty(JBossMessage.JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME, 
dateSchedule);
  | } catch (Exception e) {
  | log.error(Problem with Schedule Property ,e);
  | }
  | messageOut.setLongProperty(JMS_JBOSS_REDELIVERY_DELAY, 1);
  | messageOut.setIntProperty(JMS_JBOSS_REDELIVERY_LIMIT, 3);
  | 
  | qs.send(messageOut);
  | 
  | log.debug(SYSTEM.CURRENTTIMEMILLIS :  + 
System.currentTimeMillis());
  | session.commit();
  | 
  | } catch (Exception e) { 
  | log.error(getClass().getName()+ unable to send message on 
queue.,e);
  | retour = ErrorManager.CAN_NOT_SEND_MT;
  | } finally {
  | disconnect();
  | }
  | return 0;
  | }
  | 
  | 
  | private int disconnect() {
  | if (qs != null) {
  | try {
  | qs.close();
  | session.close();
  | qc.close();
  | queue = null;
  | qcf = null;
  | } catch (Exception e) {
  | log.error(,e);
  | logNetcool.error(KO);
  | }
  | }
  | return 0;
  | }
  | }
  | 
  | 
Also, I tried with the AUTO_ACKNOWLEDGE mode, but the result is the same.

Thanks,
joel

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2GA in JBoss 4.2GA loader constraints violation

2007-06-19 Thread mputz
Pascal,

have you seen this wiki 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x and 
followed the advices there?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate deploy sequence

2007-06-19 Thread topicfun
Hi!

How could I change the deploy sequence of the *.hbm.xml files on Jboss?
I am using hibernate-service.xml and as far as I know in this case the 
hibernate.cgf.xml doesn't play...

I have an usertype.hbm.xml (define type mapping between enum classes) that 
should be first at the deploy but the jboss deploys the xmls in alphabetical 
order so it is processed only at the and of the sequence = deploy is 
unsuccessful.
If I rename this to aausertype.hbm.xml everything is OK the deploy is 
successful...
I don't like this solution there is any other way to do?

Thanks,
Topicfun

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

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


[jboss-user] [JBoss Messaging] - Re: 1.3.0 Temporary Destination - Full security

2007-06-19 Thread sergeypk
Created http://jira.jboss.com/jira/browse/JBMESSAGING-994 for the security 
issue.

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

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


[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed

2007-06-19 Thread timfox
Please can you post a full runnable example showing messages being sent and 
consumed earlier than they should be.

Something we can copy and paste and run.

A JUnitTest would be ideal.

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

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


[jboss-user] [JBoss Portal] - Portlet customization with respect to user rloes

2007-06-19 Thread georgy
Hi

I'am trying to customize a portlet with respect to user roles. To do so, i am 
using the isUserInRole method. Here is a sample of my jsp code :

  | %if(request.isUserInRole(Administrators)){ %
  |a href=portlet:renderURL .
  | %}%
  | 

I've also tried the renderRequest but the result is the same: isUserInRole 
always returns false, it doesn't matter the role i use to log in.

i am using jboss portal 2.4 with its default configuration.

Do i have to modify the portlet.xml file?

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

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


[jboss-user] [JBoss Seam] - seam app + another app using SSO

2007-06-19 Thread leezard
Hi all,

I have main application written in Struts and I need to link my smaller seam 
application with it using SSO. What I need to do is:
- user clicks specified link at the main application's page with url parameter 
and gets into seam application where some pageflows / actions are preformed. 
After finished conversation I need to redirect user back to main application's 
page (this one he cliked link at). How can I achieve this? How to write 
navigation rules? How should I specify view-id or sth? Assume I have no 
security yet so Seam application is available for all users.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - the never ending flow of optimistic locking questions

2007-06-19 Thread beligum
Hi all,

This question must be getting boresome to some of you experts here,
but please help an intermediate developer along with some answers to a few 
simple questions regarding the subject.

I use the @Version annotation in my EJB3 entity bean (Seam, JTA), and, while a 
user edits the bean-contents, it's possible the info is updated through a 
JMS-callback from an external source.

Now, I would like to select a few (modified-behind-the-scenes) fields from the 
database, and let them precede the user-input whatsoever.

So, when I call my entityManager.flush() method (Seam-managed em), it throws a 
StaleObjectStateException, because of the JMS-update. In this post 
(http://www.jboss.com/index.html?module=bbop=viewtopicp=3919517#3919517), 
Gavin points out that it's possible to present the user with the changes made 
in the DB, by starting up a new context/transaction. He even points out how to 
do it, but in his own expert-style, the explanation is still quite cryptic to 
me.

Can anyone elaborate on the:

anonymous wrote : To get a new PC/txn to work with, call a session bean in 
the context of a REQUIRES_NEW transaction (if it is stateful, it needs to be a 
newly instantiated SFSB).

This is my relevant code (a conversation-scoped SFSB in a long-running 
conversation/transaction):

  | public String updateEntity()
  | {
  | ...
  | try {
  | entityManager.merge(getSelectedInode());
  | entityManager.flush();
  | 
  | return success;
  | }
  | catch (OptimisticLockException e) {
  | VersionConflictManager conflictManager = 
(VersionConflictManager)Component.getInstance(versionConflictManager);
  | File dbFile = 
(File)conflictManager.getConflictingDbObject(File.class, 
getSelectedInode().getFileSystemEntity().getId());
  | System.out.println(test);
  | }
  | }
  | 

And here's my VersionConflictManager

  | @Stateful
  | @Scope(CONVERSATION)
  | @Name(versionConflictManager)
  | public class VersionConflictManager implements Serializable
  | {
  | 
  | //-VARIABLES-
  | @In(create=true)
  | EntityManager entityManager;
  | 
  | //-CONSTRUCTORS-
  | public VersionConflictManager()
  | {
  | }
  | 
  | //-GETTERS/SETTERS--
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | public Object getConflictingDbObject(Class entityClass, int id)
  | {
  | return entityManager.find(entityClass, id);
  | }
  | 
  | @Remove
  | @Destroy
  | public void destroy()
  | {
  | }
  | }
  | 

Apparently, I'm missing something, because I get a StaleObjectStateException 
when I try to instantiate the VersionConflictManager in the catch-code.

Any help is appreciated,

bram

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

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


[jboss-user] [JBoss jBPM] - BPEL process doesn't respond

2007-06-19 Thread Kantti_
Hello.

I'm farely new to BPEL and WS but I have managed to get the BPEL tutorials up 
and running. 

I'm using:
JBoss AS 4.0.5.GA
JBossWS 1.2.1.GA
jbpm-bpel 1.1.Beta5

I have done the HelloWorld process with BPEL Designer 0.2.0.

The files I've made are (otherwise the code is from the original tutorial):

HELLO.BPEL:
?xml version=1.0 encoding=UTF-8 standalone=no?
  | bpws:process 
xmlns:bpws=http://schemas.xmlsoap.org/ws/2004/03/business-process/; 
xmlns:tns=http://jbpm.org/examples/hello; exitOnStandardFault=yes 
name=HelloWorld suppressJoinFailure=yes 
targetNamespace=http://jbpm.org/examples/hello;
  |   bpws:import importType=http://schemas.xmlsoap.org/wsdl/; 
location=hello.wsdl namespace=http://jbpm.org/examples/hello/
  |   bpws:partnerLinks
  | bpws:partnerLink myRole=Greeter name=caller 
partnerLinkType=tns:Caller-Greeter/
  |   /bpws:partnerLinks
  |   bpws:variables
  | bpws:variable messageType=tns:nameMessage name=request/
  | bpws:variable messageType=tns:greetingMessage name=response/
  |   /bpws:variables
  |   bpws:sequence
  | bpws:receive name=Receive operation=sayHello partnerLink=caller 
portType=tns:Greeter variable=request/
  | bpws:assign name=Assign validate=no
  |   bpws:copy
  | bpws:from![CDATA[concat('Hello, ', 
bpws:getVariableData('request', 'name'), '!')]]/bpws:from
  | bpws:to part=greeting variable=response/
  |   /bpws:copy
  | /bpws:assign
  | bpws:reply name=Reply operation=sayHello partnerLink=caller 
portType=tns:Greeter variable=response/
  |   /bpws:sequence
  | /bpws:process

HELLO.WSDL:
?xml version=1.0 encoding=UTF-8 standalone=no?
  | wsdl:definitions xmlns:tns=http://jbpm.org/examples/hello; 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=hello 
targetNamespace=http://jbpm.org/examples/hello; 
xmlns:p=http://schemas.xmlsoap.org/ws/2004/03/partner-link/;
  | wsdl:message name=nameMessage
  | wsdl:part name=name type=xsd:string/wsdl:part
  | /wsdl:message
  | wsdl:message name=greetingMessage
  | wsdl:part name=greeting type=xsd:string/wsdl:part
  | /wsdl:message
  | wsdl:portType name=Greeter
  | wsdl:operation name=sayHello
  | wsdl:input message=tns:nameMessage/wsdl:input
  | wsdl:output 
message=tns:greetingMessage/wsdl:output
  | /wsdl:operation
  | /wsdl:portType
  | p:partnerLinkType name=Caller-Greeter
  | p:role portType=tns:Greeter name=Greeter/p:role
  | /p:partnerLinkType
  | /wsdl:definitions

Could the problem be in the code above? The war-file deploys nicely but the 
junit test just freezes. The ws is called but it doesn't send a response.

Thanks for the help.



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

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


[jboss-user] [EJB 3.0] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , 
  I am trying to deploy make a simple flow as :
Servlet --- (invokes) Stateless Bean   (invokes) Entity Bean(persistence 
object )


But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this 
entity bean as an ear . The persistence.xml has following entries :

?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
persistence-unit name=testApp transaction-type=RESOURCE_LOCAL
jta-data-sourcejava:/XAOracleDS/jta-data-source 
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Emp
Employee
Software
SoftwareFile

!-- Provider-specific connection properties --




!-- Provider-specific settings --

!-- other values are: drop-and-create-tables|none --

/persistence-unit




I have put the  Oracle jdbc libraries in the jboss/server/lib directory and 
have also configured the oracle-xa-ds.xml file for the system user and password 
. 

The ear contains the application.xml file which has the entry for 
persistence.jar as :

  sample.jar



  
web-uri

/web-uri
context-root
sample
/context-root

  

   
persist.jar
   


Now  when I go for the deployment I get this error on the Server console :---

 ERROR [PersistenceXmlLoader] Error parsing XML: XML InputStream(5) 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
15:53:37,093 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
javax.persistence.PersistenceException: invalid persistence.xml
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:66)
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:73)
at 
org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)




Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)



PLEASE HELP ME FIGURE OUT WHERE THE ERROR IS :?













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

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


[jboss-user] [EJB/JBoss] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All ,
I am trying to deploy make a simple flow as :
Servlet --- (invokes) Stateless Bean   (invokes) Entity Bean(persistence 
object )


But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this 
entity bean as an ear . The persistence.xml has following entries :

?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
persistence-unit name=testApp transaction-type=RESOURCE_LOCAL
jta-data-sourcejava:/XAOracleDS/jta-data-source
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Emp
Employee
Software
SoftwareFile

!-- Provider-specific connection properties --




!-- Provider-specific settings --

!-- other values are: drop-and-create-tables|none --

/persistence-unit




I have put the Oracle jdbc libraries in the jboss/server/lib directory and have 
also configured the oracle-xa-ds.xml file for the system user and password .

The ear contains the application.xml file which has the entry for 
persistence.jar as :

sample.jar




web-uri

/web-uri
context-root
sample
/context-root




persist.jar



Now when I go for the deployment I get this error on the Server console :---

ERROR [PersistenceXmlLoader] Error parsing XML: XML InputStream(5) 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
15:53:37,093 WARN [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
javax.persistence.PersistenceException: invalid persistence.xml
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:66)
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:73)
at 
org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)




Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown 
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
Source)



PLEASE HELP ME FIGURE OUT WHERE THE ERROR IS :?


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

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


[jboss-user] [Installation, Configuration Deployment] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All ,
I am trying to deploy make a simple flow as :
Servlet --- (invokes) Stateless Bean   (invokes) Entity Bean(persistence 
object )


But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this 
entity bean as an ear . The persistence.xml has following entries :

?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
persistence-unit name=testApp transaction-type=RESOURCE_LOCAL
jta-data-sourcejava:/XAOracleDS/jta-data-source
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Emp
Employee
Software
SoftwareFile

!-- Provider-specific connection properties --




!-- Provider-specific settings --

!-- other values are: drop-and-create-tables|none --

/persistence-unit




I have put the Oracle jdbc libraries in the jboss/server/lib directory and have 
also configured the oracle-xa-ds.xml file for the system user and password .

The ear contains the application.xml file which has the entry for 
persistence.jar as :

sample.jar




web-uri

/web-uri
context-root
sample
/context-root




persist.jar



Now when I go for the deployment I get this error on the Server console :---

ERROR [PersistenceXmlLoader] Error parsing XML: XML InputStream(5) 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
15:53:37,093 WARN [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
javax.persistence.PersistenceException: invalid persistence.xml
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:66)
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:73)
at 
org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)




Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown 
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
Source)



PLEASE HELP ME FIGURE OUT WHERE THE ERROR IS :?


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

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


[jboss-user] [JBoss Seam] - the never ending flow of optimistic locking questions

2007-06-19 Thread beligum
Hi all,

This question must be getting boresome to some of you experts here,
but please help an intermediate developer along with some answers to a few 
simple questions regarding the subject.

I use the @Version annotation in my EJB3 entity bean (Seam, JTA), and, while a 
user edits the bean-contents, it's possible the info is updated through a 
JMS-callback from an external source.

Now, I would like to select a few (modified-behind-the-scenes) fields from the 
database, and let them precede the user-input whatsoever.

So, when I call my entityManager.flush() method (Seam-managed em), it throws a 
StaleObjectStateException, because of the JMS-update. In this post 
(http://www.jboss.com/index.html?module=bbop=viewtopicp=3919517#3919517), 
Gavin points out that it's possible to present the user with the changes made 
in the DB, by starting up a new context/transaction. He even points out how to 
do it, but in his own expert-style, the explanation is still quite cryptic to 
me.

Can anyone elaborate on the:

anonymous wrote : To get a new PC/txn to work with, call a session bean in 
the context of a REQUIRES_NEW transaction (if it is stateful, it needs to be a 
newly instantiated SFSB).

This is my relevant code (a conversation-scoped SFSB in a long-running 
conversation/transaction):

  | public String updateEntity()
  | {
  | ...
  | try {
  | entityManager.merge(getSelectedInode());
  | entityManager.flush();
  | 
  | return success;
  | }
  | catch (OptimisticLockException e) {
  | VersionConflictManager conflictManager = 
(VersionConflictManager)Component.getInstance(versionConflictManager);
  | File dbFile = 
(File)conflictManager.getConflictingDbObject(File.class, 
getSelectedInode().getFileSystemEntity().getId());
  | System.out.println(test);
  | }
  | }
  | 

And here's my VersionConflictManager

  | @Stateful
  | @Scope(CONVERSATION)
  | @Name(versionConflictManager)
  | public class VersionConflictManager implements Serializable
  | {
  | 
  | //-VARIABLES-
  | @In(create=true)
  | EntityManager entityManager;
  | 
  | //-CONSTRUCTORS-
  | public VersionConflictManager()
  | {
  | }
  | 
  | //-GETTERS/SETTERS--
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | public Object getConflictingDbObject(Class entityClass, int id)
  | {
  | return entityManager.find(entityClass, id);
  | }
  | 
  | @Remove
  | @Destroy
  | public void destroy()
  | {
  | }
  | }
  | 

Apparently, I'm missing something, because I get a StaleObjectStateException 
when I try to instantiate the VersionConflictManager in the catch-code.

Any help is appreciated,

bram

PS: I'm cross-posting this from the Persistence,JBoss/CMP, Hibernate, ... 
forum, to raise my chances in getting a response 
(http://www.jboss.com/index.html?module=bbop=viewtopicp=4055537#4055537), 
please forgive me my insolence

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055542
___
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-19 Thread lcoetzee
Aahh.. That is good information.

I have fixed up the code a bit and now works as expected (from what we have 
tested here).

Thanks a stack.

L



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055543
___
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-19 Thread wesleyhales
Yeah, I know - I have looked in the seam/lib and beat 2. I don't have this 
class in either (EmbeddedJBossBootstrapListener). Maybe I'm just loosing my 
mind, but can you see if yours has it. 

I do see it in svn, but not in either jars.

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

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


[jboss-user] [JBoss jBPM] - Re: Unable to start websale process

2007-06-19 Thread mputz
@dabd, Ronald's reaction is quite understandable, given the fact that you have 
posted almost the same question yesterday already: 
http://www.jboss.com/index.html?module=bbop=viewtopict=111219

Hey, you even found a solution to it...! Could it be that you forgot it in the 
meantime? ;-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055545
___
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-19 Thread wesleyhales
Nevermind - it is in a seperate jar not in Seam yet - 
jboss-embedded-tomcat-bootstrap.jar... Sorry

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

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


[jboss-user] [JBoss jBPM] - Re: How to access process variables?

2007-06-19 Thread fuligj
Another question. How could I get a process variable ( for example 
var['quantity'])  in an external web page?
Thank You!

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader does not delete item from table

2007-06-19 Thread [EMAIL PROTECTED]
getMembers() returns the member addresses of caches in the cluster.  Nothing to 
do with the data set.

Just pring out the cache to see if there is still stuff in it: 
System.out.println( pojoCache.getCache() );


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

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


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

2007-06-19 Thread [EMAIL PROTECTED]
I have no idea.  :-)  What's FlexWorkflow?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All ,
I am trying to deploy make a simple flow as :
Servlet --- (invokes) Stateless Bean   (invokes) Entity Bean(persistence 
object )


But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this 
entity bean as an ear . The persistence.xml has following entries :

?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
persistence-unit name=testApp transaction-type=RESOURCE_LOCAL
jta-data-sourcejava:/XAOracleDS/jta-data-source
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Emp
Employee
Software
SoftwareFile

!-- Provider-specific connection properties --




!-- Provider-specific settings --

!-- other values are: drop-and-create-tables|none --

/persistence-unit




I have put the Oracle jdbc libraries in the jboss/server/lib directory and have 
also configured the oracle-xa-ds.xml file for the system user and password .

The ear contains the application.xml file which has the entry for 
persistence.jar as :

sample.jar




web-uri

/web-uri
context-root
sample
/context-root




persist.jar



Now when I go for the deployment I get this error on the Server console :---

ERROR [PersistenceXmlLoader] Error parsing XML: XML InputStream(5) 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
15:53:37,093 WARN [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
javax.persistence.PersistenceException: invalid persistence.xml
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:66)
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:73)
at 
org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)




Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown 
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
Source)



PLEASE HELP ME FIGURE OUT WHERE THE ERROR IS :?






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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All ,
I am trying to deploy make a simple flow as :
Servlet --- (invokes) Stateless Bean   (invokes) Entity Bean(persistence 
object )


But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this 
entity bean as an ear . The persistence.xml has following entries :

?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
persistence-unit name=testApp transaction-type=RESOURCE_LOCAL
jta-data-sourcejava:/XAOracleDS/jta-data-source
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Emp
Employee
Software
SoftwareFile

!-- Provider-specific connection properties --




!-- Provider-specific settings --

!-- other values are: drop-and-create-tables|none --

/persistence-unit




I have put the Oracle jdbc libraries in the jboss/server/lib directory and have 
also configured the oracle-xa-ds.xml file for the system user and password .

The ear contains the application.xml file which has the entry for 
persistence.jar as :

sample.jar




web-uri

/web-uri
context-root
sample
/context-root




persist.jar



Now when I go for the deployment I get this error on the Server console :---

ERROR [PersistenceXmlLoader] Error parsing XML: XML InputStream(5) 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
15:53:37,093 WARN [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
javax.persistence.PersistenceException: invalid persistence.xml
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:66)
at 
org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:73)
at 
org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)




Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'provider'. One of 
'{http://java.sun.com/xml/ns/persistence:non-jta-data-source, 
http://java.sun.com/xml/ns/persistence:mapping-file, 
http://java.sun.com/xml/ns/persistence:jar-file, 
http://java.sun.com/xml/ns/persistence:class, 
http://java.sun.com/xml/ns/persistence:exclude-unlisted-classes, 
http://java.sun.com/xml/ns/persistence:properties}' is expected.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown 
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
Source)



PLEASE HELP ME FIGURE OUT WHERE THE ERROR IS :?






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

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


[jboss-user] [JBoss Seam] - Richfaces tree and conversation switching

2007-06-19 Thread tkalactomo
When switching between coverstions in conversation list my rich tree 
component,who has a switch type ajax, loses it's previous state. But when 
submiting a page in that conversation, richfaces tree saves its state and stays 
in previous condition!!Could something be done about this...

FIRST PICTURE



SECOND PICTURE


THIRD PICTURE


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

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


[jboss-user] [JBoss Seam] - Re: Loosing information right out of my entity bean....

2007-06-19 Thread g00se24
Okay here is a try of a more specific description:

After I outject a entity object, I loose every ManyToOne relation of the entity 
bean.

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

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


[jboss-user] [JBoss Seam] - Re: Richfaces tree and conversation switching

2007-06-19 Thread tkalactomo
tkalactomo wrote : When switching between coverstions in conversation list my 
rich tree component,who has a switch type ajax, loses it's previous state. But 
when submiting a page in that conversation, richfaces tree saves its state and 
stays in previous condition!!Could something be done about this...
  | 
  | First picture link
  | 
  | Second picture link
  | 
  | Third picture link
  | 
  | 
  | SORRY ABOUT MY CLUMSINESS!!!

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

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


[jboss-user] [JBoss Seam] - jsf iteration and seam scopes

2007-06-19 Thread gothmog
Hi,

I've looked hard but can't find a simple way to iterate over some html in a jsf 
page (say using jsf facelets) using a backing object stored in a seam (say) 
conversation scope.

I have custom html so I can't use standard components and I want to avoid the 
overhead of writing my own component, the html is very simple, I just want 
simple iteration in a jsf - seam integrated page.

Will using the JSTL tag c:foreach be able to find an object in seam 
conversation scope? and if not how does one solve iteration over custom html 
without writing a component in jsf - seam integration?

Thanks

Troy

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

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


[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed

2007-06-19 Thread jpansier
When I send a jms schedule message (without consumer), it doesn't appear in 
jboss jmx-console scheduleMessageCount.
But if I restart jboss server, this message appear correctly in jboss 
jmx-console scheduleMessageCount and I don't consume this.

The junit test :


  | 
  | import java.util.Date;
  | import java.util.Hashtable;
  | 
  | import javax.jms.Queue;
  | import javax.jms.QueueConnection;
  | import javax.jms.QueueConnectionFactory;
  | import javax.jms.QueueSender;
  | import javax.jms.QueueSession;
  | import javax.jms.Session;
  | import javax.jms.TextMessage;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | 
  | import junit.framework.TestCase;
  | 
  | public class APITest extends TestCase {
  | 
  | private QueueConnectionFactory qcf;
  | private QueueConnection qc = null;
  | private QueueSession session = null;
  | private QueueSender qs = null;
  | private Queue queue;
  | 
  | 
  | public APITest() {
  | super(APITest);
  | }
  | 
  | 
  | protected void setUp() throws Exception {
  | super.setUp();
  | HashtableString, String properties = new HashtableString, 
String();
  | properties.put(InitialContext.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | properties.put(InitialContext.PROVIDER_URL, localhost:1100);
  | Context jndiContext = new InitialContext(properties);
  | qcf = (QueueConnectionFactory) 
jndiContext.lookup(ClusteredConnectionFactory);
  | 
  | 
  | queue = (Queue) jndiContext.lookup(queue/pcsapiMsgOutDefault);
  | 
  | qc = qcf.createQueueConnection();   
  | session = qc.createQueueSession(true, Session.CLIENT_ACKNOWLEDGE);
  | qs = session.createSender(queue);
  | 
  | 
  | }
  | 
  | protected void tearDown() throws Exception {
  | 
  | super.tearDown();
  | if (qs != null) {
  | try {
  | qs.close();
  | session.close();
  | qc.close();
  | queue = null;
  | qcf = null;
  | } catch (Exception e) {
  | System.err.println(+e);
  | }
  | }
  | 
  | }
  | 
  |public void test() throws Exception
  |{
  |try {
  |TextMessage messageOut; 
  |messageOut = session.createTextMessage();
  |
  |messageOut.setText(My message);
  |messageOut.setJMSType(String.class.getName());
  |try {
  |long dateSchedule = (new Date()).getTime()+1000*3600*2;
  |messageOut.setLongProperty(JMS_JBOSS_SCHEDULED_DELIVERY, 
dateSchedule);
  |} catch (Exception e) {
  |System.err.println(Problem with Schedule Property +e);
  |}
  |messageOut.setLongProperty(JMS_JBOSS_REDELIVERY_DELAY, 1);
  |messageOut.setIntProperty(JMS_JBOSS_REDELIVERY_LIMIT, 3);
  |
  |qs.send(messageOut);
  |
  |session.commit();
  |
  |} catch (Exception e) { 
  | System.err.println(getClass().getName()+ unable to send 
message on queue.+e);
  |} 
  |
  |}
  | 
  | }
  | 
  | 


Queue Configuration : 


  | mbean code=org.jboss.jms.server.destination.QueueService
  |   
name=jboss.messaging.destination:service=Queue,name=pcsapiMsgOutDefault
  |   xmbean-dd=xmdesc/Queue-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  |   attribute name=Clusteredtrue/attribute
  |/mbean   
  | 

The consumer is a mdb.



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

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


[jboss-user] [JBoss Seam] - Re: jsf iteration and seam scopes

2007-06-19 Thread Sammy8306
Uhm, I guess:


  | ui:repeat value=#{el-expr-to-conversational-object} var=itervar
  |   .. do stuff with itervar ..
  | /ui:repeat
  | 

Where the ui namespace should point to the Facelets tag library. This way, 
everything nested inside the repeat is... well, repeated, bringing the current 
element of the collection you are iterating over in scope for each iteration.

Is this what you're looking for?

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

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


[jboss-user] [JCA/JBoss] - Re: ejb server socket connection

2007-06-19 Thread vickyk
What exactly do you want to know ?
You need to create a JCA outbound adapter which would help you to connect to 
the external EIS system using the socket .


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

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


[jboss-user] [JBoss Messaging] - Re: 1.3.0 Temporary Destination - Full security

2007-06-19 Thread timfox
Continued here 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055562#4055562

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

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


[jboss-user] [JBoss Getting Started Documentation] - Cannot connect to jboss server using Jboss IDE

2007-06-19 Thread gibiman
Ok , i am quite new at this . 
I have been wasting time since this morning trying to connect to a jboss server 
running on a different machine . I am currently using JbossIDE for eclipse , 
and when i try  window/show/jboss server view it shows me a list of servers 
from the localhost ( note that i do not have anything installed on localhost) . 
When i change the hostname , it doesn't show any servers . 
If you have any ideas or further questions please reply , cause i'm sure we'll  
work it out eventually . 

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

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


[jboss-user] [JBoss Seam] - Re: Conversation - setting and getting

2007-06-19 Thread urosmil
Hi petemuir,

both Contexts.lookupInStatefulContexts(myBean) and 
Contexts.getConversationContext().get(myBean) return null when I try to get 
conversation bean in session scoped bean.

I open pop-up window from conversation bean (offerBean). That pop-up use other 
session scoped bean (offerPreviewBean). Inside offerPreviewBean I try to access 
offerBean and I got null.

Is there some conditions in which code you post doesn't work?

Thanks,
Uros!

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

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


[jboss-user] [JBoss Portal] - Re: Portlet customization with respect to user rloes

2007-06-19 Thread [EMAIL PROTECTED]
Yes please read the section PLT.20.3 Programmatic Security
of the portlet spec.


You must define the role Administrator in your portlet.xml descriptor.

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

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


[jboss-user] [JBoss Seam] - seam pageflow+jsf+velocity

2007-06-19 Thread trekker880
Hi all
i am using the seam pageflow for my web app navigation. It is working fine with 
the use of the jsf.
But here we will be using the velocity template for the view.
I know there might be jsf integration with the velocity as views. But i am not 
getting the relevant example on the internet.
had anybody here implemented this kind of functionality using velocity as views 
with the jsf with the seam pageflow.
If somebody find the relevant link on the google then pls post it here.
thanks in advance !!!

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

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


[jboss-user] [JBoss Seam] - Re: Conversation - setting and getting

2007-06-19 Thread petemuir
Are you propagating the conversation to the popped up window?

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

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


[jboss-user] [JBoss Seam] - bug? rendered= condition not re-evaluated within a4jsf out

2007-06-19 Thread koenhandekyn
i have an element inside an ajax4jsf outputPanel. 

i discovered that the rendered=/testcode/ test is not re-evaluated on a 
re-Render trigger from an ajax button. it feels to me like a bug. 

Code: 
a:outputPanel id=document_list_panel ajaxRendered=true

h:outputText value=No documents to display 
rendered=#{hits.rowCount==0}
/   


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

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


[jboss-user] [JBoss Seam] - redirect to an external URL from an action

2007-06-19 Thread koenhandekyn
anybody has a tip on how to redirect to an external URL from a seam action? as 
it ' seams ' :) like a very common requirement I guess there should be some 
elegent way foreseen but I didn't find any (yet) 

the path i'm thinking about is to make a redirect page that takes in a 
parameter with the target URL. 

kind regards 

koen

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

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


[jboss-user] [JBoss Seam] - Re: Conversation - setting and getting

2007-06-19 Thread urosmil
Hi petemuir,

pop-up is not in conversation. I don't it should be inside conversation. Pop-up 
use other session scoped bean.
Am I making mistake in use?
In what situations is possible to access conversation scoped bean? 

Thanks,
Uros!

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

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


[jboss-user] [JBoss Seam] - tip: put this tip in the seam reference

2007-06-19 Thread koenhandekyn
gavin's tip is trivial when you see it but for starters it's not something that 
you immediately come up with.

i would advise to integrate this tip into the reference manual

koen

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

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


[jboss-user] [JBoss Seam] - Re: popup on mouse hover

2007-06-19 Thread wrzep
Hello,

t:popup works form me.

Can you use other tomahawk compentents? If you are using facelets, make sure 
you've got tomahawk.taglib.xml.

Cheers,
-Pawel

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

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


[jboss-user] [JBoss Seam] - Re: registration example not working

2007-06-19 Thread kozmala
Try Tomcat 5.5.
It solved this problem for me.

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

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


[jboss-user] [JBoss Seam] - Facelet - Seam HTML overhead or usefull ?

2007-06-19 Thread dreuzel
as  I have  alook at  the source  of the  most simple   seam new-action example 
(HTML source  I see  lots  of  code generated 

is this intentionaly  or a Mistake ???

all the  code  in the  option VALUE=.
it  looks  like non initalised  memory being dumped  out ...
For  a  single  input  environment  this seams like a big overhead

code
  |   var f = document.forms['actionForm'];
  |   f.elements['actionForm:_link_hidden_'].value='';
  |   f.target='';
  | }
  | clear_actionForm();
  | //--/scriptinput type=hidden name=jsf_tree_64 id=jsf_tree_64 
value=rO0ABXNyAEdvcmcuYXBhY2hlLm15ZmFjZXMuYXBwbGljYXRpb24uVHJlZVN0cnVjdHVyZU1hbmFnZXIkVHJlZVN0cnVjdENvbXBvbmVudEZZF9icSvbPAgAEWwAJX2NoaWxkcmVudABKW0xvcmcvYXBhY2hlL215ZmFjZXMvYXBwbGljYXRpb24vVHJlZVN0cnVjdHVyZU1hbmFnZXIkVHJlZVN0cnVjdENvbXBvbmVudDtMAA9fY29tcG9uZW50Q2xhc3N0ABJMamF2YS9sYW5nL1N0cmluZztMAAxfY29tcG9uZW50SWRxAH4AAlsAB19mYWNldHN0ABNbTGphdmEvbGFuZy9PYmplY3Q7eHB1cgBKW0xvcmcuYXBhY2hlLm15ZmFjZXMuYXBwbGljYXRpb24uVHJlZVN0cnVjdHVyZU1hbmFnZXIkVHJlZVN0cnVjdENvbXBvbmVudDu6rCfIEYWQqgIAAHhwA3NxAH4AAHVxAH4ABQJzcQB+AAB1cQB+AAUCc3EAfgAAcHQAKWphdmF4LmZhY2VzLmNvbXBvbmVudC5odG1sLkh0bWxPdXRwdXRUZXh0dAAEX2lkNHBzcQB+AABwdAAab3JnLmpib3NzLnNlYW0udWkuSHRtbExpbmt0AARfaWQ1cHQALW9yZy5yaWNoZmFjZXMuY29tcG9uZW50Lmh0bWwuSHRtbFRvb2xCYXJHcm91cHQABF9pZDNwc3EAfgAAdXEAfgAFA3NxAH4AAHBxAH4ADHQABF9pZDdwc3EAfgAAcHEAfgAPdAAEX2lkOHBzcQB+AABwcQB+AA90AARfaWQ5cHEAfgARdAAEX2lkNnB0AChvcmcucmljaGZhY2VzLmNvbXBvbmVudC5odG1sLkh!
 
0bWxUb29sQmFydAAEX2lkMnBzcQB+AABwdAAnamF2YXguZmFjZXMuY29tcG9uZW50Lmh0bWwuSHRtbE1lc3NhZ2VzdAAFX2lkMTFwc3EAfgAAdXEAfgAFAXNxAH4AAHVxAH4ABQFzcQB+AABwdAAsamF2YXguZmFjZXMuY29tcG9uZW50Lmh0bWwuSHRtbENvbW1hbmRCdXR0b250AAZhY3Rpb25wdAAjamF2YXguZmFjZXMuY29tcG9uZW50Lmh0bWwuSHRtbEZvcm10AAphY3Rpb25Gb3JtcHQAJm9yZy5yaWNoZmFjZXMuY29tcG9uZW50Lmh0bWwuSHRtbFBhbmVsdAAFX2lkMTJwdAAob3JnLmFqYXg0anNmLmZyYW1ld29yay5hamF4LkFqYXhWaWV3Um9vdHQACV92aWV3Um9vdHA=
 /input type=hidden name=jsf_state_64 id=jsf_state_64 
value=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAN1cQB+AAACdXEAfgAABXVxAH4AAAd0AAlfdmlld1Jvb3RwcHEAfgAFc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA/QAAADHcIEAF0ADFvcmcuamJvc3Muc2VhbS5QQUdFJG9yZy5qYm9zcy5zZWFtLmNvcmUuZmFjZXNQYWdlc3IAHW9yZy5qYm9zcy5zZWFtLmNvcmUuRmFjZXNQYWdlQrZMwHjHYGcCAAVaABljb252ZXJzYXRpb25Jc0xvbmdSdW5uaW5nTAAOY29udmVyc2F0aW9uSWR0ABJMamF2YS9sYW5nL1N0cmluZztMAA9wYWdlZmxvd0NvdW50ZXJ0ABNMamF2Y!
 S9sYW5nL0ludGVnZXI7TAAMcGFnZWZsb3dOYW1lcQB+AApMABBwYWdlZmxvd05vZGVOYW1
lcQB+AAp4cABwcHBweHBwc3IAEGphdmEudXRpbC5Mb2NhbGV++BFgnDD57AIABEkACGhhc2hjb2RlTAAHY291bnRyeXEAfgAKTAAIbGFuZ3VhZ2VxAH4ACkwAB3ZhcmlhbnRxAH4ACnhw/3QAAkJFdAACbmx0AAB0AApIVE1MX0JBU0lDdAANL2FjdGlvbi54aHRtbHNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAD3VxAH4AAAVzcgARamF2YS5sYW5nLkJvb2xlYW7NIHKA1Zz67gIAAVoABXZhbHVleHAAcQB+ABlwcQB+ABlxAH4AGXBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwA3cEA3VxAH4AAAN1cQB+AAAJdXEAfgAAB3QABF9pZDJwdAAdb3JnLnJpY2hmYWNlcy5Ub29sQmFyUmVuZGVyZXJxAH4AH3NxAH4ABj9MdwgQA3QAGGNvbS5zdW4uZmFjZWxldHMuTUFSS19JRHQACDdhN2VlNjhhcQB+ABF0ABxodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sdAAYY29tLnN1bi5mYWNlbGV0cy5BUFBMSUVEc3IAL2NvbS5zdW4uZmFjZWxldHMuaW1wbC5EZWZhdWx0RmFjZWxldCRBcHBseVRva2VuSJzPRDtulqAMAAB4cHccABIvbGF5b3V0L21lbnUueGh0bWwAAAETQ++OiXh4cHBwcHBwcHBwcHBzcQB+ABoCdwQCdXEAfgAAA3VxAH4AAAZ1cQB+AAAHdAAEX2lkM3B0ACJvcmcucmljaGZhY2VzLlRvb2xCYXJHcm91!
 
cFJlbmRlcmVycQB+ACxzcQB+AAY/QAAADHcIEAFxAH4AInQACDdhN2VlNjg3eHBwcHBwcHBwc3EAfgAaAncEAnVxAH4AAAN1cQB+AAAFdXEAfgAAA3VxAH4AAAd0AARfaWQ0cHQAEGphdmF4LmZhY2VzLlRleHRwc3EAfgAGP0x3CBABcQB+ACJ0AAg3YTdlZTY5MHhwc3EAfgAGP0F3CAIBdAAFdmFsdWVzcgAmY29tLnN1bi5mYWNlbGV0cy5lbC5MZWdhY3lWYWx1ZUJpbmRpbmcAAQwAAHhwc3IAJmNvbS5zdW4uZmFjZWxldHMuZWwuVGFnVmFsdWVFeHByZXNzaW9uAAEMAAB4cgAYamF2YXguZWwuVmFsdWVFeHByZXNzaW9udwqAW+DA/pECAAB4cgATamF2YXguZWwuRXhwcmVzc2lvbqOFilPyWtI8AgAAeHBzcgAeY29tLnN1bi5lbC5WYWx1ZUV4cHJlc3Npb25JbXBsA7qoYh8lyZgMAAB4cQB+AD53IwAPI3twcm9qZWN0TmFtZX06ABBqYXZhLmxhbmcuT2JqZWN0cHNyACJjb20uc3VuLmVsLmxhbmcuVmFyaWFibGVNYXBwZXJJbXBsAAEMAAB4cHNxAH4ABj9MdwgQAXQAC3Byb2plY3ROYW1lc3EAfgA9c3EAfgBBdxsAB2JpbGxpbmcAEGphdmEubGFuZy5PYmplY3RwcHh3LwAtL2xheW91dC90ZW1wbGF0ZS54aHRtbCBAMTcsNTUgdmFsdWU9ImJpbGxpbmcieHh4eHcyADAvbGF5b3V0L21lbnUueGh0bWwgQDksNDkgdmFsdWU9IiN7cHJvamVjdE5hbWV9OiJ4eHhwcHBwcHBw!
 cHVxAH4AAAN1cQB+AAAGdXEAfgAAHHVxAH4AAAN1cQB+AAAHdA

[jboss-user] [JBoss jBPM] - Re: Unable to start websale process

2007-06-19 Thread dabd
mputz wrote : @dabd, Ronald's reaction is quite understandable, given the 
fact that you have posted almost the same question yesterday already: 
http://www.jboss.com/index.html?module=bbop=viewtopict=111219
  | 
  | Hey, you even found a solution to it...! Could it be that you forgot it in 
the meantime? ;-)

Later I found out that my solution was not correct since I get the same error 
with a proxy configured in my web browser.  To solve the problem I simply 
removed the DTD line, but I don't think this is the best solution.  My mistake 
was in creating a different thread for the same subject, and for that I owe the 
forum my apologies.


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

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


[jboss-user] [JBoss Seam] - Re: Facelet - Seam HTML overhead or usefull ?

2007-06-19 Thread hstang
I think what you are seeing is one way how JSF is saving state--on the client 
side.  I haven't tried this myself to see if it works, but you could try saving 
state on the server side instead by configuring 
[javax.faces.STATE_SAVING_METHOD] parameter value to server in web.xml

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

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


[jboss-user] [JBoss jBPM] - Re: Unable to start websale process

2007-06-19 Thread mputz
ok, removing the !DOCTYPE... line would be one option, another one is 
discussed in this thread 
http://www.jboss.com/index.html?module=bbop=viewtopict=104043postdays=0postorder=ascstart=10
 , passing the proxy information to the server at server startup.

In the meantime, I have found that the code where the xml parsing is done has 
been fixed to work without dtd validation as well last month already, so this 
will work out-of-the-box with a future release of the jBPM web-console.

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

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


[jboss-user] [JBoss jBPM] - Re: async pain

2007-06-19 Thread estaub
Alex,

Apart from Ronald's request for scriptlessness, it doesn't look like anyone's 
dug into your http://jira.jboss.com/jira/browse/JBPM-983.  Do you still need a 
fix?  If so, I'll try to go after it in the next few days.

-Ed Staub

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

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


[jboss-user] [JBoss Seam] - Re: redirect to an external URL from an action

2007-06-19 Thread hstang
Hi,

Have you tried using JSF API?


  | @In(#{facesContext.externalContext}) 
  | private ExternalContext externalContext;
  | 
  | externalContext.redirect(...);
  | 


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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader does not delete item from table

2007-06-19 Thread gmeroz
It is not empty:

this is the print result:


  | 12:50:38,642 INFO  [STDOUT] ***+++/__JBossInternal__ 0
  | /aag 0
  | /queries 0
  | /d1-3-d2-2-d3-196-d4-0-d5-0-d7-0-d10-0-d11-0-d12-0-d13-0-24-2 0
  | /queryDefinition1-10-SHOW_ALL-7-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34agdco-1uj 2
  | /queryDefinition1-null-SIBLINGS-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34agdg5-1uk 2
  | /queryDefinition1-4-SHOW_ALL-1-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34agdj6-1ul 2
  | /d1-4-d2-19-d3-0-d4-0-d5-0-d7-0-d10-0-d11-0-d12-1-d13-4-24-4 0
  | /queryDefinition1-null-LOWEST-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34a7v5l-1pw 2
  | /queryDefinition1-10-SHOW_ALL-7-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34a7ucy-1pu 2
  | /queryDefinition1-null-SIBLINGS-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34a7v3v-1pv 2
  | /queryDefinition1-4-SHOW_ALL-1-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34a7v87-1px 2
  | /d1-3-d2-4-d3-0-d4-0-d5-0-d7-2-d10-0-d11-0-d12-0-d13-0-24-3 0
  | /queryDefinition1-null-LOWEST-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34abkxc-1r2 2
  | /queryDefinition1-10-SHOW_ALL-7-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34abkpj-1r0 2
  | /queryDefinition1-null-SIBLINGS-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34abkvm-1r1 2
  | /queryDefinition1-4-SHOW_ALL-1-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34abkzj-1r3 2
  | /d1-4-d2-0-d3-0-d4-0-d5-0-d7-4-d10-0-d11-2-d12-1-d13-1-23-2 0
  | /queryDefinition1-null-LOWEST-7-56 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34bq4iw-2g2 2
  | /queryDefinition1-10-SHOW_ALL-7-1 0
  | /_ID_ 0
  | /5c4oa2y-kzuv73-f32qcwqd-1-f34bq3zd-2g0 2
  | ...
  | 

when using the code i gave before for clearing the cache, i used aag as a 
parameter...

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

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


[jboss-user] [JBossCache] - Pojo Cache Transaction Problematic behaviour

2007-06-19 Thread nogator
Hi 

Im using the following code for PojoCahce replication between 2 JVMs. 
(version 1.4.0)
The scenario is as follows: 


Step 1
=

JVM1 handles the User first (within transaction):

---
code (passes successfully): 
---


UserTransaction userTransaction = null;

Properties prop = new Properties();

prop.put(Context.INITIAL_CONTEXT_FACTORY,org.jboss.cache.transaction.DummyContextFactory.class.getName());

InitialContext initialContext = new InitialContext(prop);

userTransaction = (UserTransaction)initialContext.lookupUserTransaction);

userTransaction.begin();

User user = new User();

pojoCahce.put(new Fqn(/user),user);

user.setId(1);
user.setName(myUser);

userTransaction.commit();




Step 2
=

JVM2 now attempts to fetch the User from its cache:

-
code (within transaction as well) 
-

User user = (User)pojoCahce.get(new Fqn(/user));
String name = user.getName()  \\returns null

The User instance is indeed there, however all its members (updated by JVM1) 
are null, consequently failing the action due to lack of information.




why does this happen? 
Am I doing something wrong?


Thanks in Advance
Noga

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

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


  1   2   3   >