[jboss-user] [JBoss jBPM] - Re: graphical process design

2007-02-27 Thread daresan
thanks a lot for giving suggestions.

i have taken jar file from web. i am doing experiment on that.

after that i'll get back with specific questions.


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CMP bean Oracle procedure problem

2007-02-27 Thread [EMAIL PROTECTED]
Friends

I am using EJB3.0 with Jboss server. I have a CMP Order entity bean and order 
processing session bean.  To fulfill an order I am calling oracle procedure 
from my session bean. 
I am updating few fields of order table from oracle procedure. 
Problem that I am facing is that after calling oracle procedure I am unable to 
get those changes in my application. 
After calling procedure when I try to find or refresh my entity bean I get 
?Error performing load command Exception.
Kindly help me in this regard.


  | // calling oracle procedure in following method
  | // I am passing orderID to procedure . procedure updates OrderState field.
  | registerInBilling(regOrder);
  | //I gets an Exception in following line when I try to find or refresh my 
entity bean.
  | omOrdersFacade.refresh(objOmOrders);
  | 


Complete Exception is as follows



19:27:58,093 INFO  [SerializableType] could not read column value from result 
set: CREDITBO4_1362_1_; could not deserialize
19:27:58,093 INFO  [DefaultLoadEventListener] Error performing load command
org.hibernate.type.SerializationException: could not deserialize
at 
org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:217)
at 
org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:240)
at 
org.hibernate.type.SerializableType.fromBytes(SerializableType.java:78)
at org.hibernate.type.SerializableType.get(SerializableType.java:39)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:113)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:102)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
at 
org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:1983)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1372)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1300)
at org.hibernate.loader.Loader.getRow(Loader.java:1197)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:569)
at org.hibernate.loader.Loader.doQuery(Loader.java:689)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2821)
at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:370)
at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:351)
at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:122)
at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:178)
at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:86)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:871)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:839)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
at org.hibernate.type.EntityType.resolve(EntityType.java:303)
at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2821)
at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:370)
at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:351)
at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:122)
at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:178)
at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:86)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:871)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:839)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
at 

[jboss-user] [Security JAAS/JBoss] - Re: Authentication with more parameter than username and pas

2007-02-27 Thread JMJ2006
Hi Nipun,

thanks for your help.
This solution I've read allready in other forum. But for our project this 
solution will not be accept. I hope developers from JBoss must known how to 
solve this problem.

Regards,
J.M. Jacob.

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

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


[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex

2007-02-27 Thread codelion
Same kind of problem, using JBoss 4.0.5.GA.  Started when I had a new 
application scoped SFSB in Seam.

Very long and in a few minutes recurring stack trace begins with

00:04:03,187 ERROR [SimpleStatefulCache] problem passivation thread
  | javax.ejb.EJBException: Could not passivate; failed to save state
  | at 
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:363)
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196)
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)
  | Caused by: java.io.IOException
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

and ends with

Caused by: java.lang.NoClassDefFoundError: org/jaxen/VariableContext
  | at java.lang.Class.getDeclaredMethods0(Native Method)
  | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
  | at java.lang.Class.getDeclaredMethod(Class.java:1907)
  | at 
org.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102)
  | at 
org.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432)
  | at 
org.jboss.serial.classmetamodel.ClassMetaData.init(ClassMetaData.java:122)
  | at 
org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | at 
org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79)
  | at 
org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68)
  | at java.util.Vector.writeObject(Vector.java:1018)
  | ... 132 more

Seems like it cannot passivate.

Jaxen is present in JBoss.

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

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


[jboss-user] [JBoss jBPM] - Re: multiple comparations

2007-02-27 Thread jbmp user
thank you, but amp;amp; don't work rightly!!!

some idea any more??

Please, I need help!!!

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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread eknathkadam
bkeh12 wrote : 6. JMX interface for deployed components if desired 
  | 
http://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolutionIds=-1pid=12310060fixfor=12310587
  | 

I clicked this link but found nothing, any update on point 6 ?

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

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


[jboss-user] [JBoss Seam] - Re: s:fileUpload whit portal

2007-02-27 Thread jampierre
Hi,
I've the same problem.
Anyone can help us.
Thank you so much.
Bye bye
JP

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

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


[jboss-user] [JBoss Seam] - About the new chapter Caching in documentation.

2007-02-27 Thread Seto
I read the 18.1 chapter . And I don't understand. 
I think the example maybe should be changed as below. 
@Name(chatroom) 
public class Chatroom { 
@In PojoCache pojoCache; 
 
public void join(String username) { 
  try 
  { 
 Set userList = (Set) pojoCache.get(chatroom, userList); 
 if (userList==null) 
 { 
userList = new HashSet(); 
 } 
 userList.add(username); 
 pojoCache.put(chatroom, userList, userList); 
  } 
  catch (CacheException ce) 
  { 
 throw new RuntimeException(ce); 
  } 
} 
} 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: error in log file

2007-02-27 Thread visolvejboss
Hello,

Do the steps following.

1. Delete the folders tmp, log, work present in the path 
C:\jboss-4.0.4\server\MOB_SERVER.

2. Start the JBoss Server in the command prompt as
 run.sh -c MOB_SERVER

Note: While starting the JBoss AS, it will create tmp, work and log 
directories. 

3. See the log file server.log.

4. Post here what you are getting in the command prompt after starting the 
JBoss Server.

Check also boot.log in the log folder which is containing the log information 
generated before configuring log4j. So, I suppose, the problem might be 
happened before log4j configuration.



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

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


[jboss-user] [JBoss Seam] - Re: Weird behaviour with outjection

2007-02-27 Thread rlhr
It is called by clicking a link (h:outputLink / that call the page 
/home.xhtml.
So I checked that the view method is properly called and the id of the user is 
properly passed, the user retrieved and set.

The interesting thing is that I added a getTest() method to the SFSB that just 
return a string.
If I call #{testAction.test} in the page, any further occurence of #{user.xxx} 
will work in the page. But any previous accurence will render nothing.

So it seems that the user bean is not outjected until the page is rendered and 
an explicit call to a method of the SFSB is done in that particular case. 
I try to investigate to find out if there is anything different about what I do 
that leads to this strange behaviour.


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: error in log file

2007-02-27 Thread NehaSr
hi
thanks nw my log file is updated bt still its nt deployed the jar file
i m posting wat m gettin on cmd screen...
ment.
Info   : Class not found on 'com.iflex.fcat.timer.TimerBean': No ClassLoaders fo
und for: com.iflex.fcat.timer.TimerBean

14:34:11,828 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.4/server/MOB_SERVER/deploy/TimerBean.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
:99)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy27.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at 

[jboss-user] [Security JAAS/JBoss] - Re: Latest JAAS Tutorial for Database communication

2007-02-27 Thread aleksab
Are there really nobody who can help me here?
Have posted numerous requests and searched the web without any luck.

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with sending a mail using notify=

2007-02-27 Thread bazoo
Actually I think I might be trying to do something which isn't allowed. The 
process definition in question uses swimlanes for assignment, and those 
swimlanes are implemented as groups. Hence I'm guessing that the notify 
attribute can't send an email because groups don't have email addresses. 

However, quite often groups *do* have group email addresses and it would be 
worthwhile being able to notify a group inbox through the notify attribute.  
Is this something that anyone else has come across?

Cheers
Matt

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

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


[jboss-user] [JBoss Messaging] - Re: Message redelivery

2007-02-27 Thread imaeses
Perhaps it would be helpful to explain *why* the delay is necessary. Again, the 
current situation is that if a message is delivered to an MDB and the 
transaction is rolled back, the message is immediately and repeatedly 
redelivered until the maximum amount of times has been reached.

We have two MDB's. Let's call them A and B. A reacts to an incoming message and 
performs an action that results in an eventual message to B. The amount of time 
that passes between A's action and the eventual arrival of a message to B is 
unquantifiable. Therefore, it is possible (and indeed likely in certain cases) 
that the message to B arrives before A's onMessage() completes. 

In this case, any data created by A will not be visible to B since its 
transaction is still open. B cannot complete its work until it has this 
information available to it. Detecting this situation, it manually rolls back 
the transaction. Once A's transaction has completed, B can complete its work.

Unfortunately, what happens now is that B's message is redelivered so quickly 
that A never has a change to complete before B's message is trashed. Although 
increasing the maximum amount of retries is possible, this is a poor solution 
at best since the application server wastes precious resources.

Therefore, I ask again: is it possible in JBoss Messaging to configure the 
message redelivery delay?

Many thanks,
Adam

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

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


[jboss-user] [JBoss Seam] - does seam data model support all Tomahawk components like tr

2007-02-27 Thread [EMAIL PROTECTED]
Hi
Thank you for readin my post
How complete is seam datamodel support for different tomahawk components?
does it support all tomahawk components?


thanks

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

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


[jboss-user] [Installation, Configuration Deployment] - Howto package datasource and MQ definitions in ear

2007-02-27 Thread aschulz
Hi,

I would like to include my datasource (*-ds.xml) and mq (*-mq-service.xml) 
definitions in my ear file. Right now these files are in the deploy folder.

What do I have to do? Build an rar/sar and package the definitions there?

Please, can somebody provide an example.

Thanks in advance.
Alex

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

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


[jboss-user] [JBoss Messaging] - Re: Message redelivery

2007-02-27 Thread timfox
imaeses wrote : 
  | 
  | Therefore, I ask again: is it possible in JBoss Messaging to configure the 
message redelivery delay?
  | 
  | 

In 1.2, yes, in 1.0.1, no.

Have a look at the destination and server peer mbean config.

Queue/Topic:

  |attribute access=read-write getMethod=getRedeliveryDelay 
setMethod=setRedeliveryDelay
  |   descriptionThe delay before redelivering/description
  |   nameRedeliveryDelay/name
  |   typelong/type
  |/attribute  
  | 

ServerPeer

  |attribute access=read-write getMethod=getDefaultRedeliveryDelay 
setMethod=setDefaultRedeliveryDelay
  |   descriptionHow long to wait before redelivery, can be overridden on 
the destination/description
  |   nameDefaultRedeliveryDelay/name
  |   typelong/type
  |/attribute 
  | 

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

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


[jboss-user] [JBoss Seam] - can we use seam for jsr-168 portlet development?

2007-02-27 Thread [EMAIL PROTECTED]
Hi
Thank you for reading my post.
can we use jboss seam for jsr-168 portlets?
Thanks

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: error in log file

2007-02-27 Thread visolvejboss
Hello,

From the Error log, I guess that, 

There is no such class called TimerBean inside the TimerBean.jar file.
see the structure of the TimerBean.jar file and post the structure. And, also 
the ejb-jar.xml file content.

For the netbanking.war error,

There is no class file called EntryServlet inside the the netbanking.war file. 
Check structure of war file and  verify the web.xml file and post its content.


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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
eknathkadam wrote : bkeh12 wrote : 6. JMX interface for deployed components 
if desired 
  |   | 
http://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolutionIds=-1pid=12310060fixfor=12310587
  |   | 
  | I clicked this link but found nothing, any update on point 6 ?

Yes.
It is there for a while now.
Already used with JBoss5 clustering support.

See this issues:
 - JMXDecoratedTestCase in MC testing
 - http://www.jboss.org/index.html?module=bbop=viewtopict=94154start=0
 - http://www.jboss.org/index.html?module=bbop=viewtopict=102792

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

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


[jboss-user] [Microcontainer] - Re: Beans loading with Microcontainer in JBoss AS

2007-02-27 Thread alesj
See:
 - http://www.jboss.com/index.html?module=bbop=viewtopicp=4022949#4022949

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

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


[jboss-user] [JBoss Portal] - No portlet display

2007-02-27 Thread amit.khosla
We are working on JBOSS Portal 2.4
We are having two portal pages each containing 9 portlets.

We are facing a problem that sometimes when request go back to server  page 
reloads; sometime the page comes blank without any protlet. Just top template 
is visible. This problem occurs only sometimes. other times it works pefectly.

Thanx for any help in advance 

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

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


[jboss-user] [JBoss Portal] - Re: Declarative Security and Portlets

2007-02-27 Thread mageshbk
Please find my answers inline:

1) There is no role-based declarative security for portlets defined by 
portlet spec. 

Yes

2) For local portlets in JBoss Portal it is solved by securing portlet 
instances. 

Yes

3) For WSRP, JBoss Portal has no solution currently. Neither propagation of 
a User id, nor role based access control is solved. If we need something 
there, we should implement it ourselves.

Yes

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

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


[jboss-user] [JBoss Portal] - Embedding Portlets in JSF pages

2007-02-27 Thread ric1607
Hello,

I just saw that Oracle released a product to embed portlets in plain JSF pages.
This is great since it does not force to have a portal template page, which is 
not very flexible. It is especially very difficult  to convert an existing JSP 
webapp to a portal architecture.

See the following link:
http://www.oracle.com/technology/products/jdev/viewlets/1013/jsfwithportlets_viewlet_swf.html

Do you plan such an extension? This would be really great!!!

Have a nice day,

--Eric

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

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


[jboss-user] [JBoss Portal] - Re: No portlet display

2007-02-27 Thread [EMAIL PROTECTED]
Any stack trace ?

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: error in log file

2007-02-27 Thread NehaSr
hi 
i did check it bt my jar files r still nt deployed...
i m agn posting the cmd screen plz check it
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\NehaSrcd\

C:\cd C:\jboss-4.0.4\bin

C:\jboss-4.0.4\binrun -d MOB_SERVER
The filename, directory name, or volume label syntax is incorrect.
JAVA_HOME is not set.  Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-4.0.4\bin\\..
.
  JAVA: java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=360 -Dsun.rmi.dgc.server.gcInterval=360
.
  CLASSPATH: \lib\tools.jar;C:\jboss-4.0.4\bin\\run.jar
.
===
.
15:45:17,020 INFO  [Server] Starting JBoss (MX MicroKernel)...
15:45:17,020 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
15:45:17,035 INFO  [Server] Home Dir: C:\jboss-4.0.4
15:45:17,035 INFO  [Server] Home URL: file:/C:/jboss-4.0.4/
15:45:17,035 INFO  [Server] Patch URL: null
15:45:17,035 INFO  [Server] Server Name: default
15:45:17,035 INFO  [Server] Server Home Dir: C:\jboss-4.0.4\server\default
15:45:17,035 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.4/server/default
/
15:45:17,035 INFO  [Server] Server Log Dir: C:\jboss-4.0.4\server\default\log
15:45:17,035 INFO  [Server] Server Temp Dir: C:\jboss-4.0.4\server\default\tmp
15:45:17,035 INFO  [Server] Root Deployment Filename: jboss-service.xml
15:45:17,378 INFO  [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
15:45:17,378 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Su
n Microsystems Inc.
15:45:17,394 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
15:45:17,845 INFO  [Server] Core system initialized
15:45:19,713 INFO  [WebService] Using RMI server codebase: http://isljbhp06c1:80
83/
15:45:19,744 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
15:45:20,087 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.
0:1122, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
s.net.sockets.DefaultSocketFactory
15:45:23,153 INFO  [Embedded] Catalina naming disabled
15:45:23,200 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,200 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,496 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
15:45:23,496 INFO  [Catalina] Initialization processed in 280 ms
15:45:23,496 INFO  [StandardService] Starting service jboss.web
15:45:23,496 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1
7
15:45:23,558 INFO  [StandardHost] XML validation disabled
15:45:23,589 INFO  [Catalina] Server startup in 93 ms
15:45:23,698 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
15:45:24,009 INFO  [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
15:45:24,570 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
15:45:25,270 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp47168jbossws-exp.war/
15:45:25,457 INFO  [SubscriptionManager] Bound event dispatcher to java:/EventDi
spatcher
15:45:25,628 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:45:27,496 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
15:45:28,477 INFO  [MailService] Mail Service bound to java:/Mail
15:45:28,711 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
15:45:28,757 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:45:28,804 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
15:45:28,851 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
15:45:28,913 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
15:45:28,960 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
15:45:29,956 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:45:30,205 INFO  [A] Bound to JNDI name: queue/A
15:45:30,205 INFO  [B] Bound to JNDI name: queue/B
15:45:30,205 INFO  [C] Bound to JNDI name: queue/C
15:45:30,205 INFO  [D] Bound to JNDI name: 

[jboss-user] [Installation, Configuration Deployment] - Re: error in log file

2007-02-27 Thread NehaSr
hi 
i did check it bt my jar files r still nt deployed...
i m agn posting the cmd screen plz check it
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\NehaSrcd\

C:\cd C:\jboss-4.0.4\bin

C:\jboss-4.0.4\binrun -d MOB_SERVER
The filename, directory name, or volume label syntax is incorrect.
JAVA_HOME is not set.  Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-4.0.4\bin\\..
.
  JAVA: java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=360 -Dsun.rmi.dgc.server.gcInterval=360
.
  CLASSPATH: \lib\tools.jar;C:\jboss-4.0.4\bin\\run.jar
.
===
.
15:45:17,020 INFO  [Server] Starting JBoss (MX MicroKernel)...
15:45:17,020 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
15:45:17,035 INFO  [Server] Home Dir: C:\jboss-4.0.4
15:45:17,035 INFO  [Server] Home URL: file:/C:/jboss-4.0.4/
15:45:17,035 INFO  [Server] Patch URL: null
15:45:17,035 INFO  [Server] Server Name: default
15:45:17,035 INFO  [Server] Server Home Dir: C:\jboss-4.0.4\server\default
15:45:17,035 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.4/server/default
/
15:45:17,035 INFO  [Server] Server Log Dir: C:\jboss-4.0.4\server\default\log
15:45:17,035 INFO  [Server] Server Temp Dir: C:\jboss-4.0.4\server\default\tmp
15:45:17,035 INFO  [Server] Root Deployment Filename: jboss-service.xml
15:45:17,378 INFO  [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
15:45:17,378 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Su
n Microsystems Inc.
15:45:17,394 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
15:45:17,845 INFO  [Server] Core system initialized
15:45:19,713 INFO  [WebService] Using RMI server codebase: http://isljbhp06c1:80
83/
15:45:19,744 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
15:45:20,087 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.
0:1122, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
s.net.sockets.DefaultSocketFactory
15:45:23,153 INFO  [Embedded] Catalina naming disabled
15:45:23,200 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,200 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,496 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
15:45:23,496 INFO  [Catalina] Initialization processed in 280 ms
15:45:23,496 INFO  [StandardService] Starting service jboss.web
15:45:23,496 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1
7
15:45:23,558 INFO  [StandardHost] XML validation disabled
15:45:23,589 INFO  [Catalina] Server startup in 93 ms
15:45:23,698 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
15:45:24,009 INFO  [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
15:45:24,570 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
15:45:25,270 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp47168jbossws-exp.war/
15:45:25,457 INFO  [SubscriptionManager] Bound event dispatcher to java:/EventDi
spatcher
15:45:25,628 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:45:27,496 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
15:45:28,477 INFO  [MailService] Mail Service bound to java:/Mail
15:45:28,711 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
15:45:28,757 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:45:28,804 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
15:45:28,851 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
15:45:28,913 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
15:45:28,960 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
15:45:29,956 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:45:30,205 INFO  [A] Bound to JNDI name: queue/A
15:45:30,205 INFO  [B] Bound to JNDI name: queue/B
15:45:30,205 INFO  [C] Bound to JNDI name: queue/C
15:45:30,205 INFO  [D] Bound to JNDI name: 

[jboss-user] [JBoss Portal] - Re: Embedding Portlets in JSF pages

2007-02-27 Thread [EMAIL PROTECTED]
Cool, this is a JSF component that is consuming WSRP portlets. It shouldn;t be 
hard to do with our WSRP implementation.

A nice project for a motivated person ! Any volunteer ? we do the hosting :)

By the way, it won't help you convert a JSP webapp to a portal architecture 
since it's the other way around. Embed an existing portlet into your JSF webapp.

Thanks for the link, i hope someone will jump in to create that component.

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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread vickyk
org.jboss.aop.advice.AdviceBinding binding = new 
AdviceBinding(execution(POJO-new(..)), null);
  |   binding.addInterceptor(SimpleInterceptor.class);
  |   AspectManager.instance().addBinding(binding);
All we need to do is to have the above code formed through the xml file when 
using the MC . Am I right ?

And logically the Interceptor will 
1) Read the annotation data of the POJO .
2) Get the MBeanServer .
3) Register the POJO in the MBeanServer .

Am I missing something here ?


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

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


[jboss-user] [JBoss Seam] - Re: Multiple Window/Tabs isolated conversations

2007-02-27 Thread petemuir
h.cahyadi wrote : Are you sure that we must put the scope into 
conversation? bacause in the booking demo I saw the the scope is SESSION and 
it can perform multiple windows transaction

Thtats the way I would do it.

anonymous wrote : anonymous wrote : 
  |   | Why not just use the paging built into Query objects?
  |   | 
  | 
  | what do you mean by that, could you explain me?

The Seam Application Framework.  (btw upgrade to a newer version)

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

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


[jboss-user] [JBoss Seam] - Problems with IntervalRenderer and PhaseListener

2007-02-27 Thread LudgerTheile
Hi,

I tried to build a page with a clock. 
When I call the page, the clock is rendered, but after the first update after 
the renderer interval of 5 seconds I get a PhaseListener Exception:


  | 
  | 10:48:02,125 INFO  [ClockBean] setRenderManager
  | 10:48:02,125 INFO  [RenderHub] scheduled render service created:
  |   core pool size : 5
  | 10:48:02,140 INFO  [ClockBean] getServerTime
  | 10:48:07,140 INFO  [RenderHub] core render service created:
  |   core pool size : 10
  |   max pool size  : 15
  |   keep alive time: 30
  | 10:48:07,140 INFO  [ClockBean] getState = [EMAIL PROTECTED]@531e15]
  | 10:48:07,140 ERROR [PhaseListenerManager] Exception in PhaseListener 
RENDER_RESPONSE(6) beforePhase.
  | java.lang.NullPointerException
  | at 
org.jboss.seam.util.Parameters.convertMultiValueRequestParameter(Parameters.java:48)
  | at 
org.jboss.seam.pdf.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:32)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
  | at 
com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  | at java.lang.Thread.run(Thread.java:595)
  | 10:48:07,140 INFO  [ClockBean] renderingException fatal render failure for 
viewNumber 1
  | 
  | 

Because i wondered why a method from 
org.jboss.seam.pdf.DocumentStorePhaseListener is called, I removed the 
jboss-seam-pdf.jar from clocktest.ear\clocktest.war\WEB-INF\lib. After this I 
get the following output:


  | 
  | 10:53:59,468 INFO  [ClockBean] setRenderManager
  | 10:53:59,562 INFO  [RenderHub] scheduled render service created:
  |   core pool size : 5
  | 10:53:59,625 INFO  [ClockBean] getServerTime
  | 10:54:04,625 INFO  [RenderHub] core render service created:
  |   core pool size : 10
  |   max pool size  : 15
  |   keep alive time: 30
  | 10:54:04,640 INFO  [ClockBean] getState = [EMAIL PROTECTED]@1930e5b]
  | 10:54:04,640 ERROR [SeamPhaseListener] uncaught exception
  | java.lang.IllegalStateException: No active application scope
  | at org.jboss.seam.core.Init.instance(Init.java:78)
  | at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:22)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:49)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
  | at 
com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  | at java.lang.Thread.run(Thread.java:595)
  | 10:54:04,640 ERROR [SeamPhaseListener] swallowing exception
  | java.lang.IllegalStateException: No active application scope
  | at org.jboss.seam.core.Init.instance(Init.java:78)
  | at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:22)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:49)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
  | at 
com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  | at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  | at java.lang.Thread.run(Thread.java:595)
  | 10:54:04,640 ERROR [SeamPhaseListener] uncaught exception
  | java.lang.IllegalStateException: No active application scope
  | at org.jboss.seam.core.Init.instance(Init.java:78)
  | at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsAfterPhase(TransactionalSeamPhaseListener.java:34)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:112)
  | at 

[jboss-user] [JBoss Seam] - Re: JSF and TransactionalSeamPhaseListener

2007-02-27 Thread petemuir
In your JSF you are asking it to alter the titleId - so it does!  The behaviour 
you describe above is 'correct' - that it works with @PersistenceContext is 
just a hack.

Try this instead (actually alter the title the person has rather than the id of 
the title the person has)

h:selectOneMenu id=titleId value=#{person.title} converter=myConverter /

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

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


[jboss-user] [JBoss Portal] - Portlet Menu

2007-02-27 Thread laurie.t
Hello,

I have a problem, I want to put in my Portal a new Portlet Navigate (Portlet 
Menu) but Jboss Portal don't have this portlet. 
I want to know if I must add a Portlet Navigate in Jboss Portal?

For example, with this portlet,if I click the menu(on the left column), I shall 
like that documents, which are in menu, display.

Thanks for your help
Bye.

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

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


[jboss-user] [EJB 3.0] - LazyInitializationException for detached entity collection b

2007-02-27 Thread soeren
Hi,

I have two entities with a simple OneToMany relationship mapping. The parent 
(VolaConfigList) contains a simple collection of childs (List), which I 
have defined as this:


  |   @Basic(fetch = FetchType.EAGER)
  |   @OneToMany(cascade = { CascadeType.PERSIST, CascadeType.REMOVE })
  |   @JoinColumn(name = vcd_vcl_id)
  |   public ListVolaConfigDetail getDetailList() {
  | return detailList;
  |   }
  | 

When I use the parent object as detached object I get a 
org.hibernate.LazyInitializationException when trying to access the list of 
childs. This makes me wonder, because the EAGER type should fetch the 
collection upon retrieving the parent object already?
In any cirumstances I must use this object detached, so I'm looking for a way 
to handle this problem with EJB instruments.


Thanks  regards
Soeren Gerlach


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

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


[jboss-user] [JBoss Portal] - Re: Embedding Portlets in JSF pages

2007-02-27 Thread ric1607
Hello Thomas,

Thanks for your reply!
It looks exciting to see it shouldn't be hard.

If I understand it well, it is a JSF component that connects through web 
services to a WSRP (Web Services for Remote Portlets) provider
[For dummies like me, see http://en.wikipedia.org/wiki/WSRP].

Can we use *any* JSR-168 portlet this way? Or is there some limitations?


By the way, it won't help you convert a JSP webapp to a portal architecture 
since it's the other way around. Embed an existing portlet into your JSF 
webapp.

That's what I meant. Thank you for turning it the right way {;-)

--Eric


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

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


[jboss-user] [JBoss Portal] - Re: No portlet display

2007-02-27 Thread amit.khosla
No stack trace is there. It is not showing any error. just dont show any of the 
portlets

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Multiple contexts for servlet

2007-02-27 Thread Danack
Thanks - that looks pretty cool.

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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
vickyk wrote : 
  | All we need to do is to have the above code formed through the xml file 
when using the MC . Am I right ?
  | 
Yes, see how this is done in JMXDecoratedTestCase.(java|xml).
And this can be simplified now - less aop xml code.

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

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


[jboss-user] [JBoss Portal] - Re: No portlet display

2007-02-27 Thread [EMAIL PROTECTED]
I never had any report like that neither in the forums or in the professional 
support we provide.

Without more information, i cannot tell what's wrong :(

Next time it happens, check if you get the bottom of the HTML page (closing 
html).

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

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


[jboss-user] [Management, JMX/JBoss] - Re: xmbean as service... and two more questions

2007-02-27 Thread vitor_b
Hey genman

Thanks for your reply. 

1. I know everything i need now :)

2. In this case that is not a very big problem, merge file is not big. Better 
think that even when we have to write merge files, often we don't have to write 
all we need ourselves, anly a part. But hmm... not in this case.

3. Your answer to my question is clear for me. And i see the difference now, 
after removing line from my jboss-service.xml file:

attribute name=JndiNameResourceName/attribute
  | 

This line was the reason why i couldnt see persistence in action. Everytime i 
deployed my xmbean my attribute got a default value. 

But still i need a small clarification or confirmation: Persistence applies 
only to situation when we redeploy our mbean or restart server?

And where jboss stores persistence state for mbeans? I stopped my server and 
deleted all files from 'server'/tmp/deploy drectory, but after started server 
again the attribute of my mbean had exactly the same value like before.

Best regards
vitor_b



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

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


[jboss-user] [Management, JMX/JBoss] - Re: JMX RMI Remote Client Notification Problem

2007-02-27 Thread GeorgFriedrich
Ok, I solved this problem by deploying my client application, like 
a usual JEE-Client-Application. 
It's not the best solution but it works...

If I don't connect direct to the JBoss JMX kernel but to the underlying 
JVM, I haven't to deploy my client app and it works. But in this case, I have 
the 
common RMI random port problem. 

Greetings 

Georg



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

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


[jboss-user] [JBossCache] - PojoCacheListener does not propagate in a cluster

2007-02-27 Thread mvlior
Hi,

We're using 2.0.0ALPHA2 in a standalone app.
We have a PojoCache to which we add a PojoCacheListener, in attempt to log POJO 
deletions originating anywhere in the cluster.

It seems that the listener gets called back when POJOs are acted upon on the 
local cache, but not when they are acted upon from other members of the cluster.

There seems to be an open issue for this 
http://jira.jboss.com/jira/browse/JBCACHE-742
 - can a correction to this be used already ?

If that's problematic, is there a way we can make it work by ourselves (by 
adding an advice/aspect or altering code)  ?


Thanks,

Lior Neuman
RD Team
MailVision LTD.



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

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


[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
alesj wrote : And this can be simplified now - less aop xml code.
See JMXLifecycleTestCase.xml.

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

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


[jboss-user] [Management, JMX/JBoss] - AuthorizationInterceptor throwing ArrayIndexOutOfBoundsExcep

2007-02-27 Thread GeorgFriedrich
I have a similar problem as described in  
http://jira.jboss.com/jira/browse/JBAS-3431?subTaskView=unresolved.

I am getting a remote connection to the JMX server from an InitialContext that 
is populated with the user name and password:
env.put(Context.SECURITY_PRINCIPAL, userName);
env.put(Context.SECURITY_CREDENTIALS, password);

Then I look up the MBeanServerConnection (RMIAdaptor) and try to register a 
remote JMX Notification listener. 
rmiAdaptor.addNotificationListener(myObjectName, myNotificationListener, null, 
null);

Here is the exception:
java.lang.ClassCastException: $Proxy125
  | at 
org.jboss.jmx.connector.invoker.AuthorizationInterceptor.invoke(AuthorizationInterceptor.java:110)
  | at 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:108)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
  | 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
  | at java.lang.Thread.run(Thread.java:595)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  | at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
  | at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
  | at 
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
  | at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
  | at $Proxy1.addNotificationListener(Unknown Source)
  | 
  | ...
  | 

But this bug should be fixed in my JBoss-Version 4.0.5.GA.

JBoss 4.0.5.GA
SUN Java SDK 1.5.0_11
Debian Linux

Anybody has a similar problem or has a solution?

Thanks

Georg


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

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


[jboss-user] [JBoss Seam] - 1.1.7RC1 CCE: org.jboss.seam.Model (also with CVS 1.2.0)

2007-02-27 Thread baz
Hello,
i detected a problem with the 1.1.7RC1(and also with the current CVS aka1.2.0). 
I experience now a classs cast exception. With 1.1.6 this exception does not 
occur.
Any Ideas what is going wrong?
My view looks like:

  | ui:define name=body
  | 
  | h:form id=selectExperiment
  | h:messages /
  | ui:decorate template=/facelets/experimentList2.xhtml
  | ui:param name=valueList 
value=#{experimentData}/
  | ui:define name=emptyaction
  | h:commandButton value=#{bundle.back} 
action=NAVIGATOR /
  | /ui:define
  | ui:define name=action
  | h:commandButton 
value=#{bundle.select}  action=#{selectExperiment.selectExperiment} /
  | /ui:define
  | /ui:decorate
  | /h:form
  | /ui:define
  | 
  | 
experimentData is a DataModel.
The /facelets/experimentList2.xhtml
...
  | ui:decorate template=/facelets/ListTemplate2.xhtml
  | ui:param name=forId value=Experiment /
  | ui:param name=datalist value=#{valueList}/
  | ui:define name=noresultaction
  | ui:insert name=emptyaction/
  | /ui:define
  | ui:define name=listbody
  | 
  | /ui:decorate
  | 
  | 
And /facelets/ListTemplate2.xhtml
ui:component
  | h:panelGrid columns=1 styleClass=main columnClasses=columnPage
  | c:choose
  | c:when test=#{datalist==null}
  | h:outputText value=No List (NULL) /
  | /c:when
  | 
  | 
The c:when is the line from this exception:
SCHWERWIEGEND: Error Rendering View[/managePages/experiments2.xhtml]
  | com.sun.facelets.tag.TagAttributeException: /facelets/ListTemplate2.xhtml 
@15,37 test=#{datalist==null} org.jboss.seam.Model
  | at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
  | at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
  | at 
com.sun.facelets.tag.jstl.core.ChooseWhenHandler.isTestTrue(ChooseWhenHandler.java:49)
  | at 
com.sun.facelets.tag.jstl.core.ChooseHandler.apply(ChooseHandler.java:67)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | at 
com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | at 
com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
  | at 
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
  | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 

[jboss-user] [Management, JMX/JBoss] - Re: xmbean as service... and two more questions

2007-02-27 Thread vitor_b
One more thing:

Standard MBean has three default attributes:
- StateString
- State
- Name

My XMBean has only attributes i created. So if i want to provide these 
attributes for my XMBean what should i do? Is there any way to enable them, or 
i should create attributes myself and change their values personally? I mean, 
do i have to do things like this?:

public class MyService  extends ServiceMBeanSupport {
  | 
  |private String StateString;
  |private int State;
  | 
  |public void start() throws Exception {
  |   //some work
  |   ...
  |   this.State = MBeanSupport.STARTED;
  |   this.StateString = MBeanSupport.states[MBeanSupport.STARTED];
  |}
  | 
  |//other methods here
  | }

Thanks in advance

vitor_b

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

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


[jboss-user] [JBoss Seam] - Re: need to specify the whole package name with org.jboss.se

2007-02-27 Thread trouby
hey,

GF sample app not getting deployed correctly,

re-compiled and tried to deploy the ear file throws errors in GF logs,
this happens with 1.1.7.RC1 and GF build 32,



following is the full stack trace,

  | 
[#|2007-02-23T01:49:37.616+0200|WARNING|sun-appserver-ee9.1|javax.enterprise.system.stream.err|_ThreadID=47;_ThreadName=Thread-408;_RequestID=e7b27dd0-5a63-4d9e-b78e-6308e2aa3b5e;|
  | java.lang.NoSuchMethodError: 
org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
  | at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
  | at 
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
  | at 
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
  | at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
  | at 
net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
  | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
  | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
  | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
  | at net.sf.cglib.proxy.Enhancer.clinit(Enhancer.java:69)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:107)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
  | at 
org.hibernate.tuple.entity.AbstractEntityTuplizer.init(AbstractEntityTuplizer.java:135)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.init(PojoEntityTuplizer.java:55)
  | at 
org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.init(EntityEntityModeToTuplizerMapping.java:56)
  | at 
org.hibernate.tuple.entity.EntityMetamodel.init(EntityMetamodel.java:269)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.init(AbstractEntityPersister.java:425)
  | at 
org.hibernate.persister.entity.SingleTableEntityPersister.init(SingleTableEntityPersister.java:109)
  | at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
  | at 
org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:226)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1291)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  | at 
com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:136)
  | at 
com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:71)
  | at 
com.sun.enterprise.server.AbstractLoader.loadPersistenceUnits(AbstractLoader.java:847)
  | at 
com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:179)
  | at 
com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:323)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:197)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:632)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:903)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:887)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
  | at 
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:295)
  | at 
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:206)
  | at 
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
  | at 
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
  | at 
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
  | at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
  | at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:564)
  | at 

[jboss-user] [JBoss AOP] - Re: JBoss AOP with InfraRED

2007-02-27 Thread [EMAIL PROTECTED]
Hi!

Currently, InfraRED doesn't support JBoss AOP.
Their aspects depend on Aspectwerkz api or AspectJ sintax.

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

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


[jboss-user] [JBoss Seam] - Re: Back Button Problem

2007-02-27 Thread mjek2
Citation from Seam doc, section 7.1.2:


  | page name=checkout 
  | view-id=/checkout.xhtml 
  | back=enabled
  | redirect/
  | transition to=checkout/
  | transition name=complete to=complete/
  | /page

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

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


[jboss-user] [JBoss Seam] - Re: 1.1.7RC1 CCE: org.jboss.seam.Model (also with CVS 1.2.0)

2007-02-27 Thread baz
The exception seems to mislead.
Everytime i call this function

  | @SuppressWarnings(unchecked)
  | public ListE findAll() {
  | ListE list;
  | list = getSession().createCriteria(entityClass).list();
  | return list;
  | }
  |  the program raises exceptions but i also get an
org.hibernate.exception.GenericJDBCException: Cannot open connection
when this function is called.
The session is a Hibernate session. I am able to login (which does a 
databasequery) i am able to use HibernateEntityQuerys but the above code will 
fail.

Chanching the seam librarys back to 1.1.6 (making only security related changes 
loggedIn vs success and so on) all works fine.

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

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


[jboss-user] [JBoss Seam] - Re: need to specify the whole package name with org.jboss.se

2007-02-27 Thread trouby
Back to this,

Some 'cglib' versions didnt work correctly,

Anyway two things:

1) GF sample has no usage of messages, in register.xhtml/other files all titles 
are statically written in the facelets files, also I tried to add some 
component names into the sample files, but as it didnt work for me, they do not 
work on the same without the full package path,

and I just got remembered, with very old Seam versions it worked fine. it 
stopped worked in one of my upgrades.


2) also, the sample doesnt work correctly, it doesnt find classes, etc...
Does anyone manage/take care to update the GF sample?


Thanks,


Asaf.

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

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


[jboss-user] [JBoss jBPM] - How to define actions for the nodes.

2007-02-27 Thread satt
Hi,
I created one process through the JBPM UI.
After that I defined some actions for the nodes.
While doing,there is no problem with the deployment.
But,Whatever we give in the print statement( in the calling action class )is 
not coming in the console.
Can u please show me the way how can the actions be defined for nodes in the 
right manner.

Thanks 
Satt

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

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


[jboss-user] [JBoss Seam] - Export data..

2007-02-27 Thread waheed.murad
Hii..
i am displaying a report in my page with datatable. i want to export the report 
in to Excel. is there any tool or component to do that or any way around 

thanks in advance..

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

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


[jboss-user] [JBoss Seam] - Re: AnnotationException: no persistent id property

2007-02-27 Thread umk
I knew it was something silly. I forgot to include getters/setters in my 
composite key class. Maybe someone else will benefit from this posting...

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

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


[jboss-user] [JBoss Seam] - Re: Export data..

2007-02-27 Thread petemuir
You should easily be able to write out a csv file using JSF/facelets (though 
you may need to fiddle slightly to get it to change the mimetype/file extension)

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

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


[jboss-user] [JBoss Seam] - Re: Back Button Problem

2007-02-27 Thread h.cahyadi
I have tried this way but I still can do back buttoning :( any other suggestion?

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

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


[jboss-user] [JBoss jBPM] - Re: How to define actions for the nodes.

2007-02-27 Thread kukeltje
what do you expect us to say? There are so many examples, testcases etc, that 
do work. How can we tell without having ANY information (besides it does not 
work) what the problem might be 

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

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


[jboss-user] [JBoss Seam] - Re: Multiple Window/Tabs isolated conversations

2007-02-27 Thread h.cahyadi
Thanx petemuir for your sugestion, but until now this problem not yet solved in 
my application, any other suggestion?

Thanx and Regards,
-haric-

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

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


[jboss-user] [JBoss Seam] - Re: 1.1.7RC1 CCE: org.jboss.seam.Model (also with CVS 1.2.0)

2007-02-27 Thread baz
Since HibernateEntitys are fully functional, i suppose that the changes in 
package org.jboss.seam.persistence are responsible for these errors. But i am 
not able to hunt them down.

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

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


[jboss-user] [Performance Tuning] - growableArray.cpp. Out of swap space?

2007-02-27 Thread mdpatil
Exception java.lang.OutOfMemoryError: requested 131072000 bytes for GrET* in D:/
BUILD_AREA/jdk142-update/ws/fcs/hotspot\src\share\vm\utilities\growableArray.cpp
. Out of swap space

Our server application is running RedHad Linux on IBM machine with 12gb ram.

OS-Redhat4
DB:oracle
jboss 4.0.2
jdk1.4

run.conf

JAVA_OPTS=-server -Xms512m -Xmx2000m


Can you pls.. help me out.

MD


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

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


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

2007-02-27 Thread base7691
Thank you for the hint. Unfortunately I have the code surrounded with form tags 
:(

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

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


[jboss-user] [JBoss Seam] - Re: Back Button Problem

2007-02-27 Thread mjek2
I'm using the same Seam version as you but I can use back button in both IE and 
Firefox (and if you look at Seam examples, they should all work with back 
button). So it seems to be something IE specific in your case (i.e. some weird 
javascript). Do you observe it in all pages of your app or only in some of 
them? It's difficult to say more without any source code...

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

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


[jboss-user] [JBoss Portal] - How to avoid having many CMS instances

2007-02-27 Thread [EMAIL PROTECTED]
In the demo portal, in its CMS portlet, you are able to click from one content 
item to another. Each links begins /content/...

But what if you have your own portal ?
Such links keep going back to the demo instance.

I don't understand how to use linkMode. Do you set it as a CMS portlet window 
preference ? Would it help resolve this problem ?

Right now, until I learn how to have content links in my own portal, I am 
having to create individual CMS instances, each with its own indexpage instance 
preference.

Thanks, in advance...

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

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


[jboss-user] [JBossWS] - How to control port name in generated WSDL

2007-02-27 Thread mikaelstaldal
How can I control the port name (wsdl:port name=xxx) in the WSDL generated 
by JBossWS? I always get name+Port, which is not what I want since I have to 
implement an already established interface.

JBossWS doesn't seem to recognize the portName parameter to the JSR-181 
@WebService annotation. Is there any other way to control it?


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

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


[jboss-user] [Security JAAS/JBoss] - Re: How to specify the principal and credentials from the cl

2007-02-27 Thread rtimucin
ksteo1 wrote : If you are using JAAS, make sure you have already obtained the 
LoginContext, before you do make the InitialContext. Otherwise, the security 
principal and credential will not get passed into the app server.
  | 
  | Also, to do this, you have to enablie ClientLoginModule on both the client 
and server side auth.conf.
  | 
  | 
  | org.jboss.security.ClientLoginModule required;
  | 
  | 
  | update your jre version
  | 

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

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


[jboss-user] [JBoss jBPM] - Deploying jpdl processes to IBM Websphere application server

2007-02-27 Thread lakhsy
Hi, 

 I would like to know if anyone over here has any experience with deploying 
jbpm jpdl processes to IBM websphere AS. Any links to documents or guides. 

thanks in advance. 

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

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


[jboss-user] [JBoss jBPM] - Workflow process visual rapresentation

2007-02-27 Thread paolodt
In my JBPM based application, I would like to show a visual representation of 
teh current status of a ProcessInstance (like the reference web console 
provided application).

I see that the process .par file contains the processimage.jpg image, but hot 
to render the ProcessInstance status on it? Is there an API to do it ? Where to 
start?


Thank you, Paolo

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

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


[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss

2007-02-27 Thread mandarkul
Another problem that I am facing is I can not see any evidence that close 
method of ManagedConnection is called upon server shutdown.I think it is an 
expected behavious as it will release the sockets held by the connection on the 
EIS server. We are getting SocketException after an exhaustive execution of 
the application.

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

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


[jboss-user] [JCA/JBoss] - Re: ClassCastException while getting reference to Connection

2007-02-27 Thread mandarkul
Hi 

I am writing a custom Siebel Resource Adapter using JCA.I am facing a couple of 
difficulties.
1) I can not see my connection being returned back to the pool once the client 
invokes a close method on the connection object.
2) I can not see any evidence of close method of ManagedConnection upon 
server shutdown.Due to which I get a Socket exception after executing the 
application for sufficient requests.

I am in Pune and if you dont mind I would like to have a conversation with you 
regarding the same issues.If you give me your contact number then I can call 
you up. Please help me. I need your help.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mapping of Oracle REF CURSOR in standardjbosscmp-jdbc.xml ?

2007-02-27 Thread rkhurana
Hi
My program that runs outside the jboss environment opens a db connection using 
Jboss connection pool setting(data sources). It is able to execute sqls and 
stored procedures correctly. However if a stored procedure has output parameter 
defined as REF CURSOR, then it fails to execute that procedure and reports 
Proxy$4 exception without any details. I suspect there is a missing mapping in 
standardjbosscmp-jdbc.xml for REF CURSOR. Could someone advice if that indeed 
is the problem and how to configure this mapping?


  java-typejava.sql.resultset/java-type
  jdbc-type??
  sql-type??


thanks
RK

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

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


[jboss-user] [JBoss jBPM] - Re: Deploying jpdl processes to IBM Websphere application se

2007-02-27 Thread estaub
Please search the forum before posting questions that have already been asked 
in the last few months.  See 
http://www.jboss.com/index.html?module=bbop=viewtopict=88853

-Ed Staub

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

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


[jboss-user] [JBoss Seam] - Re: About the new chapter Caching in documentation.

2007-02-27 Thread Seto
My misunderstanding or the mistake of the doc?
It's like below before:
@Name(chatroom)
public class Chatroom {
@In PojoCache pojoCache;

public void join(String username) {
  try
  {
 Set userList = (Set) pojoCache.get(chatroom, userList);
 if (users==null) 
 {
userList = new HashSet();
pojoCache.put(chatroom, users, username);
 }
  }
  catch (CacheException ce)
  {
 throw new RuntimeException(ce);
  }
}
}


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

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


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

2007-02-27 Thread baz
Hello,
if you found the reason why, please inform me.
I do have a similar problem with a command button. The action of the button is 
not triggered and i can not figure out why. Other buttons on the page work but 
this one don't. 

Ciao,
Carsten

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

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


[jboss-user] [JBoss Seam] - Re: Request4Advice: Defining ProcessInstance Var's in Pagefl

2007-02-27 Thread mgombocz
To whom it may concern.

So, here's a solution (a few hours of sleep helped...):

First of all here's my pageflow where I initialize and update two process 
variables named totalPages and currentPage:
pageflow-definition name=createUser
  | event type=process-start 
  | script
  | expression
  | int total = 2;
  | int current = 1;
  | /expression
  | variable name=totalPages mapped-name=total 
access=write /
  | variable name=currentPage mapped-name=current 
access=write /
  | /script
  | /event
  | 
  | start-page name=createUser view-id=/editUser.xhtml
  | redirect /
  | 
  | transition name=cancel to=cancelled /
  | transition name=save to=evaluate
  | /transition
  | /start-page
  | 
  | decision name=evaluate
  | expression=#{userManager.usernameUnique}
  | 
  | transition name=true to=enterRoles
  | action expression=#{userManager.save} /
  | script
  | expression
  | current++;
  | /expression
  | variable name=currentPage 
mapped-name=current access=read,write /
  | /script
  | /transition
  | 
  | transition name=false to=createUser /
  | /decision
  | 
  | page name=enterRoles view-id=/editUserRoles.xhtml
  | redirect /
  | 
  | transition name=save to=finished
  | action expression=#{userManager.flush} /
  | /transition
  | 
  | transition name=previous to=createUser
  | script
  | expression
  | current--;
  | /expression
  | variable name=currentPage 
mapped-name=current access=read,write /
  | /script
  | /transition
  | 
  | transition name=cancel to=cancelled /
  | /page
  | 
  | page name=finished view-id=/showUser.xhtml
  | redirect /
  | end-conversation /
  | /page
  | 
  | page name=cancelled view-id=/searchUser.xhtml
  | redirect /
  | end-conversation /
  | /page
  | 
  | /pageflow-definition

These two variables can then be accessed in the views via:
#{pageflow.processInstance.contextInstance.variables['currentPage']}
  | #{pageflow.processInstance.contextInstance.variables['totalPages']}

For whatever reason using context variable processInstance directly does not 
work, like
#{processInstance.contextInstance.variables['currentPage']}
  | 

Cheers.

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

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


[jboss-user] [JBoss Portal] - What is PortalNode in IPC

2007-02-27 Thread srinivasanj
What is PortalNode in IPC

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

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


[jboss-user] [Remoting] - SSLHandshakeException when connecting to JNDI

2007-02-27 Thread Clarich
Hello,
I have an issue with a Server, that is not registering correctly with an JNDI 
Server (I have this issue with sslsocket as well as with sslmultiplex). In my 
understandung a JNDI Server should not need to have a certificate all Servers 
need to trust. I this right? And if so, can anybody tell me where this 
Exception might come from?

My Server is running on localhost:1101 and my JNDI runs on the same machine on 
Port 1099

Here is the Logging Stack of my Server:

  | reqistering with JNDI server
  | 2007-02-27 14:59:40,664 WARN  [main] 
org.jboss.remoting.detection.jndi.JNDIDetector: Detector: 
org.jboss.remoting.detection.jndi.JNDIDetector could not be loaded because the 
NetworkRegistry is not registered
  | 2007-02-27 14:59:40,664 WARN  [main] 
org.jboss.remoting.detection.jndi.JNDIDetector: This means that only the 
broadcasting of detection messages will be functional and will not be able to 
discover other servers.
  | susseccfully reqistered with JNDI Server
  | 2007-02-27 14:59:41,680 INFO  [Remoting Detector - Heartbeat Thread: 1] 
org.jboss.remoting.detection.jndi.JNDIDetector: Added 
3087152660c52e45x-3af92cc0x110ba7efe6bx-7ffb56 to registry.
  | 2007-02-27 14:59:52,273 ERROR [SocketServerInvoker#0-1101] 
org.jboss.remoting.transport.sslsocket.SSLSocketServerInvoker: Failed to accept 
socket connection
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
  | at java.lang.reflect.Constructor.newInstance(Unknown Source)
  | at 
org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:198)
  | at 
org.jboss.remoting.transport.socket.ServerThread.init(ServerThread.java:95)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:492)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:444)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: 
certificate_unknown
  | at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown 
Source)
  | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown 
Source)
  | at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
  | at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  | at java.io.BufferedOutputStream.flush(Unknown Source)
  | at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown 
Source)
  | at java.io.ObjectOutputStream.flush(Unknown Source)
  | at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.createOutputStream(ServerSocketWrapper.java:65)
  | at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:75)
  | at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.init(ClientSocketWrapper.java:54)
  | at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.init(ServerSocketWrapper.java:50)
  | ... 9 more
  | 2007-02-27 14:59:52,335 ERROR [SocketServerInvoker#0-1101] 
org.jboss.remoting.transport.sslsocket.SSLSocketServerInvoker: Failed to accept 
socket connection
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
  | at java.lang.reflect.Constructor.newInstance(Unknown Source)
  | at 
org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:198)
  | at 
org.jboss.remoting.transport.socket.ServerThread.init(ServerThread.java:95)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:492)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:444)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: 
certificate_unknown
  | at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
  | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
  | at 

[jboss-user] [JBoss Portal] - Re: What is PortalNode in IPC

2007-02-27 Thread [EMAIL PROTECTED]
A context, a portal, a page or a window

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

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


[jboss-user] [JBoss Portal] - Re: If you encounter a CMS bug that is a showstopper - Worka

2007-02-27 Thread [EMAIL PROTECTED]
hi-

this bug should is fixed in portal-2.4 branch

see here for details: http://jira.jboss.com/jira/browse/JBPORTAL-983


Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with sending a mail using notify=

2007-02-27 Thread kukeltje
Could be, but I also see 


  | 20:51:56,821 DEBUG [TaskInstance] assigning task 'Name band' to 'null' 
  | 

in your logs

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

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


[jboss-user] [JBoss jBPM] - Re: multiple comparations

2007-02-27 Thread kukeltje
can you write a unittest for this? Ten I'll try to run it here and see if there 
is an explanation

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

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


[jboss-user] [JBoss jBPM] - Re: Workflow process visual rapresentation

2007-02-27 Thread kukeltje
look at the implementation of the webconsole the source IS open you know

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

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


[jboss-user] [JBoss jBPM] - Problem with getting process instance's creator

2007-02-27 Thread kot.filemon
Hello,

I'm new to jBPM, so forgive me silly question.

How to get process instance's creator. 

I tried like this

ProcessDefinition.

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition xmlns= name=vacationRequest
  | swimlane name=originator/   
  | start-state name=start
  |  task swimlane =originator/
  |   
  | transition name= to=decision/
  | /start-state
  | task-node name=decision
  | task name=decide
  | assignment pooled-actors=#{vacationRequest.assign}/
  | /task
  | transition name=cancel to=canceled/
  | 
  | transition name=ok to=approved/
  |  /task-node
  | end-state name=canceled/end-state
  | end-state name=approved/end-state
  | /process-definition
  | 

then I start a process (with Seam):

  | @CreateProcess(definition = vacationRequest)
  | public void startProcess() {
  | System.out.println(start process);
  | 
  | }
  | 

or, by using API


  | Jbpm bpm = Jbpm.instance();
  | JbpmConfiguration conf = bpm.getJbpmConfiguration();
  | JbpmContext context = conf.createJbpmContext();
  | ProcessDefinition pd = 
context.getGraphSession().findLatestProcessDefinition(definition);
  | context.setActorId(Actor.instance().getId());
  | ProcessInstance p = new ProcessInstance(pd);
  | 
  | Token t = p.getRootToken();
  | t.signal();
  | /*Collection taskInstances = 
p.getTaskMgmtInstance().getTaskInstances();
  | Iterator iter = taskInstances.iterator();
  | while(iter.hasNext()) {
  | 
  | TaskInstance task = (TaskInstance) iter.next();
  | System.out.println(start + task.getName());
  | task.start();
  | System.out.println(end + task.getName());
  | task.end(); 
  | System.out.println(save + task.getName());
  | context.save(task);
  | }*/
  | 
  | context.save(p);
  | context.close();
  | System.out.println(po jade);
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator

2007-02-27 Thread kukeltje
- What is the behaviour you see?
- What version of jBPM?
- What does the debug output log?
- create a unittest with embedded processdefinition
- .

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator

2007-02-27 Thread kot.filemon
continued, because I have pressed 'Enter' by accident. :)


  | context.setActorId(Actor.instance().getId());
  | 

the Actor object is injected Seam component. getId() expression returns not 
null value.

after process gets started I try to check jbpm_swimlaneInstance, which is 
always empty (I don't have any other process definition deployed).

What am I doing wrong?

Is there any easier / other way to get process instance originator?

Thanks in advance for help

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

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


[jboss-user] [JBoss jBPM] - Re: Workflow process visual rapresentation

2007-02-27 Thread paolodt
ProcessImageTag.java ... I suppose ..

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

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


[jboss-user] [JBoss jBPM] - Re: Workflow process visual rapresentation

2007-02-27 Thread kukeltje
correct (out of the top of my head)

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread grdzeli_kaci
sorry petemuir for my disturb :(

i tryed it for a week and could not resolve this problem,

i added ur jar file into build.xml file 

  | copy todir=${war.dir}/WEB-INF/lib
  | fileset dir=${lib.dir}
  | include name=ajax4jsf.jar /
  | include name=oscache*.jar /
  | include name=jsf-facelets.jar /
  | include name=jboss-seam-*.jar /
  | include name=entityconverter.jar /
  | exclude name=jboss-seam-gen.jar /
  | /fileset
  | /copy
  | 

for copping this jar into war file(WEB-INF/lib)

anonymous wrote : 
  | h:selectOneMenu styleClass=font_style value=#{foo.application}
  | 

what did u mean in foo?sorry i can't understand :(








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

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


[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator

2007-02-27 Thread kot.filemon
kukeltje wrote : - What is the behaviour you see?
  | 
I just check jbpm_swimlaneinstance. I look for a place in database where the 
login on creator is stored what is needed for quering all proccess instances 
started by given login.

kukeltje wrote : 
  | - What version of jBPM?
  | [/quote=kukeltje]
  | 3.1.4
  | 
  | kukeltje wrote : 
  |   | - What does the debug output log?
  |   | 
  | After starting a process?
  | 
  | 
  |   | 15:47:55,813 INFO  [STDOUT] Hibernate: select top ? processdef0_.ID_ as 
ID1_2994_, processdef0_.NAME_ as NAME2_2994_, processdef0_.VERSION_ as 
VERSION3_2994_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_2994_, 
processdef0_.STARTSTATE_ as STARTSTATE5_2994_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc
  |   | 15:47:55,819 INFO  [STDOUT] Hibernate: insert into JBPM_TOKEN (ID_, 
VERSION_, NAME_, START_, END_, NODEENTER_, NEXTLOGINDEX_, 
ISABLETOREACTIVATEPARENT_, ISTERMINATIONIMPLICIT_, ISSUSPENDED_, NODE_, 
PROCESSINSTANCE_, PARENT_, SUBPROCESSINSTANCE_) values (null, ?, ?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?, ?)
  |   | 15:47:55,820 INFO  [STDOUT] Hibernate: call identity()
  |   | 15:47:55,821 INFO  [STDOUT] Hibernate: insert into JBPM_PROCESSINSTANCE 
(ID_, VERSION_, START_, END_, ISSUSPENDED_, PROCESSDEFINITION_, ROOTTOKEN_, 
SUPERPROCESSTOKEN_) values (null, ?, ?, ?, ?, ?, ?, ?)
  |   | 15:47:55,822 INFO  [STDOUT] Hibernate: call identity()
  |   | 15:47:55,823 INFO  [STDOUT] Hibernate: select 
definition0_.PROCESSDEFINITION_ as PROCESSD4_1_, definition0_.ID_ as ID1_1_, 
definition0_.NAME_ as NAME3_1_, definition0_.ID_ as ID1_3006_0_, 
definition0_.NAME_ as NAME3_3006_0_, definition0_.PROCESSDEFINITION_ as 
PROCESSD4_3006_0_, definition0_.STARTTASK_ as STARTTASK5_3006_0_, 
definition0_.CLASS_ as CLASS2_3006_0_ from JBPM_MODULEDEFINITION definition0_ 
where definition0_.PROCESSDEFINITION_=?
  |   | 15:47:55,835 INFO  [STDOUT] Hibernate: select 
events0_.PROCESSDEFINITION_ as PROCESSD5_1_, events0_.ID_ as ID1_1_, 
events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_2997_0_, 
events0_.EVENTTYPE_ as EVENTTYPE2_2997_0_, events0_.TYPE_ as TYPE3_2997_0_, 
events0_.GRAPHELEMENT_ as GRAPHELE4_2997_0_ from JBPM_EVENT events0_ where 
events0_.PROCESSDEFINITION_=?
  |   | 15:47:55,837 INFO  [STDOUT] Hibernate: select node0_.ID_ as 
ID1_2995_0_, node0_.NAME_ as NAME3_2995_0_, node0_.PROCESSDEFINITION_ as 
PROCESSD4_2995_0_, node0_.ISASYNC_ as ISASYNC5_2995_0_, node0_.ACTION_ as 
ACTION6_2995_0_, node0_.SUPERSTATE_ as SUPERSTATE7_2995_0_, 
node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_2995_0_, node0_.DECISIONEXPRESSION_ 
as DECISION9_2995_0_, node0_.DECISIONDELEGATION as DECISIO10_2995_0_, 
node0_.SIGNAL_ as SIGNAL11_2995_0_, node0_.CREATETASKS_ as CREATET12_2995_0_, 
node0_.ENDTASKS_ as ENDTASKS13_2995_0_, node0_.CLASS_ as CLASS2_2995_0_ from 
JBPM_NODE node0_ where node0_.ID_=?
  |   | 15:47:55,839 INFO  [STDOUT] Hibernate: select leavingtra0_.FROM_ as 
FROM4_1_, leavingtra0_.ID_ as ID1_1_, leavingtra0_.FROMINDEX_ as FROMINDEX6_1_, 
leavingtra0_.ID_ as ID1_2996_0_, leavingtra0_.NAME_ as NAME2_2996_0_, 
leavingtra0_.PROCESSDEFINITION_ as PROCESSD3_2996_0_, leavingtra0_.FROM_ as 
FROM4_2996_0_, leavingtra0_.TO_ as TO5_2996_0_ from JBPM_TRANSITION 
leavingtra0_ where leavingtra0_.FROM_=?
  |   | 15:47:55,842 INFO  [STDOUT] Hibernate: select events0_.NODE_ as 
NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, 
events0_.ID_ as ID1_2997_0_, events0_.EVENTTYPE_ as EVENTTYPE2_2997_0_, 
events0_.TYPE_ as TYPE3_2997_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_2997_0_ 
from JBPM_EVENT events0_ where events0_.NODE_=?
  |   | 15:47:55,844 INFO  [STDOUT] Hibernate: select events0_.TRANSITION_ as 
TRANSITION7_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, 
events0_.ID_ as ID1_2997_0_, events0_.EVENTTYPE_ as EVENTTYPE2_2997_0_, 
events0_.TYPE_ as TYPE3_2997_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_2997_0_ 
from JBPM_EVENT events0_ where events0_.TRANSITION_=?
  |   | 15:47:55,846 INFO  [STDOUT] Hibernate: select node0_.ID_ as 
ID1_2995_0_, node0_.NAME_ as NAME3_2995_0_, node0_.PROCESSDEFINITION_ as 
PROCESSD4_2995_0_, node0_.ISASYNC_ as ISASYNC5_2995_0_, node0_.ACTION_ as 
ACTION6_2995_0_, node0_.SUPERSTATE_ as SUPERSTATE7_2995_0_, 
node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_2995_0_, node0_.DECISIONEXPRESSION_ 
as DECISION9_2995_0_, node0_.DECISIONDELEGATION as DECISIO10_2995_0_, 
node0_.SIGNAL_ as SIGNAL11_2995_0_, node0_.CREATETASKS_ as CREATET12_2995_0_, 
node0_.ENDTASKS_ as ENDTASKS13_2995_0_, node0_.CLASS_ as CLASS2_2995_0_ from 
JBPM_NODE node0_ where node0_.ID_=?
  |   | 15:47:55,848 INFO  [STDOUT] Hibernate: select events0_.NODE_ as 
NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, 
events0_.ID_ as ID1_2997_0_, events0_.EVENTTYPE_ as EVENTTYPE2_2997_0_, 
events0_.TYPE_ as TYPE3_2997_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_2997_0_ 
from JBPM_EVENT events0_ where 

[jboss-user] [JNDI/Naming/Network] - Re: Problem with JNDI/lookup

2007-02-27 Thread stepec
for those who may get in this situation, the problem solution is to add JAR 
libraries to project and it works. 

I don´t know why this is so messy at JBOSS. Why there is no single JAR, why I 
have to search the whole JBOSS dir for classes I´m missing? Damn god ...

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

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread petemuir
h:selectOneMenu styleClass=font_style value=#{foo.application} 

Foo is the backing bean on which you wish to set the application property.  It 
could be just #{application} - though I'm not sure how well this works on the 
whole.

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

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


[jboss-user] [JBoss Seam] - java.lang.NoSuchMethodError: org.jboss.seam.core.Validation.

2007-02-27 Thread trouby
Hi,

There's a problem with org.jboss.seam.core.Validation.validate method in seam 
ver 1.1.7 under Glassfish,

following is the stack dump:


  | 
[#|2007-02-23T04:15:40.554+0200|SEVERE|sun-appserver-ee9.1|javax.enterprise.system.container.web|_ThreadID=34;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=e1540995-0b6c-4f87-9f66-a4705d821923;|StandardWrapperValve[Faces
 Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.NoSuchMethodError: 
org.jboss.seam.core.Validation.validate(Ljavax/faces/context/FacesContext;Ljava/lang/String;Ljava/lang/Object;)[Lorg/hibernate/validator/InvalidValue;
  | at org.jboss.seam.ui.ModelValidator.validate(ModelValidator.java:25)
  | at javax.faces.component.UIInput.validateValue(UIInput.java:1018)
  | at javax.faces.component.UIInput.validate(UIInput.java:868)
  | at javax.faces.component.UIInput.executeValidate(UIInput.java:1071)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:663)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1021)
  | at javax.faces.component.UIForm.processValidators(UIForm.java:229)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1021)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662)
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
  |
  | 


Hope it helps,

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: 1.1.7RC1 CCE: org.jboss.seam.Model (also with CVS 1.2.0)

2007-02-27 Thread [EMAIL PROTECTED]
So you guys don't have @Entity annotations on your entities? You are using 
.hbm.xml?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-27 Thread bsmithjj
have you managed to gain any new insight into this?

Thanks,
Brad Smith

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator

2007-02-27 Thread kukeltje
This is only hibernate stdout, not jbpm debug output... 

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-27 Thread petemuir
Sorry, I got quite a long way last night sorting out the example (which shows 
it) but didn't quite get there, hopefully tonight or if not, sometime on 
Thursday I'll have a testcase.

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

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


[jboss-user] [JBoss Portal] - Re: If you encounter a CMS bug that is a showstopper - Worka

2007-02-27 Thread [EMAIL PROTECTED]
The failure to upload gif files happens in 2.6 Alpha 2.
It isn't a size issue.

The real issue is that there is a bug somewhere that puts the DB into an 
inconsistent state, and the only thing I can do is clean out the tables and 
reinit the CMS from scratch.

Thanks anyway

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

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


[jboss-user] [JBoss.NET] - Invalid element in SomeException - message

2007-02-27 Thread bartvh
I recently upgraded from jboss-3.2.3 jboss.net to jboss-3.2.8SP1 jboss.net, and 
now I discovered an incompatibility between the latter and apache axis (1.4) 
clients. In apache axis, user exceptions thrown in the service methods do not 
have a 'message' element, while they do have this element in the latest 3.2.8 
jboss version. 

When the axis client calls that service and the service indeed throws the user 
exception, the result is (abbreviated):
AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  |  faultSubcode: 
  |  faultString: org.xml.sax.SAXException: Invalid element in 
my.package.SomeException - message
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: 
Invalid element in my.package.SomeException - message
  | at 
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
  | at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
  | at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
  | at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
  |  
  | at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
  | at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
  | at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
  | at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
  | at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
  | at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
  | at org.apache.axis.client.Call.invoke(Call.java:2767)
  | at org.apache.axis.client.Call.invoke(Call.java:2443)
  | 
  | 
The exceptions where declared in the web-service.xml to use the 
BeanSerializerFactory for encoding.

I found a workaround by using my own variant of the BeanSerializerFactory for 
encoding exceptions. That version filters out the 'message' property, but I am 
unsure if this is 'The Right Way' to fix this problem.

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

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


[jboss-user] [JBoss Seam] - Re: 1.1.7RC1 CCE: org.jboss.seam.Model (also with CVS 1.2.0)

2007-02-27 Thread baz
Correct. But in intermediate step. Migrating to annotations.
Is there a problem with .hbm.xml?

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

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


[jboss-user] [JBoss Seam] - Re: java.lang.NoSuchMethodError: org.jboss.seam.core.Validat

2007-02-27 Thread [EMAIL PROTECTED]
NoSuchMethodError *always* means you have incompatible jars floating around. 
Upgrade all your jars.

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator

2007-02-27 Thread kot.filemon
I did a tail server.log -n | grep 'org.jbpm'  to get only jbpm messages as I 
don't get anything for jbpm on stout. 

I hope they are the logs you have asked for.


  | 2007-02-27 15:59:33,872 DEBUG [org.jbpm.configuration.JbpmContextInfo] 
creating jbpm context with service factories '[message, scheduler, logging, 
persistence, authentication]'
  | 2007-02-27 15:59:33,872 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
  | 2007-02-27 15:59:33,872 DEBUG 
[org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence 
service
  | 2007-02-27 15:59:33,872 DEBUG 
[org.jbpm.persistence.db.DbPersistenceService] creating hibernate session
  | 2007-02-27 15:59:33,874 DEBUG [org.hibernate.loader.Loader] result row: 
EntityKey[org.jbpm.graph.def.ProcessDefinition#1]
  | 2007-02-27 15:59:33,874 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving 
associations for [org.jbpm.graph.def.ProcessDefinition#1]
  | 2007-02-27 15:59:33,875 DEBUG [org.hibernate.engine.TwoPhaseLoad] adding 
entity to second-level cache: [org.jbpm.graph.def.ProcessDefinition#1]
  | 2007-02-27 15:59:33,875 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Caching: org.jbpm.graph.def.ProcessDefinition#1
  | 2007-02-27 15:59:33,875 DEBUG [org.hibernate.engine.TwoPhaseLoad] done 
materializing entity [org.jbpm.graph.def.ProcessDefinition#1]
  | 2007-02-27 15:59:33,879 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.ProcessDefinition.definitions#1
  | 2007-02-27 15:59:33,879 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.module.def.ModuleDefinition#1
  | 2007-02-27 15:59:33,879 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.module.def.ModuleDefinition#2
  | 2007-02-27 15:59:33,880 DEBUG [org.jbpm.graph.def.GraphElement] event 
'process-start' on 'ProcessDefinition(vacationRequest)' for 'Token(/)'
  | 2007-02-27 15:59:33,880 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.ProcessDefinition.events#1
  | 2007-02-27 15:59:33,880 DEBUG [org.hibernate.impl.SessionImpl] initializing 
proxy: [org.jbpm.graph.def.Node#1]
  | 2007-02-27 15:59:33,880 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Node#1
  | 2007-02-27 15:59:33,880 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Node.leavingTransitions#1
  | 2007-02-27 15:59:33,880 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Transition#1
  | 2007-02-27 15:59:33,881 DEBUG [org.jbpm.graph.def.GraphElement] event 
'before-signal' on 'StartState(start)' for 'Token(/)'
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Node.events#1
  | 2007-02-27 15:59:33,881 DEBUG [org.jbpm.graph.def.GraphElement] event 
'node-leave' on 'StartState(start)' for 'Token(/)'
  | 2007-02-27 15:59:33,881 DEBUG [org.jbpm.graph.def.GraphElement] event 
'transition' on 'Transition()' for 'Token(/)'
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Transition.events#1
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.impl.SessionImpl] initializing 
proxy: [org.jbpm.graph.def.Node#2]
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Node#2
  | 2007-02-27 15:59:33,881 DEBUG [org.jbpm.graph.def.GraphElement] event 
'node-enter' on 'TaskNode(decision)' for 'Token(/)'
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.def.Node.events#2
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.graph.node.TaskNode.tasks#2
  | 2007-02-27 15:59:33,881 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.taskmgmt.def.Task#1
  | 2007-02-27 15:59:33,882 WARN  
[org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy 
to class org.jbpm.graph.node.TaskNode - this operation breaks ==
  | 2007-02-27 15:59:33,882 DEBUG [org.hibernate.impl.SessionImpl] initializing 
proxy: [org.jbpm.graph.node.TaskNode#2]
  | 2007-02-27 15:59:33,884 DEBUG [org.jbpm.graph.def.GraphElement] event 
'task-create' on 'Task(decide)' for 'Token(/)'
  | 2007-02-27 15:59:33,884 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] 
Cache lookup: org.jbpm.taskmgmt.def.Task.events#1
  | 2007-02-27 15:59:33,886 DEBUG [org.jbpm.jpdl.el.impl.BeanMethod] invoking 
expression method 'assign'
  | 2007-02-27 15:59:33,888 DEBUG [org.jbpm.graph.def.GraphElement] event 
'after-signal' on 'StartState(start)' for 'Token(/)'
  | 2007-02-27 15:59:33,888 DEBUG [org.jbpm.svc.Services] executing default 
save operations
  | 2007-02-27 15:59:33,888 DEBUG [org.jbpm.svc.save.HibernateSaveOperation] 
saving process instance
  | 2007-02-27 15:59:33,888 DEBUG [org.jbpm.svc.save.SaveLogsOperation] 
flushing logs 

  1   2   3   4   >