[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?

2007-07-02 Thread [EMAIL PROTECTED]
Since version 2.0.0, Remoting has preceded each message on the wire with a 
version byte.  The valid version bytes, currently, are 1, 2, and 22.  If you 
are using the same version of Remoting on the client and server, there 
shouldn't be a problem.  

But, you said you are using telnet as the client, which, of course, doesn't 
send a version byte.  If you are using Remoting 2.0.0+, the default behavior is 
to treat the first available byte on the stream as a version byte, in this case 
a 't'.  

You want to turn off versioning.  If you set the system property 
jboss.remoting.pre_2_0_compatible to true on the server side, Remoting will 
think it is talking to a pre 2.0.0 version of Remoting and will not expect a 
version byte.

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

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


[jboss-user] [JBoss jBPM] - Re: No JbpmConfiguration class def found in jBPM-jpdl 3.2.1

2007-07-02 Thread masipu
I had to copy C:\jboss\jbpm-jpdl-3.2.1\deploy\jbpm-enterprise.ear to 
C:\jboss\jbpm-jpdl-3.2.1\server\server\jbpm\deploy

Still this doesn't work but at least the error message changed. It's sorry to 
see that newer versions of jBPM isn't always compatible with older versions. In 
my opinion, this is major problem since I can't use old code with new versions.

Well.. they must sell support so.. lets try to live with it..

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

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


[jboss-user] [JBoss Seam] - Single use component

2007-07-02 Thread monkeyden
I'd like to create a component that will do some outjecting to session, on 
startup of the session, but then I'd like it to go away.  I currently use 
@Startup and it works well.  I just don't need the component afterward.  
Because it has to outject several things I wasn't sure if @Unwrap was the right 
approach.  Is this possible?

Note: It would be much more ideal if I could go to application scope instead, 
but it relies on messages, which is a session scoped component. 

Thanks!

PS: A small thing but, I have discovered the many wonders of the Seam event 
model.  Yet another great, useful and easy to use feature.  And best of all, I 
don't have to develop it!

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

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


[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-07-02 Thread robin.hultman
I did as rmemoria suggested and made a new project with seamgen and cut and 
pasted my code.

However I ran into another problem, when I open one of my xhtml pages in 
Internet Explorer everything works fine, however when I open the same page in 
Firefox it thinks it is an xml file and displays the code.

What have I missed?

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

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


[jboss-user] [JBoss Seam] - option values generated by s:selectItems

2007-07-02 Thread chrismalan
The following html is generated:
option value=0admin/option
  | option value=1manager/option
  | option value=2user/option

It should be this:
option value=adminadmin/option
  | option value=managermanager/option
  | option value=useruser/option

This comes from the Role class which has an @Id annotation for the primary key, 
which is a String.

The code that produces the selectOneMenu looks like this:
h:selectOneMenu value=#{role.name} required=true id=roleSelect
  |   s:selectItems value=#{roles} var=role label=#{role.name} 
noSelectionLabel=Please Select.../
  |   s:convertEntity /
  | /h:selectOneMenu

role is the name of the entity bean, or it can be the name of the factory 
specified in components.xml - I've tried both ways.   

roles can either be an outjected List or the name of the query specified in 
components.xml.  Again, I've tried both ways.

The option labels are always faithfully produced.  It's the values...

This is what the relevant part of components.xml looks like when it is used:
framework:entity-query name=roles ejbql=select r from Role r order by 
r.name /
  | framework:entity-home name=roleHome 
entity-class=au.com.databaseapplications.persistence.Role /
  | factory name=role value=#{roleHome.instance} /
  | 

I've looked at the ui examples, over and over.  I've tried 
roleHome.instance.name instead of role.name in h:selectOneMenu value=

The results are the same.

Any idea how I can get the option values to be correctly generated?

This is Seam 1.2.1 on JBoss 4.2.0

Thanks,

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

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


[jboss-user] [JBoss jBPM] - Re: No JbpmConfiguration class def found in jBPM-jpdl 3.2.1

2007-07-02 Thread kukeltje
This has nothing to do with selling support.

The starterkit is the starterkit,  completely preconfigured and ready to run AS 
IS.

If you want to run jBPM on other appservers, look at the source. There are ant 
targets there for creating 'binaries' for other versions.

Compatibility between 3.1 and 3.x releases IS guaranteed with the help of 
update scripts etc... 

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

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


[jboss-user] [JBoss jBPM] - Re: #{taskInstance} is null on Notify='yes'

2007-07-02 Thread [EMAIL PROTECTED]
i created http://jira.jboss.org/jira/browse/JBSEAM-1594

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

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


[jboss-user] [JBoss Seam] - Re: how to upload file ?

2007-07-02 Thread hispeedsurfer
Have a look at seam/examples/seamspace.

register2.xhtml and the correspondending bean show how to use fileupload with 
seam.

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

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


[jboss-user] [JBoss Seam] - DataModel with s:link or s:button Error

2007-07-02 Thread Jason.Qin
the link:

http://jira.jboss.org/jira/browse/JBSEAM-1582

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

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


[jboss-user] [Clustering/JBoss] - Cluster Restart/Failover with EJB3 Stateless

2007-07-02 Thread RedChili
Hello,

We are using a clustered JBoss environment with an EJB3 based application. The 
client application connects to multiple beans (one for every panel) and thus 
has multiple proxy interceptors.
Now we have tested failover with the following scenario:
3 JBoss Nodes forming one partition, from those 3 nodes we fail one or two (see 
steps below). On the Client Application we are only using two panels each using 
a different bean (resulting in two client proxy interceptors), and try to 
access the application server.

These are the steps taken in our test case:

  | R...JBoss Node is running and member of the partition
  | S...JBoss Node is stopped and not member of the partition
  | P1,P2...Panels in the application (different client proxies)
  | (#).Number of connect try/request from the panel
  | nr..requests weren't routed to that node (though they should I guess))
  | if a column is blank no tries were made from that panel
  | 
  |   | JBoss 1 | JBoss 2 | JBoss 3 |  Proxy Knowledge of Nodes
  |   |R|R|R|
  | P1|  OK (1) |  OK (2) |  OK (3) |  1,2,3
  | P2|  OK (1) | | |  1,2,3
  | -
  |   |S|R|R| 
  | P1|-| OK (1,2)|-|  2,3 (updated with request)
  | P2| | | |  1,2,3 (no update)
  | -
  |   |R|R|R|
  | P1|nr   | OK (1,3)| OK (2,4)|  1,2,3 (updated with request)
  | P2| | | |  1,2,3 (no update)
  | -
  |   |R|S|R|
  | P1| OK (1,2)|-|  OK (3) |  1,3 (updated with request)
  | P2| OK (1)  |-|  OK (2) |  1,3 (updated with request)
  | -
  |   |R|R|R|
  | P1| |  OK (1) | |  1,2,3 (updated with request)
  | P2| | | |  1,3 (no update)
  | -
  |   |S|R|S|
  | P1| |  OK (1) | |  2 (updated with request)
  | P2| | FAILED! | |  1,3 (no update possible!)
  | 

My conclusion is, as stated in the JBoss Cluster manual, that the panel 2 proxy 
(P2) doesn't get an cluster state update between only 1 and 3 running and only 
2 running. Thus it still tries to contact 1 and 3 and fails. For this panel it 
looks like the whole cluster has been restarted and it can't recover from that.

Now the simple question is: Is there a similar technique to handle a cluster 
restart in EJB3 (as described here 
http://docs.jboss.com/jbossas/guides/clusteringguide/r2/en/html/cluster.chapt.html#clustering-session-slsb21-retry
 for EJB2)?

Tanks,
Reinhard

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

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


[jboss-user] [Beginners Corner] - JBoss with OSCache: Storing arraylist-formatted data, fetche

2007-07-02 Thread rasor22
Hi To All,

I currently am a JBoss beginner and have a project which involves the following 
scenario (1 and 2 must all occur before JBoss is fully started).


1. I have to create a component that will call an MS SQL stored proc (sp). This 
sp will fetch a huge amount of structured data more than 200MB. Once this is 
fetched, the data will be formatted into an array list.

2. This 200MB+ arraylist-formatted data will be stored as a cache into oscache 
with a unique key. This all happens before the JBoss is completely started.

3. While the web server is in service and calls an action class method, the 
method will check for the oscache entry with the unique key. It must see that 
cache/key so it won't have to re-fetch that data and put it in a bean, since 
fetching the data and processing it within the action class entails processing 
time of 1.25 hours.

4. The cache entry is set as alive throughout the web application life span, so 
this must occur only during JBoss startup. This  means binding the component 
within JBoss so the component will be able to see oscache static instance, 
perform the 1 and 2 process, and store the formatted data to oscache before 
JBoss is fully started.


I can create a java component to do this, but how will it be binded to JBoss 
making sure that the component can communicate to the oscache instance even 
before JBoss is fully started?

I know the info I gave may be incomplete, although I would like to add that 
this is a J2EE application with JBoss, MVC, JSP, JavaBeans, and Struts.

Thank you very much in advance for any help!

Ritchie

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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread hispeedsurfer
if you have the following in components.xml
core:managed-persistence-context name=entityManager
  |   auto-create=true
  |persistence-unit-jndi-name=java:/TestEntityManagerFactory/

you can use
@In(create=true)
  | private EntityManager entityManager;

But one question. Why you have managed-bean stuff in faces-config.xml?
This should be handelt from your annotations in your bean, I think!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Unable to start a JBAS 4.2.0.GA with JBossTools-20070630

2007-07-02 Thread Rhodan76
Same problem here with JBossTools-200706300254-nightly-ALL-win32.zip and  
Eclipse-Europa GA release. Any hint to fix this ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Before Server Started: Binding Component And Storing Cache T

2007-07-02 Thread rasor22
Hi To All,

Please allow me to reiterate my problem here. This may be a beginner question 
but this is more related to Hibernate. I have a project which involves the 
following scenario (1 and 2 must all occur before JBoss is fully started).


1. I have to create a component that will call an MS SQL stored proc (sp). This 
sp will fetch a huge amount of structured data more than 200MB. Once this is 
fetched, the data will be formatted into an array list.

2. This 200MB+ arraylist-formatted data will be stored as a cache into oscache 
with a unique key. This all happens before the JBoss is completely started.

3. While the web server is in service and calls an action class method, the 
method will check for the oscache entry with the unique key. It must see that 
cache/key so it won't have to re-fetch that data and put it in a bean, since 
fetching the data and processing it within the action class entails processing 
time of 1.25 hours.

4. The cache entry is set as alive throughout the web application life span, so 
this must occur only during JBoss startup. This means binding the component 
within JBoss so the component will be able to see oscache static instance, 
perform the 1 and 2 process, and store the formatted data to oscache before 
JBoss is fully started.


I can create a java component to do this, but how will it be binded to JBoss 
making sure that the component can communicate to the oscache instance even 
before JBoss is fully started?

I know the info I gave may be incomplete, although I would like to add that 
this is a J2EE application with JBoss, MVC, JSP, JavaBeans, and Struts.

Thank you very much in advance for any help!

Ritchie

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

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


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

2007-07-02 Thread avbentem
amitev wrote : How is the remember me functionality working?
E... When a browser sends a request to a web server, it will also send any 
cookie it knows for that domain to the server. If that's new for you, then I 
guess you should read about cookies, and meanwhile also read a bit on HTTP 
sessions. Even reading about the HTTP protocol, though not Seam-specific at 
all, might be very useful. For example: search the net for an example about 
doing a HTTP request yourself, using telnet. Quite useful for anyone developing 
web applications, I feel.

Anyway, in this case: the browser only knows the username, as you noticed in 
the cookie. So it will send the username to the server, and Seam can preset the 
username in the login form. The browser does not send any password to the 
server. If the password is filled in as well, then your browser is to blame for 
that.

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

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


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

2007-07-02 Thread amitev
So the whole idea for rememberMe is just to remember the username and add it to 
the userName filed in the login form?

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

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


[jboss-user] [JBoss Portal] - JBoss Portal 2.6 Release

2007-07-02 Thread [EMAIL PROTECTED]
The JBoss Portal team is very happy to release JBoss Portal 2.6 GA.

Download it from that page 
http://labs.jboss.com/portal/jbossportal/download/index.html
Documentation is also available online 
http://labs.jboss.com/jbossportal/docs/index.html

It is a major step forward for the project with the following features:

- Personal user dashboards
- New management portlet
- WSRP 1.0 Compliance
- Content Provider framework
- Google gadget integration
- Flexible LDAP integration
- Flexible error handling configuration
- Portal API improvement
- Partial page refresh for portlet
- JMX invocation statistics of portlets
- CMS security improvements
- CMS Workflow
- CMS integration improved
- Full implementation of JSR 168 portlet caching



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

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


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

2007-07-02 Thread amitev
I thought it  is working like rememberMe in gmail

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

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


[jboss-user] [JBoss Seam] - @CreateProcess and process id

2007-07-02 Thread szaccaria
Hello to all, somebody know how retriew the ProcessId after to have create a 
process with  @CreateProcess annotation?
Es.:


  | @CreateProcess(definition=processName)
  | public void parse() 
  | {
  | //get processID and make something with...
  | ...
  | ...
  | }
  |  

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

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


[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-07-02 Thread bvogt
In Portal 2.4 we did it by a portlet extending JBossPortlet, which is placed on 
every page. This portlet renders either a ling or logout link. On logout you 
can pass the redirect URL to JBossActionResponse.signOut(String).

May be 2.6 has a smarter solution for integrating this using the 
pageInterceptor?

Hope this helps a bit.

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

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


[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?

2007-07-02 Thread hurzeler
Thanks for that. Do I turn off the versioning programatically in for example my 
SimpleInputStreamWrapper or do I do this in the jboss-service.xml file of my 
socket server or may be as -D argument to jboss. However the last option is 
probably not a good idea as it would turn off the versioning for all other 
remoting services as well. Please advice. Thanks

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

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


[jboss-user] [JBoss Seam] - Problem writing unit tests

2007-07-02 Thread Alpha1251
Hello all.
I was trying to write a simple unit test for Seam hotel booking example and had 
some troubles. Seam 1.2.1GA

Test was the following
@Test
public void test_1_COMPONENT_CreateUser () throws Exception {

EntityManagerFactory emf = 
Persistence.createEntityManagerFactory(bookingDatabase);
final EntityManager em = emf.createEntityManager();

em.getTransaction().begin();

User user = new User();
user.setUsername(blabla);
user.setName(foobar);
user.setPassword(foobar);
RegisterAction action = new RegisterAction();
//action.setUser(user);
setField (action,user,user);
action.setEm(em);
action.setVerify(foobar);

action.register();

assert action.isRegistered()==true;

em.getTransaction().commit();
em.close();
}

And I had the following exception

javax.persistence.PersistenceException: org.hibernate.QueryException: 
unexpected char: '#' [select u.username from 
org.jboss.seam.example.booking.User u where u.username=#{user.username}]
at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567)
at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:79)
at 
org.jboss.seam.example.booking.RegisterAction.register(RegisterAction.java:36)
at 
org.jboss.seam.example.booking.test.CreateUserTest.test_1_COMPONENT_CreateUser(CreateUserTest.java:36)
Caused by: org.hibernate.QueryException: unexpected char: '#' [select 
u.username from org.jboss.seam.example.booking.User u where 
u.username=#{user.username}]
at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:110)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1612)
at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:76)
... 24 more

but I seems, that the main cause is the following

09:44:14,331 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.j2ee:jar=bin,name=Dispatcher,service=EJB3 state=Create
javax.naming.NamingException: Could not bind statless proxy with ejb name 
Dispatcher into JNDI under jndiName: /Dispatcher/local [Root exception is 
javax.naming.NameAlreadyBoundException]
at 
org.jboss.ejb3.stateless.BaseStatelessProxyFactory.start(BaseStatelessProxyFactory.java:70)
at 
org.jboss.ejb3.stateless.StatelessLocalProxyFactory.start(StatelessLocalProxyFactory.java:63)
at org.jboss.ejb3.ProxyDeployer.start(ProxyDeployer.java:107)
at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:85)
at 
org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
 

[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread g00se24
You don't need

  | @In(create=true)
  | EntityManager entityManager;
  | 

@In should be sufficent

Greets

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

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


[jboss-user] [JBoss Seam] - Re: DataModel with s:link or s:button Error

2007-07-02 Thread evanzeng
http://jira.jboss.org/jira/browse/JBSEAM-1582

Any suggestion to work around this problem is appreciated.

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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread grdzeli_kaci
g00se24 wrote : You don't need
  | 
  |   | @In(create=true)
  |   | EntityManager entityManager;
  |   | 
  | 
  | @In should be sufficent
  | 
  | Greets

HI ALL,
Thank you very much for your posts, i tried everything but myu problem still 
appears,
problem is not on first time, i see tabpane and tree component generated from 
database, all works fine but when i tried to expand tree than an exception 
occured,


i did not understand what happend :(, why got entitymanager null ?



Regards,
Paata
 

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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread grdzeli_kaci
if i remove generate tabpane from database and set simple string, everuthing 
works fine, tree also work.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate-client.jar is missing some classes on 4.2.0GA

2007-07-02 Thread vettori
It's missing

Exception in thread Main Thread java.lang.NoClassDefFoundError: 
org/hibernate/type/AbstractComponentType


for sure.

Maybe others ?

Can the correct file be downloaded from somewhere ?

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

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


[jboss-user] [JBoss Seam] - Strange Exception

2007-07-02 Thread xinhua
Hi,all
Sometime, a very strange exception will occur (at least for me it is:P) when i 
QUICKLY double click a Statefull SB supported link


  | Caused by javax.el.ELException with message: 
javax.ejb.ConcurrentAccessException: no concurrent calls on stateful bean 
'jboss.j2ee:service=EJB3,name=TestPage2Bean' (EJB3 4.3.13)

What does it mean?
thanks.

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

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


[jboss-user] [Microcontainer] - Re: Can I change timeout on startup? Problem with timeout wh

2007-07-02 Thread alesj
What limit?
I'm not aware of any time limit in Microcontainer deployment.
Is this a Seam feature?

Or from what do you reckon there is a limit?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Unable to start a JBAS 4.2.0.GA with JBossTools-20070630

2007-07-02 Thread Rhodan76
Opened Jira-Issue: http://jira.jboss.com/jira/browse/JBIDE-501

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

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


[jboss-user] [JBoss jBPM] - Re: couldn't commit hibernate session

2007-07-02 Thread remon_sherin
Any help will be appreciated,
Regards.

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

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


[jboss-user] [EJB/JBoss] - Re: SessionBeans and Files/Inputstream

2007-07-02 Thread [EMAIL PROTECTED]
You could pass around URLs served either by apache httpd or jboss-web.

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

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


[jboss-user] [JBoss Seam] - 2 problems after upgrading to 2.0.0.BETA1

2007-07-02 Thread zdaler
After upgrading all libs and config files to seam 2.0.0.BETA1, I'm facing two 
problems :

- I'm unable to access seam components from non jsf servlets (despite the 
web:context-filter url-pattern=/servlet/*/ configuration ... I get a 
java.lang.IllegalStateException: No application context active at 
org.jboss.seam.Component.forName(Component.java:1690) exception
- a validation on a backing bean property using the @AssertTrue hibernate 
validator does not work anymore (@Email is still ok)

Here are my 3 main configurations files ... maybe some mistake I made (?)

components.xml
anonymous wrote : ?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:drools=http://jboss.com/products/seam/drools;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:mail=http://jboss.com/products/seam/mail;
  | xmlns:transaction=http://jboss.com/products/seam/transaction;
  | xmlns:persistence=http://jboss.com/products/seam/persistence;
  | xmlns:web=http://jboss.com/products/seam/web;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-2.0.xsd
  |  http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-2.0.xsd
  |  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-2.0.xsd
  |  http://jboss.com/products/seam/persistence 
http://jboss.com/products/seam/persistence-2.0.xsd
  |  http://jboss.com/products/seam/web 
http://jboss.com/products/seam/web-2.0.xsd
  |  http://jboss.com/products/seam/transaction 
http://jboss.com/products/seam/transaction-2.0.xsd
  |  http://jboss.com/products/seam/mail 
http://jboss.com/products/seam/mail-2.0.xsd
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-2.0.xsd;
  | 
  | core:init debug=@debug@ jndi-pattern=@jndiPattern@ /
  | 
  |core:manager concurrent-request-timeout=500
  |  conversation-timeout=12
  |  conversation-id-parameter=cid/
  | 
  | core:pages no-conversation-view-id=/index.xhtml /
  | 
  | !-- Seam-managed persistence context with JPA --
  | persistence:managed-persistence-context name=em auto-create=true
  | persistence:persistence-unit-jndi-namejava:/@[EMAIL 
PROTECTED]/persistence:persistence-unit-jndi-name
  | /persistence:managed-persistence-context
  | 
  | core:resource-bundle
  | core:bundle-names
  | myapp-messages
  | myapp-internals-messages
  | /core:bundle-names
  | /core:resource-bundle
  | 
  | core:locale-selector cookie-enabled=true /
  | 
  | core:transactionListener /
  | 
  | web:multipart-filter create-temp-files=true
  | max-request-size=100/
  | 
  | security:identity authenticate-method=#{login.login}/
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | !--  integrate custom servlet with seam contexts --
  | web:context-filter url-pattern=/cm_servlets/* /
  | 
  |drools:rule-base name=securityRules
  |drools:rule-files
  |/META-INF/security.drl
  |/drools:rule-files
  |/drools:rule-base   
  |
  | transaction:ejb-transaction/
  | 
  | 

web.xml
anonymous wrote : 
  | ?xml version=1.0 encoding=UTF-8?
  | 
  | web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd;
  | 
  | !-- Ajax4jsf --
  | 
  | context-param
  | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name
  | param-valuecom.sun.facelets.FaceletViewHandler/param-value
  | /context-param
  | 
  | context-param
  | param-nameorg.ajax4jsf.SKIN/param-name
  | param-valueblueSky/param-value
  | /context-param
  |  
  |!-- Seam --
  | 
  |
  |   listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  |
  | 
  | 
  | filter-nameSeam Filter/filter-name
  | filter-classorg.jboss.seam.servlet.SeamFilter/filter-class
  | 
  | 
  | filter-mapping
  | filter-nameSeam Filter/filter-name
  | url-pattern*.cm/url-pattern
  | /filter-mapping
  | 
  |
  |   servlet-nameSeam Resource Servlet/servlet-name
  |   servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class
  |
  | 
  |servlet-mapping
  |   servlet-nameSeam Resource Servlet/servlet-name
  |   url-pattern/seam/resource/*/url-pattern
  |/servlet-mapping
 

[jboss-user] [JBoss jBPM] - How to use defined variables

2007-07-02 Thread Riket44
Hi,

I define some variable in a task node like that :

  |start-state name=Envoyer la demande
  |   task name=Envoyer form
  |  controller
  | variable name=Produit access=read,write,required 
/variable
  | variable name=Quantite access=read,write,required 
/variable
  | variable name=Raison access=read,write /variable
  |  /controller  
  |   /task
  |   transition name=Envoye to=Recevoir la demande/transition
  |/start-state
  | 

Later in my process, I've got a decision node with a Decision Handler, in my 
Handler, I want to use the variable named Produit. How is it possible ?

Thanks

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

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


[jboss-user] [JBoss Messaging] - subscription client id: does not allow dots

2007-07-02 Thread mskonda
I'm not sure if it's a restriction placed by JBM, but it seems that if have a 
dot in the client or subscription id, I get an IllegalArgumentException: 
Invalid message queue name: testDurableSub.x.y.x

[I can see that identifying the sub id and client id from above pattern is not 
possible and hence the possible restriction]

Any thoughts?

/M



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

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


[jboss-user] [JBoss jBPM] - Re: How to use defined variables

2007-07-02 Thread Riket44
Hmm in reading my post, I think it's not very clear :)

I want to use the variable :
variable name=Produit access=read,write,required /variable
  | 

In a decisionHandler to do a mySQL request like this :
String request = SELECT * FROM table WHERE id=+ the variable +;;

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

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


[jboss-user] [JBossCache] - Excesive number of Timers

2007-07-02 Thread jorgemoralespou_2
Hi,
I have JBC 1.4.1.SP3 in a JBossAS 4.2.0. 
Cache configuration is this:

  | ?xml version=1.0 encoding=UTF-8?
  | server
  | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/
  |   mbean code=org.jboss.cache.TreeCache
  | name=jboss.cache:service=ServicesCache
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | attribute 
name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute
  | attribute name=IsolationLevelNONE/attribute
  | attribute name=CacheModeREPL_SYNC/attribute
  | attribute name=UseReplQueuefalse/attribute
  | attribute name=ReplQueueInterval0/attribute
  | attribute name=ReplQueueMaxElements0/attribute
  | attribute name=ClusterNameServicesCache-Cluster/attribute
  | attribute name=ClusterConfig
  | config
  |  jgroups config .
  | /config
  | /attribute
  | attribute name=FetchInMemoryStatetrue/attribute
  | attribute name=InitialStateRetrievalTimeout15000/attribute
  | attribute name=SyncReplTimeout15000/attribute
  | attribute name=LockAcquisitionTimeout1/attribute
  | 
  |   attribute 
name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute
  |attribute name=EvictionPolicyConfig
  |config
  |  attribute name=wakeUpIntervalSeconds5/attribute
  |   region name=/_default_
  | attribute name=maxNodes50/attribute
  | attribute name=timeToLiveSeconds86400/attribute
  |   /region
  |/config
  | /attribute
  | attribute name=UseRegionBasedMarshallingtrue/attribute
  | attribute name=InactiveOnStartuptrue/attribute
  |/mbean
  | /server
  | 

Later, in our application, through code we set different eviction policies for 
different regions, in order to keep a rational cache size ratio.

We do this to activate regions of the cache, as we deploy services that use 
these regions:

  | public void activateRegion(String strFqn) {
  | try {
  | RegionManager regionManager = getServiceCacheInstance()
  | .getRegionManager();
  | 
  | if (regionManager.getRegion(strFqn) == null
  | || 
!regionManager.getRegion(strFqn).isActive()) {
  | 
getServiceCacheInstance().registerClassLoader(strFqn,
  | 
Thread.currentThread().getContextClassLoader());
  | 
getServiceCacheInstance().activateRegion(strFqn);
  | log.warn(Activating synchronization of region 
 + strFqn);
  | }
  | 
  | } catch (RegionNameConflictException e) {
  | log.error(Activating region:  + strFqn, e);
  | } catch (CacheException e) {
  | log.error(Activating region:  + strFqn, e);
  | }
  | }
  | 
  | 

We also activate/deactivate different eviction policies for these regions. Like 
this:


  | public void activateEvictionPolicy(String strRegion, 
EvictionConfiguration config) {
  | if (strRegion != null || .equals(strRegion)) {
  | RegionManager regionMgr = 
getServiceCacheInstance().getEvictionRegionManager();
  | Region region;
  | EvictionPolicy eviction = null;
  | try {
  | if (regionMgr.hasRegion(strRegion)) {
  | region = 
regionMgr.getRegion(strRegion);
  | 
region.setEvictionConfiguration(config);
  | log.warn(Region  + strRegion 
+  already had an eviction policy that has been updated now);
  | } else {
  | 
eviction.configure(getServiceCacheInstance());
  | 
regionMgr.createRegion(strRegion, eviction, config);
  | log.warn(Created new region  
+ strRegion);
  | }
  | log.warn(Setting + 
evictionPolicy.getType().toString()+  eviction policy to region  + strRegion 
+ . Details:  + evictionPolicy);
  | } catch 
(org.jboss.cache.eviction.RegionNameConflictException e) {
  | throw new MyCacheRuntimeException(
  | Region name conflict 
for  + strRegion + . Impossible to set an eviction policy.);
  | }
  | } else {

[jboss-user] [JBoss jBPM] - Re: couldn't commit hibernate session

2007-07-02 Thread vtysh
Maybe you should try another costruction
try

ProcessInstance pi = pd.createProcessInstance();

instead

ProcessInstance pi = new ProcessInstance(pd);

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

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


[jboss-user] [JBoss jBPM] - Re: couldn't commit hibernate session

2007-07-02 Thread vtysh
an perform environment.save(pi)

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

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


[jboss-user] [Security JAAS/JBoss] - Remote Login using custom LoginModule

2007-07-02 Thread gscalise
Hi ppl,

   We've developed a custom LoginModule to use in our Client/Server EJB3 
application. This is because the standard/provided LoginModules don't cover the 
authentication procedures required by our application.
   The thing is, provided that the security domain is set correctly for the 
ejb3 application, what are the steps to be able to authenticate against the 
server remotely (from a standalone client) using our LoginModule? Most of the 
examples in the JBossSX documentation are for in-same-JVM authentication.

Kind Regards,
   Guido Scalise

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

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


[jboss-user] [JBoss Seam] - Custom validator scoped to the whole class with annotation

2007-07-02 Thread rajeshv7
I have written a custom validator that is scoped to the whole class so that I 
can access multiple properties and do the validation. I had implemented this 
based on the following article
http://www.jroller.com/page/jgilbert01?entry=extending_the_hibernate_validation_framework

As you see below the IdTypeValidator is my custom validator and I am passing in 
the Product object as value.

@Entity
@Table(name = PRODUCTS)
@IdTypeValidator(value=Product.class)
public class Product{
...
}

The validator does get invoked and when the validation fails how to display 
this error message. As this validator is annotated to the whole class I cannot 
tie it to any particular field on the JSF page.



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

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


[jboss-user] [JBoss Seam] - seam text generates xml that is not well formed

2007-07-02 Thread mircalex
Hi, guys.

I'm running:
JBoss AS 4.2.0.GA
JBoss Seam 1.2.1.GA

and I'm getting the following browser error (only on Firefox):

XML Parsing Error: mismatched tag. Expected: .
Location: http://localhost:8080/SelfService/somepage
Line Number 101, Column 69:h2Descriptionline1line2/h2

The actual seam text is:++Description_line1_line2.
The annoying thing is that this worked fine on JBoss AS 4.0.5

The workarround was to put a well formatted seam text like:
++Description_line1_line2
or to use Internet Explorer.

I would appreciate any comments on this one.

Thanks,
Alex Popescu

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

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


[jboss-user] [JBoss Seam] - Hot redeployment - internationalization

2007-07-02 Thread karolkarol
Hello. I have a question about hot redeployment of language properties files. 
It looks like it is not hot deployed currently. 
Am I wrong?

This feature is quite important when you creating app for many countries.
Please help.


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and Sub-Process

2007-07-02 Thread drashmi30
Hi,

I am sorry for the delayed reply.

Actually, the sub-process gets deployed properly because I am able to start an 
instance of the sub-process but only when the main process makes a call to 
sub-process, it fails to create an instance and gives me the above mentioned 
error.



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

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


[jboss-user] [JBoss Seam] - Re: Strange Exception

2007-07-02 Thread [EMAIL PROTECTED]
Try upgrading to a newer version of Seam, we fixed this problem there.

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

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


[jboss-user] [JBoss Seam] - Re: core:pages https-port ignored

2007-07-02 Thread gena777
thank you!

it was the navigation.


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

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


[jboss-user] [JBoss Seam] - Re: seam text generates xml that is not well formed

2007-07-02 Thread mircalex
Hi, again.

The seam text generating the problem is:
++DescriptionP_line1_Pline2


and the workarround one is:
++DescriptionP_line1_/PPline2/P

Thanks,
Alex Popescu

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

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


[jboss-user] [JBoss Seam] - Re: option values generated by s:selectItems

2007-07-02 Thread [EMAIL PROTECTED]
They are correctly generated - purposefully the entity keys are not written to 
the page, but instead placeholders.

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

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


[jboss-user] [JBoss Seam] - Re: @CreateProcess and process id

2007-07-02 Thread [EMAIL PROTECTED]
The process isn't created until after the method completes so during the method 
the processId isn't available.

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

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


[jboss-user] [JBoss Seam] - Re: Single use component

2007-07-02 Thread [EMAIL PROTECTED]
@Unwrap won't help - @Create @Startup is the common pattern.  Alternatively you 
could have an event scoped @Observer on session startup, but we don't have 
suitable events for that.  Add an issue to JIRA if you would like them.

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

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


[jboss-user] [JBoss Seam] - EntityManager and Atomic Conversations problem

2007-07-02 Thread superfis
I'm using atomic conversation with entityManager.flush() being called manually. 
In such a conversation I can do many things with my entities, eg.:
- create new objects and persist them - it's OK
- remove some persistent objects - it's OK
- create and then remove not yet persisted objects!!! - FATAL [application] 
javax.persistence.EntityNotFoundException: deleted entity passed to persist

How to easily manage all these operations with entities to avoid errors 
mentioned above? 

Atomic conversations + ajax give us enough time to do many complicated things 
with entities before final flush() is being performed, but I can't find easy 
way to manage all this operations to extract final set of objects to persist, 
remove and so on.

How to handle this issue?

Slawek

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

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


[jboss-user] [JBoss Seam] - Re: HELP : displaying data retrieved from DB

2007-07-02 Thread [EMAIL PROTECTED]
Conceptual problem: You call a method from page 1 on a stateless bean, redirect 
to page 2, and expect the data on the stateless bean to still be there.  Read 
up on what stateless means.

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

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


[jboss-user] [JCA/JBoss] - Configuring ejb with jboss 4.0.3 with oracle10g

2007-07-02 Thread jojiprakash
org.jboss.deployment.DeploymentException: Error while checking if table aleady 
exists TIMERS; - nested throwable: (java.sql.SQLException: Table not found: 
SYSTEM_TABLES in statement

Hi All above error getting,
 I deployed an entity bean whose configuration is as follows,let met 
know is there any configuration issues,
ejb-jar.xml
-
resource-ref
 res-ref-namejdbc/accountdb/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
/resource-ref
ejb-jar.xml

enterprise-beans

ejb-namesbi/ejb-name
jndi-nameAccountsJndi/jndi-name
resource-ref
res-ref-namejdbc/accountdb/res-ref-name
jndi-namejava:/jboss.accountdb/jndi-name
/resource-ref

oracle-ds.xml
---


  local-tx-datasource
jndi-namejboss.accountdb/jndi-name
connection-urljdbc:oracle:thin:@192.168.0.4:1521:joe/connection-url

driver-classoracle.jdbc.driver.OracleDriver/driver-class

---
 

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

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


[jboss-user] [JBoss Seam] - Re: HELP : displaying data retrieved from DB

2007-07-02 Thread [EMAIL PROTECTED]
And please don't cross post and bump your own threads, especially in 
development forums.

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

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


[jboss-user] [JBoss Seam] - Re: core:pages https-port ignored

2007-07-02 Thread [EMAIL PROTECTED]
yes

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad Ajax4JSF

2007-07-02 Thread [EMAIL PROTECTED]
run ant clean build in the jboss-seam root directory.

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

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


[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox replaces PersistentBag with Arrays.

2007-07-02 Thread [EMAIL PROTECTED]
This is well within the contract for JSF - It simply says that the value 
attribute of the UISelectMany should be an array or List - it doesn't say that 
it is a PersistentBag.

So, yes, the UISelectMany did replace the collection, as it is allowed to do.  
The only work around I can see is to deal with this in your code (action 
method).

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

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


[jboss-user] [JBoss Seam] - Re: Hot redeployment - internationalization

2007-07-02 Thread [EMAIL PROTECTED]
I don't think it is implemented.  Raise a JIRA issue, we'll try to implement it.

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

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


[jboss-user] [JBoss jBPM] - Cancel a process in a repeated action

2007-07-02 Thread vbub
i'm starting the execution of an action 5 seconds after entering a task node. 
this action repeatedly checks a state in a third party application and 
eventually shall cancel the whole process instance. 

i'm trying to do this by using this code:

CancelProcessInstanceCommand cpic = new 
CancelProcessInstanceCommand(task.getProcessInstance().getId());
  | cpic.setCancelSubProcesses(true);
  | CommandServiceImpl csi = new CommandServiceImpl(jbpmConfiguration);
  | csi.execute(cpic);

i get the following error (running with postgreSQL on apache tomcat):

12:38:46,520 ERROR [168.0.18:1] JobExecutorThread : exception in job executor 
thread. waiting 2500 milliseconds
  | org.jbpm.JbpmException: problem closing services 
{persistence=org.jbpm.persistence.JbpmPersistenceException: hibernate commit 
failed}
  | at org.jbpm.svc.Services.close(Services.java:235)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at 
org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:181)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:62)
  | Caused by: org.jbpm.persistence.JbpmPersistenceException: hibernate commit 
failed
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:216)
  | at org.jbpm.svc.Services.close(Services.java:222)
  | ... 3 more
  | Caused by: org.hibernate.StaleObjectStateException: Row was updated or 
deleted by another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.job.Timer#683]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2407)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:253)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:211)
  | ... 4 more
  | 
  | i've read about the concept of executing the commands asynchronously but it 
seems the CommandServiceImpl executes the CancelProcessInstanceCommand 
immediately (when my action, called out of the JobExecutor/Timer is still 
active)... i'm not sure how to solve this and haven't found a thread or 
solution in this forum yet that seem to fit my problem.
  | 
  | thank you very much,
  | volker

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

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


[jboss-user] [EJB 3.0] - can have 2 joins on same column?

2007-07-02 Thread serj_
hello

is it possible to have 2 columns in a table (Usr) who keep references to 
different records from another table (Member). I want to move a member from a 
list to another, without removing and creating a new Member. For example this 
code:


  | //Usr u
  | Tournamentmember t = new Tournamentmember();
  | t.setUsr(u);
  | em.persist(t);
  | ...
  | //Tournamentmember t
  | u.getMembers().remove(t);//delete from one list
  | u.getArchivedMembers().add(t);//add to new list
  | 

make's me to have removed member (t) in members collection too, even if I 
removed before (it is in both list!!!). Thanks for help


This are  my table:

  | @Entity
  | class Usr{
  | private java.util.CollectionMember members;
  | private java.util.CollectionMember archivedMembers;
  | 
  | @OneToMany(mappedBy = usr, fetch = FetchType.LAZY)
  | public java.util.CollectionMember getMembers() {
  | return members;
  | }
  | 
  | 
  | public void setMembers(java.util.CollectionMember members) {
  | this.members= members;
  | }
  | 
  | 
  | @OneToMany(mappedBy = usr, fetch = FetchType.LAZY)
  | public java.util.CollectionMember getArchivedMembers() {
  | return archivedMembers;
  | }
  | 
  | 
  | public void setArchivedMembers(java.util.CollectionMember 
archivedMembers) {
  | this.archivedMembers= archivedMembers;
  | }
  | 
  | }
  | 
  | @Entity
  | class Member{
  | @ManyToOne(fetch = FetchType.EAGER)
  | @NotNull
  | //@JoinColumn(table=Usr, referencedColumnName = id)
  | public com.joyplay.ejb.persistence.Usr getUsr() {
  | return usr;
  | }
  | 
  | public void setUsr(com.joyplay.ejb.persistence.Usr usr) {
  | this.usr = usr;
  | }
  | }
  | 

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

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


[jboss-user] [JBoss Portal] - portal deployment problem

2007-07-02 Thread selvarevathi
hi all,


im new to portal n wen i deploy the weatherportlet.ear sample program .im 
getting this following error.
my jboss As version is 4.0.4  portal server version 2.4

any assistance is greatly appreciated..

16:32:31,993 INFO  [EARDeployer] Init J2EE application: file:/D:/jboss4.0.4/serv
er/default/deploy/weatherportlet.ear
16:32:32,133 INFO  [TomcatDeployer] deploy, ctxPath=/weatherportlet, warUrl=.../
tmp/deploy/tmp61136weatherportlet.ear-contents/weatherportlet-exp.war/
16:32:32,414 INFO  [PortletAppDeployment] These instances have been found in -ob
ject.xml, you should put them in the file D:\jboss4.0.4\server\default\.\tmp\dep
loy\tmp61136weatherportlet.ear-contents\weatherportlet-exp.war\WEB-INF/portlet-i
nstances.xml
16:32:32,414 INFO  [PortletAppDeployment] ?xml version=1.0 encoding=utf-8 s
tandalone=yes?



instance-idWeatherPortletInstance/instance-id
portlet-refWeatherPortlet/portlet-ref





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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread grdzeli_kaci
can anybody help me ?

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad Ajax4JSF

2007-07-02 Thread hispeedsurfer
thanks,
works now

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

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


[jboss-user] [JBoss Seam] - Re: seam pageflow transition and ajax

2007-07-02 Thread tkalactomo
Can someone help??

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

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


[jboss-user] [JBoss Seam] - Re: 2 problems after upgrading to 2.0.0.BETA1

2007-07-02 Thread zdaler
any help / hint ?

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

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


[jboss-user] [J2EE Design Patterns] - Re: Integrate multiple JVM's with single JBoss instance

2007-07-02 Thread smeaggie
I think you are actually looking for a Terracotta server. This is a server wich 
can cluster JVM's (local AND over a network). They seem to support JBoss too, 
although they need to work on the documentation I'm afraid. I don't have any 
experience with the product, it's on my long running todo list :P

You can read more on their website: http://www.terracotta.org/
this is about JBoss on their site: 
http://www.terracotta.org/confluence/display/docs1/Integrations+JBoss

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

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


[jboss-user] [Beginners Corner] - JBoss installation: What EXACTLY I need to download

2007-07-02 Thread Andrew Listochkin
Hi,

I'd like to try JBoss Middleware (not just server) on my home PC. 
Unfortunately, my internet connection is quite slow. When Igot to JBoss 
download page on SourceForge.net I got a couple of havy links. Moreover, 
aseveral versions (beta  stable) are available. I'd like to know, what exactly 
I have to download to get a system running something like recent stable 
JBoss.com Middleware?

I found a link for 'evaluation beta' ftp download 
(http://www.jboss.com/elqNow/elqRedir.htm?ref=ftp://ftp.redhat.com/pub/redhat/linux/beta/JBEAP4.2.0-Beta2/).
 Is that what I'm looking for? Does it contain Hibernate or JBPM, etc.?

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

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


[jboss-user] [JBoss Seam] - Re: @CreateProcess and process id

2007-07-02 Thread szaccaria
[EMAIL PROTECTED] wrote : The process isn't created until after the method 
completes so during the method the processId isn't available.
Any workaround idea for this? I must to retriew the processid from the db 
throught a variable that put in the context like dvd example of seam

  | ...
  | public String cancelOrder() {
  |
  | em.refresh(order);
  |
  | if ( order.getStatus() != Status.OPEN ) {
  | return null;
  | }
  | 
  | order.setStatus(Status.CANCELLED);
  | 
  | JbpmContext context = ManagedJbpmContext.instance();
  | 
  | ProcessInstance pi = (ProcessInstance) context.getSession()
  | .createQuery(select pi from LongInstance si join 
si.processInstance pi  +
  |  where si.name = 'orderId' and si.value = 
:orderId)
  | .setLong(orderId, order.getOrderId())
  | .uniqueResult();
  | 
  | pi.signal(cancel);
  | 
  | context.save(pi);
  | 
  | return findOrders();
  | }
  | ...
  | 
that i found in the ShowOrdersAction class?

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

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


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

2007-07-02 Thread avbentem
amitev wrote : So the whole idea for rememberMe is just to remember the 
username and add it to the userName filed in the login form?
Based on your own report on the contents of the cookie, that's indeed what Seam 
can do by default. However, Seam also fires an event which your own components 
could use to do whatever you want -- see section Component-driven events in 
the documentation.

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

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


[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.5 GA and JSF 1.2

2007-07-02 Thread viggo.navarsete
Hi, 

is it possible to run JBoss 4.0.5 GA with a JSF 1.2 implementation? According 
to this page, 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces, only a JSF 
1.1 implementation is bundled with JBoss 4.0.5 GA. I'm not able to upgrade (due 
to my environment) to a newer version of JBoss, but I would like to use a JSF 
1.2 implementation due to the many improvements (read 
http://java.sun.com/developer/technicalArticles/J2EE/jsf_12/).
Can I bundle with my own MyFaces or RI implementation of JSF 1.2?

Many many thanks in advance :)

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

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


[jboss-user] [JBoss Tools (users)] - Packaging-feature in jboss-tools ?

2007-07-02 Thread Rhodan76
Hello,

i can't find the packaging-feature of the old jboss-ide anymore in the 
nightly builds of jboss-tools. Will this feature not be supported anymore ? Is 
there an alternative ?

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

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


[jboss-user] [JBoss Seam] - Communication between Business and Presentation Layer

2007-07-02 Thread grdzeli_kaci
i have one simplest question, i use seam and richfaces, i need separate 
database business layer and presentation layer - user components (its managed 
beans),
how i can call ejb components from managed bean (for example richfaces treenode 
bean) ??? i tried to use @EJB annotation but it does not work, i got null,
Is there any example about it ??? 
i also tried that managed bean was also seam components and use @In 
EntityManager syntax but there is so many problems also.


___
Regards,
Paata.


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: excess UIL2 threads

2007-07-02 Thread [EMAIL PROTECTED]
We already know all this, see my earlier post.

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

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


[jboss-user] [EJB 3.0] - Jboss 4.2.0 :WebServiceContext ok or not?

2007-07-02 Thread Pires da Silva
Hello,

I'm using Jboss 4.2.0.GA (jbossws 1.2.1.GA) but it seems injection of web 
context is not working?

Do I have to update some jars for this to work?

 WebServiceContext context;
   
   @Resource
   public void setContext(WebServiceContext context)
   {
  this.context = context;
   }
...

MessageContext msgContext = context.getMessageContext();
sessionid = (String)msgContext.get(sessionid);

objects are set in context through handlers.

thanks




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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: activationConfig for MailListener

2007-07-02 Thread [EMAIL PROTECTED]
Since virtually every other post in last couple of days has the same
problem, I'll make the simple point once here: POST THE FULL STACKTRACE!
without it, I'm not even going to try to understand your problem.

However:

Most likely it is an error message from Sun's java mail api?
(that's a guess I have no idea without the stacktrace), so read their 
documentation.
And also read their documentation for ssl.

The rar is just a wrapper to java mail.

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

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


[jboss-user] [JBoss Seam] - Re: problem with blocking user

2007-07-02 Thread ivan.tufegdzic
I still have this problem.

Any ideas?
Best regards

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

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


[jboss-user] [JBoss jBPM] - Re: How to use defined variables

2007-07-02 Thread kukeltje
Your original post is very clear. Just look at docs, the testcases and 
examples no need to do it like this, just use the api 

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and Sub-Process

2007-07-02 Thread drashmi30
Hi,

I have been able to resolve the problem. 

In order to use sub-process in jbpm-jpdl-3.2.1, you should change the 
jbpm.cfg.xml in jbpm-console.war to include the customised bean class.

If you include the following:

bean name=jbpm.sub.process.resolver 
class=org.jbpm.custom.DbSubProcessResolver /

in your jbpm.cfg.xml and build the war file again, I hope you can then 
successfully deploy and create a process instance which in turn makes a cal to 
a sub-process.

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: How to use defined variables

2007-07-02 Thread Riket44
Yes, but I don't understand when the variables are not defined... The examples 
are all different. I'll try with executionContect.getVariable(varName) ;)

Thank you Kukeltje

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

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


[jboss-user] [JBoss Portal] - Re: portal deployment problem

2007-07-02 Thread [EMAIL PROTECTED]
Please download JBoss Portal 2.6, it comes withthe weather portlet 
preconfigured by default.

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

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


[jboss-user] [JBoss Seam] - Nested conversations - potential bug in Manager.beginNestedC

2007-07-02 Thread wschwendt
As regards nested conversations, my interpretation based on the Seam docs
(2.0.0 beta, but also previous versions) is that a new nested conversation
can be started IF a long-running conversation is already in progress.
(See: Seam Docs, Chapter Seam Annotation, @Begin(nested=true).)

This raises of course the question what should happen if @Begin(nested=true)
is encountered and there is no long-running conversation active.  Unfortunately,
the Seam docs do NOT make any statement about this yet.

Therefore, I tried this with Seam 1.3.0Alpha and Seam2.0.0Beta. Interestingly,
if there is no long-running conversation active, Seam creates a new nested 
conversation which is not a long-running, but instead a temporary conversation.

However, looking at the method beginNestedConversation() of
org.jboss.seam.core.Manager (Seam 2.0.0 Beta), I'm not sure whether this is
really the intended behavior. In fact, it looks to me as if it is bug.


  | 
  |  // present seam code
  | 
  |  /**
  | * Begin a new nested conversation.
  | */
  |public void beginNestedConversation()
  |{
  |   log.debug(Beginning nested conversation);
  |   ListString oldStack = getCurrentConversationIdStack();
  |  
  |   if (oldStack==null)
  |   {
  |  throw new IllegalStateException(No long-running conversation 
active);
  |   }
  |   String id = Id.nextId();
  |   setCurrentConversationId(id);
  |   createCurrentConversationIdStack(id).addAll(oldStack);
  |   createConversationEntry();
  |   storeConversationToViewRootIfNecessary();
  |   if ( Events.exists() ) 
Events.instance().raiseEvent(org.jboss.seam.beginConversation);
  |}
  | 




Based on this code, my assumption about the intended behavior is that 
an IllegalStateException should be thrown if @Begin(nested=true) is encountered
and there is no long-running conversation active.  However, this guard
is too weak and therefore not sufficient.  Reason: 
Manager.initializeTemporaryConversation():
always creates a conversationIdStack, even for temporary conversations,
and places the id of the temporary conversation on the stack.


I've therefore fixed  beginNestedConversation() of org.jboss.seam.core.Manager 
as follows (see below).   But I'm not sure what the intended
behavior really is and therefore would highly appreciate some comments.

Regards,

Wolfgang Schwendt





  | 
  |  /**
  | * Begin a new nested conversation.
  | */
  |public void beginNestedConversation()
  |{
  |   log.debug(Beginning nested conversation);
  |   ListString oldStack = getCurrentConversationIdStack();
  | // ws: original seam code is not a sufficient guard to 
guarantee that a 
  | // long-running conversation is active.  See 
Manager.initializeTemporaryConversation():
  | // it always creates a conversationIdStack and places the id of 
the temporary conversation
  | // on the stack, which implies that also temporary 
conversations have a conversationIdStack. 
  | 
  | // original insufficient guard:
  | // if (oldStack==null)
  | // {
  | // throw new IllegalStateException(No long-running conversation
  | // active);
  | // }
  | 
  | assure_that_long_running_conversation_exists: {
  | if (oldStack != null) {
  | if (oldStack.size()  0) {
  | String idOnTop = oldStack.get(0);
  | ConversationEntries convEntries = 
ConversationEntries
  | .getInstance();
  | ConversationEntry ce = convEntries
  | 
.getConversationEntry(idOnTop);
  | if (ce != null) {
  | // wos: question: does the 
existence of a conversation
  | // entry
  | // always imply that the 
conversation is a long-running
  | // conversation?
  | // if not, we need to check the 
properties of the
  | // conversation entry ce.
  | break 
assure_that_long_running_conversation_exists;
  | }
  | }
  | }
  | throw new IllegalStateException(No long-running 
conversation active);
  |   } 
  | 
  |   String id = Id.nextId();
  |   setCurrentConversationId(id);
  |   createCurrentConversationIdStack(id).addAll(oldStack);
  |   createConversationEntry();
  |   

[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-07-02 Thread [EMAIL PROTECTED]
In 2.6 you can rewrite the header and tab since they are JSP files. Have a look 
at 
http://docs.jboss.com/jbportal/v2.6/reference-guide/html/themeandlayouts.html#d0e8202



maiky wrote : Hello,
  | 
  | I want to know where I can modify the redirection url after an user log out.
  | 
  | At time, when an user log out, he is redirect to default portal page. I 
want to redirect to my portal.
  | 
  | I'm use Jboss portal 2.6 with Jboss AS 4.0.5.
  | 
  | Any solutions ?
  | 
  | Thanks.
  | 
  | PS: Sorry for my bad English.

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

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


[jboss-user] [EJB/JBoss] - Could not activate; failed to recover session (session has b

2007-07-02 Thread alphaville76
When my http session times out (it is 60 min long) and I log in again in my 
application I get this exception for every EJB Stateful:
anonymous wrote : Could not activate; failed to recover session (session has 
been probably removed by session-timeout)

I've already tried to adjust some configuration parameters in 
standard-jboss.xml like max-bean-age (inactivity time before to passivate) and 
max-bean-life (inactivity time before to remove) but without success.

I repeat that the problem occurs just for stateful ejb, not stateless.

Please help me, otherwise my customer will return to use Weblogic ;-)

Thanks in advance,
Costantino Cerbo

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

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


[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox replaces PersistentBag with Arrays.

2007-07-02 Thread fernando_jmt
Seems related to this:

http://www.jboss.com/index.html?module=bbop=viewtopict=49

HTH.

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

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


[jboss-user] [JBoss Seam] - concurrency of conversation-scoped components

2007-07-02 Thread azalea
Hi,

I have two questions.

1. JBoss Seam 2.0.0.BETA1 Reference Guide - 3.1.10. Concurrency model:
anonymous wrote : 
  | Seam enforces a single thread per conversation per process model for the 
conversation context by serializing concurrent requests in the same 
long-running conversation context.
  | 
What is per process here?
JVM? JSF event-handler? request process? business process? others?

2. I have the following Seam SFSB. 

  | @Stateful
  | @Name(concurrencyTesting)
  | public class ConcurrencyTestingAction
  | implements ConcurrencyTesting, Serializable {
  | 
  | private int count;
  | 
  | @In
  | private FacesMessages facesMessages;
  | 
  | @Logger
  | private Log log;
  | 
  | @Begin
  | public void start() {}
  | 
  | public void doLongWork() {
  | log.debug(doLongWork start:count[#0], count);
  | try {
  | Thread.sleep(60 * 1000);
  | } catch (InterruptedException e) {
  | log.debug(InterruptedException occured., e);
  | }
  | count++;
  | facesMessages.add(doLongWork: count[#0], count);
  | log.debug(doLongWork end:count[#0], count);
  | }
  | 
  | public void doShortWork() {
  | log.debug(doShortWork start:count[#0], count);
  | count++;
  | facesMessages.add(doShortWork: count[#0], count);
  | log.debug(doShortWork end:count[#0], count);
  | }
  | 
  | public int getCount() {
  | return count;
  | }
  | 
  | @End
  | public void end() {}
  | 
  | @Destroy @Remove
  | public void destroy() {}
  | }
  | 

I also have next xhml file.

  |   ... ...
  | 
  |   h:messages globalOnly=true styleClass=message/
  | 
  |   ul
  | lis:link value=conversation start 
action=#{concurrencyTesting.start} //li
  | lis:link value=conversation end action=#{concurrencyTesting.end} 
//li
  | lis:link value=short work 
action=#{concurrencyTesting.doShortWork} //li
  | lis:link value=long work action=#{concurrencyTesting.doLongWork} 
//li
  |   /ul
  | 
  |   ... ...
  | 

(1)Start the conversation by clicking conversation start link in browser tab 
#1.
(2)Open a new tab #2 with right clicking on the short work link.
(3)Invoke #{concurrencyTesting.doLongWork} event-handler, which sleeps in 60 
secs, in tab #1.

If I invoke #{concurrencyTesting.doLongWork} event-handler quickly in 
tab#2(concurrent request for same conversation), 
the method invocation is blocked.
And when the processing in tab #1 is over, the method invocation in tab #2 
starts.
This is OK!

But if I invoke #{concurrencyTesting.doShortWork} instead of 
#{concurrencyTesting.doLongWork} in tab #2,
this method is invoked immediately with a new temporary conversation.
I expected that the method invocation was also blocked...
Is this Seam spec?

JBoss AS 4.2.0.GA
JBoss Seam CVS(before about 12 hours)

Thanks.


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and Sub-Process

2007-07-02 Thread kukeltje
hm.. where does that  org.jbpm.custom.DbSubProcessResolver come from??? 
 Did you develop that by yourself? It is not in the jbpm source. If so, it is 
no wonder it won't work, but it only does not work for you then.

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

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


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

2007-07-02 Thread [EMAIL PROTECTED]
Starting with JBossWS-2.1.0, which is targeted for 1-Aug-2007, JBossWS will 
provide a general web service integration layer. For the first time, our users 
will have the choice to deploy one of three possible certified JAXWS stacks in 
JBoss-5.0, JBoss-4.2 and JBoss-4.0. The supported stacks are JBossWS Native, 
Sun's Metro and Apache CFX. Since each stack comes with its own specific 
functional feature set and performance characteristics users will be able to 
deploy the stack that best suits their needs. There will be a common deployment 
model and management interface to all deployable stacks. Over the next few 
months the JBossWS team will focus on advanced functionality such as 
WS-ReliableMessaging, WS-Trust, WS-AtomicTransaction, WS-BusinessActivity, etc. 
We would love to get your feedback on this topic this will help us to 
prioritize the integration work and hence provide you with a web service 
offering that combines the best of what is currently out there.

I am especially happy to hear that both the Sun Metro and Apache CXF community 
and project leads endorse this move and are committed to the success of their 
respective stacks in JBoss. Here is what they have to say ... 

Sun: Metro

anonymous wrote : 
  | The GlassFish[1] community very much welcomes JBoss use of our Web Services 
stack (JAX-WS RI and Project Tango, now combined as Project Metro[2]) and we 
look forward to feedback and synergies with the expanded developer community, 
said Eduardo Pelegri-Llopart, Distinguished Engineer at Sun and overall lead of 
the GlassFish Community
  | 
  | [1] http://glassfish.java.net
  | [2] http://metro.dev.java.net
  | 
  | Eduardo Pelegri-Llopart
  | 

IONA: Apache CXF

anonymous wrote : 
  | We're excited that on the strength of the CXF project and its growing user 
base, the JBoss community has decided to incorporate CXF into its offerings for 
Web service integration.  This move is indicative of the power of open source 
to drive innovation and speed the adoption of new technologies.
  | 
  | Dan Kulp, Principal Engineer at IONA Technologies and Apache CXF Committer 
  | 

EnvoiSolutions: Apache CXF

anonymous wrote : 
  | I'm very excited to see JBossWS take such a strong user and community 
centric approach. Many CXF users have been already been deploying inside JBoss 
due to CXF's unique capabilities and JBoss's strength as an application server. 
I'm excited to see this integration grow even deeper in future.
  | 
  | Dan Diephouse
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning a task to-{group, rolebased, ...}

2007-07-02 Thread petia
Hi

I have recently started to use jBPM. I would like to assign a task to a group 
of users, but I do not succeed to do it. I saw the comments on this forum and 
they are one year old. I am wondering whether it is still problematic to assign 
a task to a group of users or if this issue has been solved? How do I do then?
I have tried the following:

   

As long as I have only one employee defined, the task gets assigned to her/him. 
The moment I define two employees, I get stuck with an error message when 
executing the process.  
If I only use
expression=group(A), I do not get any error message, but the task does not 
get offered to anyone in the group.

I will appreciate any help. I am running JBOSS jBPM 3.1.2 and using the web 
interface to execute the processes.

Regards, Petia

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning a task to-{group, rolebased, ...}

2007-07-02 Thread petia
Of some reason, I code I pasted above did not appear, so here it is.

I have tried the following:

 


Petia

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

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


[jboss-user] [Messaging, JMS JBossMQ] - jms user not authenticated

2007-07-02 Thread ssuyamboo
Added new user , password and subscription to hsqldb-jdbc-state-service.xml and 
then added this role to x-destinations-service.xml.

Used the above said user and password to create subscriber. I was thrown with 
user not authenticated

What could be the reason?

I want to have  a look at jms users and roles? But couldn''t connect to local 
hsqldb using userid sa and password empty. What is the password to connect to 
default hsqldb database?

Thanks
Sundar

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

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


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

2007-07-02 Thread amitev
May i change the cookie data to store some hash?

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning a task to-{group, rolebased, ...}

2007-07-02 Thread petia
Sorry my code does not appear in my text. I do not know why. 
Here it is


assignment
expression=group(A) -- member(employee)
...

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

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


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

2007-07-02 Thread Zerg-Spirit
Hello.

I'm having a problem using the s:fileUpload component, or more exactly the 
backing bean related to it, since I updated my application to the 1.3 (and 
later 2.0) version of Seam.


JSF:
h:form enctype=multipart/form-data
  | 
  | s:fileUpload id=data 
data=#{uploadFile.data} accept=*
  | 
contentType=#{uploadFile.dataContentType} /
  | h:commandButton value=Upload 
action=#{uploadFile.processData}
  | styleClass=registerButton /
  | /h:form

Basically, the 'processData' method is loaded after a lot of time when I push 
the button, like several seconds (if not minutes) after.

Backing bean:

  | @Name(uploadFile)
  | public class UploadFile implements iUploadFile{
  | 
  | private byte[] data;
  | 
  | private String dataContentType;
  | public void processData() {
  | //my code to process the 'data' here.
  | }
  | 
  | /**
  |  * @return the data
  |  */
  | @Lob
  | public byte[] getData() {
  | return data;
  | }   
  | 
  | /**
  |  * @param data
  |  *the data to set
  |  */
  | @Lob
  | public void setData(byte[] data) {
  | this.data = data;
  | }
  | 
  | /**
  |  * @return the dataContentType
  |  */
  | public String getDataContentType() {
  | return dataContentType;
  | }
  | 
  | /**
  |  * @param dataContentType
  |  *the dataContentType to set
  |  */
  | public void setDataContentType(String dataContentType) {
  | this.dataContentType = dataContentType;
  | }
  | 
  | }

I added the @Lob annotation reading the seam doc, but I didn't have it before.
Basically, the processData isn't called right after a click on the button, but 
after a huge delay, meanwhile I have a 'backing work' cursor, so the server 
still hasn't replied.


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

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


[jboss-user] [EJB 3.0] - Re: context

2007-07-02 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-757
http://jira.jboss.com/jira/browse/EJBTHREE-899
http://jira.jboss.com/jira/browse/EJBTHREE-900

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

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


[jboss-user] [EJB 3.0] - @Pattern doesn't accept null.

2007-07-02 Thread m.shinde
Hi,

In my application I am using @Pattern annotation. It is working fine but If I 
am keep that property value as null, then I am getting Hibernate Validator 
Failed exception.

And One more thing 'email1' property is nullable.


  | @Pattern(regex = [EMAIL PROTECTED])
  | private String email1;
  | 

Exception :

  | Caused by: org.hibernate.validator.InvalidStateException: validation failed 
for: de.bonprix.orderstarter.model.entity.Supplier
  | at 
org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:143)
  | at 
org.hibernate.validator.event.ValidateEventListener.onPreUpdate(ValidateEventListener.java:172)
  | at 
org.hibernate.action.EntityUpdateAction.preUpdate(EntityUpdateAction.java:217)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:65)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
  | ... 84 more

Temporarily I resolved this problem by writting Own Email Validator.

So I thing this might be bug.

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

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


[jboss-user] [JBoss Seam] - redirect endless loops

2007-07-02 Thread trouby
Hey,

I have some simple methods that displays some JSF forms, when I submit the form 
via Seam action, in the action I return another page (i.e 'return 
/myItemsList.xhtml)


sometimes it works, and redirects to the next page, sometimes I see the loading 
bar of the browser stuck for several minutes,

In the server log file, I see an endless loop where facelets trying to re-load 
the tags,

no clue why, but this is started before several weeks, I think the only thing I 
did is some upgrades to seam/facelets but I am not exactly sure,


here's an example of the endless log lines I see in the server log file:


  | 
[#|2007-07-02T17:05:02.609+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.609+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.625+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.625+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.625+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.640+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/ajax4jsf-1.1.1.jar!/META-INF/a4j.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.640+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml|#]
  | 
[#|2007-07-02T17:05:02.640+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/entityconverter.jar!/META-INF/entityconverter.taglib.xml|#]
  | 
[#|2007-07-02T17:05:03.000+0300|INFO|sun-appserver9.1|facelets.compiler|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8181-1;|Added
 Library from: 
jar:file:/C:/temp/velo/appserver/domains/domain1/applications/j2ee-apps/velo/lib/richfaces-3.0.1.jar!/META-INF/rich.taglib.xml|#]
  | 


any clue?

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools and Eclipse/WTP versions

2007-07-02 Thread [EMAIL PROTECTED]
Yes, and you have always been able to launch jboss from within the eclipse ide 
(but maybe you mean jboss 4.2? ;)

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning a task to-{group, rolebased, ...}

2007-07-02 Thread ricardomarques
I'm having a similar problem, but i'm using the expressions directly:


  | start-state name=enter request
  |   task name=request entry
  |  controller
  | variable name=start date 
access=read,write,required/variable
  | variable name=duration 
access=read,write,required/variable
  |  /controller
  |  assignment expression=group(users)/assignment
  |   /task
  |   transition name= to=evaluate request/transition
  |/start-state
  | 

Group users, has 2 users: grover and ernie

I start the instance with ernie, and the task appears on ernie tasklist and not 
in the group.


  | cmd = new NewProcessInstanceCommand();
  | cmd.setProcessId(Long.parseLong(pid));
  | //cmd.setActorId(userName);
  | cmd.setCreateStartTask(true);
  | 
  | execute(cmd);
  | 

In this case, have tried to comment \ uncomment the actorid and the 
createstarttask and the behavior is the same.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: jms user not authenticated

2007-07-02 Thread ssuyamboo
Never mind , I found the issue.

Thanks
Sundar

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

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


[jboss-user] [JBoss Tools (users)] - Re: Exadel Plugins available in opensource

2007-07-02 Thread [EMAIL PROTECTED]
the richfaces package works on OSX *except* for the visual part. We would like 
to get it working but bumped into issues with OSX and the underlying mozilla.

Until those are resolved we can't support OSX for the visual editing part ;( 
(feel free to come and help out if you are mac/mozilla hacker ;)

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

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


  1   2   3   >