[jboss-user] [Clustering/JBoss] - Re: discarded message from different group

2007-09-19 Thread grdzeli_kaci
hi awclemen
Thank you for your post.
i have one another question :
what does it mean wrong partition name ???
what is here incorrect :

  | screen ./run.sh -c all -b 0.0.0.0 -Djboss.partition.name=Partition_151
  | 



__
Regards
Paata.

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

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


[jboss-user] [JBoss Seam] - Re: final class cann't be a seam component?

2007-09-19 Thread [EMAIL PROTECTED]
Yes, it would be easy to do that.

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

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


[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-19 Thread saxon747
Yes, I see, but the generic issues are resolved in the non-abstract entity 
classes (UserRight, User), and I do not want the abstract classes (UserEntity, 
UserRightEntity) to be mapped.

I hoped that using @Inheritance( strategy = InheritanceType.TABLE_PER_CLASS )
  |  could help but it did not solve the problem.

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

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


[jboss-user] [JCA/JBoss] - Re: InUseConnections MaxPoolSize... is this possible?

2007-09-19 Thread vickyk
Sancheski wrote : 
  | Is this possible? 
  | I have  also checked the operation listInUseConnections() in service 
CachedConnectionManager, and I get an empty map. What I am guessing after 
seeing this is that the attribute InUseConnectionCount may be wrong.
  | 
  | By the way, I am using Jboss-4.2.0.GA.
  | 
  | Thanks a lot.
  | 
Yes it is possible , I will have to look at your -ds.xml file , seems that 
multiple subpools (4 in your case)  are getting created in your 
application.Paste the contents of -ds.xml file here .

CachedConnectionManager.listInUseConnections() will tell you about the 
connections which are being used by the application at the moment when it is 
invoked , this will be helpful in finding the leaked connections . It is not 
related to the InUseConnectionCount value .



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

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


[jboss-user] [JBoss Seam] - Re: conversation ends unexpectedly!

2007-09-19 Thread mnrz

I put some log in my code, here is the result:

this is ExportDataUtil.exportToExcel() method:

  | public void exportToExcel(String filepath,MapClass, IndexResultSet 
indexResultSet,MapIndexCategory, ColumnHeaderListColumnHeader 
columnHeaders) throws Exception {
  | logger.debug(building Excel's sheet is in progress...);
  | int rowCount = 0;
  | int colCount = 0;
  | int savedCurrentIndex = 1;
  | int x = 0;
  | logger.debug(--- +x++);
  | String filename = .xls;
  | 
  | // Create Excel Workbook and Sheet
  | HSSFWorkbook wb = new HSSFWorkbook();
  | logger.debug(--- +x++);
  | HSSFSheet sheet = wb.createSheet(filename);
  | HSSFHeader header = sheet.getHeader();
  | header.setCenter(filename);
  | logger.debug(--- +x++);
  | HSSFFont tahomaFont = wb.createFont();
  | tahomaFont.setFontName(Tahoma);
  | logger.debug(--- +x++);
  | 
  | 

and the result is:

  | DEBUG building Excel's sheet is in progress...
  | DEBUG --- 0
  | DEBUG --- 1
  | starting IndexSearchAction
  | DEBUG destroying IndexSearchAction...
  | DEBUG --- 2
  | DEBUG --- 3
  | DEBUG --- 4
  | DEBUG --- 5
  | DEBUG --- 6
  | DEBUG --- 7
  | DEBUG --- 1
  | DEBUG --- 2
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | INFO Export to Excel done.
  | DEBUG EXCEL-END
  | 

as you can see, after two logs is displayed, the conversation ends, this is 
highlighted in green

any idea?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Captcha configuration

2007-09-19 Thread wise_guybg
Thanks Shane. Could you please check my comment in Jira if this can be released 
with CR1?

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

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


[jboss-user] [JBoss Seam] - Re: Feature request regarding nested conversations

2007-09-19 Thread matt.drees
Hi Jacob,

So you're not using a SMPC.  I guess I tend to assume everybody uses them. :-)  
My bad.

So I understand more, but I'm still missing a few pieces.

jacob.orshalick wrote : ...Seam has taken a snapshot of my Person entity in 
the outer conversation on nesting (which didn't have the new addresses).  The 
original Person instance will be reverted back to should the user back up to 
the original edit Person screen and submit.  Seam retrieves the outer 
conversation by id on submit and restores the state of my Person object at the 
time of the snapshot which doesn't include the new addresses.
  | 

It seems like you're embellishing Seam's behavior a little bit.  It's my 
understanding that when you begin a nested conversation, Seam doesn't take a 
snapshot, it just creates a new empty container, and prevents you from 
storing new objects in the parent container.  While in the nested conversation, 
new objects are stored in this new container, and lookups look there before 
looking in the parent container; there's no automatic cloning going on.  And if 
a user backbuttons out of a nested conversation, then there's no restoring 
going on, either; the nested container is simply not there, so new objects get 
stored in the parent container and lookups look there first.

So, to get the behavior you're talking about, I think you'd need to manually 
clone the person object when starting a nested conversation.  The original 
state Person would stay in the parent conversation, and the new cloned Person, 
which might be edited, goes in the nested conversation.  I'm guessing you must 
be doing this cloning manually somehow to get the behavior you describe, but 
you speak as if it's automatic.  Could you explain a little more or show some 
code?

Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: conversation ends unexpectedly!

2007-09-19 Thread mnrz
sorry for the highlight color

  | DEBUG building Excel's sheet is in progress...
  | DEBUG --- 0
  | DEBUG --- 1
  | 
  | starting IndexSearchAction
  | DEBUG destroying IndexSearchAction...
  | 
  | DEBUG --- 2
  | DEBUG --- 3
  | DEBUG --- 4
  | DEBUG --- 5
  | DEBUG --- 6
  | DEBUG --- 7
  | DEBUG --- 1
  | DEBUG --- 2
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | DEBUG --- 
  | INFO Export to Excel done.
  | DEBUG EXCEL-END
  | 

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

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


[jboss-user] [JCA/JBoss] - Re: Custom DataSource configuration (instantiation)

2007-09-19 Thread vickyk
wwebber wrote : I don't think using the XA configuration will work. The 
DataSource wrapper we use (thew 'standard' one everyone here is supposed to be 
using) is not an 'XA type connection. Also, we use a scheduler called Quartz 
that requires you to give it a non-transactional (i.e.: 'manual commit') type 
connection for it to use. My thought so far is that some technique involving 
firing something up manually using an MBean is what might be a solution. It's 
tough for me to believe no-one has had the need so far to use their own 
DataSource implmentation stuff in JBoss.
If you so keen to use it in a jboss style which is a JCA way , then you would 
need to write your own ResourceAdapter and configure the vendor specific 
DataSource implementation through the conf-property in the connection factory 
definition xml . 
Have a look at 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html


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

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


[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread demetrio812
Is there someone can answer here? 

thanks

Demetrio

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

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


[jboss-user] [JBoss Seam] - Status of seambay example (WebServices)

2007-09-19 Thread baz
Hello,
seambay is not distrubuted with Seam2.0.0CR1
So i would like to know what the status of this example is.

Ciao,
Carsten
BTW: I do have the up to date seam sources and will compile the example for 
myself.

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

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


[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-19 Thread andydale
HI,

Have you tried annotating the abstract classes with @MappedSuperclass, this 
annotation means the class annotated with it is not an entity, and as such 
hibernate will not attempt to map it.

Cheers,

Andy

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

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


[jboss-user] [JBoss Seam] - Noob conversation confusion

2007-09-19 Thread nickarls
Hi,

Is there a way of ending a conversation and starting another at the same time? 
I have a case that looks like the hotel booking example where I have a page 
scoped list of orders and then selecting an order @Begin:s a long running 
conversation.

The problem is that I can't start a fresh conversation when selecting another 
order. I either have to join the existing (and manually refreshing all lists 
etc. that are order-specific) or nest it (which isn't really natural, haven't 
even tried it).

I tried ending and then starting the conversations through the API but still no 
go (@End and @Begin on the same method didn't seem to work, either). The 
conversations are parallell, when you select another order the order-specific 
lists should be null and go through the normal factories).

Also in pages.xml I have

  | page view-id=/login.xhtml
  | navigation
  | rule if=#{identity.loggedIn}
  | begin-conversation/
  | redirect view-id=/order.xhtml/
  | /rule
  | /navigation   
  | /page 
  | 

So I thought I would enter the application in a new long running conversation 
but that doesn't seem to be the case. And the order object showing in the 
view hasn't gone through the @Factory(order) I have in my backing bean either.

There seems to be a learning curve with Seam (as with most things) but I think 
it will be worth the while to hang in there...

Thankful for any assistance/theories on the issues,
  -Nik

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
[EMAIL PROTECTED] wrote : This may not be what you require but I dont use Ant 
or Seam tools at all.
  | 
  | I use
  | MyEclipse
  | 
  | Create an EJB3 project and Map the correct files to thew correct sub 
projects (Ear, Jar and War).
  | 
  | I simply tell MyEclipse where the JBoss Server is and hit 1 button to run 
the server (the project is automgically deployed for me by MyEclipse using 
something called exploded deployment).
  | 
  | The server output (console) is in a MyEclipse window and I can just add in 
breakpoints and step through the running code within MyEclipse.
  | 
  | I could not be simpler.
  | 
  | 
  | However; Ant is IDE Neutral so you are going to stuck with Ant from the 
Seam team as Ant makes sense (I even use it to build the demos to find which 
files to move where)!
  | 
  | It Really COULD NOT be easier... I very rarely re-start the server either 
as  any code cahnges are to the running code... so you just make a change to 
the code and carry on.. VERY useful with your JSF pages!
  | 


Thanks for your suggestive reply!

Yes, I can resolve all problems listed above through all kinds of methods.
But why cann't JBossTool do as well as netbeans about Seam-plugin???
How can i persuade those seam-freshers and my boss to use Seam?
They agree that Seam is good, but will not use it. They still use struts/JSF.

Netbeans 5.5' Seam-Plug in is really wonderful!!! But netbeans allways die 
without any reason. I give it enough memory! This plug-in cann't be used in 
NetBeans 6.0. And new seam-plugin for netbeans cann't be found.
And my team use Eclipse and refuses to use netbeans!!! And...my lovely seam 
cann't be accept by my boss!

Now, i use Seam combining Ant to develop little project for my friend. That's 
enough for me.

Maybe many months later, good seam-related tool will be developed for us. I 
will try to persuade my boss to use Seam again.

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

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


[jboss-user] [JBoss Seam] - Re: Feature request regarding nested conversations

2007-09-19 Thread matt.drees
jacob.orshalick wrote : 
  | 
  | 1.  Does the snapshot of the Conversation context include a snapshot of the 
*managed entity*?
  | 2.  If I make changes to the Person in the nested conversation, since this 
is a *managed entity* does it make any difference in the semantics of the outer 
vs. nested conversation?
  | 3.  Will I still be able to revert back to the outer conversation snapshot 
of my Person object as I can with a detached entity?
  | 

I think I need to better understand how your detached-entity system works in 
order to intelligently answer these, but I'm pretty sure you'll find that 
seam-managed persistence contexts and nested conversations don't behave how 
you'd like them to (ie, like continuation servers).  Here are some posts that 
relate:

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


http://www.jboss.org/index.html?module=bbop=viewtopict=113362 


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem in deployment : MBeans waiting for other MBeans

2007-09-19 Thread venuc_vgp
We are migrating our j2ee application from weblogic platform to Jboss4.0.1 for 
development purpose. 

There is no problem in Jboss initial setup.

When i deploy my application its giving below error, and its failing.

MBeans waiting for other MBeans:
ObjectName: jboss.web.deployment:id=1284123126,war=MyApp.war
 state: FAILED
 I Depend On:
 Depends On Me: org.jboss.deployment.DeploymentException: URL 
file:/D:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp63326
MyApp-exp.war/ deployment failed
ObjectName: jboss.web.deployment:id=-616563590,war=Login.war
 state: FAILED
 I Depend On:
 Depends On Me: org.jboss.deployment.DeploymentException: URL 
file:/D:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp63327
Login-exp.war/ deployment failed

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.web.deployment:id=1284123126,war=MyApp.war
 state: FAILED
 I Depend On:
 Depends On Me: org.jboss.deployment.DeploymentException: URL 
file:/D:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp63326
MyApp-exp.war/ deployment failed
ObjectName: jboss.web.deployment:id=-616563590,war=Login.war
 state: FAILED
 I Depend On:
 Depends On Me: org.jboss.deployment.DeploymentException: URL 
file:/D:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp63327
Login-exp.war/ deployment failed

Note: We have used EJB client call in our application.

Please help me to resolve this issue.

-V

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Shutdown hangs on CentOS

2007-09-19 Thread ngcutura
(I am sure I posted this already but I cannot find the message...)

I have CentOS 4 on a hosted server. JBoss stars fine but shutdown simply hangs. 
No logs, no reaction at all. It happens with JBoss 4.2.1 and JBoss 4.0.2
in combination with J2SDK 1.4.2_15 and JDK 1.5.0_12 (orthogonally).

My latest discovery is that shutdown hangs even if the server is down! I guess 
that shutdown command never reaches the server, hence no logs. I am not sure 
how to trace the shutdown client... 

Please help! Any hint would be appreciated.

TIA
NGC


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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
sstrenn wrote : Your posts are rather offensive...
  | 
  | I've been using seam-gen (command line) along with Red Hat Developer Studio 
since it went beta, and I have cranked out several web sites in the process.  
Perhaps you can try to be a bit more constructive with your posts - that way, 
if you solve any issues, we all benefit.

~sorry for my bad temper, But i am not on purpose. When RHDS comed out, 
i was really exciting! But there are too many bugs. 
I should have been patient as a seam-fan. Sorry!

I hope JBoss tool can learn from NetBeans about SeamPlug-in.
XML, FACET, JSF Editor in netbeans is really wonderful!!!
The build.xml generated by netbeans is fine for me!!!
Almost Everyghing is ok for me, except its Freezing/death without any reason.

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

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


[jboss-user] [JBoss Seam] - Re: s:fileUpload using tempFile fails with an OutOfMemoryErr

2007-09-19 Thread pingus
OK, good to know (yes, it's a byte[]). Thanks for this info.

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread hafidzmalik
Thanks to ybxiang.wolf for addressing my concern from JBoss Tools (user) forum.

Now new version of SEAM already available at 
http://labs.jboss.com/jbossseam/download/index.html. I hope this version will 
compliment the available version of JBoss Tools or the nightly built being 
used. 

I'll keep on trying which available version of Seam vs JBoss Tools vs Eclipse. 
Not that I'm against RHDS or what so ever. JBoss tools is the stepping stone to 
prove to management what a reliable product it will be.

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
Yes, i never use seam-tools too.
Now, i only use Ant.
But how to edit FACET? JBPM? Yes, they can be written by hand too.
But you will waste more time because of writting errors,etc.

As we know, we cann't  delete files such as web.xml(in exploded war file) from 
jboss. So,at last, how to deploy EAR as EXPLODED file and JAR,WAR as archived 
files automatically??? 
Netbeans5.5 can do it
Why cann't JBoss Tools or RHDS?



supernovasoftware.com wrote : I have never tried using seam tools, but I am 
looking for well designed reusable code.  My facelets templates are many levels 
deep.  I write every thing by hand and prefer it that way.
  | 
  | It gives me better understanding and control.  I would only be interested 
in drag and drop for simple prototyping.
  | ~yes, you are right. Netbeans, JBossTool can do it now. But why not 
get better?
  | 
  | Seam gen sets up a working project or just take one of the example and 
modify.
  | ~~~I agree with you, I never use Seam-gen, too simple.
  | 
  | I used seam gen to make a seam 2.0 project and then used the seamdisc 
example to integrate trinidad.
  | ~~Ha, ha, me too!!!
  | 
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge under load throws IllegalStateException

2007-09-19 Thread mclu
Hi Tim!

I don't have much time currently to create an easy testcase because of project 
priorities. So I have to fight fist to get more time on this (with my wife and 
my Boss :-) )

But meanwhile I have tested the MaxBatchTime -1 setting and shaped the problem 
a little.

Again my setup but now only the relevant parts:
- 2 Servers A and B
- A should send messages to B. B processes the messages and sometimes send 
result to A.

Technical architecture
-A holds a queue Q1 which is bridged to B Bridged_Q1
-On B there is MDB processing the Messages in Bridged_Q1 and send results to Q2.
-Results are bridged to A Bridged_Q2
-on A there is a MDB which stores results.

So each side holds 2 queues. The bridge for both sides are deployed on A.

Testsituation:
about 900 Messages are waiting in Q1
When I now hotdeploy my bridge on A it starts the above processing:
MaxBatchSize is always set to 2

Result:
With maxBatchTime 200 or 300 I have a lot of errors. With 100 it is less!.
With -1 there is no Problem anymore...

It must have something to do if there are 2 directions with messages or two 
bridges are active at the same time for the same server. My third Server (which 
only send messages to A) have no bridging problem.

thx again for your effords!!
Markus Lutum 


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

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


[jboss-user] [JBoss Seam] - Re: Recovering from a Constraint violation exception

2007-09-19 Thread wise_guybg
fernando_jmt: Could you please post a link of the topic you're talking about. I 
couldn't find it in the forum.

supernovasoftware.com: Manual and Hibernate Validation are one thing. Database 
constraints are another thing. Currently I have a problem handling exceptions 
from the database. One could argue if custom checks are secure enough...

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
Tony maybe never come back.
He is a superman, i hope i can become superman too.
;-)

saeediqbal1 wrote : Tony could you please post a tutorial on how you do all 
that? I dont have myeclipse i would rather try doing that using redhat studio.
  | ~yes, I love RHDS too!!! But it has too many bugs, and now is trial 
version. You should not expect too much of it, or you will be hurt deeply just 
like me.
  | 
  | 
  | Thanks.
  | 

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

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


[jboss-user] [EJB 3.0] - Re: DefaultJMSProvider not bound

2007-09-19 Thread sraick
My problem is, only on Unix Sun Solaris, that the DefaultDS is bound after the 
DefaultJMSProvider.  On Windows OS, DefaultDS is bound before and everything 
works.  

Would it be possible that the recursive scan on Solaris doesn't work as it 
would?

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
Me too.


When i am free, I will dig the whole Jboss forum about seam.


supernovasoftware.com wrote : If you have time, I would greatly appreciate a 
tutorial as well.

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

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


[jboss-user] [JCA/JBoss] - Re: InUseConnections MaxPoolSize... is this possible?

2007-09-19 Thread Sancheski
Here is de ds

?xml version=1.0 encoding=UTF-8?
connection-factories
   no-tx-connection-factory   
  !-- Where to bind the datasource, under the java:/ prefix --
  jndi-nameLdapConnector/jndi-name
  rar-name10.ear#ldap-connector.rar/rar-name
  
connection-definitioncom.hp.som.connector.CapabilityConnectionFactory/connection-definition
  config-property name=ldapContextFactory 
type=java.lang.Stringcom.sun.jndi.ldap.LdapCtxFactory/config-property
  config-property name=providerUrl 
type=java.lang.Stringldap://10.31.21.83:389//config-property   
  config-property name=securityAuthentication 
type=java.lang.StringSIMPLE/config-property
 
  config-property name=securityPrincipal 
type=java.lang.Stringuid=admin, ou=Administrators, ou=TopologyManagement, 
o=NetscapeRoot/config-property 
  config-property name=securityCredentials 
type=java.lang.Stringadmin/config-property 
   
  !-- The minimum number of connections a pool should hold --
  min-pool-size1/min-pool-size
  !-- The maximum number of connections for a pool --
  max-pool-size3/max-pool-size
  !-- The maximum time in milliseconds to block while waiting for a 
connection -- 
  !-- before throwing an exception. Note that this blocks only while 
waiting --
  !-- for a permit for a connection, and will never throw an exception if 
--
  !-- creating a new connection takes an inordinately long time --
  blocking-timeout-millis3000/blocking-timeout-millis
  !-- The maximum time in minutes a connection may be idle before being 
closed --
  idle-timeout-minutes0/idle-timeout-minutes
  background-validationtrue/background-validation
  background-validation-minutes1/background-validation-minutes
   /no-tx-connection-factory
/connection-factories

Hope it is helpful, 

Thanks

David

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread ybxiang.wolf
monkeyden wrote : I agree with supernova.  The tools that exist today pretty 
much satisfy my needs.  The only thing I really need from a seam tool is to 
generate the finicky project structure. 
  | ~This is what i want too. Drag and drop is good too. You should 
try it, it can easy your job!
  | 
  | 
  | 
  | anonymous wrote : before I drop dead
  | haha!

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

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


[jboss-user] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request

2007-09-19 Thread richard_opalka
Hi,

   you can use JAXWS handlers. There's a lot of tutorials on internet about it.

Richard

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-19 Thread hafidzmalik
Invalid url inside new jboss-seam-2.0.0.CR1\readme.txt

* Read the online FAQ http://www.jboss.com/products/seam/faq

should be
* Read the online FAQ http://labs.jboss.com/jbossseam/faq


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deploying a RichFaces application

2007-09-19 Thread siven555
I got the following message when I tried to view my xhtml pages.

type Exception report
message 
description 
The server encountered an internal error () that prevented it from fulfilling 
this request.
exception 
javax.servlet.ServletException: Stack must not be null

org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:103)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)

org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)

org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)

org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)

org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.IllegalArgumentException: Stack must not be null
org.jboss.seam.core.ConversationEntry.(ConversationEntry.java:40)

org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)

org.jboss.seam.exceptions.DebugPageHandler.handle(DebugPageHandler.java:24)
org.jboss.seam.core.Exceptions.handle(Exceptions.java:79)

org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)

org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)

org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)

org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)

org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.20 logs.


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

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


[jboss-user] [Remoting] - Re: Problem calling EJB3 method via HTTP only

2007-09-19 Thread MarcReis
Hi,
the problem seems to be caused by configuration.
My colleague configured the http-invoker.sar\META-INF\jboss-service.xml with 

  | servlet://${jboss.bind.address}:80/servlet- invoker/ServerInvokerServlet
  |  (the 80 is important)
for the org.jboss.remoting.transport.Connector.
Then it will work.
Sincerely
Marc

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

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


[jboss-user] [JBoss Portal] - portal.sar deployed but browser/tomcat returns nullpointerex

2007-09-19 Thread konstandinos
hi all

i have a default install of jboss-4.0.5.GA (i used the jems installer with the 
'-installGroup default' option)

i have downloaded jboss-portal-2.6.1.GA, unzipped the archive, and uploaded the 
jboss-portal.sar folder to my $jboss-home/server/default/deploy/ directory (as 
per the documentation's instructions).

i then navigate to my portal site, namely http://41.204.222.108:8080/portal/ - 
but as you can see i get a ServletException, with root cause 
NullPointerException - and i have no idea why.

i followed the rather simple instructions step by step and it's not working. 
any ideas?

thanks,

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

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


[jboss-user] [JBoss Portal] - Re: JSF and all commandButtons are fired

2007-09-19 Thread den74
i think you have wrong something in declaration. The right one is:

h:commandButton action=#{Bean.calit} value=#{Calculation}/

you don't need to specify type=submit

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss Rejects Connections

2007-09-19 Thread jaikiran
anonymous wrote : Instead of 127.0.0.1 should be our domain? 

Yes you can do that and then start JBoss server with the -b option and pass it 
your machine name/IP

Alternately, you can let the WSDL remain as is and start JBoss server, using 

run -b 0.0.0.0

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

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


[jboss-user] [JBoss Portal] - Re: portal.sar deployed but browser/tomcat returns nullpoint

2007-09-19 Thread [EMAIL PROTECTED]
You installed the datasource descriptor ?
 (The doc says not oi use the JEMS installer by the way, because it is just not 
part of the test suite)

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

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


[jboss-user] [JBoss Seam] - Error in documentation, or my understanding?

2007-09-19 Thread matt.drees
Reference Documentation section 5.1.1.2 wrote : 
  | But ending the conversation loses any state associated with the 
conversation, including the document we are currently interested in! One 
solution would be to use an immediate render instead of a redirect:
  | 
  | 
  |   | page view-id=/editDocument.xhtml
  |   | 
  |   | navigation from-action=#{documentEditor.update}
  |   | rule if=#{documentEditor.errors.empty}
  |   | end-conversation/
  |   | render view-id=/viewDocument.xhtml/
  |   | /rule
  |   | /navigation
  |   | 
  |   | /page
  |   | 
  | But the correct solution is to pass the document id as a request parameter:
  | 
  |   | page view-id=/editDocument.xhtml
  |   | 
  |   | navigation from-action=#{documentEditor.update}
  |   | rule if=#{documentEditor.errors.empty}
  |   | end-conversation/
  |   | redirect view-id=/viewDocument.xhtml
  |   | param name=documentId 
value=#{documentEditor.documentId}/
  |   | /redirect
  |   | /rule
  |   | /navigation
  |   | 
  |   | /page
  |   | 
  | 

I haven't tested this, but this strikes me as wrong.  Conversations by default 
don't end until after a redirect, right?  If beforeRedirect=true was 
specified, then the param would be necessary.  But as it is, it shouldn't be 
necessary.  Please, correct me if I'm wrong.

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

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


[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException, problem with a EL-attribute

2007-09-19 Thread vlaugier
I had indeed not specified the getter and the setter in the interface.

It works now


thank you !

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

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


[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread matt.drees
Seam Text is implemented by a lexer/parser generated by Antlr at buildtime.  
So, adding formatting rules at runtime isn't possible (AFAIK).

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

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


[jboss-user] [JCA/JBoss] - Re: InUseConnections MaxPoolSize... is this possible?

2007-09-19 Thread vickyk
I don't see the configuration causing subpools to evolve , however I would also 
like to see the xml contents created when you deploy this connection descriptor 
file . 
Can you search the contents in the server log file , the generated xml file 
should be looked after [org.jboss.deployment.XSLSubDeployer] transformed into 
doc: in the server log ?
This xml should contain ConnectionManager,JBossManagedConnectionPool etc mbeans 
, type the contents here let me have a look at it .


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

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


[jboss-user] [JBoss Portal] - Re: portal.sar deployed but browser/tomcat returns nullpoint

2007-09-19 Thread konstandinos
no i have not :-)

i am wanting to use our postgresql database, so ill try configure the 
datasource descriptor for that. i'll come back here if i run into problems.

ps: thanks for pointing out the lack of jems support; if all else fails i'll 
try installing the proper way.

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

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


[jboss-user] [Remoting] - Re: Problem calling EJB3 method via HTTP only

2007-09-19 Thread MarcReis
Sorry,
guess its time to take a break,
it is ofcourse in the jboss-service.xml of the ejb3.deployer.

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

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


[jboss-user] [JBoss Messaging] - Re: I need help about Messaging!

2007-09-19 Thread catania
Hi all!
  I solved my problem. I imported jbossall-client into my project, all things 
ok.

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge under load throws IllegalStateException

2007-09-19 Thread timfox
I think I know what the problem is by looking at the code, I just haven't 
managed to replicate here, I guess I just haven't managed to get the race.

Anyhow, I can add a fix even though I can't replicate, hopefully will have 
this done in before the end of the week. If you could then try that out, we'll 
put it in the next release.

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

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


[jboss-user] [EJB 3.0] - SystemException vs. ApplicationException

2007-09-19 Thread toni
Hi,

In my application it's very likely that two entity beans with the same primary 
key (consisting of a string) get persisted at the same time. If that happens a 
duplicate key exception (PersistenceException/NonUniqueObjectException) is 
raised and the the current transaction is unfortuantely being rolled back.

The problem is that it does not seem to be possible to recover from this error 
gracefully. Trying to catch the exception nevertheless rolls back the 
transaction. I have read, that's because it's an SystemException and that those 
kind of RuntimeExceptinons always roll back the current transaction.

I have also read that, if we declare those RuntimeExceptions as application 
exceptions in  the ejb-jar xml description and set the rollback tag to false, 
the current transaction is not being rolled back. I have tried this by 
inserting the following xml into my ejb-jar, but it does not prevent the 
transaction from being rolled back:


  | ejb-jar
  | 
  |   assembly-descriptor
  | interceptor-binding
  |   ejb-name*/ejb-name
  |   
interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
  | /interceptor-binding
  | 
  | application-exception
  |   
exception-classorg.hibernate.NonUniqueObjectException/exception-class
  |   rollbackfalse/rollback
  | /application-exception
  | 
  | application-exception
  |   
exception-classjavax.persistence.PersistenceException/exception-class
  |   rollbackfalse/rollback
  | /application-exception
  | 
  |   /assembly-descriptor
  | 
  | /ejb-jar
  | 

Quite frankly my application heavily depends on gracefully dealing with those 
kind of duplicate key exceptions, because I need them to figure out, whether or 
not a certain entity already exists and I can't use a simple SELECT to find 
out, because of concurrency issues and I can't use an isolation level of 
Serializable, because of performance reasons.

How can I make sure that I catch those kind of duplicate key exceptions without 
the current transaction being rolled back when I call 
entityManager.persit(myEntityBean) ???

Toni

PS: This guy seems to have the same problem

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

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

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


[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread demetrio812
I see, even if I think a pluggable system over the antlr-generated base would 
be useful (even if for simpler expressions)...

btw so I think that the \n problem is a bug...

also I propose to change the / character for italic because it is very common 
in language and a lot of ppl using it wrong forgotting that it is a special 
character...

I know it's difficult to do coz of backwards compatibility, but I think we have 
to discuss this, what do you think?

demetrio

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

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


[jboss-user] [JBoss Seam] - PageFlow and database

2007-09-19 Thread [EMAIL PROTECTED]
I think that the possibility to store PageFlow processInstance into the 
database can be very useful.
What you think about that?

Thanks


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

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


[jboss-user] [JBossWS] - Re: WS-Security: keystores and truststores

2007-09-19 Thread [EMAIL PROTECTED]
I have created a JIRA request here http://jira.jboss.com/jira/browse/JBWS-1814

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge under load throws IllegalStateException

2007-09-19 Thread mclu
Cool...
Yes! I can try it out (hopefully) if this then will help.
Just tell me how I can get the fix then...
Greets...



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

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


[jboss-user] Memory upgrade

2007-09-19 Thread Elangovan
Hi All,
My JBoss server has the memory settings as given below.
JAVA_OPTS=\-server -Xss128k -Xms256m -Xmx512m -XX:PermSize=128m 
-XX:MaxPermSize=512m -Djava.awt.headless=true\
Recently the physical Ram has been upgraded to 3GB. Now I have been asked to 
double the JBoss memory .
So what changes should be done in the above given settings?
Thanks in Advance,
Elangovan K___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Exception thrown from Authenticator.authenticate method

2007-09-19 Thread terryb
Someone please help. I throw an exception from Authenticator.authenticate and 
would like to capture it in pages.xml file to redirect to a custom page. 
However it doesn't work as expected. 

The exception thrown appears in logs but it doesn't redirect to the page 
specified in the pages.xml file. Seam treats my exception same as returning 
false from the authenticate method, meaning login failed and displays faces 
message.

Authenticator class:

public boolean authenticate() {

... 

if (locked.equalsIgnoreCase(organisationUser.getStatus())) {


FacesMessages.instance().addFromResourceBundle(mypackage.test, 
identity.getUsername());
throw new UserAccountLockedException(Your account is 
currently locked.);
}
...
return true;
}

pages.xml
[exception class=mypackage.UserAccountLockedException]
 [redirect view-id=/error.xhtml]
  [message] Account locked [/message]
[ /redirect]
[/exception]

[ and ] only to allow pasting xml here, they meant to bes  and .

It doesn't redirect to /error.xml page. It just stays on login page and 
displayes my message from messages_en.properties file.

Do I need to do something else to make my exception entry in pages.xml to 
work???



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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-19 Thread oblivion1200
I was happy that I have solved the problem, but it is not over yet :( 
I found that using datatable this way gives me null @DataModelSelection. When I 
use datatable in normal way it works fine. 
Using ui:param works only to display data for me.

I can't use it like this:

  | ...
  | h:column
  |s:link value=#{item.title} action=#{object.setValue(item)}/
  | /h:column
  | ...
  | 
because item is null. I've found in server logs that setValue is fired two 
times instead of once. 

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

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


[jboss-user] [JBoss Portal] - contetnt mixed mode storage

2007-09-19 Thread k3nnymusic
I'm using jboss as 4.0.5GA and jboss portal 2.4.2 and when I change in xml to 
mixed storage file every my cms portlet instances have error
java.lang.NullPointerException
and I haven't got access to any content files. 
If I try to open any files from my
\jboss-4.0.5.GA\server\default\deploy\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content\default

for example by url:
http://localhost:8080/portal/content/default/images/support.gif

I have got the following error:

javax.servlet.ServletException: Unable to register cleanup Synchronization with 
TransactionManager
  | 
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:321)
  | 
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:173)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

I tryied to clean my workspace, tmp etc, and it doesn't work. I don't 
understand, when I have got mixed storage and write:
/content/default/images/support.gif
then it loads support.gif from filesystem or from database?
How can I define that?

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

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


[jboss-user] [EJB 3.0] - Re: How set transaction timeout at method level?

2007-09-19 Thread tim.shaw
Jboss 4.2.1GA

I have a 'setup' which takes ages (20 mins) to generate the data I need. I 
tried the @TransactionTimeout method annotation but can't find it in the jars.

Is this available, and where is it please? If not, is there another approach I 
can use ... it's only for a few, known, long-lasting methods - not for general 
use!

Thanks


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

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


[jboss-user] [JBoss Seam] - how to terminate @Asynchronous method

2007-09-19 Thread tjakopec
I have @Asynchronous method and everithing is working fine. Now I want to stop 
calling that method.


  | @AutoCreate
  | @Name(natjecajServis)
  | @Stateless
  | public class NatjecajServisBean  implements NatjecajIServis {
  | @Asynchronous
  | public void odradi(@Expiration
  | Date date, @IntervalCron
  | Long interval,@FinalExpiration Date kraj) {
  | ...
  | }
  | }
  | 

witch is call from another bena when server starts

  | @Stateless
  | @Name(cron)
  | public class CronBean implements  Cron {
  | @In
  | ZaposlenikIServis zaposlenikServis;
  | @Observer(org.jboss.seam.postInitialization)
  | public void postaviIzvodenje() {
  | log.info(Set up cron);
  | zaposlenikServis.odradi(...);
  | }
  | }
  | 


So, how to stop calling @Asynchronous method

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

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


[jboss-user] [JBossCache] - Re: load root node - table initialized for custom loader?

2007-09-19 Thread BruceSpringfield
No, just answered my own question :)

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

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


[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread miloslav.vlach
Hi, I have the same problem you are wrote. Some of DB operations succesed but 
some throws this exception.

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

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


[jboss-user] [JBoss Portal] - Re: portal.sar deployed but browser/tomcat returns nullpoint

2007-09-19 Thread konstandinos
heya thomas

for what it's worth:

i've configured the datasource descriptor and uploaded it, along with the jdbc 
driver for postgresql (having already create a user and jbossportal database).

after restarting the jboss server, everything seems to work now. ie: the portal 
loads up as expected, i can log in, and navigate around the default portlets 
with no fuss.

however i've been tailing jboss's logfile and while viewing the portal's 
homepage i kept seeing this (repeated over and over every 5 seconds or so):


  | 10:55:30,367 WARN  [CacheLoaderInterceptor] The CacheLoader interface has 
changed since JBossCache 1.3.x
  | 10:55:30,367 WARN  [CacheLoaderInterceptor] Please see 
http://jira.jboss.com/jira/browse/JBCACHE-118
  | 10:55:30,367 WARN  [CacheLoaderInterceptor] CacheLoader.get() should return 
an empty Map if the node does exist but doesn't have any attributes.
  | 10:55:30,368 WARN  [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a 
null; assuming the node nodes not exist.
  | 

also, when i tried to log in (by clicking on the Login link on Portal's front 
page), i noticed this in the log file output:



  | 10:56:40,279 ERROR [IOTools] Error while closing outstream
  | ClientAbortException:  java.net.SocketException: Broken pipe
  | ...
  | 

... and this a bit below:


  | 10:56:40,280 ERROR [Controller] Cound not send http response
  | ClientAbortException:  java.net.SocketException: Broken pipe
  | ...
  | 

but yeah, i still manage to log in and browse around, edit my user profile, etc.

and all of this with the JEMS install.

i hope this information may be of use to you and your team. thanks for the tip 
earlier.

cheers,

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

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


[jboss-user] [JBoss Seam] - Re: model validation failed

2007-09-19 Thread davidclf
thank your reply.
I traced the Seam 2.0 source and myfaces 1.2 source.And I Found that problem 
caused by myface 1.2 bug.
In PropertyResolverToELResolver.java:
private  T invoke(ELContext context, Object base, Object property, 
ResolverInvoker invoker)
myfaces set context.setPropertyResolved(true);
but In PropertyResolverToELResolver.java:
public Object getValue(ELContext context, Object base, Object property)
myfaces return null, that cause the model validation failed

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

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


[jboss-user] [JBoss Portal] - Re: portal.sar deployed but browser/tomcat returns nullpoint

2007-09-19 Thread [EMAIL PROTECTED]
The WARN are safe to ignore, Hibernate got verbose.
The 2 errors are not normal.

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

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


[jboss-user] [EJB/JBoss] - question - Quartz

2007-09-19 Thread mhissen
I would like to use quartz under jboss seam.
I want to create a method which is executed for one specified duration and 
posts a result in a page JSF. does somebody have a tutorial or an example for 
the configuration?
Thanks...

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

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


[jboss-user] [JBoss Seam] - Stored procedure call causes connection close

2007-09-19 Thread nickarls
Yep, Hibernate specific but some of you might have come across this in a seam 
context (no pun intended):

I execute a stored procedure by getting a connection from the (Hibernate) JPA 
delegate but when the original method exits, my friendly 
CachedConnectionManager closes the connection. Which isn't very nice in a long 
running conversation with SMPC. 

Is there a better way to execute stored procedures or is there a way to leave 
the connection open?


  | 12:00:34,082 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: [EMAIL PROTECTED]
  | java.lang.Throwable: STACKTRACE
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:50)
  | at $Proxy136.prepareCall(Unknown Source)
  | at concept.misc.Repository.getNextOrderNumber(Repository.java:370)
  | 


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

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


[jboss-user] [EJB 3.0] - Integration of Quartz

2007-09-19 Thread mhissen
I would like to use quartz under jboss seam.
I want to create a method which is executed for one specified duration and 
posts a result in a page JSF. does somebody have a tutorial or an example for 
the configuration?
Thanks...

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-19 Thread [EMAIL PROTECTED]
It comes with facelets 1.1.13 draft - the source tags fix is not included with 
this.  You'll need to build a facelets jar from CVS if you want this fix.  As 
soon as facelets release a new version we will update.

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

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


[jboss-user] [JCA/JBoss] - Re: InUseConnections MaxPoolSize... is this possible?

2007-09-19 Thread Sancheski
Here you are:


  | 2007-09-19 11:12:04,088 DEBUG [org.jboss.deployment.XSLSubDeployer] 
transformed into doc: server
  |  mbean code='org.jboss.resource.connectionmanager.NoTxConnectionManager' 
display-name='ConnectionManager for ConnectionFactory LdapConnector' 
name='jboss.jca:service=NoTxCM,name=LdapConnector'
  |   depends optional-attribute-name='ManagedConnectionPool'
  |mbean 
code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' 
display-name='Connection Pool for DataSource LdapConnector' 
name='jboss.jca:service=ManagedConnectionPool,name=LdapConnector'
  | depends optional-attribute-name='ManagedConnectionFactoryName'
  |  mbean code='org.jboss.resource.connectionmanager.RARDeployment' 
display-name='ManagedConnectionFactory for ConnectionFactory LdapConnector' 
name='jboss.jca:service=ManagedConnectionFactory,name=LdapConnector'
  |   attribute name='ManagedConnectionFactoryProperties'
  |properties
  | config-property name='ldapContextFactory' 
type='java.lang.String'com.sun.jndi.ldap.LdapCtxFactory/config-property
  | config-property name='providerUrl' 
type='java.lang.String'ldap://13.24.21.78:389//config-property
  | config-property name='securityAuthentication' 
type='java.lang.String'SIMPLE/config-property
  | config-property name='securityPrincipal' 
type='java.lang.String'uid=admin, ou=Administrators, ou=TopologyManagement, 
o=NetscapeRoot/config-property
  | config-property name='securityCredentials' 
type='java.lang.String'admin/config-property
  |/properties
  |   /attribute
  |   attribute name='RARName'10sss.ear#ldap-connector.rar/attribute
  |   attribute 
name='ConnectionDefinition'foo.bar.connector.CapabilityConnectionFactory/attribute
  |   depends 
optional-attribute-name='OldRarDeployment'jboss.jca:service=RARDeployment,name='10sss.ear#ldap-connector.rar'/depends
  |  /mbean
  | /depends
  | attribute name='PoolJndiName'LdapConnector/attribute
  | attribute name='MinSize'1/attribute
  | attribute name='MaxSize'3/attribute
  | attribute name='BlockingTimeoutMillis'3000/attribute
  | attribute name='IdleTimeoutMinutes'0/attribute
  | attribute name='BackGroundValidation'true/attribute
  | attribute name='BackGroundValidationMinutes'1/attribute
  | attribute name='PreFill'False/attribute
  | attribute name='UseFastFail'False/attribute
  | attribute name='Criteria'ByNothing/attribute
  |/mbean
  |   /depends
  |   attribute name='JndiName'LdapConnector/attribute
  |   depends 
optional-attribute-name='CachedConnectionManager'jboss.jca:service=CachedConnectionManager/depends
  |  /mbean
  |  mbean 
code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService' 
display-name='Binding for ConnectionFactory LdapConnector' 
name='jboss.jca:service=ConnectionFactoryBinding,name=LdapConnector'
  |   attribute name='JndiName'LdapConnector/attribute
  |   attribute name='UseJavaContext'true/attribute
  |   depends 
optional-attribute-name='ConnectionManager'jboss.jca:service=NoTxCM,name=LdapConnector/depends
  |  /mbean
  | /server
  | 2007-09-19 11:12:04,088 DEBUG [org.jboss.deployment.SARDeployer] Using 
existing deployment.document

Thanks a lot

David

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

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


[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-19 Thread [EMAIL PROTECTED]
Please bear in mind that RHDS and JBossTools are only in beta at the moment.  
If you aren't willing to work with the development team and provide feedback 
about bugs but looking for a supported development environment that just works, 
you're probably best of waiting for the release of RHDS early this autumn - it 
comes with the JBoss EAP and should work ootb with it.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Installation problem

2007-09-19 Thread glwzpdq
Hi,

   Can anyone here tell me how to install jboss-4.2.0.GA manually without using 
the Software update features of eclipse. I've got jboss-4.2.0.GA.zip and 
eclipse-jee-europa-win32.zip at hand. Thanks!

Best Regards


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

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


[jboss-user] [EJB 3.0] - Ordering on Transient Field

2007-09-19 Thread FabBoco
Hi,

I have the following Entity Bean


  | public class E1 implements Serializable
  | {
  |private String p1;
  | 
  |.
  | 
  |@Transient
  |public Double getP2()
  |   {
  |.
  |   }
  | }
  | 

If I executes the following query:

  |   select o from E1 as o order by o.p2
  | 
I obviously get the following error:

  | org.hibernate.QueryException: could not resolve property: p2
  | 
Question is if I can use transient fields in EJBQL queries and how.

Thank you

Fab.


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

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


[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread [EMAIL PROTECTED]
Christian wrote some extensions for SeamText in the wiki - I don't know if they 
are the style you are looking for.

I don't think the \n is a bug - it's the syntax for SeamText.  And I don't 
think we can change the language at this late a date.  Interactive preview 
combined with Matt's validator shouldn't make either of these a large issue 
right?

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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection when using jbpm process

2007-09-19 Thread ctomc
Does anyone has idea what is wrong?

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

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


[jboss-user] [JBoss Messaging] - Publishing a message in 'NotSupported' EJB

2007-09-19 Thread mskonda
I have a situation that I need to publish a message in a NotSupported method of 
an EJB. However, when I do the publication, the message doesn't appear. 

To give you more background, read the below:

Once the publication is completed, the NotSupported method returns to the 
caller and the flow continues (but see below what happens to the flow). 

As this is an exception message and as this exception is a FATAL, the flow 
stops which is what it is expected.

Although the message has been published before the flow halts, the message 
still doesn't appear. 

I am using JmsXA conenction factory in JBM 1.2.SP2

Any pointers are much appreciated.

Thanks
Madhu




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

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


[jboss-user] [JBoss Seam] - Correnct setting Faces-Config

2007-09-19 Thread miloslav.vlach
Hi all,

I have problem with setting faces-config.xml.

Especial secion lifecycle:
When I using the TransactionSeamPhaseListener, the application throws some 
exception (Transaction is not active). When I use the SeamPhaseListener all 
seems work good. But I dont know if is this replacing solutions or side effect.

I am using SMPC and I would like to use Hibernate Criteria 
(em.getDelegate().createCriteria)

How to configure the application - best practice ?

Thanks Mila

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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection when using jbpm process

2007-09-19 Thread damianharvey
Try using ScopeType.BUSINESS_PROCESS

Cheers,

Damian.

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

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


[jboss-user] [JBoss Seam] - global pageflow case??

2007-09-19 Thread alex_enache
Hello. I'm using the pageflow system on a project and I can't seem to make a 
sort of global flow case. I have a header.jsp which consists of the menu of my 
application. This menu is included in all my pages. I also have several 
pageflows in my app. How can I tell the pageflow system to make a sort of 
global pageflow ? I know this was possible using JSF navigation rules, but I 
don't want to use that and I don't want to copy-paste the piece of code for the 
menu in all the flows. Thanks.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment failure problem

2007-09-19 Thread sunainavarma

hi i am using jboss4.2.0 and myeclipse 5.5 while i am deploying my project the 
following error is occur. how to solve this .

Deployment failure on JBoss  4.x. Could not copy all resources to 
E:\jboss-4.2.0.GA\server\default\deploy\NeoForms.war. If a file is locked, you 
can wait until the lock times out to redeploy, or stop the server and redeploy, 
or manually remove the deployment at 
E:\jboss-4.2.0.GA\server\default\deploy\NeoForms.war

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

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


[jboss-user] [JBoss jBPM] - Re: Stack overflow on recursive patten.

2007-09-19 Thread kukeltje
Correct... this is not supported (since it was never intended to be used in 
this way without a waitstate). jBPM 4.0 will have no problem supporting this.

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

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


[jboss-user] [JBoss jBPM] - Re: dynamic commands

2007-09-19 Thread kukeltje
Yes, it is more extensible, but personally I'd prefere that people who develop 
'real' commands, 'donate' these to the project so everybody can benefit. With 
to much flexibility, that will probably done less :-(

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

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


[jboss-user] [JBoss jBPM] - Re: Version compatibility issues between JBPM 3.1.3 and JBos

2007-09-19 Thread kukeltje
turn on hibernate debug and see why it fails. Could be due to an invompatible 
hibernate version/configuration.

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

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


[jboss-user] [JBoss Portal] - Re: Personalize and personalizerecursive, what is that for?

2007-09-19 Thread shilpak
Hi,

  I have a similar question I have given only view permision to unchecked. 
And not given personalize/personalizerecursive permision to any user/role. But 
when I login as admin or user, it shows me edit link for a portlet. Then what 
do we mean by personalize and recursive personize in jboss portal 2.6.1.

Thanks
Shilpa

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

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


[jboss-user] [JBossWS] - Re: New user needs help

2007-09-19 Thread [EMAIL PROTECTED]
This is not normal. You could start here 

http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start

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

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


[jboss-user] [JBoss Messaging] - Re: Publishing a message in 'NotSupported' EJB

2007-09-19 Thread timfox
mskonda wrote : 
  | I am using JmsXA conenction factory in JBM 1.2.SP2
  | 

Don't use JmsXA.

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-19 Thread [EMAIL PROTECTED]
Already noticed one bigger change and some small ones from Beta1 to CR1 for 
existing projects:

- ajax4jsf.jar must be exlcuded from the project (because now merged with 
richfaces)
 - JBoss warns me: WARN  [SkinFactoryImpl] Init parameter for a skin name 
changed to org.richfaces.SKIN
 - So needs change in web.xml
 - Do I need to edit: org.ajax4jsf.VIEW_HANDLERS?
- Libraries in lib folder needs to be updated (of course)
- application.xml needs update on same jars as the version changed

So far, hope this helps someone,

Greetz GHad

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

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


[jboss-user] [JBoss Seam] - Re: how to terminate @Asynchronous method

2007-09-19 Thread [EMAIL PROTECTED]
Do you use Quartz or EJB Timers?

Doc Reference (CR1): 
http://docs.jboss.com/seam/2.0.0.CR1/reference/en/html/jms.html#d0e11316[/url]

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

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


[jboss-user] [Clustering/JBoss] - Cluster merge issues

2007-09-19 Thread jbossmk
We have a cluster of nodes deployed on the same machine with the 
cluster-service.xml having the following snippet:

 TCP bind_addr=localhost start_port=${jboss.cluster.tcp.port:7800} 
loopback=true/
  | TCPPING initial_hosts=localhost[${jboss.cluster.tcp.port:7800}] 
port_range=${jboss.cluster.tcp.port.range:5} timeout=3500
  | num_initial_members=${jboss.cluster.tcp.members:5} up_thread=true 
down_thread=true/
  | MERGE2 min_interval=5000 max_interval=1/
  | FD shun=true timeout=5000 max_tries=5 up_thread=false 
down_thread=false /
  | VERIFY_SUSPECT timeout=4000 down_thread=false up_thread=false /
  | pbcast.NAKACK down_thread=true up_thread=true gc_lag=100
  | retransmit_timeout=3000/
  | pbcast.STABLE desired_avg_gossip=2 down_thread=false 
up_thread=false /
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=false
  | print_local_addr=true down_thread=true up_thread=true/
  | pbcast.STATE_TRANSFER up_thread=true down_thread=true/
  | 


When a split happens, the nodes from the secondary partition doesn't merge at 
all. We are re-starting the node every time this happens.
Could someone tell me if there is anything wrong in the configuration?
Would setting shun=true in the GMS change the behavior? I also heard that the 
JGroup channel's AUTO_RECONNECT should be set to true programatically, how do 
we do that declaratively?

Your help is appreciated.

Thanks.

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

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


[jboss-user] [Clustering/JBoss] - Re: Cluster merge issues

2007-09-19 Thread [EMAIL PROTECTED]
#1 Check that 'localhost' really resolve to the correct address (e.g. not to 
127.0.0.1) on *all* hosts
#2 You can't set AUTO_RECONNECT declaratively, use the following code to do 
this:

JChannel ch;
ch.setOpt(Channel.AUTO_RECONNECT, true);

Possibly also
ch.setOpt(Channel.AUTO_GETSTATE, true);

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

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


[jboss-user] [JBoss Seam] - problem with s:link

2007-09-19 Thread alex_enache
I'm having some troubles with using s:link inside html code.

f:verbatim
  | div
  | ul class=nav
  | listrongProjects/strong
  | ul
  | lis:link action=createProject value=Create 
Project/li
  | /ul
  | /li
  | /ul
  | /div
  | /f:verbatim

Here I'm using css to create an horizontal menu. At render time s:link is not 
rendered inside the list, but before it. So it doesn't make part of my menu. 
Any ideas why this happens and how can I repair it ?

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

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


[jboss-user] [JBoss Messaging] - Re: Publishing a message in 'NotSupported' EJB

2007-09-19 Thread mskonda
Why would you recommend not to use JmsXA, tim?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying a RichFaces application

2007-09-19 Thread siven555
This message also appeared before deployment

2007-09-19 14:22:04,194 ERROR [org.apache.commons.digester.Digester] End event 
threw exception
java.lang.IllegalArgumentException: argument type mismatch

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-19 Thread baz
Look at this post:
http://www.jboss.com/index.html?module=bbop=viewtopict=117233
As of today i have no answer how it could work with facelets:-(
Ciao,
Carsten

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

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


[jboss-user] [JBoss Seam] - form controls with the same property name

2007-09-19 Thread schmod54
How do I add error messages to a particular control if multiple controls share 
the same property name on the same page?  E.g., say I have a user registration 
form, where usernames are unique.  If a user enters a duplicate username, in my 
action bean I can add an error like so:

facesMessages.addToControlFromResourceBundle(username, usernameExists);

But say I have a batch user registration process that allows someone to 
register 10 users at a time.  If I use the same code, then the error message 
gets displayed at the top of the page and the user doesn't know which username 
is invalid.  I could change the error message to contain the invalid name, but 
I would rather display it next to the relevant control.  So how do I do that?  
Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread stephen.friedrich
Typically this means there was a previous error that corrupted the transaction.

Specifically I have been getting this when trying to use MyFaces Trinidad with 
Sun's JSF RI. For some strange reason whenever a validation fails from that 
point on you'll get this error. 

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

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


[jboss-user] [Clustering/JBoss] - Re: Cluster merge issues

2007-09-19 Thread jbossmk
The localhost resolves to a valid domain, and all of the nodes (five of them) 
run on a single box. We are using JGroups 2.4.1. 

Is the configuration Okay otherwise?

Why does the split happen at all even if all the nodes are running on the same 
box in the first place? Could it be because of long GC pauses? Could there be 
any other reasons?

Please let us know.

Thanks.

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

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


[jboss-user] [JBossWS] - Re: Strange - Entry Point not receive WS Message data

2007-09-19 Thread [EMAIL PROTECTED]
The wsdl that is specified in wsdlLocation is published without further 
processing by the stack (except url rewriting)

Please check if your message conforms to the wsdl that is generated by the 
endpoint. i.e. remove the wsdlLocation attribute

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

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


[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread wise_guybg
I'm facing the same problem but with another idea in my mind:
http://www.jboss.com/index.html?module=bbop=viewtopict=118991

I have been dealing with a similar problem in a previous project at work where 
we used Hibernate. The solution was to create a backing session that will help 
you recover gracefully in case of DBException/ContraintViolation.

I was wondering if something similar can/should be done in Seam/EJB3.

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

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


[jboss-user] [JBossWS] - Re: Error: Unable to createEndpointReference Provider

2007-09-19 Thread [EMAIL PROTECTED]
This looks like a classpath problem to me

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-19 Thread [EMAIL PROTECTED]
wise_guybg wrote : [EMAIL PROTECTED]: I would suggest you go by the 
Application 5 specification and instead of describing each jar file in the 
application.xml, you put them all in /lib inside your EAR.
  | 

Does this work with jars containing seam components (wrote a little framework) 
as well? By now we're using MyEclipse w/ exploded deploy. Our actual version 
does not support deployment into /lib (at least we didn't try by now, but this 
is on our features wishlist since JBoss 4.2 has been released)

Thanks for info!

Greetz GHad



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

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


[jboss-user] [Clustering/JBoss] - load balancing

2007-09-19 Thread jbossmk
I am using the load balancing available via the client proxy in our clustered 
environment. I am assuming that the FirstAvailable load balance policy (for the 
remote bean) provide server affinity. Is that right? Can someone confirm this?

Also, would it matter if my home bean is RoundRobin and my remote bean is 
FirstAvailable? 

Please let me know.

Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection when using jbpm process

2007-09-19 Thread ctomc
i have tryed to use ScopeType.BUSINESS_PROCESS for component but it doesn't 
change anything.
Have even try to ouptut the object to business scope but it doesnt help.

any other ideas?

tomaz



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

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


[jboss-user] [EJB 3.0] - Re: Ordering on Transient Field

2007-09-19 Thread wolfc
Java Persistence API, 4.3 wrote : For every persistent ?eld or get accessor 
method (for a persistent property) of the entity class, there is a ?eld 
(?state-?eld?) whose abstract schema type corresponds to that of the ?eld or 
the result type of the accessor method.
  | 
JPA, 4.9 wrote : orderby_clause ::= ORDER BY orderby_item {, orderby_item}*
  | orderby_item ::= state_?eld_path_expression [ASC | DESC]
JPA, 2.1.1 wrote : All non-transient instance variables that are not 
annotated with the Transient annotation are persistent.
Take make a long story short: no.

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

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


[jboss-user] [JBossWS] - Re: How di I get detail in SOAPFault

2007-09-19 Thread [EMAIL PROTECTED]
http://jira.jboss.org/jira/browse/JBWS-1815

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

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


  1   2   3   4   >