[jboss-user] [JBoss Seam] - s:link id assignment not working as expected Seam 2 CR1

2007-09-24 Thread nathandennis
it would seem that s:link id assignment  is still not working as expected Seam 
2 CR1. 
i first discovered the problem in 2 beta version download from csv around 
081707. i found one tread that was discussing a simular issue with commandLink 
and JIRA issue said it was fixed for 2 CR1... so i upgraded but still 
having the same problem.

the problem is that the id for the s:link within a column of a dynamic table 
that contains multiple rows  is a duplicate. if i try to pass the id a unique 
value using EL it returns a null... end result is my page works,, but doesnt 
validate... a real pain for us perfectionist.
here an example of some code...



  |   rich:dataTable var=blogEntry
  |   value=#{bloggerList.resultList} 
  |rendered=#{not empty bloggerList.resultList}
  |style=  border-right-width: 0px;
  | border-bottom-width: 0px;
  | border-left-width: 0px;
  | border-top-width: 0px;
  |  rich:column valign=top id=a#{blogEntry.id}
  | div class=blogEntry align=left
  |h3#{blogEntry.title}/h3
  |#{blogEntry.blog} 
  |s:link view=/#{empty from ? 'Blog' : from}.xhtml 
  | value=More
  | f:param name=bloggerId 
  | value=#{blogEntry.id}/
  |/s:link
  |p
  |   [Posted on 
  | 
  | #{blogEntry.listdate}]
  |/p 
  | /div 
  | div  style=padding-top:5px;  
  | hr align=left width=500/
  | /div
  |  /rich:column
  | /rich:dataTable
  | 
  | 

if im missing something i apologize but im pretty sure this worked in seam 
1.2.1

any enlightenment would be greatly appreciated.

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

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


[jboss-user] [JBoss Seam] - Seam 1.2.1 on Jboss 4.2.1

2007-09-24 Thread feyza merve
Hello,

We move our seam application (Seam 1.2.1) from jboss 4.0.5 to jboss 4.2.1. We 
apply the following changes (described on Micheal's blog):

1. Edit the resources/WEB-INF/web.xml file, and remove the MyFaces listener.

2. Edit the resources/META-INF/application.xml file, and remove the modules 
referencing el-api.jar and el-ri.jar.

3. Remove the el-api.jar and el-ri.jar files from the final application archive 
(edit the build.xml file for the ear or war tasks).

4. Edit the resources/WEB-INF/faces-config.xml file and add the SeamELResolver 
using the new JSF 1.2 XML schema declaration.


But we still get the following error: 

java.lang.IllegalStateException: Application was not properly initialized at 
startup, could not find Factory: javax.faces.context.FacesContextFactory

Here is the stack trace when I build the project: 


  | 08:50:13,687 INFO  [Initialization] Installing components...
  | 08:50:13,718 INFO  [Component] Component: authenticator, scope: EVENT, 
type: JAVA_BEAN, class: com.vadi.action.Authenticator
  | 08:50:13,750 INFO  [Component] Component: entityManager, scope: 
CONVERSATION, type: JAVA_BEAN, class: 
org.jboss.seam.core.ManagedPersistenceContext
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, 
class: org.jboss.seam.core.ApplicationContext
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: 
JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
  | 08:50:13,765 INFO  [Component] Component: org.jboss.seam.core.conversation, 
scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, 
class: org.jboss.seam.core.ConversationContext
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, 
class: org.jboss.seam.core.ConversationEntries
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: 
org.jboss.seam.core.ConversationList
  | 08:50:13,765 INFO  [Component] Component: 
org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: 
org.jboss.seam.core.ConversationStack
  | 08:50:13,765 INFO  [Component] Component: org.jboss.seam.core.eventContext, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | 08:50:13,765 INFO  [Component] Component: org.jboss.seam.core.events, 
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
  | 08:50:13,765 INFO  [Component] Component: org.jboss.seam.core.exceptions, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
  | 08:50:13,781 INFO  [Component] Component: org.jboss.seam.core.expressions, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
  | 08:50:13,781 INFO  [Component] Component: org.jboss.seam.core.facesContext, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | 08:50:13,796 INFO  [Component] Component: 
org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: 
org.jboss.seam.core.FacesMessages
  | 08:50:13,812 INFO  [Component] Component: org.jboss.seam.core.facesPage, 
scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
  | 08:50:13,812 INFO  [Component] Component: org.jboss.seam.core.httpError, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
  | 08:50:13,812 INFO  [Component] Component: org.jboss.seam.core.image, scope: 
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Image
  | 08:50:13,843 INFO  [Component] Component: org.jboss.seam.core.interpolator, 
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
  | 08:50:13,859 INFO  [Component] Component: org.jboss.seam.core.isUserInRole, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
  | 08:50:13,859 INFO  [Component] Component: org.jboss.seam.core.locale, 
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
  | 08:50:13,859 INFO  [Component] Component: 
org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: 
org.jboss.seam.core.LocaleSelector
  | 08:50:13,859 INFO  [Component] Component: org.jboss.seam.core.manager, 
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | 08:50:13,875 INFO  [Component] Component: org.jboss.seam.core.messages, 
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
  | 08:50:13,875 INFO  [Component] Component: 
org.jboss.seam.core.methodContext, scope: APPLICATION, type: JAVA_BEAN, class: 
org.jboss.seam.core.MethodContext
  | 08:50:13,875 INFO  [Component] Component: org.jboss.seam.core.pageContext, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
  | 08:50:13,875 INFO  

[jboss-user] [JBoss Seam] - Re: s:link id assignment not working as expected Seam 2 CR1

2007-09-24 Thread nathandennis
this has the desired result. but to go back and change this is large 
projects is going to be a rough,,, and im going to loose the ability to alter 
the extension easily.


  |h:outputLink value=/#{empty from ? 'Blog' : 
from}.seam 
  | More
  | s:conversationId /
  | f:param name=bloggerId 
  | value=#{blogEntry.id}/
  |/h:outputLink
  | 

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

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


[jboss-user] [JBoss Seam] - Custom annotations on Seam entity

2007-09-24 Thread rhomber
Hey All,

  I applied custom annotations to a Seam entity bean and was not able to 
inspect the bean to obtain the annotations. I later discovered that the object 
wasn't the object I had created and rather some 'copy' ending with the name 
'_$$_javassist_8'. Is there any way to apply custom annotations to a Seam 
entity? Or is this not possible at the current time?

Cheers,

David

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

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


[jboss-user] [JBoss Seam] - Re: JBoss EL performance vs Sun EL

2007-09-24 Thread amitev
OFFTOPIC - could someone suggest me a profiler for eclipse?

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

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


[jboss-user] [Clustering/JBoss] - Re: question on clustering

2007-09-24 Thread haribaasha
Instead of 
Properties p = new Properties();
   p.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
p.put(Context.URL_PKG_PREFIXES, jboss.naming:org.jnp.interfaces);
p.put(Context.PROVIDER_URL, localhost:1100); // HA-JNDI
// port
initial = new InitialContext(p);

i did this :
   Hashtable env = new Hashtable();
env.put(jnp.partitionName, IndicsPartition);
env.put(jnp.discoveryGroup, 230.0.0.5 );
initial = new InitialContext(p);

and i changed the ip in the indicspartition machine to 230.0.0.5

i got a communication exception on the client side ??

is this all or am i missing something ?

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

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


[jboss-user] [JBossCache] - Re: Running PojoCache in multiple machines

2007-09-24 Thread BruceSpringfield
You need to set the ClusterConfig attribute to let the Cache know you are 
running as a cluster.  The mcast_port values should be the same for the caches 
on both machines.  CacheMode should also be set to something other than LOCAL.  

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Oracle Datasource configuration in Jboss

2007-09-24 Thread venuc_vgp
I am using oracle8i for our j2ee application. I want to configure datasource 
and connection pool for oracle8i with jboss.

Pls help me to configure this.

-V

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Oracle Datasource configuration in Jboss

2007-09-24 Thread jaikiran
Follow the steps mentioned at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: cant control security in a jms queue

2007-09-24 Thread anderslinden
Adrian, I wouldnt make postings here if I thought the manual was useful. 
Posting in this forum was an act of desperation. Its obvious that it was in 
desperation if you only think about it. I mean, this forums are the forums in 
where the questions/answers ratio are the highest I have ever seen. Just face 
it, people are only here for asking, not answering. And why is that? Its 
because useful information about java on the server side is so hard to get. And 
just face it, information about java on the serverside is so buzzword driven 
that it hard to extract useful information about it. This forums are plain 
useless and should not be able to exist. People in this forums can place a 
question which is not answered within a year or so.
Example:
http://www.jboss.com/index.html?module=bbop=viewtopict=96413

adrian, you begged for it

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

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


[jboss-user] [JBoss Portal] - CMS Not Bound exception at runtime in jboss 2.6.1 cluster en

2007-09-24 Thread vineet_portal
Hi all,

i am using jboss-portal-26.1-ha, and cms Wrokflow feature enabled. When only a 
single node is up CMS workflow works fine , but  if all the nodes are up. I get 
following exception in app server console, on click of Approve or Deny button:
 ERROR [GraphElement] action threw exception: 
javax.naming.NameNotFoundException: CMS not bound
java.lang.RuntimeException: javax.naming.NameNotFoundException: CMS not bound.

I am using oracle database and bundelled   jboss-portal-26.1-ha. kindly provide 
your suggestions or if something extra needs to be done for configuration 
appart from what has been mentioned in ref document. I am using load 
balancer(mod_jk).

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

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


[jboss-user] [JBossCache] - Re: Adding TreeCache to JBoss default server

2007-09-24 Thread BruceSpringfield
Add a deployment descriptor for the TreeCache to the deploy directory of your 
server.

You can also include the cache jar files in applications you deploy to the 
server.

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

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


[jboss-user] [JBossCache] - Re: Way to access JBoss PojoCache interceptor?

2007-09-24 Thread BruceSpringfield
[EMAIL PROTECTED] wrote : 
  | You can do something similar by removing the cache interceptor from the 
object

How do you remove the cache interceptor from an object?

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

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


[jboss-user] [JBoss Seam] - Re: NPE when call seam web service on glassfish

2007-09-24 Thread hugo_th02
Hi, all.
I've found the link: 
https://glassfish.dev.java.net/javaee5/webservices/dispatch_process.html

anonymous wrote : 
  | When the EjbWebServiceServlet instance receives a SOAP/HTTP or XML/HTTP 
message (as HTTPServletRequest), it does the following:
  | 
  |1. Looks up the endpoint descriptor (EjbRuntimeEndpointInfo) from the 
EJB endpoint registry (WebServiceEjbEndpointRegistry).
  |2. Performs authentication as described in JSR-109 Section 9.
  |3. Passes the HTTPServletRequest and HTTPServletResponse, along with the 
endpoint descriptor to an appropriate (i.e., either JAX-RPC or JAX-WS) 
dispatcher (EjbMessageDispatcher) for processing
  | 
  | The EjbMessageDispatcher processing is similar to the dispatching performed 
by JAXWSServlet, and includes the following steps:
  | 
  |1. Creates the MessageContext (without a reference to the 
ServletContext).
  |2. Passes the HTTP request/response objects, along with the 
RuntimeEndpointInfo, to an instance of com.sun.xml.ws.spi.runtime.Tie - the 
entry point for the JAX-WS runtime system.
  |3. The JAX-WS runtime decodes the SOAP request, applying the JAX-WS and 
JAXB XML/Java bindings, to get the parameters that are used to invoke the 
endpoint implementation class.
  |4. Then, the flow is reversed and the returned object is serialized back 
out to the HTTP response.
  | 

Is that the reason why there no session in SOAPRequestHandler? 
If so, how can I call seam web service on glassfish?

Thanks


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

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


[jboss-user] [JBoss Seam] - Template based email configuration

2007-09-24 Thread Chloe
I want to use template based email in order to send a verification of the 
user's email adress after their subscription.

I use an SMTP server with TLS authentification. I try to configure this server 
in component.xml but we can put only host, username, port, password parameters. 

How can I configure TLS parameters ?


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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-09-24 Thread hispeedsurfer
is there nobody else with a similar situation cancel a async call although the 
timer is already processed?


hope for reply!!!

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: cant control security in a jms queue

2007-09-24 Thread jaikiran
anderslinden wrote : Hello!
  | 
  | How do I setup this user database? 

See if http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB helps. Once you 
have successfully done that, you can specify security restrictions on the Queue 
as follows (just an example):

mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=testQueue
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  | depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  | 
  | attribute name=SecurityConf
  |   security
  | role name=guest read=true write=true/
  | role name=publisher read=true write=true create=false/
  | role name=noacc read=false write=false create=false/
  |   /security
  | /attribute
  |   /mbean

The above configuration can be done in jbossmq-destinations-service.xml file 
present in server/ serverName/deploy/jms folder. The name of the queue in 
this example is testQueue, change it to the name of your queue. 

As you can see, the above configuration uses a SecurityManager 
(=jboss.mq:service=SecurityManager) which is configured in the 
jbossmq-service.xml file present in server/ serverName/deploy/jms folder. The 
SecurityManager config in that jbossmq-service.xml mentions the following:

mbean code=org.jboss.mq.security.SecurityManager 
name=jboss.mq:service=SecurityManager
  | attribute name=DefaultSecurityConfig
  |   security
  | role name=guest read=true write=true create=true/
  |   /security
  | /attribute
  | attribute name=SecurityDomainjava:/jaas/jbossmq/attribute
  | depends 
optional-attribute-name=NextInterceptorjboss.mq:service=DestinationManager/depends
  |   /mbean

As can be seen, this configuration uses the java:/jaas/jbossmq security domain 
to do the authentication. The login module is configured in login-config.xml 
file in server/ serverName/conf folder (search for jbossmq in that file). All 
you have to do is configure that application policy to use your login module 
(similar to what's been mentioned in the link, above). 


anonymous wrote : I have tried to manipulate these files:
  | jboss/server/default/deploy/jms/jbossmq-destinations-service.xml
  | jboss/server/default/data/hypersonic/localDB.script
  | jboss/server/all/deploy-hasingleton/jms/jbossmq-service.xml
  | jboss/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml
  | jboss/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
  | 

Which server are you using, is it default or all. Depending on that, you 
either have to change files in default or all, but not both.

anonymous wrote : 
  | Actually, I would like to have a security model thats not password based, 
but based on which ip thats connected to the jms queue. I would like to setup a 
solution where only connections from localhost can write to the queue, in other 
words the server. Is that possible?

Once you get the security configurations done as mentioned above (and get 
working it with users stored in DB), this step should be simple enough. Just a 
change to the login-config.xml file to use a different login module instead of 
DB login module. As far as creating a login module for checking the IP address 
is concerned, i believe there was one, but was deprecated in recent releases of 
JBoss.

P.S: I havent tried anything of these. This is just based on the documents i 
could find, so you are sure to run into some issues, in which case just post it 
in the forums here. Maybe someone will be able to help.



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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-09-24 Thread juntao
Use the QuartzTriggerHandler object returned from the async method to stop / 
resume / cancel the timer. 

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

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


[jboss-user] [JBoss jBPM] - Strange instances

2007-09-24 Thread Vorsorge
Hi,

I found some strange instances of ActionHandlers. 

Background:
We wrote our own sub process handler. We needed more control over the 
communication between parent and child and over the embedding of the child into 
the parent.

For testing purposes I tried to let our sub process node as part of process A 
call process A again. This is a recursive call which we will not allow and 
there will be checks against.

This is the situation. 

Let AP be the parent process instance and AC the child instance.

We create the AC like this:


  | JbpmContext jbpmContext =executionContextOfAP.getJbpmContext()
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | List processDefinitions = graphSession.findAllProcessDefinitions();
  | 
  | ... Looking for process by the name of AP ... 
  | 
  | ProcessInstance processInstanceOfAC = 
processDefinitionOfAC.createProcessInstance();
  | 

When ok, we start processInstanceOfAC with


  | processInstanceOfAC.signal();
  | 

This causes an Exception of a type I didn't expect in  I OUR code. Looking for 
the reason I found:

processDefinitionOfAP and processDefinitionOfAC are different instances of 
ProcessInstance. That's ok and what I expected.
But the instances of the used ActionHandlers are the same. So parent and child 
use the same instance of ActionHandler. (Which causes our code to crash.)

My questions:
1. Is this behaviour deliberate?
2. If yes, then why?
3. We are using Jbpm 3.1.2. Is it the same in 3.2?

Regards,
Martin




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

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


[jboss-user] [JBossCache] - Re: Running PojoCache in multiple machines

2007-09-24 Thread AbdElrahman
hi 
thank you for your reply , but in the sample configuration there is this part 
that i dont understand
 !-- UDP: if you have a multihomed machine,
set the bind_addr attribute to the appropriate NIC IP address, 
e.g bind_addr=192.168.0.2
--

thank you

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

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


[jboss-user] [JBoss jBPM] - How to integrate the JBPM-BPEL and JAX-WS

2007-09-24 Thread gsccnu
Hi,I'm a Developper.I used JPBM,it's strong and open source.Now i begin to 
study JBPM-BPEL.I saw examples in jbpm-bpel-1.1.Beta3.zip.
I wonder whether BPEL can use JAX-WS instead of JAX-RPC and how to do.

P.S. Excuse me for my English.

Regards
gs

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

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


[jboss-user] [JBoss jBPM] - Re: emailing a group with mail node in eclipse designer

2007-09-24 Thread kukeltje
afaik not possible yet and no jira issue for this

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

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


[jboss-user] [JBoss jBPM] - Re: Strange instances

2007-09-24 Thread kukeltje
1: I cannot find any reason why it should be.
2: -
3: No idea, if you want to know on short notice, best if you try yourself.

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

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


[jboss-user] [JBoss jBPM] - Re: resumption of the execution of a jbpm process after stop

2007-09-24 Thread kukeltje
Ebrahim,

uhhhmm well not completely right. If you use the JBoss AS datasource 
this will not work, if you don't, it might work, depending on classpaths etc... 
So I'd advice not do it this way.

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

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


[jboss-user] [JBoss Seam] - Re: how to force ajax region refresh

2007-09-24 Thread damianharvey
Is your action getting hit when you tick the checkbox? Try putting an 
a4j:log/ on your page and then viewing the log using the default CRTL-SHIFT-L.

Also, try enclosing the a4j:region in an s:div and reRendering that instead. 

Cheers,

Damian.

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

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


[jboss-user] [JBoss Portal] - Re: LDAP Connection error

2007-09-24 Thread sbozdag
I used to have almost the same problem. 

I am 100% sure that I did not change the configuration file jboss-service.xml. 
I only followed the instructions given on page 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingAnLDAPSourceForPortalAuthentication
 . And it worked! You should exactly notice that there is no such a 
configuration step for jboss-service.xml or ldap_identity-config.xml on that 
wiki. I have tried so many times before in the same way you did. However they 
did not work.

Anyway, just follow the steps on the wiki and don't forget to check out the 
troubleshooting listing below the page(only three lines)

I am also using version 2.6.1GA. I tried it against a openldap server.

And the last notice, don't forget to add a role name 'Authenticated'(or 
whatever name you want, But be aware of synch that name with your login-config 
file) to your ldap server. And make your user a member of it. 

Also, reading chapters about authentication/authorization will help you so much 
as well as they helped me.

hope this helps,

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

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


[jboss-user] [JBoss jBPM] - Re: emailing a group with mail node in eclipse designer

2007-09-24 Thread rossputin
ah ok thanks, can I just create a Jira issue to make this a wishlist item ?

Cheers

Ross


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

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


[jboss-user] [JBoss jBPM] - contributing code back to the jbpm project

2007-09-24 Thread rossputin
Hi guys,

I have some minor pieces of code which might be useful to the project... I am 
working on a project deadline right now, but in a week or two when I have some 
time I can put them together for you.

I am wondering that the process entails, how do you like to get hold of the 
code?

Cheers

Ross


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

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


[jboss-user] [JBoss jBPM] - Evaluating jBPM : compliance with workflow patterns

2007-09-24 Thread oschmitt31
Hi,

i'm currenty evaluating jBPM for my company (40 000 people).

jBPM overview tells us :

One piece of research is especially valuable - Workflow Patterns. Prof. Wil 
van der Aalst has created a catalogue of workflow patterns analogue with the 
design patterns by the 'Gang of Four'. These patterns are a organised set of 
concepts that are distilled from the study of a wide range of commercial 
workflow products. JBoss jBPM's internal model is created with these workflow 
patterns in mind. 

That's fine !!!
But which patterns are supported ???

Here is my checklist :

Control flow pattern :

Sequence
Parralel Split
Synchronization
Exclusive choice
Simple Merge
Multi Choice
Synchronizing Merge
Multi-merge
Discriminator
N-out-of-M Join
Arbitrary cycles
Implicit Termination
Multiple instances without synchronization
Multiple instances with a Priori Design Time knowledge
Multiple instances with a Priori Run Time knowledge
Multiple instances without a Priori Run Time knowledge
Deferred Choice
Interleaved Parallel Routing
Milestone
Cancel Activity
Cancel Case

Resouce creation pattern :

Direct Allocation
Role-Based Allocation
Deferred Allocation
Authorisation
Separation of Duties
Case Handling
Retain familiar
Capablity-Based Allocation
History-Based Allocation
Organisational Allocation
Automatic Execution

Visibility patterns :

Configurable Unallocated Work Item Visibility
Configurable Allocated Work Item Visibility


It would be fine if jBPM Overview displays a matrix with patterns and jBPM 
compliance. (Bonita does ...)

Thanks a lot !

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

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


[jboss-user] [Beginners Corner] - Re: JBoss having somedeployment problem

2007-09-24 Thread jaikiran
No, you dont have to add the ejb jar in the WEB-INF\lib. Can you post the 
contents of your application.xml file? Also, please post the entire exception 
stacktrace that you see (you will find it in the server.log file)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Does the alt-dd Descriptor actually work in JBoss

2007-09-24 Thread StevenTowler
Hi All,

I have been playing around with my deployment descriptors recently in an 
attempt to simply the dependancies between projects and their installation 
process. In particular making use of an alternate deployment descriptor in my 
application.xml. 

The alternate descriptor works if I deploy the EAR into an Oracle Applicaiton 
Server instance but nothing I do can make JBoss actually use the descriptor. It 
always uses the settings in the default ejb-jar.xml

The alt-dd setup is below and the descriptor was in the root of the EAR.

  
  | module
  |   ejbXXXEJB.jar/ejb
  |   alt-ddalt-XXXEJB.xml/alt-dd
  |  /module
  | 

Am i doing somehting wong, or missing somthing?

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

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


[jboss-user] [Beginners Corner] - Re: problem in EJB example in JBoss 4.0.5 or JBoss 4.2.1

2007-09-24 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions, 
specifically the jmx-console method mentioned over there. Have you packaged 
jboss-j2ee.jar or other jboss related jar files in your application?


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

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


[jboss-user] [Clustering/JBoss] - Re: question on clustering

2007-09-24 Thread haribaasha
am sorry , its working perfectly fine. i had screwed up with the partition name 
in the second partition :)

thanks a lot!

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

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


[jboss-user] [JBoss jBPM] - Re: Evaluating jBPM : compliance with workflow patterns

2007-09-24 Thread kukeltje
@anonymous

You describe the 'old' pattern set. In the jBPM source there are testcases of 
the patterns so you can see which are supported. It would indeed be nice if 
there was e.g. a wikipage (I never made the time to do this) care to help out?

Ragarding the resource patterns, there are no explicit tests, some are 
supported out of the box, some not but with the 'pluggable nature' of jBPM all 
can be supported with custom code.

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow problems with back button

2007-09-24 Thread jbeaken
Hi,

thanks for looking at my problem
but no, the previous page was in the conversation, I see your point regarding 
differing conversations but that's not the case here. Please see the full 
pageflow definition below: 

So say I've started the flow and navigated to 
/quote/selectProductionFolder.xhtml, clicking back button takes me back to 
/quote/searchResults.xhtml, but here clicking any action (eg. 'quote') just 
refreshes the current page /quote/searchResults.xhtml


  | 
  | ?xml version=1.0?
  | pageflow-definition name=requestTrackQuote conversation-required=true
  | !-- ** --
  | !-- START YOUR ENGINES --
  | !-- ** --
  | start-page view-id=/quote/searchTracks.xhtml name=start
  | transition name=start to=searchTracks/
  | /start-page
  | 
  | page name=searchTracks
  | view-id=/quote/searchResults.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | back=enabled
  | redirect /
  | transition name=quote to=selectProductionFolder
  | action 
expression=#{createLicenseRequestService.addTrack}/
  | /transition
  | /page
  | 
  | !-- ** --
  | !-- PRODUCTION FOLDERS --
  | !-- ** --
  | 
  | page name=selectProductionFolder
  | view-id=/quote/selectProductionFolder.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=addNewFolder to=addNewFolder /
  | transition name=selectExistingFolder 
to=selectProductionUsage
  | action 
expression=#{createLicenseRequestService.addFolder}/
  | /transition
  | /page
  | 
  | page name=addNewFolder
  | view-id=/folder/addFolder.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=addFolder to=selectProductionUsage
  | action expression=#{addFolderService.add}/action
  | /transition
  | /page
  | 
  | !-- ** --
  | !-- PRODUCTION USAGE   --
  | !-- ** --
  | 
  | page name=selectProductionUsage
  | view-id=/quote/selectProductionUsage.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=addNewProductionUsage to=checkUsage /
  | transition name=prev to=selectProductionFolder /
  | transition name=selectExistingProductionUsage 
to=selectTrackUsage
  | action 
expression=#{createLicenseRequestService.addProductionUsage}/action
  | /transition
  | /page
  | 
  | decision name=checkUsage expression=#{usageType}
  | transition name=1 to=addAdvertisementProductionUsage
  | action 
expression=#{createLicenseRequestService.initAdvertisementProductionUsage}/action
  | /transition
  | /decision 
  | 
  | page name=addAdvertisementProductionUsage 
view-id=/quote/addAdvertisementProductionUsage.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect/
  | transition name=prev to=selectProductionUsage /
  | transition name=addedAdvertisementProductionUsage 
to=selectTrackUsage/
  | /page
  | 
  | !-- ** --
  | !-- TRACK USAGE--
  | !-- ** --
  | 
  | page name=selectTrackUsage view-id=/quote/selectTrackUsage.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=addNewTrackUsage to=addNewTrackUsage /
  | transition name=selectExistingTrackUsage to=confirm
  | /transition
  | /page
  | 
  | page name=addNewTrackUsage
  | view-id=/quote/addTrackUsage.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=prev to=selectTrackUsage/
  | transition name=addTrackUsage to=confirm
  | action expression=#{addTrackUsageService.add} /
  | /transition
  | /page 
  | 
  | !-- ** --
  | !-- CONFIRM--
  | !-- ** --
  | 
  | page name=confirm view-id=/quote/confirmLicenseRequest.xhtml
  | no-conversation-view-id=/quote/searchTracks.xhtml
  | redirect /
  | transition name=prev to=selectTrackUsage /
  | transition name=submit to=viewSummary
  | action 
expression=#{createLicenseRequestService.addLicenceRequest} /
  | /transition
  | transition name=cancel to=cancel/
  | /page
  | 
  | !-- 

[jboss-user] [Security JAAS/JBoss] - Re: JAAS not prompting for username pwd on Linux 3 with JBos

2007-09-24 Thread petka
Hi all

I have the same problem like VAkuthota, but I can't find how I fixed. 

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

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


[jboss-user] [JBoss jBPM] - Re: Evaluating jBPM : compliance with workflow patterns

2007-09-24 Thread oschmitt31
Thanks, il will check the source code.

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

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


[jboss-user] [JBoss Portal] - Re: LDAP Connection error

2007-09-24 Thread bdaw
You have 


  | option
  |  nameexternalContextJndiName/name
  |  valueexternal/ldap/jboss/value
  | /option
  | 
uncommented. Using this all other LDAP connection options are ignored. Did you 
read the docs?

http://docs.jboss.com/jbportal/v2.6/referenceGuide/html/ldap.html#d0e6811

If you configure all modules in ldap_identity-config.xml you don't need to 
change login-config.xml to authenticate.



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

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


[jboss-user] [JBoss Seam] - Re: s:graphicImage and s:transformImage VERY, VERY slow

2007-09-24 Thread [EMAIL PROTECTED]
No I haven't looked at this in any detail.  Take a look at the seamspace 
example for how to use a custom servlet.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JAAS not prompting for username pwd on Linux 3 with JBos

2007-09-24 Thread jaikiran
petka wrote : Hi all
  | 
  | I have the same problem like VAkuthota, but I can't find how I fixed. 

You have to provide more details about your application. And also the details 
about the problem.

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

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


[jboss-user] [Advanced Documentation] - DEBUG Message

2007-09-24 Thread pkalpana2k

Hi,

What is DEBUG message which appears in the server log?

When this message will come?

Thanks in Advance..

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

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


[jboss-user] [JBoss Seam] - Re: how to force ajax region refresh

2007-09-24 Thread wise_guybg
I agree with Damian that the problem might come from trying to reRender the 
region.

BTW I don't know why people on this forum don't like a4j:outputPanel and use 
all kinds of seam tags (s:div, s:decorate). Anyways, not important...

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

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


[jboss-user] [JBoss jBPM] - tokens

2007-09-24 Thread scitmon
I am attempting to develop a custom node which launches a preset number of sub 
process instances.  I have sucessfully managed to get my node to launch these 
instances, however I am struggling to find out how to get my custom node's 
token to move onto the next node once all the child instances have ended...

My first approach was to create child tokens of the custom node token, and set 
the token of the sub instances to these child tokens.  This didnt seem to work. 
 The custom node's token seems to dissapear, i.e. getNodeName returns Null as 
does getTransitions.

Can anyone offer up and advice or point me in the right direction as to how to 
do this?  Any online documentation i have found so far has not helped.



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

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


[jboss-user] [JBoss Tools (users)] - Re: Everything You Wanted to Know about Seam, but were afrai

2007-09-24 Thread ybxiang.wolf
[EMAIL PROTECTED] wrote : I use Seam 2 and seam-gen works fine with JBoss 4.2 
here.
  | 
  | Seam 1.2 works fine with JBoss 4.0.x - just like described in the docsI 
don't know how much clearer we can be on that.
  | 
  | RHDS comes with a seam-gen with Seam 1.2 that works with the JBoss 4.2; 
again if you want a fully working out of the box solution go get RHDS.
~yes, i test them many times! JBOss4.2.1+Seam is ok!!!

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen setup and maven

2007-09-24 Thread [EMAIL PROTECTED]
Devon, Matt,

I've made some changes to CVS which should help.  You'll need to (having 
updated from CVS):

1) Edit your build.properties and ensure you have no references to version and 
patchlevel in there (unless you really want them there!)
2) Run ant clean build in the Seam root directory
3) Run seam setup

Please post back if you are having problems after this - sorry for the 
disruption!

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

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


[jboss-user] [JBoss Seam] - Re: how to force ajax region refresh

2007-09-24 Thread damianharvey
I normally use s:div as that is how I lay out my markup. 

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

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


[jboss-user] [JBoss Seam] - Scheduling Steteful Session scoped bean

2007-09-24 Thread zakhan
Hi guys,
 could anyone give me a hint how to schedule a method call of a Stateful 
Session scoped bean? I have a application which is a seam app in ear archive. I 
have there one session scoped stateful bean which method I need to call every 
xxx seconds. I read what is written about scheduling in seam tutorial 
(org.varia.Scheduler) but didnt succeeded on trying it. I made working the 
SchedulableClass example, but I need to make the Schedulable bean working, 
cause in the method I need to add some values to List which is @Out jected to 
be used by another application beans. Or maybe there is different approach than 
org.varia.Scheduler? Thanks for any hints.

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

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


[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome

2007-09-24 Thread damianharvey
Had to add a line to the suggested code otherwise a NPE was thrown on persist: 
@Override
  | public ClassBooking getEntityClass() {
  |super.setEntityClass(Booking.class);
  |return Booking.class;
  | }
Cheers,

Damian.


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

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


[jboss-user] [Beginners Corner] - JBoss native 2.0.1 on Windows 2003 AMD64 - Help!

2007-09-24 Thread si_gee2000
Hi 

I am new to the installation of JBoss in a production environment having been 
strictly a developer until recently. So, I decided instead of going for the 
usual Vanilla installation of JBoss I would try and optimize the install for 
once. I am running on a Windows 2003 server with AMDx2 CPU, so I dowloaded the 
package Windows 64/AMD64 2.0.1 native package from  
http://labs.jboss.com/jbossweb/downloads. 

I followed the instructions and even installed JBoss as a service, using the 
exe in the package. So far so good. Then I started the new service, I noted 
that the native dir was found and the java.library.path setup correctly in the 
run.bat script, but still I got the message [AprLifecycleListener] The Apache 
Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path

I have checked and double-checked, and even run the run.bat java startup cmd 
from the command line to see if I can fathom it out, but I cannot get the 
native lib to be found (ctnative et al all exist in the native lib folder) - I 
even copied the native libs into Windows\system32 to check the loookup.

Another thing too, when I try and Stop the new service for JBoss it hangs and 
will not stop. I have to kill it via a process monitor. Evidently I have done 
something wrong on the install - can anyone help who has maybe done this 
successfully on a similar server?

thanks!
si

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

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


[jboss-user] [JBossCache] - Re: JBoss POJO Cache 1.4.1.GA in Maven?

2007-09-24 Thread [EMAIL PROTECTED]
We simply provide a manager component 

http://fisheye.jboss.org/browse/JBoss/jboss-seam/src/main/org/jboss/seam/core/PojoCache.java?r=1.11

which allows a PojoCache to be injected into a Seam component.

We also consume this to allow for caching of html fragments through a JSF 
component.

I guess Gavin chose PojoCache rather than core cache as (AFAICS) it is easier 
to use (but I've never really used this bit of Seam ;) ).

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

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


[jboss-user] [JBoss Seam] - Re: s:link id assignment not working as expected Seam 2 CR1

2007-09-24 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-1947 - sorry about that (fixed in CVS)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem about specifying a jndi source for eclipse hiber

2007-09-24 Thread [EMAIL PROTECTED]
don't use a datasource, use a jdbc connection when running outside an appserver.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JAAS not prompting for username pwd on Linux 3 with JBos

2007-09-24 Thread petka
Ok, my problem is the same like VAkuthota problem. 

I deployed the application in JBoss, but it is bypassing the security manager 
and directly going to welcome/home page  without prompts for the username and 
password and not throwing any 
error also.

My system is:
Ubuntu 7.04, jboss 4.2.0.GA.
Sorry but for now I can't get more details because this i my home box and at 
the moment I am in work.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Service dependency?

2007-09-24 Thread BruceSpringfield
I need to start my SystemProperties service before my POJOCache service.  I 
declared the dependency in the POJOCache MBean service :

dependsjboss.varia:service=SystemProperties,name=SystemProperties/depends 
  | 

But this causes a number of errors and prevents both services from deploying.

Can anyone see any errors in my declaration?


I get the following errors :


  | 12:52:45,460 ERROR [TreeCache] failed to activate /__JBossInternal__
  | java.lang.NullPointerException
  | at 
org.jboss.cache.buddyreplication.BuddyManager.getBuddyAddresses(BuddyManager.java:520)
  | at org.jboss.cache.TreeCache.activateRegion(TreeCache.java:1978)
  | at org.jboss.cache.aop.PojoCache.activateRegion(PojoCache.java:288)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy67.activateRegion(Unknown Source)
  | at de.tonline.vespa.cache.POJOCacheImpl.init(POJOCacheImpl.java:36)
  | 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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1240)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
  | at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
  | at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
  | at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
  | at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
  | at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
  | at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 

[jboss-user] [JBoss Messaging] - Re: Secure Socket Connection Example question

2007-09-24 Thread ataylor
For more info on how to configure JSSE take a look at the reference guide via 
http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html . 
Alternatively just set the System Properties using System.setProperty(prop,val);

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

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


[jboss-user] [JBoss Seam] - Re: helloworld example from JBoss Seam Book

2007-09-24 Thread roxello
Thankx for confirmation. The app web.xml MyFaces
entry indicated as much but what the heck, I didnt
know... 

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

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


[jboss-user] [JBoss Seam] - Embedded s:link in a rich:tree

2007-09-24 Thread jbeaken
Hi, 

using seam 1.2.1GA, jboss 4.2.1, richfaces 3.1.0.

Upon using a rich:tree, I wish to embedd an s:link with an action that takes a 
method parameter. The method parameter is derived from the current treerow, 
declared from the var=item attribute, like :


  | rich:tree style=width:300px switchType=ajax
  | rich:recursiveTreeNodesAdaptor 
roots=#{listUsersFoldersService.folderTree} var=item 
nodes=#{item.childFoldersAsArray}
  |   rich:treeNode
  |  h:outputText value=#{item.name}/
  |  h:outputText value=#{item.id}/
  | s:link 
action=#{viewFolderService.view(item.id)}
  | img class=listiconfix 
title=..: VIEW :.. src=assets/images/view_icon.png alt=..: VIEW :.. /
  | /s:link
  | /rich:treeNode
  | ...

The h:outputText value=#{item.id}/ outputs the correct id, but the 
s:link action=#{viewFolderService.view(item.id)}
 always passes a null id,

anybody got any ideas, can you not use the assigned variable this way?

thanks



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

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


[jboss-user] [JBoss jBPM] - terminate a process instance

2007-09-24 Thread massimiliano_cuccia
I'm sorry, but I'm not finding how to terminate a process instance

with terminate i mean that the process has a termination date and there can't 
be executable tasks

how can I achieve this???

thanks
regards
Massimiliano Cuccia

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

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


[jboss-user] [JBoss jBPM] - Re: Evaluating jBPM : compliance with workflow patterns

2007-09-24 Thread oschmitt31
Not easy at all to put yes or no in my matrix !

The test classes names have no relationships with workflow patterns ...

If the jBPM team can help i will really appreciate.

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

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


[jboss-user] [JBoss Portal] - JBoss Portal 3

2007-09-24 Thread sbozdag
I watched a presentation from videos section about JBoss Portal yesterday. 
There was a roadmap there saying that JBoss Portal 3 was planned to be released 
in 2007.

Anybody knows when v3 will be released?

thanks 

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

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


[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome

2007-09-24 Thread mustaghattack
You may have to parameterize your BookingHome : try

  | public class BookingHome B extends Booking  extends EntityHome B  {
  | 
and then


  | public class BulkBookingHome extends BookingHomeBulkBooking { 
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Any issues migrating web apps from jboss 4.0.1 to jboss 4.2.

2007-09-24 Thread njs
Hi there

Can any one tell me if there's anything that needs to be done when migrating a 
struts web app from jboss 4.0.1 to jboss 4.2.0.GA?

My app works fine on the older version but has jsp compilation errors when on 
the new version.

Thanks

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge cannot find session with QOS_ONCE_AND_ONLY_ONCE

2007-09-24 Thread julians37
Since there's been no follow-up, let me quickly summarize this issue from my 
point of view:

First of all, your advice of using unique ServerPeerIDs across the board fixed 
this issue for me, and in my environment it is a viable solution. So let me say 
thanks a lot for sticking with me and helping me track this one down, I 
appreciate your help and patience very much.

From this point on it's not about solving a problem of mine but rather I'm 
just making suggestions as to how JBM as a product could become better by 
making its setup and its interoperation with other JBM providers smoother.

All I'm saying is that from my point of view, the requirement of having to 
explicitly assign unique IDs to nodes in a cluster is cumbersome to begin with, 
but having to make sure they are unique across clusters appears unfortunate. I 
do not have a personal interest in getting this improved but I would suggest to 
look into ways of simplifying the configuration process.

Speaking with my limited background on JBM internals, one approach might be to 
try and take into account more information than the ServerPeerID. The partition 
a node is part of could be one such piece of information. Whether a node is 
clustered at all could be another since if it's not, there is no point in 
assuming a peer could be the same as this node.

Another approach might be to not default the ServerPeerID to a numeric constant 
but rather, if that's possible at all, to a string identifier derived from 
information such as an external interface address of localhost and possibly a 
port number.

At any rate, thanks once more for your patience and your advice and I'm sorry 
should my last posts have come off as confrontational.

All the best,

Julian


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

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


[jboss-user] [JBoss Seam] - Re: how to force ajax region refresh

2007-09-24 Thread alanlynott
We've experienced lots of problems with rerendering a4j:outputpanels and have 
switched to s:div to resovle the problems. 

The problem appears to be with RichFaces so I'm hoping the future release that 
incorporates ajax4jsf removes these problems. 

But for now switch to s:div.

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

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


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

2007-09-24 Thread alesj
[EMAIL PROTECTED] wrote : Ales, please try with current CVS, I've fixed the 
drools problem, and put a temporary fix in place for the commons-beanutils 
problem.

Great, it works now, no more UnboundedFifoBuffer exception. :-)
Thanks Pete!

But now I'm getting this - for every request where jbpm is used:

  | 13:36:42,546 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: [EMAIL PROTECTED]
  | java.lang.Throwable: STACKTRACE
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getConnection(DbPersistenceService.java:178)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:101)
  | at org.jbpm.JbpmContext.getSession(JbpmContext.java:506)
  | at 
org.jboss.seam.bpm.ManagedJbpmContext.joinTransaction(ManagedJbpmContext.java:88)
  | at 
org.jboss.seam.bpm.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:73)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  | at org.jboss.seam.Component.unwrap(Component.java:2109)
  | at org.jboss.seam.Component.getInstance(Component.java:1888)
  | at org.jboss.seam.Component.getInstance(Component.java:1853)
  | at org.jboss.seam.Component.getInstance(Component.java:1830)
  | at org.jboss.seam.Component.getInstance(Component.java:1825)
  | at 
org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
  | at 
org.jboss.seam.bpm.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:32)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
  | at org.jboss.seam.util.Work.workInTransaction(Work.java:40)
  | at 
org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
  | at 
org.jboss.seam.bpm.PooledTaskInstanceList_$$_javassist_5.getPooledTaskInstanceList(PooledTaskInstanceList_$$_javassist_5.java)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at 

[jboss-user] [JBoss Seam] - Please decouple seam-gen from JBoss

2007-09-24 Thread Grandfatha
I was thinking about requesting a feature concerning seam-gen for a long time. 
That feature would have been to make seam-gen aware of other containers such as 
Glassfish and more important Tomcat.

Although I am happy to see that there is work in progress to decouple seam-gen 
from JBoss AS(*), I think it is quite disappointing that you rule out Tomcat 
like that. Bringing Tomcat to seam-gen would help Seam adoption much more then 
Glassfish imho, because the biggest concern about Seam adoption is still the 
environment restriction it emposes. By aggressively showing RAD with seam-gen 
on a container like Tomcat, much of the Do i need to use EJB on one of those 
huge and complicated appservers?-FUD could be negated.

As Michael Yuan pointed out in his blog ( 
http://www.michaelyuan.com/blog/2007/07/24/seam-20-and-tomcat/ ), there are two 
ways to use Seam on Tomcat, either with Embedded JBoss MC or without the MC but 
restricted to Seam POJOs. If that is the case, why is it so hard to ask the 
user during seam-setup which container he chooses and if he enters Tomcat, then 
ask which of these two options should be used.

My concern for this issue relies in the fact that in my company we evaluated 
Seam and found its features quite nice, especially for a new project that needs 
JSF components ajaxified with each other. It was great to read about seam-gen, 
a tool that supposedly should get you started with the project structure and 
build process. Unfortunately a lot of development effort has been done using 
Spring/Hibernate on Tomcat during the last years and therefor all of 
theapplications are hosted on a unique instance of Tomcat. 


I think I am by far not alone with an environment like that. If you want to 
compete with Spring, you need to be able to live in the same environment that 
Spring does. This is the only way that you can make developers choose Seam for 
their next project. Because in real life, no one will port their production 
applications to a different container/appserver JUST to make the new project 
executable.


(*) http://jira.jboss.org/jira/browse/JBSEAM-1619

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

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


[jboss-user] [JBoss Seam] - Re: Please decouple seam-gen from JBoss

2007-09-24 Thread [EMAIL PROTECTED]
Less requesting and more contributing, please.


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

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


[jboss-user] [JBoss Seam] - Seam 2 on Websphere 5

2007-09-24 Thread thejavafreak
Dear all,

I am assigned a task to deploy Seam apps on Websphere 5. No EJB3 is applied, 
just a plain POJO. Has anyone succeed deploying Seam apps on Websphere 5. What 
are the issues and the workaround?

If the issues is too much, we are considering not to use Seam instead.

Thanks in advance

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

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


[jboss-user] [JBoss jBPM] - Problem using expression language in a process definition (T

2007-09-24 Thread sonicfab
I'd like to use jBM's expression language so that a Timer can obtain its 
duedate parameter from the ContextInstance of the process. I've tried this :
process-definition
  |   xmlns=urn:jbpm.org:jpdl-3.0  
name=com.bt.intfwk.businesslayer.jbpm.processes.timertest
  |start-state name=start
  |   transition name= to=TimerNode/transition
  |/start-state
  |node name=TimerNode
  | timer name=testTimer
  | duedate=#{contextInstance.dueDate} 
  |  action class=com.bt.intfwk.testjbpm.TimedAction /
  | /timer
  |   transition name= to=end1/transition
  |/node
  |end-state name=end1/end-state
  | /process-definition

and I get an error message telling me that my XML is not valid. I've also tried 
without the quotes around #{contextInstance.dueDate} and it doesn't work either.

Ideas please ?

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

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


[jboss-user] [JBoss Seam] - Re: I cannot get this test through, please help

2007-09-24 Thread transvia
The problems are that:

1)I don't want to use HSQLDB
2)I don't want the test drop and create tables for me for every test.

So, can I configure the datasource and persistence files that allow me to use 
MySQL with existing data? if I can, please let me know how can I do it?

thanks

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does the alt-dd Descriptor actually work in JBoss

2007-09-24 Thread [EMAIL PROTECTED]
JBossAS version?

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

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


[jboss-user] [JBoss Seam] - Re: Please decouple seam-gen from JBoss

2007-09-24 Thread [EMAIL PROTECTED]
As Christian says, this is a great area to contribute back to Seam in. It's not 
hard at all to ask the user what server he wants to build for (or perhaps 
better  IMO to provide all options in the generated project) - it just needs 
someone to write up the ant and configuration files :)

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

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


[jboss-user] [JBossWS] - Re: JBossWS supports pluggable Web Service stacks

2007-09-24 Thread [EMAIL PROTECTED]
Currently, we are working on CXF integration issues, which unfortunately are 
still delaying the release.

Native and Metro integration is completed already. You can try  the latest from 
trunk.

http://jbws.dyndns.org:8180/hudson/

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does the alt-dd Descriptor actually work in JBoss

2007-09-24 Thread StevenTowler
The project in question is an EJB3 project in a 4.2.1GA JBoss Application 
Server. 

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

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


[jboss-user] [EJB 3.0] - Re: resource-ref problem

2007-09-24 Thread ejb3workshop
It has been a while since you post, but did you ever get this resolved. I am 
currently encoutering the same probem in a cluster of 2 VMs. 

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

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


[jboss-user] [JBossWS] - Using inheiritance with WSDL

2007-09-24 Thread viniciuscarvalho
Hello there! Although this is not related specific to JBossWS, since I'm using 
it as my Webservice stack, I was wondering if I could get some assistance here.

I'd like to know if I can get inheritance using WSDL, let me try to explain:

Suppose I have a complexType of Command:


  | xsd:complexType name=command
  | xsd:sequence
  |  xsd:element name=id type=xsd:int/
  | /xsd:sequence
  | /xsd:complexType
  | 

Well, that would be my base entry point for my WSLD operation: executeCommand.

Now, application should be enabled to grow by having new types of commands:


  | xsd:complexType name=proxyCommand
  | xsd:complexContent
  | xsd:extension base=command
  | ...
  | /xsd:extension
  | /xsd:complexContent
  | /xsd:complexType
  | 

Since, the message sent from the client will be different than the one expected 
by the broker (even they share same ancestor). I'm wondering if this strategy 
will work. My main concern is if the client use some kind of wsld2java 
generation tool, he will have a simple command that do not represent the real 
command needed to be executed.

One approach I found is to declare the command as an element type, so It could 
receive any XML, but this loose coupled message is not what I'd like to have.

Any ideas?

Regards

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

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


[jboss-user] [Beginners Corner] - setting the value of small-icon

2007-09-24 Thread simonjpalmer
I'm obviously looking in the wrong places, but can someone describe how I am 
supposed to set the value of small-icon so my servlet displays its own icon in 
the browser title bar?

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

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


[jboss-user] [JBoss jBPM] - dynamic task creation

2007-09-24 Thread pfreitas
Hi guys!
I'm from brazil and I'm having some problems with dynamic task creation...

I got a 
failed to lazily initialize a collection of role: 
org.jbpm.context.exe.ContextInstance.tokenVariableMaps

when a I call 


  | TaskMgmtInstance mgmt = pInstance.getTaskMgmtInstance();
  | mgmt.createTaskInstance(task, getExecutionContext());
  | 

it seams that isn't possible to initialize tokenVariableMaps collection...

while i'm debbuging i see a lot of objects that's loaded by CGLazyInitialize
but only tokenVariableMaps fails...

does anybody knows how to fix that?



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

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


[jboss-user] [JBoss Seam] - Re: 1.2.1-2.0.0 migration: No active application scope

2007-09-24 Thread franciscoacb
Hi wise_guybg.

Although I have said ...was working in Seam 2.0.0.Beta1 but stopped working in 
2.0.0.CR1. I'm not sure the issue is a bug or a redesign. I'll let the answer 
to the framework developers.

Thanks.
Francisco Antônio.



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

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

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


[jboss-user] [JBoss Messaging] - DefaultMaxDeliveryAttempts doesn't work (JBM 1.4.0.CR2)

2007-09-24 Thread noxis
Hello.

DefaultMaxDeliveryAttempts is set to 10 by default.

Let's test:

MDB:

  | public void onMessage(Message msg) {
  | try {
  | System.out.println(test);
  | mdc.setRollbackOnly();
  | } catch (Throwable te) {
  | te.printStackTrace();
  | mdc.setRollbackOnly();
  | }
  | }
  | 


MyQueue:

  | ?xml version=1.0 encoding=UTF-8?
  | server
  | mbean code=org.jboss.jms.server.destination.QueueService 
name=jboss.messaging.destination:service=Queue,name=testAttempts 
xmbean-dd=xmdesc/Queue-xmbean.xml
  | depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  | dependsjboss.messaging:service=PostOffice/depends
  | attribute name=RedeliveryDelay5000/attribute
  | /mbean
  | /server
  | 

Ok, works great - 10 attempts.

Let's change RedeliveryDelay to 1. And... only 9 attempts! With 
RedeliveryDelay = 2, 5 attempts.

Is this ok?

Tested with JBM 1.4.0.CR2, JBAS 4.2.1.GA.


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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-09-24 Thread hispeedsurfer
hi juntao,

I know that I can cancel the timer with QuartzTriggerHandler, but if the 
process is already called the first time and there some other calls in the 
future(i.e. daily calls) I can't cancel the timer this way.

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

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


[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-09-24 Thread NM-156
Thanks a lot for the info. Here is one of the posts that creative is referring 
to:

http://www.jboss.com/index.html?module=bbop=viewtopicp=4073177#4073177[/quote]

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

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


[jboss-user] [Beginners Corner]Need some pointers in Atlanta[Beginners Corner

2007-09-24 Thread Stephen Davidson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings.

New contract - I am switching to JBoss, and the contract includes
upgrading the project from 3.2.8 to 4.2.1.  I have most of the issues
worked out, but I still have a few (basic) questions about logging and
request forwarding.

Would I be able to meet up with somebody in Atlanta for an hour or two?
 Willing to pay fees, coffee, lunch, dinner, beer, whatever, to get
these last couple of glitches done.

Please call me at 214-724-7741 (I know, that's not Atlanta, just there
visiting family for a few weeks).

Thanks,
Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG97WvPtiPEDq7o8YRAt64AJ48Ofsg0+XhMpliVdl6qzDxWG/HbACg1LL6
Cp0Fip8Xtaink7Rn7h7oTfc=
=nYcs
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Please decouple seam-gen from JBoss

2007-09-24 Thread Yacho
AFAiK there are eclipse profiles for AS'es other than JBoss - in that case 
creating eclipse project for seam is possible and quite easy (if i did it 
anyboty can :) plus it gives you way more flexibility than seam-gen generated 
structure.

If there's such need i Can write a tutorial about setting up project in pure 
eclipse without seam-gen's help.

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

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


[jboss-user] [JBoss Seam] - Migrating to seam 1.2.1

2007-09-24 Thread Jayaranga
Hi All,

we were using seam 1.0.1 and decided to upgrade seam to version 1.2.1 (since 
its the latest version on product)

i need to keep configurations as follows:
jboss : 4.0.5
tomcat : 5.5
jsf : 1.1.6

what i did was :
1. download and copy jboss-seam.jar to my ear
2.place jboss-seam-ui.jar inside .war/WEB-INF/lib

web.xml (only a fragment)

  | ?xml version=1.0 encoding=UTF-8?  
  | web-appxmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
  | !-- Seam --
  | 
  |  listener
  | 
listener-classcom.sun.faces.config.ConfigureListener/listener-class
  | /listener
  | 
  |   listener
  | listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  |   /listener
  | 
  | context-param
  | param-namejavax.faces.STATE_SAVING_METHOD/param-name
  | param-valueclient/param-value
  |   /context-param
  | 
  | context-param
  | param-namemy.SERVER_STATE_SAVING_METHOD/param-name
  | param-valueAvailability/param-value
  | /context-param
  | 
  | 
  | context-param
  | param-namejavax.faces.CONFIG_FILES/param-name
  | 
param-value/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml/param-value
  |   /context-param
  | 
  | 

Faces-config.xml

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE faces-config 
  | PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN
  | http://java.sun.com/dtd/web-facesconfig_1_0.dtd;
  | 
  | !--
  |  Copyright 2005 Sun Microsystems, Inc. All rights reserved.
  |  SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  | --
  | 
  | faces-config
  | 
  |   !-- Phase listener needed for all Seam applications 
org.jboss.seam.jsf.TransactionalSeamPhaseListener --  
  | lifecycle 
  | phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener
  |  /lifecycle 
  | 
  | 
  |  application 
  |   
variable-resolverorg.jboss.seam.jsf.SeamVariableResolver/variable-resolver 
  |   
property-resolvermypackage.SetToListPropertyResolver/property-resolver
  |   /application
  | 
  | 
  | 
  | 
  | /faces-config
  | 

component.xml

  | ?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.1.xsd
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd;
  | 
  | 
  |   core:init 
  | jndi-pattern=BackOffice/#{ejbName}/local 
  | debug=true/
  | 
  | 
  | core:manager conversation-timeout=12
  | concurrent-request-timeout=500
  | conversation-id-parameter=cid
  | conversation-is-long-running-parameter=clr/
  |   core:dispatcher /
  | 
  | /components
  | 

managed-beans.xml (fragment)


  | 
  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE faces-config PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer 
Faces Config 1.1//EN
  |   
http://java.sun.com/dtd/web-facesconfig_1_1.dtd;
  | faces-config
  | managed-bean
  | managed-bean-nameSessionBean1/managed-bean-name
  | managed-bean-classr5.SessionBean1/managed-bean-class
  | managed-bean-scopesession/managed-bean-scope
  | /managed-bean
  | 

im unable to deploy my ear, which was previously run on seam 1.0.1. 
its giving following exception


  | 2007-09-24 18:12:44,707 ERROR [STDERR] javax.faces.FacesException: 
com.sun.faces.lifecycle.LifecycleFactoryImpl
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:411)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:702)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | 2007-09-24 18:12:44,708 ERROR [STDERR]  at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | 2007-09-24 

[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome

2007-09-24 Thread damianharvey
Thanks Mushtag but it's working fine with Matt's solution. Also BulkBooking 
isn't an Entity. BulkBookingHome is just a way of creating a Booking entity 
using some different logic.

Cheers,

Damian.

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

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


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

2007-09-24 Thread [EMAIL PROTECTED]
I've just given the dvdstore example a spin (which also uses jbpm) and I'm not 
seeing any errors so I don't think this is a packaging problem.

I would suggest starting a new topic.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - JMS Message Size Limitations

2007-09-24 Thread babernat
All,

I am running JBoss 4.0.3SP1 which has several Topics that are used by 
applications to asynchronously send data to one another. One application in 
particular is trying to send a sizable TextMessage over the topic. The size is 
about 30MB.

I am seeing some exceptions on occasion that seem to be related to the message 
size. I've already switched out the persistence manager and the only way I can 
seem to get the exceptions to go away is to forcefully reduce the message size 
by breaking them up into many smaller ones which doesn't really follow our 
design. 

The question I have is, is there a natural limit to how big the messages can 
be? Is there a configurable limit?

Thanks.

Ben

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

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


[jboss-user] [JBoss Seam] - Re: s:transform server side usage

2007-09-24 Thread schmod54
I have the same problem.  Someone filed it as a bug...  I voted for it.

http://jira.jboss.com/jira/browse/JBSEAM-1788


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

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


[jboss-user] [JBoss Seam] - Re: @in(create=true) not working !

2007-09-24 Thread david.spark
 I get the same problem after upgrading from Seam 2 Beta to CR1. I also the 
same error for @Out annotated variables too. The full error trace is:
14:25:21,093 ERROR [SeamPhaseListener] uncaught exception
  | javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: In 
attribute requires non-null value: bookingManager.event
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  | at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
  | at org.jboss.seam.navigation.Pages.callAction(Pages.java:636)
  | at org.jboss.seam.navigation.Pages.preRender(Pages.java:289)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | Caused by: javax.ejb.EJBTransactionRolledbackException: In attribute 
requires non-null value: bookingManager.event
  | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy126.bookNewEvent(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 

[jboss-user] [JBoss Seam] - Re: 1.2.1-2.0.0 migration: No active application scope

2007-09-24 Thread matt.drees
I think the developers would appreciate a jira.  They can always close it if 
they feel it's not a bug.  (Though in this case, I'm fairly certain it is).

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS prompting for XDB Username password.

2007-09-24 Thread [EMAIL PROTECTED]
This is because Oracle 9i (from what I remember) installs XDB on 8080. There is 
simply a conflict between the two. You will either have to  change the Tomcat 
port from 8080, or uninstall XDB. 

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

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


[jboss-user] [EJB 3.0] - Re: Annotation support for XMBeanAttributePersistenceService

2007-09-24 Thread igorzolnikov
Hello!

Did somebody try it? How it works?

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

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


[jboss-user] [EJB 3.0] - Re: XMBean description for @Service annotated mbeans

2007-09-24 Thread igorzolnikov
Hello!

Did somebody try it? How it works?

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

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


[jboss-user] [Microcontainer] - AnnotationProxy toString doesn't add annotation name

2007-09-24 Thread wolfc
In comparison with the AnnotationInvocationHandler, the AnnotationProxy might 
also add the annotation name in toString.
[EMAIL PROTECTED]: {value=pojo} 
  | Annotation org.jboss.example.microcontainer.annotations.Name exists  on 
class org.jboss.example.microcontainer.annotations.POJO
  | [EMAIL PROTECTED]: 
@org.jboss.example.microcontainer.annotations.Name(value=pojo2) 
  | Annotation org.jboss.example.microcontainer.annotations.Name exists  on 
class org.jboss.example.microcontainer.annotations.POJO2
Shall I create an issue?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss JSTL Datasource issue

2007-09-24 Thread mkumar79
Got it working. Had to remove the var variable from the sql:setDatasource 
tag

sql:setDataSource dataSource=java:/jdbc/oracleDS/ 




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

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


[jboss-user] [JBoss Seam] - Re: s:transform server side usage

2007-09-24 Thread wquraishi
i've voted for it as well.  let's get this fixed...considering quite a number 
of images out there are gifs.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Fetch Type Eager But Objets not retrieved

2007-09-24 Thread Kurdt
Hi All guys

I hope this is not so newbie question, I was an EJB2 developer in the past, and 
I made the switch to EJB3 with Hibernate, I have an entity defined like this:


  | @Entity
  | @Table(name=USER)
  | public class User implements Serializable {
  | 
  | private Long id;
  | private String full_name;
  | private String username;
  | private Level level;
  | 
  | [...]
  | 
  | @OneToOne(fetch=FetchType.EAGER,cascade=CascadeType.MERGE)
  | public Level getLevel() {
  | return level;
  | }
  | public void setLevel(Level level) {
  | this.level = level;
  | }
  | 
  | 

Level is another entity, and a table One to One relation at Database.

The problem is that when I retrieve one User from the DB the level object 
is not being populated (it is null), even that I set the Fetch Type to Eager.

What am I missing?

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

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


[jboss-user] [JBoss Seam] - Re: I cannot get this test through, please help

2007-09-24 Thread transvia
I tried for serveral time, it report connectiong errors when I change the test 
database to MySQL. What I did is copy the persistence-dev.xml and edit it for a 
little. However, it seems does not work correctly.

can you provide more details about how to do this? or suggest an example?


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

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


[jboss-user] [JBossWS] - Re: WS Clinet working as a standalone but not when I deploye

2007-09-24 Thread [EMAIL PROTECTED]
anonymous wrote : Unsupported content type: text/html;

Looks like the remote side returns the wrong content-type header. It should be 
text/xml

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

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


  1   2   3   >