[jboss-user] [JBoss Seam] - s:fileUpload woes

2007-07-18 Thread chrismalan
s:fileUpload doesn't work for me.  Here is what I have: Seam 1.2.1.GA, 
JBoss-4.2.0.  I use xhtml, not jsp's.

In the ear I have jboss-seam.jar and in WEB-INF/lib jboss-seam-ui.jar, 
jboss-seam-debug.jar and jsf-facelets.jar.

This is what is in web.xml:


  | listener
  |   listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  | /listener
  | 
  | filter
  |   filter-nameSeam Filter/filter-name
  |   filter-classorg.jboss.seam.web.SeamFilter/filter-class
  | /filter
  | 
  | filter-mapping
  |  filter-nameSeam Filter/filter-name
  |  url-pattern/*/url-pattern
  | /filter-mapping
  | 

This is the relevant part of the xhtml file:

  | h:form enctype=multipart/formdata
  |   fieldset
  | legendAdd an Image to h:outputText 
value=#{hotelSessionBean.hotel.name} //legend
  |div
  |   h:outputLabel for=hotelimageImage File to Load/h:outputLabelbr 
/
  |s:fileUpload id=hotelimage data=#{hotelSessionBean.imageData} 
contentType=#{hotelSessionBean.contentType} 
fileName=#{hotelSessionBean.filename} /
  | /div
  | div class=buttonBox
  |   h:commandButton action=#{hotelSessionBean.addImage()} value=Add 
an Image class=button /
  |  /div
  |   /fieldset
  | /h:form
  | 

This is the relevant part of hotelSessionBean:

  | @Stateful
  | @Scope(ScopeType.SESSION)
  | @Name(hotelSessionBean)
  | public class HotelSessionBean implements HotelSession {
  | 
  | @In 
  | Identity identity;
  | 
  | @PersistenceContext
  | EntityManager em;
  | 
  | private Hotel hotel;
  | private String contentType, filename, description;
  | private byte[] imageData;
  | 

When I test in hotelSessionBean.addImage() to see if the values (contentType, 
filename, imageData) arrived in the hotelSessionBean after clicking the Add an 
Image button, all those values are null.

When these values return null, the method returns with an error message I 
created.  So, no exceptions are thrown.  Before I tested the exeptions stated 
that one could not persist an Image with null values where the database 
stipulatd non-null values.

On logging in and going to the page from where to upload the image, I get this:

  | INFO  [Lifecycle] starting up: org.jboss.seam.security.identity
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam-ui.taglib.xml
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
  | ERROR [STDERR] 18/07/2007 14:38:08 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/JBoss/jboss-4.2.0.GA/server/default/tmp/deploy/tmp50450bookings.ear-contents/bookings-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
  | ***  logging in up to here
  | INFO  [STDOUT] Hibernate: select principal0_.username as username7_, 
principal0_.name as name7_, principal0_.password as password7_, 
principal0_.hotel_hotelID as hotel7_7_, principal0_.email as email7_, 
principal0_.surname as surname7_, principal0_.created as created7_ from 
Principal principal0_ where principal0_.username=? and principal0_.password=?
  | INFO  [STDOUT] Hibernate: select hotel0_.hotelID as hotelID5_1_, 
hotel0_.name as name5_1_, hotel0_.state as state5_1_, hotel0_.country as 
country5_1_, hotel0_.description as descript4_5_1_, hotel0_.city as city5_1_, 
hotel0_.stars as stars5_1_, hotel0_.street as street5_1_, hotel0_.suburb as 
suburb5_1_, country1_.ID as ID2_0_, country1_.country as country2_0_ from Hotel 
hotel0_ inner join Country country1_ on hotel0_.country=country1_.ID where 
hotel0_.hotelID=?
  | INFO  [STDOUT] Hibernate: select principalr0_.ID as ID8_, 
principalr0_.principal as 

[jboss-user] [JBossCache] - Re: uninitialized nodes

2007-07-18 Thread genman
[EMAIL PROTECTED] wrote : 
  | genman wrote : 
  |   | There really should be options you can set to override loading from the 
cache loader, or for ignoring the return values for Node.put(key, value) or 
Node.remove(key) .
  |   | 
  | Yes, but then you change the behaviour of put() and remove(), which IMO 
should not be controlled by an option.  Perahps add a putQuietly() or 
removeQuietly() that have return types of void, although this clutters up the 
API which sucks.
  | 

The AsyncCacheLoader has an option to allow remove() and put() (single key) 
operations to return null instead of the old value. This allows these 
operations to be queued rather than making the caller wait.

Anyway, I thought the point of the options was to send hints to the system, 
such as Don't wait to put() if the node is already locked. I would think I 
don't need to know the return value for this operation would be a somewhat 
similar use case.

[EMAIL PROTECTED] wrote : 
  | genman wrote : 
  |   | It would be nice if there was a disable() method on Interceptor. 
Interceptor.invoke() might have been public/final and delegated to a protected 
abstract method ...
  | 
  | Well, unless disabling was conditional (i.e., disable for all get() calls) 
you may as well yank the interceptor out of the chain.  

The thing with the removal and addition of interceptors is ... the APIs are a 
little hokey. Working with index numbers isn't as nice as with objects.

I was thinking (and it's too late to change, but ...) Interceptors themselves 
have a specific dependency or ordering to them. And rather than specify the 
ordering explicitly, the API would be add(Interceptor). You could have a 
remove(Interceptor) (symmetric call) as well that scans using object identity.

I do agree that bypassing certain interceptors should be drive by options, not 
an API call. (It'd be nice if this was done in some generic way.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Cannot find ServiceMBeanSupport in any of the JBoss libr

2007-07-18 Thread formica
thanks a lot for your post !
I had a similar problem but I was not able to find the jar ;-)

Andrea

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

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


[jboss-user] [JBoss jBPM] - Re: Sample Process taking wrong transitions when using 3.2.1

2007-07-18 Thread mputz
I have created a JIRA entry for this:
http://jira.jboss.com/jira/browse/JBPM-1017


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

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


[jboss-user] [JBoss Portal] - Re: File upload problem

2007-07-18 Thread k3nnymusic
This version are diferent than Jboss Portal 2.4.2 Builded.zip? If yes, whitch 
files should I replace to fix this bug? Could you give me any solution for that?

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

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


[jboss-user] [JBoss Portal] - Re: Unique constraint (JBOSSPORTAL.SYS_C0034349) violated

2007-07-18 Thread k3nnymusic
I have the same problem. I read the jira solution, but it don't solved my 
problem. I using the jboss portal 2.4.2 and oracle 10.2.0.1. (I tested in a lot 
of ojdbc drivers between 9 and 10 versions). Could you give me any solution how 
can i fix this problem in 2.4.2 build version, because I haven't got a 
possibility to change it to 2.6 now.

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

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


[jboss-user] [JBoss Portal] - Re: File upload problem

2007-07-18 Thread k3nnymusic
I am using jboss portal 2.4.2 builded, and I have got the same problem.

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

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


[jboss-user] [EJB 3.0] - Re: Stateless session bean not bound

2007-07-18 Thread itsme
hi,

while I'm not tryed JBoss 5 yet as far as I read your JNDI-dump try it with the 
full class name of your bean or interface and leave out the /local

Hope this helps.

/sandor/

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

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


[jboss-user] [JBoss Seam] - Re: this forum / max topics per page

2007-07-18 Thread baz
I'd like to rrask this question.
website has changed but not the forum.

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

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


[jboss-user] [JBossWS] - Re: webParameter is null

2007-07-18 Thread florian79
I have the same problem in jbosws 1.2 and 2.0

is there any mistake in my request?

really no idea?!

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

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


[jboss-user] [JBossWS] - Force a library to use a jar

2007-07-18 Thread Mpulse
Hello 
  
We have some session beans that rely on an external library which in turn 
relies on Apache Axis. It cannot use ConnectionImplementations or 
MessageImplementations from org.jboss.ws because of some explicit casts. 
We use jboss-4.2.0.GA with jbossWs 2.0 so we have three reference to 
javax.xml.soap.*, one in rt.jar in the jvm6, one in jboss-saaj.jar in 
JBOSS/lib/endorsed/ and the last in Axis' saaj.jar. 
  
We would like this one single deployment unit to use the axis libraries without 
interferring with the SOAP libraries in jboss-saaj.jar. 
How do we force this and only this library to use Axis' saaj.jar? It seems that 
libraries in JBOSS_HOME/lib/endorsed supercede anything in the deployment unit 
classpath like app.ear/lib, webapp.war/WEB-INF/lib, myejb.jar/lib with or 
without adding the required libraries to the manifest classpath. 
  
Any ideas? 
Thanks

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

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


[jboss-user] [Beginners Corner] - Adding a URL to the JNDI Tree

2007-07-18 Thread ansanes
If there something similar to websphere URL providers in JBOSS? I mean. Can 
you bind an URL to the JNDI tree and do something like 
URL url=context.lookUp(url/MiURL); ?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Reccomend me a SEAM book

2007-07-18 Thread mjais
as the other books are smaller (AFAIK), they are probably not more detailed.

there will be a German book in November (don't know if you can read German):

http://www.amazon.de/JBoss-Seam-Bernd-M%C3%BCller/dp/3446411909/ref=pd_bbs_sr_3/028-442-3818120?ie=UTF8s=booksqid=1184743651sr=8-3

don't know anything about it. I have a JSF book by the author and it is quite 
good,
but also not very detailed.

Markus

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

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


[jboss-user] [Beginners Corner] - Re: Where do i report bugs and documentation errors?

2007-07-18 Thread huicheng
Testing.

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-18 Thread vickyk
baz wrote : 
  | So my next task is to learn how to enable xa for these oracle versions. 
  | Ciao 
  | Carsten
All right , but make sure that you update the forums or proabably the JCA wiki 
if things do work :)

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

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


[jboss-user] [JBoss jBPM] - Re: Users - Groups in JBPM - Oracle

2007-07-18 Thread mailinator
Hi ronald,

sorry if a seem impatient, i just couldn't wait to read ideas.

Thanks for considering my request.
I'm asking because i already have a database with a User table.
But i haven't yet implemented the group part.

If i understood right, all i have to do is to make changes in the classes in 
the identity.jar and in the hibernate files.

I'm thinking about using a different assigment handler for each group. 
Does it seems right to you ?

Best regards,

O.M.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple memory configurations using same JBoss instance

2007-07-18 Thread hv11663
We have now the following error durinx execution run.sh:

run.sh: unused non-option argument: Server_name

Do you have the same one?


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment is not picking up java changes.. using the old fi

2007-07-18 Thread AnuSree
I'm using jboss-5.0.0.Beta2 and Eclipse 3.3.0
I'm using Add or remove project feature(Right clicking server view) of Eclipse 
for deployment.
while deploying  EJB3.0 project the Eclipse console shows the project is 
deployed correctly without any error.
But when running the project the  change inthe files are not reflecting.the 
server runs with the Old version of the project.jar file which deployed before 
server startup or with the first deployment after server startup.
A server restart is needed every time to making changes take effect.

I'm also tried with Ant build script,but have the same problem.
Is there any other way to Deploy the project correctly from eclipse. 

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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread jbuechel
Is this really the only way to work with trees in seam?

Does anyone know a nicer solution for this?

There where interesting posts considering rich:tree in the Richfaces user forum 
but without solution so far.
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065288

Thanks

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

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


[jboss-user] [JBoss Seam] - multiple persistence

2007-07-18 Thread yoav200
Hello,

i have a webapp build with seam, ejb3 and JSF on jboss.
i deploy it as ear archive that contain a war and some jar files.
few jars has persistence entities (all on same DB).

what i did is put persistence.xml in all jars that has entities, in all 
persistence i call the same factory.

in the components.xml (seam) that is in the war i have declared an 
entityManager.

the idea is to have one entity manager for all persistence entities.
when i deploy to jboss i see that hibernate recognize all my entities and when 
i debug my DAO object (that the entityManager inject into) the em is NOT null 
but for some reason iget an exception that one of my entity is Unknown 
[javax.ejb.EJBTransactionRolledbackException: 
java.lang.IllegalArgumentException: Unknown entity: 
com.mobimate.account.domain.Account]
here is my persistence.xml:

  | ?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=account
  | jta-data-sourcejava:/jdbc/wml/jta-data-source
  | properties
  | property name=jboss.entity.manager.factory.jndi.name
  | value=java:/wmlEntityManagerFactory /
  | property name=hibernate.dialect
  | 
value=org.hibernate.dialect.MySQLInnoDBDialect /
  | /properties
  | /persistence-unit
  | 
  | /persistence
  | 
and here is my components.xml:

  | 
  | component name=wmlEntityManager
  | class=org.jboss.seam.core.ManagedPersistenceContext 
auto-create=true
  | property 
name=persistenceUnitJndiNamejava:/wmlEntityManagerFactory/property
  | /component
  | .
  | 
and the DAO:

  | 
  | @Name(genericDao)
  | public abstract class GenericDaoImplT implements GenericDaoT {
  | 
  | @In(value=wmlEntityManager)
  | EntityManager em;
  | 
  | public T get(Serializable id) {
  | return em.find(getPersistentClass(), id);
  | }
  | ..
  | 
i get the exception in the find.
what am i doing wrong ?

thanks

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

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


[jboss-user] [JBoss Seam] - Re: EntityManager inside ActionHandler

2007-07-18 Thread szaccaria
For whom might be interested, I have found one solution...


  | public class InformaInizioProcesso implements ActionHandler {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ExecutionContext arg0) throws Exception {
  | 
  | Long idDocumento = (Long)arg0.getVariable(idDocumento);
  | 
  | Renderer renderer = 
(Renderer)Component.getInstance(Renderer.class);
  | EntityManager em  = 
(EntityManager)Component.getInstance(entityManager, true);
  | 
  | Documento doc = (Documento) em.createQuery(select distinct d from 
Documento d where d.id = :id).setParameter(id, 
idDocumento).getSingleResult();
  | 
  | Contexts.getEventContext().set(doc, doc);
  | 
  | renderer.render(/mail.xhtml);
  |  
  | }
  | 
  | }
  | 

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

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


[jboss-user] [JBossCache] - Re: Could this be deadlock when modifying TreeCache

2007-07-18 Thread [EMAIL PROTECTED]
Sorry, only just saw which version you're referring to. JMX attribs were only 
exposed in JBoss Cache from version 1.3.0.GA.

The version embedded in JBoss App Server 3.2.6 is pre-1.0.  

So even though your version of JGroups exposes JMX info, JBoss Cache doesn't 
bind this to JMX until 1.3.0.GA.

A few questions:

1)  Does your JBoss AS installation run in a cluster?
2)  Is upgrading your version of JBoss AS feasible?

Thanks
Manik

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

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


[jboss-user] [JBoss Seam] - Re: this forum / max topics per page

2007-07-18 Thread ellenzhao
I guess the new website is not completely updated yet, there are modules like 
forum to be updated but they cannot wait to let other less complex things 
changed. Yes I'd like to configure my own forum view too, especially the row 
count. And an advanced search inside the forum. I want to specify the search 
scope, for example, the Seam board or the global Jboss forum. And I wish for 
this feature: when I type some keywords in the search box, related topics will 
be shown in a list so that I do not have to ask the questions which were 
already discussed. Thanks!


Ellen

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

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


[jboss-user] [JBossCache] - Re: Overflow berfore OutOfMemory

2007-07-18 Thread [EMAIL PROTECTED]
n - uncanny, I was thinking precisely the same thing yesterday while 
finishing up JBCACHE- 758, which has to do with an eviction policy based on 
number of attribs in a node.  

You are correct that the overall design of eviction could do with some rework, 
concerns do overlap and lead to a pretty inflexible system.  

I'm kicking off a thread in the design forum.  Don't expect the design of 
eviction to change any time soon though, it may not happen till 3.0, but still 
worthwhile talking/thinking about.

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

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


[jboss-user] [Advanced Documentation] - Re: When can we expect JBossAS 4.2 documentation?

2007-07-18 Thread normann
Now 4.2.1 has been released, still no 4.2 docs.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: READ THIS FIRST

2007-07-18 Thread nsv
Adrian

I need help urgently , my application is running on the Production, i am in a 
big problem 

i get the error as below 

cannot send a message to the JMS Server; nested throwable exception 
(java.io.IOException: Client is not connected)

Please help , please...please...please...please...

Thanks
NSV

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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread mugwump
agreed, the solution is ugly: It simply smears the whole classpath into one 
huge ugly beast. At least it works and if you don't have any code at all in 
your web-app, I'm pretty sure you can get away with it. 

Anyway, the problem is fundamental: Almost every more complex component makes 
specific demands on your Datastructures. Seam suggests a deployment model where 
you have all of your code, be it backing-beans (ejb or not-ejb) or models in 
one huge ejb-jar. I actually find this model rather compelling: The 
layering-approach, that scatters your code over several projects almost always 
leaves you with questions like Where shall I put this thing?! and normally 
ends up with anaemic and not-object-oriented models. I think, seam is a step 
into the right direction and gives you back some object-powers that where 
previously hidden under the J2EE-Patterns-Catalog. 

If you really want to be clean and have a UI-agnostic app, you should try to 
build an adapter for these Component-Datastructures: There is nothing that 
prevents you from putting your Backing-Beans into the web-layer and have them 
access normal beans in the ejb-layer: Your backing bean transforms your 
(UI-agnostic) datastructures into UI-specific structures. This way, your 
ejb-jar stays free of UI-related classes, the need to reference the 
richfaces-*.jar vanishes, you can keep your classpath clean: 

But then you have another class at another place to maintain: That's the reason 
why I went with the classpath-hack - it was the most simple thing to do given 
our requirements. 

  

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

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


[jboss-user] [JBossCache] - Re: pojocache prevent updates during replication

2007-07-18 Thread [EMAIL PROTECTED]
Cache operations should not be prevented on an application level.  Internally, 
they are locked during the course of the state transfer which would make cache 
operations block.

You could try increasing your LockAcquisitionTimeout to a value greater than 
your StateRetrievalTimeout. 

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

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


[jboss-user] [JBossCache] - Re: PojoCache with Compile Time Weaving on JBoss 4.2.0 ?

2007-07-18 Thread mbroons
1) I removed jboss-web-cluster.sar from the distribution and it
worked fine.

2)  I used the following jboss-aop.xml for aopc compilation and it worked fine.

?xml version=1.0 encoding=UTF-8?
  | aop
  | 
  |!-- If a POJO has JDK5 PojoCacheable annotation, it will be aspectized. 
--
  |prepare expr=field(* 
@org.jboss.cache.aop.annotation.PojoCacheable-*) /
  | 
  |!-- Make any POJO with a JDK5 PojoCacheable annotation as a 
Subject/Observerable --
  |bind pointcut=set(* @org.jboss.cache.aop.annotation.PojoCacheable-*)
  |   interceptor 
class=org.jboss.aspects.patterns.observable.SubjectInterceptor/
  |/bind
  | 
  |introduction class=@org.jboss.cache.aop.annotation.PojoCacheable
  |   mixin
  |  
interfacesorg.jboss.aspects.patterns.observable.Subject/interfaces
  |  classorg.jboss.aspects.patterns.observable.SubjectImpl/class
  |  constructionnew 
org.jboss.aspects.patterns.observable.SubjectImpl(this)/construction
  |   /mixin
  |/introduction
  |   
  |!-- If a POJO has JDK5 InstanceOfPojoCacheable annotation, it will be 
aspectized. --
  |prepare expr=field(* [EMAIL PROTECTED]*) /
  | 
  |!-- Make any POJO with a JDK5 InstanceOfPojoCacheable annotation as a 
Subject/Observerable --
  |bind pointcut=set(* 
@org.jboss.cache.aop.annotation.InstanceOfPojoCacheable-*)
  |   interceptor 
class=org.jboss.aspects.patterns.observable.SubjectInterceptor/
  |/bind
  | 
  |introduction 
class=@org.jboss.cache.aop.annotation.InstanceOfPojoCacheable
  |   mixin
  |  
interfacesorg.jboss.aspects.patterns.observable.Subject/interfaces
  |  classorg.jboss.aspects.patterns.observable.SubjectImpl/class
  |  constructionnew 
org.jboss.aspects.patterns.observable.SubjectImpl(this)/construction
  |   /mixin
  |/introduction
  |
  | /aop


Thanks

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

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


[jboss-user] [JBoss Seam] - Threads and entityManager in Jboss Seam

2007-07-18 Thread Phantom
Good day,

Please help me in my situation:

I have a startup servlet, which starts server-socket to listen for incoming row 
socket connections. Than that connections interations hadnled by custom code 
wich use entityManager registered in  Seam. 
When I run that application on my local host all works perfect. But after 
deploing this application on production server after connection such exception 
occur:


  | 2007-07-18 13:20:13,597 ERROR [STDERR] javax.ejb.EJBException: 
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: 
Driver is not mapped [select object(d) from Driver d where d.username = 
:username and d.password = :password]
  | 2007-07-18 13:20:13,597 ERROR [STDERR]  at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | 2007-07-18 13:20:13,597 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | 2007-07-18 13:20:13,597 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | 2007-07-18 13:20:13,597 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
$Proxy156.authentificateDriver(Unknown Source)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
ru.mobiletaxi.managesite.ejb.io.handlers.AuthorizeHandler.handle(AuthorizeHandler.java:32)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
ru.mobiletaxi.managesite.ejb.io.ClientThread.handleMessage(ClientThread.java:107)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
ru.mobiletaxi.managesite.ejb.io.ClientThread.access$300(ClientThread.java:25)
  | 2007-07-18 13:20:13,598 ERROR [STDERR]  at 
ru.mobiletaxi.managesite.ejb.io.ClientThread$1.run(ClientThread.java:67)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
java.lang.Thread.run(Thread.java:595)
  | 2007-07-18 13:20:13,599 ERROR [STDERR] Caused by: 
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: 
Driver is not mapped [select object(d) from Driver d where d.username = 
:username and d.password = :password]
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:634)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:95)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
org.jboss.seam.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:72)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
ru.mobiletaxi.managesite.ejb.io.IOInterfaceBean.authentificateDriver(IOInterfaceBean.java:36)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2007-07-18 13:20:13,599 ERROR [STDERR]  at 

[jboss-user] [Messaging, JMS JBossMQ] - Re: READ THIS FIRST

2007-07-18 Thread nsv
i tried as you had told me , But i don't suspect any deadlock

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

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


[jboss-user] [JBossCache] - Re: How do i set a jboss cache configuration in order to sen

2007-07-18 Thread [EMAIL PROTECTED]
You could chain multiple TcpDelegatingCacheLoaders... 


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

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


[jboss-user] [JBossWS] - Integrating Security feature in web service call with JBoss

2007-07-18 Thread avijitacclaris
My assignment includes integrating security feature in web servcie call.We use 
JBoss 4.0.3 SP1.


I have added  a header in the SOAP request and in the server side we need to 
process the header for whic we have added a handler.


The stack trace is:
Fault - org.jboss.webservice.server.ServiceException: Cannot initialize 
webservice; nested exception is: 
javax.xml.rpc.JAXRPCException: Cannot initialize handler chain
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/%7dServer.generalException
faultSubcode: 
faultString: Cannot initialize webservice; nested exception is: 
javax.xml.rpc.JAXRPCException: Cannot initialize handler chain
faultActor: 
faultNode: 
faultDetail:
Caused by: javax.xml.rpc.JAXRPCException: Cannot initialize handler chain
at 
org.jboss.webservice.handler.HandlerChainBaseImpl.addHandlersToChain(HandlerChainBaseImpl.java:99)
at 
org.jboss.webservice.handler.HandlerChainBaseImpl.(HandlerChainBaseImpl.java:71)
at org.jboss.webservice.handler.ServerHandlerChain.(ServerHandlerChain.java:34)
at 
org.jboss.webservice.server.InvokerProvider.initHandlerChain(InvokerProvider.java:143)
at 
org.jboss.webservice.server.InvokerProvider.initServiceDesc(InvokerProvider.java:98)
... 30 more
Caused by: java.lang.ClassCastException: employee.WSSESecurityEnvironmentHandler
at 
org.jboss.webservice.handler.HandlerChainBaseImpl.addHandlersToChain(HandlerChainBaseImpl.java:88)
... 34 more

faultActor: 
faultNode: 
faultDetail: 



Please give me a solution.Thanks in advance.

Avijit

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

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


[jboss-user] [JBossCache] - Re: uninitialized nodes

2007-07-18 Thread [EMAIL PROTECTED]
genman wrote : The thing with the removal and addition of interceptors is ... 
the APIs are a little hokey. Working with index numbers isn't as nice as with 
objects.
  | 
  | I was thinking (and it's too late to change, but ...) Interceptors 
themselves have a specific dependency or ordering to them. And rather than 
specify the ordering explicitly, the API would be add(Interceptor). You could 
have a remove(Interceptor) (symmetric call) as well that scans using object 
identity.
  | 
  | I do agree that bypassing certain interceptors should be drive by options, 
not an API call. (It'd be nice if this was done in some generic way.

Off topic, but overhauling the interceptor chain is something I have planned 
for 2.1.0.  See http://jboss.org/index.html?module=bbop=viewtopict=112842 for 
early discussions around this.

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

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


[jboss-user] [JBoss jBPM] - Re: Wonky IDs being generated - Any explanation?

2007-07-18 Thread mputz
This is known as the identity gap feature in ASE. I have added a short 
description of this case as well as some links to the Sybase docu on

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

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

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


[jboss-user] [JBoss Messaging] - Adding properties to a received message

2007-07-18 Thread joshiashutosh
Hi,
I am using Jboss Messaging for my project. One of my requirements is that I 
wish to add some properties to the message received from one queue and put it 
on another queue.
The problem is that properties of a received message are read-only and adding 
properties gives a MessageNotWriteableException. 
The two ways I can think of, of dealing with this problem are:
1. Create a new message, copy all properties of the old message to the new 
message and then add new properties as follows:
ObjectMessage newMessage = null; 
String name = null;
Object value = null;
try {
newMessage = producerSession.createObjectMessage();
Enumeration propNames = message.getPropertyNames();
while (propNames.hasMoreElements()) {
name = propNames.nextElement();
value = message.getObjectProperty(name);
newMessage.setObjectProperty(name, value);
}
}
catch (JMSException jmse) {
logger.warn(Unable to set message property  + name + 
 !);
}
message = null;
message = newMessage;

2. Save the message properties (say, in a hash), call clearProperties, put the 
properties back and add the new properties.

Is there a better way of adding properties? If not, which of the above methods 
is better?

Thanks,
--Ashutosh


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

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


[jboss-user] [JBoss Portal] - Re: problem with custom content type in management portlet

2007-07-18 Thread matt4400
Think's, your solution works!

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

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


[jboss-user] [JBoss Seam] - Re: Error using RuleBasedIdentity in Seam 2.0 beta 1

2007-07-18 Thread przemyslawo
I'm going to do it today.


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

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


[jboss-user] [JBoss Seam] - Re: Error using RuleBasedIdentity in Seam 2.0 beta 1

2007-07-18 Thread ellenzhao
the seam.drools package was updated yesterday and the drools libs were also 
updated. You can have a cvs update and ant dist your new Seam. Try it. I had 
the same problem last week but then manually hacked the old seam.drools package 
and updated the drools libs myself, the problems were gone.


Regards,
Ellen

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

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


[jboss-user] [JBoss Seam] - @CreateProcess

2007-07-18 Thread pippin1966
Hi,

I have two doubts about @CreateProcess

(1) I don't understand how data is bound to a jBPM process instance (Seam does 
a lot of magic). Reading dvdstore code I see you can attach variables to the 
process using:

@Out(scope=ScopeType.BUSINESS_PROCESS)

Is this the way to bind data to the process?

(2) Also, reading dvdstore I see:

@CreateProcess(definition=OrderManagement, 
processKey=#{completedOrder.orderId})

Is this the way to attach the primary key of an entity bean to the process? 
This feature is not documented elsewhere

Thanks in advance just for reading this ;-) 

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

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


[jboss-user] [JBoss Seam] - Re: Usage for downloading uploaded file

2007-07-18 Thread tino4
Hi carlos,
thx for your responds.
i still don't understand, which one is your textmcontroller java code?
thx in advance

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

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


[jboss-user] [JBoss Seam] - Re: Reccomend me a SEAM book

2007-07-18 Thread thatrichard
I recommend Java Persistence with Hibernate 
(http://www.amazon.com/exec/obidos/ASIN/1932394885/hiberthejavao-20)

Although this is a Hibernate book, the Introducing Seam chapter is about 70 
pages long and which gives some pretty detailed information.

I've also got the Heute book and Beginning JBoss Seam ( 
http://www.amazon.com/Beginning-JBoss%C2%AE-Seam-Novice-Professional/dp/1590597923/ref=pd_bbs_sr_1/105-3651306-9198849?ie=UTF8s=booksqid=1184754581sr=1-1)

Somewhat frustratingly, each of these books and also the Seam documentation, 
contains vital information, but I have not found any to be an ideal reference.

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

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


[jboss-user] [JBoss Messaging] - Re: Adding properties to a received message

2007-07-18 Thread timfox
Yes, this is a pain isn't it? 

We have the JMS spec to blame for that.

Either of your two methods will work.

Actually we have exactly this problem in the message bridge where we have to 
forward a message from one source to a a target.

In that case we use method 2)

Take a look at the message bridge code for an example:

See 
http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_0_CR1/src/main/org/jboss/jms/server/bridge/Bridge.java
search for addMessageIDInHeader

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Loopback Adapter

2007-07-18 Thread goran381
My jboss 4.0.5 is on same box as oracle 10g db. 
Oracle needs loopback adapter for xp.
In this architecture I can not get Session beans (deployed on jboss) from other 
box using jndi .

I guess the problem is in loopback adapter.
Is it possible to jboss work on same box as oracle ?
Or is there some workaround ?

Thanks in advance !

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

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


[jboss-user] [JBoss Seam] - Re: Problem with Hibernate sessions post-Seam2 migration

2007-07-18 Thread thatrichard
I did and I meant to post it here for you but got sidetracked.

I believe that this was a driver problem.  

In my case, for some reason, this problem only occurred when I used 
JDK1.5.0.11.  With JDK 1.6, everything works ok.  I suspect that this was 
because my database driver is for 1.6, but I haven't looked into it further 
because of more pressing issues.

Make sure that you have copied your database driver to your server/default/lib 
directory.

Let me know if you need further help.

Richard

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

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


[jboss-user] [Remoting] - ClassCast Exception while recieving the OrderedMap from remo

2007-07-18 Thread _pankie
I am using JDK 1.5_12update.
Iam using Jboss-4.2.0GA.
My EJB Version is 2.1
Actually I am recieving the VO Object from the EJB Method.
VO contains Hastable, OrderedMap and many other Objects...
While retrieving the OrderMap i got the error of  Classcast Exception  
mentioned Below. Whereas I can retrieve the HasTable Object w/o any prblm.
I am Using Apache's Common-Collection3.0

I got stuck here for 2 days can anybody  help me out of this...


  | Wed Jul 18 15:28:12 IST 2007 SEVERE Exception in 
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004)
 :java.lang.ClassCastException: cannot assign instance of 
org.apache.commons.collections.map.LinkedMap to field 
com.aaa.vo.VO_AuthenticateUser.access_control_list of type 
org.apache.commons.collections.OrderedMap in instance of 
com.aaa.vo.VO_AuthenticateUser
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1184)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1914)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.invocation.InvokerInterceptor.invokeLocalMarshalled(InvokerInterceptor.java:297)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:61)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
$Proxy80.getAccessControlList(Unknown Source)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
struts.action.school.aaa.AuthenticateAction.execute(AuthenticateAction.java:93)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | Wed Jul 18 15:28:12 IST 2007 SEVERE **  

[jboss-user] [EJB 3.0] - Re: Stateless session bean not bound

2007-07-18 Thread dgdwinte
Thanks for your reply, but unfortunalety, the following change 


  | ArticleManagerLocal artman= (ArticleManagerLocal) 
ejbCtx.lookup(java:comp/env/be.erpsystem.texaco.articles.ArticleManager);
  | 

doesn't work either :( 

Any other suggestions? Do you still need a deployment-descriptor in the 
web-tier? Or is there any need to inject the EJB? 

Thanks! 
Davy 


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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread jbuechel
So you prefer the solution to modify the jboss-service.xml file rather than 
refering all the richfaces- and the depending jars within the application.xml?

I just don't like to modify the default configuration of jboss as...

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

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


[jboss-user] [JBoss Messaging] - Re: Single MDB Instance Required

2007-07-18 Thread tpaterson
Sounds like you want to change your MDB to use the Singleton Message Driven 
Bean container configuration.

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

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


[jboss-user] [EJB 3.0] - Re: Stateless session bean not bound

2007-07-18 Thread itsme
just another guess:

'til jboss 4.2.0 - which we're using - the name of the jar is the root of the 
NamingContext. So adding the jar's name works for us without java:comp/env. 
While we're work with rmi calls, I don't have a glue if this java:comp/env 
stuff is needed.

So I would give this a try:

  | 
ejbCtx.lookup(texaco_model-1.0-SNAPSHOT.jar/be.erpsystem.texaco.articles.ArticleManager);
  | 

/sandor/

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

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


[jboss-user] [News Announcements] - JBossAS 4.2.1.GA released

2007-07-18 Thread [EMAIL PROTECTED]
JBoss Application Server 4.2.1.GA has been released and is available on 
Sourceforge
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16942release_id=523619

JBoss AS 4.2.1.GA Release Notes

This is the first bug fixing release of the JBoss Application Server v4.2 
series. The aim of this release is to fix the most important bugs reported by 
the community against JBossAS v4.2.0.GA. There are a few minor components 
upgrades (Hibernate, JacORB, JBoss TS, JBoss Remoting and Sun JSF) but we have 
taken extra care for any changes to be fully backwards compatible, so you 
should be able to switch from 4.2.0 to 4.2.1 without problems. Check out the 
Detailed Release Notes section for the full details.

JBoss AS 4.2 is a stepping stone from JBoss 4.0 to JBoss 5.0. It combines a lot 
(but not all) of the exciting new features of JBoss 5, but based on the stable 
4.x MicroKernel architecture.

JBoss AS 4.2 is also used as the basis for the JBoss Enterprise Application 
Platform. The Application Platform bundles JBoss AS and JBoss Seam  in a 
software package for which commercial support is offered by JBoss/Red Hat. 
Please read Sacha's blog if you are interested to learn more about the new 
development, distribution and support model for JBoss.

For information on the APIs that make up Java EE 1.4, see Java EE v1.4 
Documentation. For a comprehensive tutorial on Java EE 1.4, see The Java EE? 
1.4 Tutorial. A jboss-4.2.x getting started guide that is based on contents 
from the tutorial can be found in JBoss Application Server Documentation Library

Note: The 4.2.x release of the JBoss Application Server provides support for 
certain JavaEE5 features, such as EJB3, but it is not Java EE5 certified.
Overview

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

Highlights of JBoss AS 4.2 series

* JDK5 is *required* to run JBossAS 4.2.x. The decision was based on the 
fact that JDK1.4 is phased out and the reality that a lot of people like Java 
Annotations support and want to combine EJB3 and JBoss Seam components with 
JBossAS. JDK6 is not formally supported yet, although you may be able to start 
the server with it. JDK6 support will come with JBossAS 5.x.
* JBoss EJB3 is now deployed *by default* in JBossAS 4.2.x The fact that we 
base on JDK5 makes our life easier in this regard, meaning we don't have to 
maintain jdk5 code retro-weaved for jdk1.4 runtimes, and we can include by 
default components that require jdk5 to run.
* JBoss Web v2.x is the web container in JBossAS 4.2, an implementation 
based on Apache Tomcat that includes the Apache Portable Runtime (APR) and 
Tomcat native technologies to achieve scalability and performance 
characteristics that match and exceed the Apache Http server. In the absence of 
the native libraries, JBoss Web falls back to the standard non-native connector 
mode. The native libraries need to be downloaded and installed separately in 
JBOSS_HOME/bin/native.
* JBoss Transactions v4.2 is the default transaction manager for JBossAS 
4.2. JBoss Transactions is founded on industry proven technology and 18 year 
history as a leader in distributed transactions, and is one of the most 
interoperable implementations available. The JTA version of JBoss Transactions 
included with the server provides for fully recoverable transactions. For 
distributed transaction support the JTS version of JBoss Transactions will need 
to be used. Furthermore, it is always possible to fall back to the legacy 
JBossTM fast in-memory transaction manager implementation, although it should 
be noted that JBoss TM will not be supported in future JBossAS versions.
* JBoss WS is the web services stack for JBoss 4.2 providing Java EE 
compatible web services.
* JGroups/JBossCache is already configured to support channel multiplexing, 
when it becomes available.
* JBoss Remoting was upgraded to the latest stable 2.2.x version. This was 
done in order to align dependencies with the thirdparty libraries required by 
the new JBoss Messaging, which means that, if you want, you can replace the 
default JBossMQ messaging provider with JBoss Messaging, without having to 
revert to a scoped deployment.

Minor feature additions in 4.2.1.GA

* LIMIT/OFFSET support in StoreManager2 (CMP), JBAS-4408.
* detect collisions between JSF RI and JSF MyFaces, JBAS-3158.

Compatibility Issues
This lists the changes that could affect compatibility.

According to our product versioning rules, JBossAS 4.2.1 should be fully 
compatible with JBossAS 4.2.0. However you may want to check the release notes 
of the individual JBoss and Thirdparty libraries updated with this release. 
Some related issues that you should be aware of are listed below:
JBossAS 4.2.1.GA

* JBoss TS, the new default transaction manager will 

[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread gmeroz
i use PojoCache, there's no such method in there. 

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

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


[jboss-user] [JBoss Seam] - Seam 2.0.0 Beta - Property 'facesContext' not found on type

2007-07-18 Thread FabBoco
Hi,

I am porting my application (which use Trinidad) to Seam 2.0.0 Beta.

During the deployment I get the following error:


  | 
  | Exception sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | javax.ejb.EJBException: javax.el.PropertyNotFoundException: Property 
'facesContext' not found on type org.jboss.seam.Namespace
  | 
  | 

Thank you for any help.

Fab.


This is the full stack trace


  | 10:01:37,814 ERROR [[/sivex]] Exception sending context initialized event 
to listener instance of class org.jboss.seam.servlet.SeamListener
  | javax.ejb.EJBException: javax.el.PropertyNotFoundException: Property 
'facesContext' not found on type org.jboss.seam.Namespace
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.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 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy930.create(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:40)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | Caused by: javax.el.PropertyNotFoundException: Property 'facesContext' not 
found on type org.jboss.seam.Namespace
  | at 
javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
  | at javax.el.BeanELResolver.property(BeanELResolver.java:267)
  | at javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
  | at 
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1815)
  | at org.jboss.seam.Component.getInstance(Component.java:1764)
  | at org.jboss.seam.Component.getInstance(Component.java:1741)
  | at org.jboss.seam.Component.getValueToInject(Component.java:2026)
  | at org.jboss.seam.Component.injectAttributes(Component.java:1499)
  | at org.jboss.seam.Component.inject(Component.java:1320)
  | at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:45)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | 

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0 Beta - Property 'facesContext' not found on t

2007-07-18 Thread FabBoco
I forgot to say that I am using Seam checked out from CVS on July 17th.

Thanks

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

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


[jboss-user] [JBoss Seam] - Single EntityManager

2007-07-18 Thread yoav200
Hello,

i have a webapp build with seam,ejb3 and jsf.
in the application i have several different action to manipulate the DB.
not only from the webclient (browser) but from web services.

my broblem is that if a web service changed some thing it doesn't reflect on 
the web (the DB has chaged).

i have printed the id of the entetyManager (hashcode) and i'm getting a 
different one for each request.
my entityManager is injected using seam.
this is a big issue for me since i have wrong data in my web.

here is my persistence.xml:

  | ?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=account
  | jta-data-sourcejava:/jdbc/wml/jta-data-source
  | properties
  | property name=jboss.entity.manager.factory.jndi.name
  | value=java:/wmlEntityManagerFactory /
  | property name=hibernate.dialect
  | 
value=org.hibernate.dialect.MySQLInnoDBDialect /
  | /properties
  | /persistence-unit
  | 
  | /persistence
  | 
and here is my components.xml:

  | 
  | component name=wmlEntityManager
  | class=org.jboss.seam.core.ManagedPersistenceContext 
auto-create=true
  | property 
name=persistenceUnitJndiNamejava:/wmlEntityManagerFactory/property
  | /component
  | .
  | 
and the DAO:

  | 
  | @Name(genericDao)
  | public abstract class GenericDaoImplT implements GenericDaoT {
  | 
  | @In(value=wmlEntityManager)
  | EntityManager em;
  | 
  | public T get(Serializable id) {
  | return em.find(getPersistentClass(), id);
  | }
  | ..
  | 


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

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


[jboss-user] [JBoss Seam] - Re: Reccomend me a SEAM book

2007-07-18 Thread ellenzhao
I read Michael Yuan + Thomas Heute's Seam book, it's pretty good but 
information in that book needs to be updated since Seam is under drastic 
change. Most of the time, I find Seam reference manual pretty sufficient. I 
open the reference in a single html and global search is then much easier. If 
the reference doc does not answer all my questions or my usage of some Seam 
features turned very exotic, I resorted to this forum and always got 
informative replies. (If only the search function of the forum could be more 
usable) Sometimes, if you  are stuck by some really strange behaviours of the 
framework and want to know what's happening under the hood, source code of Seam 
is the best answer. That's why some people do Seam cvs update everyday to fetch 
the latest source code, even thought they are not official Seam developers. If 
Seam source code alone does not help, you might want the source code of some 
3rd party libs, for example, hibernate, javassist,even the source code of!
  jdk. If the source code of jdk still does not help you find the root of your 
problem, you might want to look at the native code of your OS. 

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

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

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


[jboss-user] [JBoss Seam] - Bug? EL and Anonymous Classes

2007-07-18 Thread thatrichard
I'm using Seam2/JBoss4.2.

I get an exception when using EL to reference a method on an anonymous class.  
You can view the relevant code at 
http://www.jboss.org/index.html?module=bbop=viewtopict=112929

In short:
1. I bind an anonymous class using 
Contexts.getConversationContext().set(someName, anonymousClass)
2. I call a method on the class using EL during the same conversation.

Is there a technical reason that I cannot do this or is this a bug?

Richard
P.S. 2. Where can I get the source for jboss-el.jar? This lib is distributed 
with the source for JBoss 4.2 and Seam 2. I can't seem to find it among the 
JBoss projects.

Exception
javax.faces.FacesException: javax.el.ELException: 
/forms/party/person/editor.xhtml @42,112 rendered=#{not empty 
partyFinderClient and partyFinderClient.supportsCancel()}: 
java.lang.IllegalAccessException: Class org.jboss.el.util.ReflectionUtil can 
not access a member o
  | f class com.sadalbari.mvanamibia.registration.RegistrationEditorBean$1 with 
modifiers public
  | at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:880)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290
  | )
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
  | )
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
  | )
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 

[jboss-user] [JBoss Seam] - Seam 2.0 Beta - Exceptions

2007-07-18 Thread henrik.lindberg
I have had trouble with intermittent exceptions in one of my views. I get 
different exceptions - that varies between:
- concurrent modification
- things processed twice by flush
- complaints about transients (different exceptions)

Usually after getting a bunch of these exceptions the view works for a while, 
to then occationally cause problems again.

Starting a debugging session and then as a first action invoking the 
problematic view, I get the stack trace below. Maybe this says something to a 
Seam expert that is of help getting this problem fixed.

I am running the latest (as of yesterday) from CVS, and on JBoss 4.2.1 GA.

I can post more code etc. but it is quite a lot.

Regards
- henrik

  | 13:17:58,984 FATAL [application] /component-view.xhtml @193,12 
action=#{componentLoader.select(cs)}: java.lang.IllegalStateException: could 
not acquire lock on @Synchronized component: componentLoader
  | javax.faces.el.EvaluationException: /component-view.xhtml @193,12 
action=#{componentLoader.select(cs)}: java.lang.IllegalStateException: could 
not acquire lock on @Synchronized component: componentLoader
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
org.ajax4jsf.framework.ajax.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
  | at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.broadcast(UIDataAdaptor.java:1121)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:346)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:82)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:61)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:72)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:139)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:276)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
  | at 
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
  | at 
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
  | at 
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:395)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 

[jboss-user] [Management, JMX/JBoss] - Re: Deploy MBean service get No ClassLoaders found exception

2007-07-18 Thread [EMAIL PROTECTED]
You say you deploy test.sar but the error comes from Docs.sar. Check you 
packaging.

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

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


[jboss-user] [JBoss jBPM] - Re: Users - Groups in JBPM - Oracle

2007-07-18 Thread kukeltje
you do not even need hibernate if you e.g. have an api to your identity and 
accessmanagement system.

You can ofcourse also use assignment handlers, but that requires each process 
designer to include these. Personally I'd like to  have this as a general 
functionality

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: is it possible to run Jboss on ZLinux?

2007-07-18 Thread CaseSwitch
hi,

yes. we are running jboss on both, x86 and z-series (within zVM linux-guests) 
in test and production environment.
only limitation is the JVM - you have to use the IBM-JVM for Z on zLinux if you 
do not find a zLinux port of an other JVM. :)

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

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


[jboss-user] [JBoss Seam] - Seam+Trinidad Table+h:commandLink+DataModelSelection

2007-07-18 Thread ulath
Hi,

used libs: seam 1.2.1GA, trinidad 1.2.1, jsf 1.2-b19, a4j 1.1.1

I have a tr:table with DataModel and DataModelSelection set, when I use 
standard h:commandLink in this table, DataModelSelection value is set wrong and 
actionListener is called multiple times, if I use a4j:commandLink, again 
DataModelSelection value is set wrong and actionListener is called multiple 
times, plus, I get an exception, if I use tr:commandLink all works as 
expected...

What can be the problem?

Thanks in advance...


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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta - Exceptions

2007-07-18 Thread thhal
I'm running the same app as Henrik but on a faster machine with more memory. I 
consistently get the collection was processed twice by flush exception.

- thomas

13:52:11,518 ERROR [AssertionFailure] an assertion failure occured (this may 
indicate a bug in Hibernate, but is more likely due to unsafe use of the 
session)
org.hibernate.AssertionFailure: collection was processed twice by flush()
at 
org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:202)
at 
org.hibernate.engine.Collections.processReachableCollection(Collections.java:185)
at 
org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:37)
at 
org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101)
at 
org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61)
at 
org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55)
at 
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:138)
at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
at 
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
at 
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
at com.cloudsmith.cssite.query.Utils.getResultList(Utils.java:149)
at 
com.cloudsmith.cssite.session.ComponentLoaderAction.getAttributes(ComponentLoaderAction.java:266)
at 
com.cloudsmith.cssite.session.ComponentLoaderAction.getSpecContent(ComponentLoaderAction.java:191)
at 
com.cloudsmith.cssite.session.ComponentLoaderAction.select(ComponentLoaderAction.java:282)
at sun.reflect.GeneratedMethodAccessor548.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:44)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.invokeInCallerTx(TxPolicy.java:126)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  

[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-18 Thread ashusri000
It would be very kind of you if you can send me a simple ear file containing an 
entity bean (one you have been able to deploy successfully) to my mail id :
[EMAIL PROTECTED]

Along with other configuration files...

Regards

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.05 and Dynamic IP

2007-07-18 Thread sirynx
Someone to help me. I need a solution, please. Anyone can help me? Thank you 
again.

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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread [EMAIL PROTECTED]
Note that richfaces will be repackaged into 2 jars in the next release, in 
order to solve this problem.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta - Exceptions

2007-07-18 Thread ellenzhao
I have a feeling that this has something to do with the fact that yesterday 
Seam started to use their own branched javassist, which removed the final on  
some methods. Seam did this in order to get rid of the Drools' shadow fact 
using another proxy problem. There are also changes on several important core 
classes in the Seam code base yesterday.  If your code used to work well prior 
to yesterday, revert the Seam and revert the dependency libraries so your own 
project can get ahead. If this is really a problem from the proxy factory, Seam 
team would get it fixed soon, I think. 

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

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


[jboss-user] [JBoss Seam] - Re: Threads and entityManager in Jboss Seam

2007-07-18 Thread Phantom
There is a workaround.

Define entityManager as

 @PersistenceContext
  | private EntityManager entityManager;
  | 

Not as:


  | @In
  | private EntityManager entityManager;
  | 

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

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


[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread [EMAIL PROTECTED]
If you are using 2.0.0.CRX then then you can do:


  | pojoCache.getCache().remove(/);
  | 

If you are using 1.X then it implements the TreeCache interface, which gives 
you that method.

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

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


[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread brownfielda
Hadn't ever thought about this problem.

Digging through the portlet spec (as per Thomas' recommendation) found the 
solution in PLT 22.4.



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

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


[jboss-user] [JBoss Seam] - Re: Usage for downloading uploaded file

2007-07-18 Thread carloszaniolo
Sorry, 

public void download()
 is from textmcontroller.

The other is my download helper method and is the important one...

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

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


[jboss-user] [JBoss jBPM] - deployment of process with forms, and mail setup / example

2007-07-18 Thread rossputin
Hi all,

I just switched to 3.2.1 so I could deploy mail examples, but am now unsure 
what all the steps for setting up 3.2.1 in tomcat 5.0.28 with mail are, does 
anyone have example config and mail process, the documentation is not very 
extensive on this.

Also previously with earlier versions of JBPM I was using the controllers to 
create text input forms, it seems this is no longer working, and looking in the 
example web sale app there are xhtml forms pre created ?  Is this how it works 
now ?  Is there a guide or information on this anywhere ?

Thanks for your help,

regards,

Ross


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

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


[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread gmeroz
i use 2.0.0CR1 and the signature of remove is 

V remove(org.jboss.cache.Fqn fqn, K key)

any other ideas?

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

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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread jbuechel
Thanks for this good news!

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

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


[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread [EMAIL PROTECTED]
removeNode(Fqn.ROOT) in 2.x.


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

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


[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread mugwump
thx gavin, that is good news and will solve the data-structure-problems: And it 
looks like a good idea anyway to have an intermediate layer for 
ui-datastructures anyway. Will it still be richfaces-dependent or are you 
striving to make this a common layer that can be exchanged between several 
ui-frameworks (e.g. icefaces, myfaces/adf etc)?! ok, maybe I'm dreaming a 
little here...  

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

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


[jboss-user] [JBoss Seam] - Re: Reccomend me a SEAM book

2007-07-18 Thread harpritt
Cheers for the replies

Michael Yuan + Thomas Heute's Seam book is the one i currently have. great 
book to start off with but lacks the detail im after now.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Setting JAVA_HOME to a JRE instead of JDK

2007-07-18 Thread jhb_dev
Is it possible to run JBoss using only a JRE install and not the full JDK?  If 
not, is there any documentation provided by JBoss that states that a JDK is 
required.

I am getting pressure to not have a JDK installed on my production box, and 
need some justification as to why it is needed for JBoss to run.

Any help would be great.

Thanks

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Setting JAVA_HOME to a JRE instead of JDK

2007-07-18 Thread jaikiran
There was a similar discussion at 
http://www.jboss.com/index.html?module=bbop=viewtopict=84541



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Class loader isolation broken in 4.2.0GA

2007-07-18 Thread apill
Is this related to http://jira.jboss.org/jira/browse/JBAS-4536 ?

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

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


[jboss-user] [JBoss Seam] - Current taskId - Best way to get it

2007-07-18 Thread harpritt
I have a method as follows, it  ends my conversation, creates an instance of my 
process and signals the token to Begin the first task

 @End
  | @CreateProcess(definition = changerequestprocess)
  | @BeginTask
  | public String submitTicket() {.}

...I was wondering if i could get a hold of the taskId associated with the 
@BeginTask.

Cheers 

Harpritt

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

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


[jboss-user] [JBossWS] - WARN [EndpointMetaData] Loading SEI after eager initializati

2007-07-18 Thread deadrow
I am using jboss 4.2.1GA and JbossWS 2.0.0 I get mi error full of this error. 
Am I doing something wrong? Is there a lazy initialization? Should I pay 
attention to this warning? I doesn't look so good to me.


Please write back

Regards
Davide

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

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


[jboss-user] [JBoss Seam] - org.jboss.seam.InstantiationException when i use the JBoss s

2007-07-18 Thread thiagu.m
Hai every one
i need convert the seam 1.2.1 code in to seam 2.0.0. 
here i am using stateful session bean named authenticator for login 
authentication. when i invoke it i got an exception 

  | 19:01:30,312 ERROR [SeamLoginModule] Error invoking login method
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: authenticator
  | at org.jboss.seam.Component.newInstance(Component.java:1853)
  | at org.jboss.seam.Component.getInstance(Component.java:1756)
  | at org.jboss.seam.Component.getInstance(Component.java:1723)
  | at org.jboss.seam.Component.getInstance(Component.java:1717)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:60)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | 
  | 
  | -and--
  | 
  | aused by: javax.naming.NameNotFoundException: AuthenticatorAction not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | 
  | 
  | 

i am not get this type of exception in previous version 
i there any other configuration i needed for my version change 

Please help me,

and i have one more problem
in my previous version i am using the Rich face suggestionbox on the modal 
panel, after i upgrade the seam 2.0.0 ,the suggestionbox  box displays behind 
the modal panel what i do here 


By 
Thiagu
 

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

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


[jboss-user] [JBoss Seam] - facelets and seam2

2007-07-18 Thread kgoedert
Hi,

I have an working application using facelets + seam 1.2 + jboss 4.0.5.
Now I´m trying migrate to seam 2 and jboss 4.2.
My pages using facelets are not being rendered correctly, and no exception or 
error is shown. What can be wrong?

web.xml

web-app
sig

 context-param
param-namefacelets.DEVELOPMENT/param-name
param-valuetrue/param-value
/context-param

context-param
param-namejavax.faces.DEFAULT_SUFFIX/param-name
param-value.xhtml/param-value
/context-param
context-param
param-namefacelets.LIBRARIES/param-name
param-value
/WEB-INF/conf/myComponents.taglib.xml
/param-value
/context-param

filter-nameSeam Filter/filter-name
filter-classorg.jboss.seam.servlet.SeamFilter/filter-class


filter-mapping
filter-nameSeam Filter/filter-name
url-pattern/*/url-pattern
/filter-mapping


listener-class
org.jboss.seam.servlet.SeamListener
/listener-class


!-- JSF --


listener-class
com.sun.faces.config.ConfigureListener
/listener-class


servlet-nameFaces Servlet/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
load-on-startup1/load-on-startup


servlet-nameSeam Resource Servlet/servlet-name
servlet-class
org.jboss.seam.servlet.ResourceServlet
/servlet-class



!-- Faces Servlet Mapping --
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.sig/url-pattern
/servlet-mapping

servlet-mapping
servlet-nameSeam Resource Servlet/servlet-name
url-pattern/seam/resource/*/url-pattern
/servlet-mapping
session-config
session-timeout10/session-timeout
/session-config
login-config
auth-methodBASIC/auth-method
/login-config

/web-app

My faces-config
--
faces-config

view-handlercom.sun.facelets.FaceletViewHandler/view-handler

/faces-config

And my components.xml

components xmlns=http://jboss.com/products/seam/components;
xmlns:core=http://jboss.com/products/seam/core;
xmlns:bpm=http://jboss.com/products/seam/bpm;
xmlns:web=http://jboss.com/products/seam/web;
xmlns:persistence=http://jboss.com/products/seam/persistence;
xmlns:security=http://jboss.com/products/seam/security;
xmlns:drools=http://jboss.com/products/seam/drools;
xmlns:framework=http://jboss.com/products/seam/framework;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-2.0.xsd 
 http://jboss.com/products/seam/bpm 
http://jboss.com/products/seam/bpm-2.0.xsd 
 http://jboss.com/products/seam/persistence 
http://jboss.com/products/seam/persistence-2.0.xsd 
 http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-2.0.xsd
 http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-2.0.xsd
 http://jboss.com/products/seam/framework 
http://jboss.com/products/seam/framework-2.0.xsd
 http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-2.0.xsd;

core:init jndi-pattern=sig/#{ejbName}/local /
bpm:jbpm
bpm:process-definitions
ticketProcess.jpdl.xml
/bpm:process-definitions
bpm:process-definitions
request/request.jpdl.xml
/bpm:process-definitions
/bpm:jbpm
drools:rule-base name=securityRules
   drools:rule-files
   /security.drl
   /drools:rule-files
   /drools:rule-base  
drools:managed-working-memory name=workingMemory
rule-base=#{ruleBase} /
security:identity
authenticate-method=#{authenticator.authenticate} /


true

web:ajax4jsf-filter force-parser=true 
 enable-cache=true 
 log4j-init-file=custom-log4j.xml
 url-pattern=*.sig/



Thanks for any help



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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta - Exceptions

2007-07-18 Thread thhal
The collection was processed twice bu flush was there when we used the 
2.0.0.BETA1 release so it is unlikely that it is related to changes made 
yesterday.

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

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


[jboss-user] [EJB 3.0] - Re: Problem with Threads and Transactional context

2007-07-18 Thread zerok
Thank you very much Bill.

I'll try it right away!

But first Let me see if I understood you right. I'll keep my Stateless Bean,but 
I'll add this SessionContext to keep the bean alive when the threads stop 
running so I can use the Stateless Bean entityManager or I should use 
SessionContext to make the persistence somehow?
You please excuse my newbie questions. 
If I do have to use the SessionContext for persistence, could you, please, tell 
me how?

Ty very much again and God blesses you and your family.

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

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


[jboss-user] [Beginners Corner] - help needed in cms

2007-07-18 Thread jdeepkumar
hi 
iam new to jboss server and cms. i have a little knowlege of cms. can anybody 
help me what can we achieve through cms ? 

thanks 

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

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


[jboss-user] [JBoss Seam] - Re: Usage for downloading uploaded file

2007-07-18 Thread tino4
carloszaniolo wrote : Sorry, 
  | 
  | public void download()
  |  is from textmcontroller.
  | 
  | The other is my download helper method and is the important one...

thank you sirit works...

but the downloaded file type is undefined, so that you can't open it. 
the file is converted from blob into byte.
the size is correct.
well i think it's just a convert problem..
i'm  still working on it and try to fix it.
i let you know


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

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


[jboss-user] [JBossWS] - Re: No way to write a working client

2007-07-18 Thread palin
GenesisD wrote : ok ok now i know where i was wrong...but if some one helped 
me I' wouldn't lost so much time...

Letting the community know your problem's solution instead of complaining about 
the response you didn't get might eventually help someone else.
Please check 
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Why_are_my_forum_posts_not_answered_more_quickly.3F

Alessio Soldano

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

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


[jboss-user] [Beginners Corner] - Re: help needed in cms

2007-07-18 Thread jdeepkumar
i am using jboss portal server 2.6

thanks

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

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


[jboss-user] [JBoss Seam] - touble with messages.properites

2007-07-18 Thread gringalet
i have configured the chinese charactor in the messages_zh.properties with 
resourceboundle 0.7.7, my eclipse version is 3.1. now the first time , i run my 
web seam application,and  i get the ??? in my page, and then i refresh the 
page, it will become the chinese charactor which i want. what s  trouble? 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unable to connect to remote server

2007-07-18 Thread fredash
Hi,

I am developping on Mac OS X 10.4.10 with JBoss AS 4.0.5 GA and JBoss WS 1.2.0 
installed. All is working flawlessly.

I successfully start my server with this simple command line : 
./run.sh  -b 127.0.0.1

If you continue with problems, you should look in the jboss.log file to see 
where the problem occurs.

Fred.

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

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


[jboss-user] [Beginners Corner] - show/hide content according to the user

2007-07-18 Thread jdeepkumar
can i able to show/hide a portlet according to tthe user login to a particular 
portal? if so can anybody tell me how??

is it possible to upload a set of jsp pages in cms and show/hide the content 
according to the user who login. 

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

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


[jboss-user] [JBoss Seam] - Re: facelets and seam2

2007-07-18 Thread alexg79
What's the Content-Type header returned by the server for your Seam pages?

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

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


[jboss-user] [JBoss Seam] - Re: Current taskId - Best way to get it

2007-07-18 Thread [EMAIL PROTECTED]
BusinessProcess.instance().getTaskId() or TaskInstance.instane().getId().

JavaDoc is your friend.

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

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


[jboss-user] [JBoss Seam] - Re: touble with messages.properites

2007-07-18 Thread gringalet
i have forgot these:
my home.jsp
%@ page contentType=text/html;charset=utf-8%
  | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h%
  | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
  | %@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t%
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
  | html
  | body
  | f:view
  | head
  | meta http-equiv=Content-Type content=text/html; charset=gb2312 /
  | style type=text/css media=all
  | @import s.css;
  |   /style
  | /head
  | div
  | h:form rendered=#{not identity.loggedIn}
  | 
  | div class=loginwindow
  | div class=titleh:outputText value=user login 
//div
  | div class=usernameh:outputText value=user name 
//div
  | div class=uth:inputText 
value=#{identity.username} size=15 //div
  | div class=passwordh:outputText value=password 
//div
  | div class=pth:inputSecret 
value=#{identity.password} size=17 //div
  | div class=btnh:commandLink 
value=#{messages.m_enter} action=#{identity.login} //div
  | div class=loginbkh:graphicImage 
value=img/loginwindow.gif //div
  | /div
  | /h:form 
  | h:form rendered=#{identity.loggedIn} id=f
  | div class=logouth:commandLink 
value=#{messages.m_out}action=#{identity.logout} //div
  | /h:form
  | h:form id=f2  rendered=#{identity.loggedIn}
  | div class=upcomponent
  | div class=upbkh:graphicImage 
value=img/upbk.gif //div
  | div class=upwaveh:graphicImage 
value=img/upwave.gif //div
  | div class=computerh:graphicImage 
value=img/computer.gif //div
  | div class=recentprjh:graphicImage 
value=img/recentprj.gif //div
  | /div
  | div class=menu
  | div class=bk
  | h:graphicImage value=img/menu.gif /
  | /div
  | div class=n1
  | h:commandLink  value=#{messages.m_customer}  
action=#{customerFinder.findCustomers}/h:commandLink
  | /div
  | div class=n2
  | h:graphicImage value=img/menu_seperate.gif /
  | /div
  | div class=n3
  |  h:outputText value= /
  | /div
  | div class=n4
  |  h:graphicImage 
value=img/menu_seperate.gif /
  | /div
  | /div
  | div class=comingnews
  | div class=comingnewsbk
  | h:graphicImage value=img/comingnews.gif /
  | /div
  | div class=title
  | h:outputText value=comingnews/
  | /div
  | div class=param1_title
  | h:outputText value=comingnews/
  | /div
  | div class=param1
  | h:outputText value=comingnews/
  | /div
  | div class=param1_submit
  | h:outputText value=more/
  | /div
  | div class=param1bk
  | h:graphicImage value=img/button.gif/
  | /div
  | div class=param2_title
  | h:outputText value=comingnews/
  | /div
  | div class=param2
  | h:outputText value=comingnews/
  | /div
  | div class=param2_submit
  | h:outputText value=more/
  | /div
  | div class=param2bk
  | h:graphicImage value=img/button.gif/
  | /div
  | div class=param3_title
  | h:outputText value=comingnews/
  | /div
  | div class=param3
  | h:outputText value=comingnews/
  | /div
  | div class=param3_submit
  | h:outputText value=more/
  | /div
  |

[jboss-user] [JBoss Seam] - Re: touble with messages.properites

2007-07-18 Thread gringalet
my pages.xml
!DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.2//EN
  |   http://jboss.com/products/seam/pages-1.2.dtd;
  | 
  | pages
  | 
  | page view-id=/home.jsp 
  | navigation from-action=#{customerFinder.findCustomers}
  | redirect view-id=/Customer/customer.jsp/
  | /navigation
  | /page
  | 
  | page view-id=/Customer/customer.jsp 
  | navigation from-action=#{customerFinder.findCustomers}
  | redirect view-id=/Customer/customer.jsp/
  | /navigation
  | /page
  | 
  | page view-id=/Customer/updateCustomer.jsp /
  | page view-id=/Customer/detailCustomer.jsp /
  | page view-id=/Customer/newCustomer.jsp /
  | page view-id=/Contact/updateContact.jsp /
  | page view-id=/Contact/detailContact.jsp /
  | page view-id=/Contact/newContact.jsp /
  | page view-id=/Contact/contact.jsp /
  | page view-id=/Customer/* login-required=true /
  | page view-id=/Contact/* login-required=true /
  | exception class=org.jboss.seam.security.NotLoggedInException
  | redirect view-id=/login.xhtml
  | message
  | You must be logged in to perform this action
  | /message
  | /redirect
  | /exception
  | 
  | exception class=org.jboss.seam.security.AuthorizationException
  | end-conversation /
  | redirect view-id=/security_error.xhtml
  | message
  | You do not have the necessary security 
privileges to
  | perform this action.
  | /message
  | /redirect
  | /exception
  | 
  | /pages
  | 

my faces-config.xml:
!DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.2//EN
  |   http://jboss.com/products/seam/pages-1.2.dtd;
  | faces-config
  | managed-bean
  | managed-bean-namelibrary2/managed-bean-name
  | 
managed-bean-classcom.WCRM.departmenttree.Library/managed-bean-class
  | managed-bean-scoperequest/managed-bean-scope
  | /managed-bean
  | 
  | 
  | navigation-rule
  | 
  | navigation-case
  | from-outcomehome/from-outcome
  | to-view-id/home.jsp/to-view-id
  | redirect view-id=/home.jsp/
  | /navigation-case
  | navigation-case
  | from-outcomelogin/from-outcome
  | to-view-id/Login/login.jsp/to-view-id
  | redirect view-id=/Login/login.jsp/
  | /navigation-case
  | navigation-case
  | from-outcomeloggedIn/from-outcome
  | to-view-id/home.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomecustomer/from-outcome
  | to-view-id/Customer/customer.jsp/to-view-id
  | redirect view-id=/Customer/customer.jsp/
  | /navigation-case
  | 
  | 
  | 
  | 
  | navigation-case
  | from-outcomedepartment/from-outcome
  | to-view-id/dt.jsp/to-view-id
  | redirect view-id=/dt.jsp/
  | /navigation-case
  | 
  | 
  | 
  | navigation-case
  | from-outcomenewCustomer/from-outcome
  | to-view-id/Customer/newCustomer.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomedetailCustomer/from-outcome
  | to-view-id/Customer/detailCustomer.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomeupdateCustomer/from-outcome
  | to-view-id/Customer/updateCustomer.jsp/to-view-id
  | /navigation-case
  | 
  | 
  | navigation-case
  | from-outcomecontact/from-outcome
  | to-view-id/Contact/contact.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomenewContact/from-outcome
  | to-view-id/Contact/newContact.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomedetailContact/from-outcome
  | to-view-id/Contact/detailContact.jsp/to-view-id
  | /navigation-case
  | navigation-case
  | from-outcomeupdateContact/from-outcome
  | to-view-id/Contact/updateContact.jsp/to-view-id
  | /navigation-case
  | 
  | navigation-case
  | from-outcomeeditUser/from-outcome
  | 

[jboss-user] [JBoss Seam] - Re: Current taskId - Best way to get it

2007-07-18 Thread harpritt
Cheers Gavin

Im learning.. slowly ill get there... 

Im making as many notes as i can man!

Cheers again

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

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


[jboss-user] [JBoss AOP] - How to use AOP to simulate an alternative method of a existi

2007-07-18 Thread vola
Hi all,

Our team is trying to use JBoss AOP to do effecting on a running J2EE 
application. Let say one class ShoppingCart of the application has a method 
called addItem(). Our goal is to AOP to around the addItem(), and use our 
own addItemAlternative(). Everything works fine, just one question, is that 
possible we can access the private members of ShoppingCart in our AOP 
Interceptor class?

I know that AOP can retrieve the arguments passed into the addItem(). But if 
we don't know the private members of ShoppingCart, we have no way to do the 
similar operation as original method does. So, is that possible? Or, can we use 
any other AOP feature to simulate a method?

Thank you

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

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


[jboss-user] [JBoss jBPM] - Re: what is road map for jbpm-bpel

2007-07-18 Thread e120274
I have found a problem with instances of processes. When I start multiple 
instance of same process, JMSIntegrationService mix the instances inside the 
Token variable. Two instances started at the same time and in one instance flow 
did not continue and other instance activity is mixed with current instance 
process. I have overridden  the JmsIntegrationService to get invokes for each 
activity to handle. Take the token's process instance id and see the problem. 
Can Jbpm BPEL work with multiple process instances at the same time? It is very 
important problem I think? Can anyone tried to handle multiple process 
instances?
Thansk a lot.

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

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


  1   2   3   >