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

2007-09-18 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=bb&op=viewtopic&p=4085868#4085868

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085868
___
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-18 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

  | 
  | 
  | 
  | 
  | 
  | 
  |
  |  
  | 

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=bb&op=viewtopic&p=4085867#4085867

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085867
___
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-18 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=bb&op=viewtopic&p=4085866#4085866

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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-18 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=bb&op=viewtopic&p=4085865#4085865

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085865
___
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-18 Thread demetrio812
Is there someone can answer here? 

thanks

Demetrio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085863#4085863

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085863
___
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-18 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=bb&op=viewtopic&p=4085862#4085862

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085862
___
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-18 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=bb&op=viewtopic&p=4085861#4085861

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085861
___
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-18 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=bb&op=viewtopic&p=4085857#4085857

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085857
___
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-18 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=bb&op=viewtopic&p=4085860#4085860

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085860
___
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-18 Thread mnrz

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

this is ExportDataUtil.exportToExcel() method:

  | public void exportToExcel(String filepath,Map 
indexResultSet,Map> 
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=bb&op=viewtopic&p=4085858#4085858

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085858
___
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-18 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=bb&op=viewtopic&p=4085856#4085856

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085856
___
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-18 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=bb&op=viewtopic&p=4085855#4085855

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085855
___
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-18 Thread [EMAIL PROTECTED]
Yes, it would be easy to do that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085854#4085854

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 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=bb&op=viewtopic&p=4085850#4085850

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085850
___
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-18 Thread baz
Very interesting thread.
i like to give a new usecase (or workflow)
We have a search screen, where the user can search for an object(e.g. an 
experiment)
When navigation to the show/edit screen ocurs a conversation is started and the 
object(the experiment) is shown.

Now the user can work with the object(the experiment)

What comes in now is a subworkflow. This workflow uses a nested conversation 
and could be started on any page. When this subworkflow ends, the nested 
conversation ends and redirection to the starting page occurs.

Now imagine that our object(experiment) consists of many parts 
(analysis,mtplate,samples and so on). Could it be good  design to create some 
of this parts in a subworkflow? And if so, how can i get hold of the assembled 
object in my outer conversation? 

This gets more complex when you are aiming to an object hierarchy
An experiment has  mtplates and analyses. Now when editing an analysis, this 
analysis has to be associated with an mtplate. But if none exist, it must be 
created. After creation of the mtplate there is no connection between analysis 
and the created mtplate because the mtplate belongs to the experiment. 
I hope you see my point. 
My question is how this kind of workflows can be correctly implemented with 
seam and conversations? For now, it seems to me that it is nessacary to deliver 
results from the nested conversation to the outer conversation.

Ciao,
Carsten


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085852#4085852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: EJB3 Support

2007-09-18 Thread xdoclet
hi Rob
no worries. i have created an Jira for this : 
http://jira.jboss.com/jira/browse/JBIDE-911
great if you can accommodate this feature on beta4  :) 
thanks
Tyronne Wickramarathne

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085849#4085849

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: maven and microcontainer

2007-09-18 Thread alesj
I think Microcontainer jar used in Seam comes from Embedded project, which I 
believe is currently unbuildable. :-(

But running Maven in Microcontainer is the same as running Maven elsewhere - 
simply go to Microcontainer's root directory and run 'mvn install'.
You should then get target directory in every module's directory. Simply pick 
up those artifacts that you need + check 3rd party lib dependencies and get 
them from your local Maven repo (should be there, since they will be picked up 
during build).

In the future we are planning on having different build configurations to join 
all the artifacts that you need - e.g. jbossas config, standalone config, 
minimal, ...


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085848#4085848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085848
___
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-18 Thread [EMAIL PROTECTED]
Configuring the captcha image is now supported in the CVS version of Seam.  
Check the security chapter of the reference docs for more info (or see the 
seamspace example).

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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085840#4085840

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085840
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Wannabe-Example needs help growing up

2007-09-18 Thread matt.drees
"amitev" wrote : BTW off topic question - i'm using seam with pojos and SMPC 
(no ejb3). I'm not using @Transactional at all. Is this a problem?

That's what I do.  

As long as you're living in the JSF lifecycle, (and using Seam-managed 
transactions, of course), you should be fine.  If you have to do asynchronous 
things, you'll probably need @Transactional.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085839#4085839

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread haribaasha
one last question , in my setup i mentioned in the first post i want the 
servers 2,3 and 4 to have a different partition name and 1 (central server 
which routes the requests to 2,3,4) to have a different partition name. is this 
possible ? or will this result in the lookup failing ? 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085838#4085838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Secure Webservice

2007-09-18 Thread [EMAIL PROTECTED]
Please start from a working sample that we distribute and tell us what 
modification stopped things working

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085837#4085837

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085836#4085836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085836
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: context-root in jboss.xml

2007-09-18 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBWS-1813

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085835#4085835

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085835
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Wannabe-Example needs help growing up

2007-09-18 Thread matt.drees
Pete, correct me if I'm wrong with this.

"stephen.friedrich" wrote : 
  | Also I still don't see how selecting an employee from the list can continue 
in the same conversation when opened in the same browser tab and can start a 
new conversation when opened in a new browser tab.
  | 

I don't think you can do that.  It's the same link.  So if ctrl-clicking 
creates a new conversation in a new tab, then normal-clicking will create a new 
conversation in the current tab.  Which, from what I understand of your 
requirements, is fine.


"[EMAIL PROTECTED]" wrote : 
  | You might consider a nested conversation for editing an employee along with 
manual flush mode to make that atomic.
  | 

Pete, would you mind elaborating on why a nested conversation would be 
beneficial?




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085834#4085834

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Two webservice classes define method with same name (bug

2007-09-18 Thread [EMAIL PROTECTED]
Private emails are useless.  Please created an issue in jira and attach the 
relevant files to it. 

The jira issue and this forum thread should be cross referenced.

cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085833#4085833

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Two EAR files in one JVM

2007-09-18 Thread wiberto
I have two seam applications that are deployed in the same JBoss server. Those 
two EAR files share a common EJB module. One app is an end user app while the 
other is an admin style app. I'm having issues running both EAR files at the 
same time.

This used to worked fine as I have tested both apps at the same time before. I 
don't remember the combination of server/seam/etc. when this work, so I'm 
trying to go back and see if I have a version of the code when it worked. It 
looks to be a problem with the classloader because the error I get is a class 
cast exception casting the object to itself.

One thing that makes me think that is that the app that always work is the one 
that has been either loaded last (when you start the server) or hot deployed 
last after the server has been started. So it looks like it's grabbing the 
lastest class and trying to cast it to the one in the other module.

Has anyone seen this before? I updated to CR1 just to make sure, but the same 
thing.

The only strange thing that I notice in the logs besides the ClassCastException 
is this:


  | 22:59:50,488 WARN  [Ejb3Configuration] Persistence provider caller does not 
implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() 
is null.
  | 

I don't know where it comes from, but I'll try to find out.

Any help is appreciated.

Thanks,

Jose

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085832#4085832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085832
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Errors when testing WSRP

2007-09-18 Thread [EMAIL PROTECTED]
Unless I am mistaken, you are using Java 6. The problem you are experiencing is 
due to JBoss WS not being compatible with Java 6 (at least, not the version you 
are using). Please see: http://jira.jboss.com/jira/browse/JBWS-1439 for more 
details.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085831#4085831

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released

2007-09-18 Thread [EMAIL PROTECTED]
I am sorry about the temporary media wiki outage - we had a hardware problem 
when folks were on holiday

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085830#4085830

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085830
___
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-18 Thread wuhaixing
I found the same thing I want in the dvdstore sample,ProcessDefinitionSwitcher
Can I store the list in the db instead of a final String[] list in the code?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085828#4085828

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085828
___
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-18 Thread catania
Hi !
  I edited my MDB, and it's Ok. My jbossmq-myqueues-service.xml is look like:

  | jboss.mq:service=DestinationManager
  | 
   And I put it inside /deploy --> all things are Ok. but when I write a client 
that send some TextMessage :
InitialContext jndiContext = getInitialContext( );
  | try {
  |ConnectionFactory factory = 
(ConnectionFactory)jndiContext.lookup("ConnectionFactory");
  |Queue queueTmp= (Queue)jndiContext.lookup("queue/producerQueue");
  |Connection connect = factory.createConnection( );
  |Session session = connect.createSession(false,Session.AUTO_ACKNOWLEDGE);
  |MessageProducer sender = session.createProducer(queueTmp);
  |for(int i=0; i<10; i++){
  |  TextMessage t = session.createTextMessage();
  |  t.setText(new Timestamp(System.currentTimeMillis())+" 
JmsClientProducer Message "+i);
  |  sender.send(t);
  |  Thread.sleep(1000);
  |   }
  |   connect.close();
  | } catch (NamingException e) {   
  | ..
  | }
  And my jndi.properties is look like:
anonymous wrote : 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=localhost:1099
  When I run client, I received some errors:
javax.naming.CommunicationException [Root exception is 
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
  | java.lang.ClassNotFoundException: 
org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader 
disabled)]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at thai.jms.client.JmsClient.main(JmsClient.java:33)
  | Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested 
exception is: 
  | java.lang.ClassNotFoundException: 
org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader 
disabled)
  | at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | ... 3 more ---> and error at line:
ConnectionFactory factory = 
(ConnectionFactory)jndiContext.lookup("ConnectionFactory");
  But inside my MDB, I were declared:
@Resource(mappedName="ConnectionFactory")
  | private ConnectionFactory connectionFactory;

  I understand your suggestions.And althought, I posted my article not correct 
but I recognized your helps and can you continue guide some my remain problems ?

   Thanks. 

   Catania.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085827#4085827

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Errors when testing WSRP

2007-09-18 Thread saigon_man
Hello,
Has anyone been successfull following the steps mentioned in chapter 12 for 
wsrp with bea wsdl? I tried to follow the steps mentioned in the referenceGuide 
document (tried to deploy with the *-wsrp.xml) and got some errors

 anonymous wrote : 
  | Problem getting service description for producer bea Cause: setProperty 
must be overridden by all subclasses of SOAPMessage
  | 
  | 

Am I missing something here?

Your help is appreciated

Thanks,

SGM

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085823#4085823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085823
___
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-18 Thread wuhaixing
I found the reason why I cann't create the component:
@PersistenceContext may only be used on session bean or message driven bean 
components

so,what should I do to the common constant lists?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085821#4085821

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread jemodurn
I am trying to understand 9.10 section of the user guide. 

* Token.signal(Transition)
* --> Node.leave(ExecutionContext,Transition)
* --> Transition.take(ExecutionContext)
* --> Node.enter(ExecutionContext)
* --> Node.execute(ExecutionContext)

If my process contains a loop like this:
   
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  |   

By the time I loop a gazillion times, will the repeated call to 
ExecutionContext.leaveNode() cause stack overflow?? I can see a deep recursive 
execution tree.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085820#4085820

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Remoting release 2.2.2.SP1

2007-09-18 Thread [EMAIL PROTECTED]
We have recently released version 2.2.2.SP1 of Remoting.  It is largely 
characterized by bug fixes to 2.2.0.GA, with some minor feature additions.  It 
should be possible to replace jboss-remoting.jar from any of the 2.2.x versions 
with jboss-remoting.jar from 2.2.2.SP1.  

It is available in the jboss repository in two places:

http://repository.jboss.com/jboss/remoting/2.2.2.SP1-brew/

contains a copy of jboss-remoting.jar built with jdk 1.5, and

http://repository.jboss.com/jboss/remoting/2.2.2.SP1/

contains a copy of jboss-remoting.jar built with jdk 1.4.

Here are the release notes for the releases that followed 2.2.0.GA:

==
Release Notes - JBoss Remoting - Version 2.2.2.SP1

** Bug
* [JBREM-653] - allow user to set content-type for http responses
* [JBREM-750] - Logger in HTTPClientInvoker should be static.

** Release
* [JBREM-803] - Release 2.2.2.SP1

** Task
* [JBREM-805] - Verify Remoting 2.2.2.SP1 is compatible with earlier 
versions
==
Release Notes - JBoss Remoting - Version 2.2.2.GA

** Bug
* [JBREM-731] - Address of secondary server socket should be acquired each 
time a control connection is created.
* [JBREM-743] - For polling callback handler, 
org.jboss.remoting.Client.addListener() should create only one CallbackPoller 
per InvokerCallbackHandler
* [JBREM-747] - org.jboss.remoting.transport.Connector should unregister 
server invoker from MBeanServer
* [JBREM-754] - Reset timeout on each use of HttpURLConnection
* [JBREM-761] - NPE in BisocketServerInvoker$ControlConnectionThread
* [JBREM-766] - Guard against "spurious wakeup" from Thread.sleep()
* [JBREM-771] - MicroSocketClientInvoker can experience socket leaks
* [JBREM-774] - BisocketClientInvoker.replaceControlSocket() and 
handleDisconnect() should close control socket
* [JBREM-775] - MicroSocketClientInvoker.initPool() should omit pool from 
log message
* [JBREM-778] - BisocketServerInvoker.start() creates a new static Timer 
each time
* [JBREM-779] - BisocketClientInvoker should guard agains scheduling on an 
expired Timer, part 2
* [JBREM-784] - Use separate maps for control sockets and ordinary sockets 
in BisocketClientInvoker
* [JBREM-785] - BisocketClientInvoker.transport() inadvertently uses 
listenerId member variable
* [JBREM-787] - Move network i/o in BisocketClientInvoker constructor to 
handleConnect()
* [JBREM-788] - Access to BisocketClientInvoker static maps should be 
synchronized in handleDisconnect()
* [JBREM-790] - NPE in BisocketClientInvoker$PingTimerTask
* [JBREM-793] - Lease should synchronize access to client map
* [JBREM-794] - LeasePinger.addClient() should not create a new 
LeaseTimerTask if none currently exists

* The following is the public version of support patch JBREM-791, under 
which the fix was applied. -RS
* [JBREM-806] - In HTTPClientInvoker remove newlines and carriage returns 
from Base64 encoded user names and passwords

** Feature Request
* [JBREM-749] - BisocketServerInvoker: Make configurable the address and 
port of secondary server socket
* [JBREM-755] - Make ConnectorValidator parameters configurable
* [JBREM-756] - CallbackPoller should shut down if too many errors occur.
* [JBREM-757] - Implement quick Client.removeListener() for polled 
callbacks.
* [JBREM-765] - Add a separate timeout parameter for callback clients

** Patch
* [JBREM-781] - Socket transport needs to provide to the client local 
address of a TCP/IP connection, as seen from the server


** Release
* [JBREM-789] - Release 2.2.2.GA


** Task
* [JBREM-641] - re-implement the callback polling for http transport to 
reduce latency
* [JBREM-767] - Avoid deadlock in callback BisocketClientInvoker when 
timeout == 0
* [JBREM-782] - Remove network i/o from synch block in 
ServerInvokerCallbackHandler.getCallbackHandler()
* [JBREM-783] - Remove network i/o from synch blocks that establish and 
terminate LeasePingers
* [JBREM-796] - Verify Remoting 2.2.2 is compatible with earlier versions

==
Release Notes - JBoss Remoting - Version 2.2.1.GA

** Bug
* [JBREM-751] - Eliminate unnecessary "Unable to process control 
connection:" message from BisocketServerInvoker

** Release
* [JBREM-763] - Release 2.2.1.GA
==

Release Notes - JBoss Remoting - Version 2.2.0.SP4

** Bug
* [JBREM-748] - BisocketClientInvoker should guard agains scheduling on an 
expired Timer

** Release
* [JBREM-744] - Release 2.2.0.SP4

** Task
* [JBREM-714] - Make sure 2.2.0 and

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

2007-09-18 Thread wuhaixing
I used to create a final class to provide some constants list for other 
classes,when I try this in the seam,the jboss 4.2.1 tell me cann't creat the 
component.
Is it because it's a final class?If so,what should I do the same thing in the 
seam as before?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085817#4085817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085817
___
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-18 Thread matt.drees
By the way, I didn't realize this:

"wschwendt" wrote : And the following approach is not  viable either: We cannot 
simply access a component from the parent conversation and  call a property 
Setter of this component with the ending result of the nested conversation 
supplied as argument for this Setter.The reason is that when a component 
from the parent conversation is called while the nested conversation is still 
in progress,  the ManagedEntityIdentityInterceptor saves  wrappers for the 
called component in the scope of the nested conversation (!) and not the scope 
of the parent conversation. So once the nested conversation scope gets 
destroyed at the end of the nested conversation, the saved wrappers  for the 
component from the parent conversation get destroyed as well.
  | 
  | 

I can't help but think this wasn't intended; I'm guessing 
ManagedEntityIdentityInterceptor is intended to be transparent.  (Side rant: 
it's not transparent, and has caused me some pain.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085815#4085815

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085815
___
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-18 Thread [EMAIL PROTECTED]
If you're injecting the file data into your component as a byte[] then of 
course it needs to load the entire file into memory (which kind of defeats the 
purpose of using a temporary file).  I recommend using an InputStream instead, 
then you can deal with the file data in smaller chunks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085814#4085814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta with Weblogic 10

2007-09-18 Thread apatterson11
Actually this problem is not just confined to Seam version 2 Beta the Weblogic 
bug also effects Seam 1.2 (just tried it).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085813#4085813

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta with Weblogic 10

2007-09-18 Thread apatterson11
There is definitely an issue with EJB vararg methods in Weblogic 10 (see stack 
trace below). Since Seam has quite a few vararg methods then it means that you 
can't deploy a full JSF->Seam->EJB3.0 application on Weblogic 10 yet.

An error occurred during activation of changes, please see the log for details. 
 
  Exception preparing module: EJBModule(jboss-seam.jar) Unable to deploy EJB: 
jboss-seam.jar from jboss-seam.jar: There are 1 nested errors: 
java.io.IOException: Compiler failed executable.exec: 
/checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/Dispatcher_u7njda_Intf.java:20:
 modifier transient not allowed here public transient javax.ejb.Timer 
scheduleEvent(java.lang.String arg0, java.lang.Long arg1, java.util.Date arg2, 
java.lang.Long arg3, java.lang.Object[] arg4); ^ 
/checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/TransactionListener_r4jqkg_LocalTransactionListenerImpl.java:109:
 modifier transient not allowed here public transient void 
scheduleEvent(java.lang.String arg0, java.lang.Object[] arg1) ^ 
/checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache!
 
/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/TransactionListener_r4jqkg_Intf.java:23:
 modifier transient not allowed here public transient void 
scheduleEvent(java.lang.String arg0, java.lang.Object[] arg1);  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085812#4085812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085812

___
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-18 Thread jacob.orshalick
anonymous wrote : if I think of breadcrumbs and the conversation stack (-> 
6.7.5. Breadcrumbs), the use of nested conversations goes into a direction much 
similar to the composition of "subflows"

This is a good point, and I have discussed this at length with my colleagues.  
But, if you think of nested conversations as continuations 
(http://www.brainbell.com/tutorials/java/Continuation_Servers.htm),  the 
implementation of the Seam conversation model suddenly makes perfect sense.  I 
actually posted the breadcrumb issue you raise as a topic:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=118894

Actually, simply filtering the ConversationStack by view-id yields the expected 
results from breadcrumbs with the continuation view of nested conversations.  I 
can post the filtering code if you or anyone is interested.  It is simply a 
component that wraps the ConversationStack.

I will soon be posting an extended seam-booking example with an accompanying 
article that will illustrate the continuation approach in-depth.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085811#4085811

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085811
___
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-18 Thread mgrouch
Which version of facelets doesn't come with?
Is ui:insert for source tags fixed?
Thanks,
Congrats with RC!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085810#4085810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2007-09-18 Thread olintog
you are gonna find it at 
http://docs.jboss.org/jbossas/getting_started/v4/startguide40.zip

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085809#4085809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085809
___
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-18 Thread [EMAIL PROTECTED]
I'm not aware of any breaking changes.  You should be able to simply update to 
the latest JARs.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085804#4085804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - More about nested conversations

2007-09-18 Thread wschwendt
I looked again at the Seam reference documentation, section "6.2. Nested 
conversations"

It cites correct behavior in the face of backbuttoning and workspace management 
as motives for nested conversations.   


"Seam Reference 6.2" wrote : A conversation may be thought of as a continuable 
state. Nested conversations allow the application to capture a consistent 
continuable state at various points in a user interaction, thus insuring truly 
correct behavior in the face of backbuttoning and workspace management.
  | 
  | TODO: an example to show how a nested conversation prevents bad stuff 
happening when you backbutton. 

Using nested conversation to alleviate problems caused by the back button is 
exactly what you described in your post, Jacob (post #2 in this thread).

On the other hand, if I think of breadcrumbs and the conversation stack (-> 
6.7.5. Breadcrumbs), the use of nested conversations goes into a direction much 
similar to the composition of "subflows"  my post #1 in this thread is related 
to.


[More to follow]


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085803#4085803

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Validation messages with Seam 2.0 and Richfaces 3.1.0

2007-09-18 Thread pdhaigh
Hi,

I am using the tabbed panel from Richfaces 3.1.0, and cannot get validation to 
work properly. Anything that is required=true correctly validates, but any 
other validation is simply not fired - e.g. max/min length etc: the form is 
just allowed to submit and throws an error when attempting to persist to the DB.

Validation works just fine on pages without the tabbed panel component.

Is there a particular trick for using this combination of components, or is 
this a bug (and if so, in Seam or RF?)?

cheers

phil

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085798#4085798

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread wschwendt
"[EMAIL PROTECTED]" wrote : As you say - it takes time - Christian is working 
away at this very hard :)

but once the Seam-based forum is ready, please keep this old forum as an 
archive.

Otherwise all bookmarks to threads of this old forum become invalid.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085797#4085797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread goku2
mcsous, if you specify 


  | @Basic(fetch=FetchType.LAZY)
  | @Column(updatable=false)
  | @Lob
  | private byte[] content; 
  | 

In postgres (al least 8.2) it will map to a Oid column, not a blob.
Cheers


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085795#4085795

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread javafreak
Is it possible to implement something similar to a javax.servlet.Filter for web 
services?  A ServletFilter for servlets allows me to capture the HTTP request, 
introspect and add to the request, and then forward the request to the target 
servlet.

I need a similar capability for SOAP.  Per each SOAP request, I need to capture 
the domain name used (i.e. abc.mywebsite.com) and then forward it to my web 
service API's.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085793#4085793

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: finding the server's URL

2007-09-18 Thread [EMAIL PROTECTED]
Sorry all - I spoke too soon. I found it.

HttpServletRequest.getRequestURL()

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085792#4085792

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085792
___
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-18 Thread [EMAIL PROTECTED]
Hello,

well done! Is there some kind of migration guide from seam2 Beta1 to cr1?

How to best upgrade an existing project?

Greetz GHad

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085789#4085789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - finding the server's URL

2007-09-18 Thread [EMAIL PROTECTED]
So let's say you access your JBoss AS from your trusty browser at the folloing 
location:
https://www.myspiffyserver.com:8443/CodeBaseA

Is there a way that you can tell in the code the complete URL that the user is 
using to find the server. Or, is there a way to build the complete URL yourself 
inside the server?

Most specifically, I want to know if I'm running in CodeBaseA or CodeBaseB. 
But, I'm also interested in the other stuff (www.myspiffyserver.com, https and 
the socket - 8443) as well.

I've tried using the system parameters, but the information doesn't seem to be 
there.

Thanks.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085790#4085790

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085790
___
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-18 Thread [EMAIL PROTECTED]
It takes a little time to get everything in place, but yes we just finished the 
release process.  Please report any issues you find with it so we can move 
towards making the final release.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085788#4085788

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread [EMAIL PROTECTED]
"dan.j.allen" wrote : As for the forum search limitations, Amen. I am praying 
that eventually this forum is moved to something powered by Seam and Hibernate 
Search. Could you imagine how quickly you can find issues then?

As you say - it takes time - Christian is working away at this very hard :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085786#4085786

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085786
___
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-18 Thread mgrouch
Looks like it gained some weight

120 MB

vs 

73 MB in 1.2.1.GA




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085785#4085785

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085785
___
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-18 Thread [EMAIL PROTECTED]
You guys are on the ball - we can't keep up!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085787#4085787

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread awclemen
These messages are just warnings from the clustering that it is recieving a 
packet from a cluster partition whose name is different from it's own.  Meaning 
that you might have accidently named your partition wrong on one server, so it 
is warning you.  If you want to make those messages go away, adjust your 
log4j.xml accordingly:


  |
  |
  |   
  |
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085783#4085783

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085783
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [JBoss Tools (users)] - Updating project properties:

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

Hi Matt.

Minor (very minor) clarification -- you actually have a
NullPointerExceptoin occuring in the PackagingFile Object.  The
InvocationTargetException is simply wrapped around the NPE.  Hopefully,
one of the JBoss guys can shed some light on this?

Regards,
Steve

matt.hibb wrote:
> I've just installed Debian Etch and JBoss IDE 2.0 Beta and Eclipse bundle and 
> am having trouble with project properties.
> 
> When saving changes to project packaging properties, I get an error message 
> stating an InvocationTargetException has occured. To complicate matters, this 
> only seems to occur on projects I have checked out from source control and 
> not projects created from scratch.
> 
> Can anyone shed any light on what the problem might be?
> 
> Thanks
> 
> 
> The full stack trace from the eclipse log is as follows:
> 
> !ENTRY org.jboss.ide.eclipse.xdoclet.ui 4 0 2007-09-18
> 17:59:12.381
> !MESSAGE java.lang.reflect.InvocationTargetException
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at
> org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:189)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
> Caused by: java.lang.NullPointerException
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingFile.computeLocation(PackagingFile.java:339)
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingFile.writeToXml(PackagingFile.java:311)
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingArchive.writeToXml(PackagingArchive.java:245)
> at
> org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:134)
> ... 1 more
> Root exception:
> java.lang.NullPointerException
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingFile.computeLocation(PackagingFile.java:339)
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingFile.writeToXml(PackagingFile.java:311)
> at
> org.jboss.ide.eclipse.packaging.core.model.PackagingArchive.writeToXml(PackagingArchive.java:245)
> at
> org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:134)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
> 
> 
> View the original post : 
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085674#4085674
> 
> Reply to the post : 
> http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085674
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user

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

iD8DBQFG8E8tPtiPEDq7o8YRAkEzAJ4xGCFIiKAfUBCls7jaOpWB3dcmaACgtINO
lyHYpkOc+0QwyYIR2MfGuE4=
=m245
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread mcsous
Ok, but if I add @Lob annotation in, Postgres Database, the column type will be 
wrong and won't save any file. The type column is oid and could be bytea.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085780#4085780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085780
___
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-18 Thread amitev
Great job!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085775#4085775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam-managed persistence context

2007-09-18 Thread wschwendt
"wschwendt" wrote : 
  |  So far my understanding is that a Seam-managed persistence context 
corresponds to an instance of the 
org.jboss.seam.persistence.ManagedPersistenceContext component.   This is a 
conversation-scoped component,  hence it can be injected into other components 
using the @In annotation.
  | 

I don't like my previous wording here and want to correct it.  While it's true 
that a Seam-managed persistence context corresponds to an instance of  
org.jboss.seam.persistence.ManagedPersistenceContext component,  it's not true 
that an instance of ManagedPersistenceContext is injected into other components 
when there is an annotation such as @In EntityManager entityManager.   Rather, 
the ManagedPersistenceContext acts a manager component for an EntityManager;
the method ManagedPersistenceContext.getEntityManager() is annotated with 
@Unwrap.   It is the return value of the  @Unwrap method that gets injected 
when a ManagedPersistenceContext component is referenced.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085773#4085773

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Duplicate Key kills transaction

2007-09-18 Thread [EMAIL PROTECTED]
Try the EJB3 or Hibernate forums; JBoss Cache isn't throwing this exception, 
nor is it calling setRollbackOnly() on your tx.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085770#4085770

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085770
___
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-18 Thread wschwendt
Jacob,  as for my previous post, I wrote it as some sort of summary a further 
discussion can be based on.   This also allows other readers to follow this 
thread more easily. 

As for your other questions, I have to think about some things first before I 
can write a follow-up post that tries to address these other issues.  

Regards, Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085766#4085766

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread smithbstl
I have been following Jira and the last bug was closed this morning.  I just 
checked the download page and Seam 2 CR1 has been released.

Yea!

http://labs.jboss.com/jbossseam/download/index.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085765#4085765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085765
___
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-18 Thread estaub
Adrian,

Very cool!  Groovy, even ;-)
I've been noodling over how to make commands more extensible - this is 
definitely the ticket.

-Ed Staub

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085762#4085762

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Duplicate Key kills transaction

2007-09-18 Thread toni
Hi,

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

The problem is that it does not seem to be possible to recover from this error. 
Trying to catch the exception still leaves the transaction invalid. How can I 
make sure that I catch this kind of duplicate key exception without the current 
transaction being rolled back, when I call entityManager.persit(myEntityBean) 
???

Toni

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085757#4085757

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Duplicate Key Violation

2007-09-18 Thread toni
Hi,

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

The problem is that it does not seem to be possible to recover from this error. 
Trying to catch the exception still leaves the transaction invalid. How can I 
make sure that I catch this kind of duplicate key exception without the current 
transaction being rolled back, when I call entityManager.persit(myEntityBean) 
???

Toni

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085759#4085759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread gogoasa
Hello,

Even if the predefined Commands that can be thrown at the CommandService are 
pretty rich, it would be nice to be able to throw any code you can think of, 
without the need to lookup the sources of the various Commands and try to 
figure out which combination would do the thing you want.

It would make sense then to use dynamic languages like Groovy or Beanshell to 
specify the command. A simple BeanShell-only command :

public class BshCommand implements Command {
  | 
  | protected String code;
  | 
  | public BshCommand(String code) {
  | this.setCode(code);
  | }
  | 
  | public Object execute(JbpmContext jbpmContext) throws Exception {
  | Interpreter interpreter = new Interpreter();
  | interpreter.set("jbpmContext", jbpmContext);
  | Object result = interpreter.eval(this.getCode());
  | return result;
  | }
  | 
  | public String getCode() {
  | return code;
  | }
  | 
  | public void setCode(String code) {
  | this.code = code;
  | }
  | 
  | }
  | 

which could be used like this :

Command cmd = new BshCommand("return jbpmContext.getProcessInstance(5);");
  | Object resp = service.execute(cmd);

As bsh is already a dependency, I think the possibilies of querying a remote 
ejb  would be greatly enhanced by just adding this command.

Using BSF the BshCommand could actually be named ScriptCommand and might 
execute any other cool scripting languages...

Best regards,
Adrian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085755#4085755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Duplicate Key kills transaction

2007-09-18 Thread toni
Hi,

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

The problem is that it does not seem to be possible to recover from this error. 
Trying to catch the exception still leaves the transaction invalid. How can I 
make sure that I catch this kind of duplicate key exception without the current 
transaction being rolled back, when I call entityManager.persit(myEntityBean) 
???

Toni

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085756#4085756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

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

I couldn't have said it better myself. I have spent countless hours in the Seam 
source code. Hopefully I can save people time by bringing what I have learned 
to the book. I feel that the reference documentation needs to be as concise as 
possible, whereas a book can give more of a back story and use case. 
Regardless, the reference documentation is always open on my desktop.

As for the forum search limitations, Amen. I am praying that eventually this 
forum is moved to something powered by Seam and Hibernate Search. Could you 
imagine how quickly you can find issues then?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085754#4085754

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085754

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


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

2007-09-18 Thread dan.j.allen
@Stateful
  | @Name("Seam in Action")
  | public class SeamBook extends Book {
  | 
  |   @Out(required = false)
  |   private String author;
  | 
  |   @Out(required = false)
  |   private String publisher;
  | 
  |   public String showMeTheAuthor() {
  | author = "Dan Allen";
  | return "/bookInfo.xhtml";
  |   }
  | 
  |   public String showMeThePublisher() {
  | publisher = "Manning Publications";
  | return "/bookInfo.xhtml";
  |   }
  | 
  | }

Today I just made the announcement on my blog ( 
http://www.mojavelinux.com/blog/archives/2007/09/announcing_seam_in_action)  
about Seam in Action, which I am authoring. The book will cover the upcoming 
Seam 2.0 release (and perhaps a later version depending on the timing). I 
explain in my post that if the stars align, the printed book will be available 
for JavaOne 2008, but that you can get at several of the chapters very soon 
through Manning's early access program.

I wish I were a miracle worker and could write the book in 0 days, but the 
reality is that I cannot write at warp speed. Hell, writing is the easy part. 
Making pretty pictures can eat up the better part of a weekend. Fortunately, 
Seam makes the code really easy to write, but even that takes design time. All 
complaining aside, I am confident that it is going to be a great book.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085752#4085752

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - maven and microcontainer

2007-09-18 Thread ericomtx
Is there some article or link how to build a microcontainer with maven that can 
be used in an application deployed in a tomcat instance ?

I'm trying to use seam with maven and tomcat and all the examples come with ant 

One of the examples is jboss-seam-booking

I can see that in example there is mc-conf.jar and jboss-seam-booking.jar in 
the classpath 

I would like to add microcontainer in my application with maven to run this 
application in TomCat

But I have no idea where to start so that I can build these two files with 
their structure using maven ...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085753#4085753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Manager.instance().getCurrentConversationId() and nested con

2007-09-18 Thread cingram
Another Seam user(Stu) and I are integrating Seam and Flex. We have made a lot 
of progress. In my testing of conversations I noticed that if I have a nested 
conversation inside of a long running conversation. When I call @End the 
conversationId is not Popped back to the parent converationId. 
i.e.  Manager.instance().getCurrentConversationId() returns the nested 
converationId, is this how it is intended to work?
Should I be calling Manager.getInstance().getRootConversationId() in this 
situation?

Looking at the log in the nested situation it looks like the @End is killing 
the outer conversation

17:06:17,082 INFO  [SeamServiceInvoker]Is Long Running Conversation false
17:06:17,082 INFO  [SeamServiceInvoker] Is Nested Conversation true

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085751#4085751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085751
___
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-18 Thread atao
On http://labs.jboss.com/tools/, it's stated that Seam Tools will include 
support for seam-gen.

Where can  we find more information?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085747#4085747

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: jsp error : No Java compiler available

2007-09-18 Thread cgo
I still have this issue, however when setting jboss logs to debug I see the 2 
NoClassDefFoundError exceptions below. I checked and the first class is in 
jasper-jdt.jar in the web deployer while the second one I could not find it, so 
I dropped ant.jar which contains it in the web deployer, but still it doesn't 
find any of the class. Any idea of what is wrong here ? Is jboss missing some 
files ?

Throwable
java.lang.NoClassDefFoundError: 
org/eclipse/jdt/internal/compiler/env/INameEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at 
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:238)
at 
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:217)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

Throwable
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildListener
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at 
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:238)
at 
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:219)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085746#4085746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085746
___
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-18 Thread jacob.orshalick
wschwendt,

Thanks for the information.  Yes, I understand how the Seam managed persistence 
context works, in theory.  I suppose my question relates more to how the Seam 
managed persistence context maintains managed entities with respect to nested 
conversations...

So if I have an entity in my outer conversation, say Person as before.  I 
loaded my Person instance in the outer conversation with a Seam managed 
persistence context which means my Person instance remains managed for the 
course of the conversation.  Now I navigate to the Address details page which 
nests a conversation,

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 will have to create an example that tests this behavior with attached 
entities as I know it works with detached entities.  If anyone could provide 
any insight, that would be great.  Thanks again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085745#4085745

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Custom exception/fault with JBoss & JWSDP

2007-09-18 Thread bernhard_pauler
I tried it - and it worked with the wstools.

BUT ...

Besides the custom exception I have to work with attachments. With the 
definition of attachments in place I really had a hard time with the wstools. I 
tried really hard - but I had to step back to the wscompile tool of the JWSDP 
which just worked without fiddling.

I wanted to solve the custom exception issue though so I investigated once more 
and compared the generated artifacts/descriptors of the two tools.

And I finally found the difference - it was in the jaxrpc-mapping.xml:

JWSDP - wscompilehttp://myservice.mycompany.com/myservice";>typeNS:MyServiceFault
JBoss - wstoolshttp://myservice.mycompany.com/myservice";>typeNS:>MyServiceFault

I don't know who to blame. The generated "root-type-qname" tag of the wscompile 
tool looks fishy if you compare it to the other tags in the same mapping file - 
and in fact JBoss can't seem to deal with it.
Replace that line with the line the wstools generate and the warnings are gone 
and the custom exception mechanism is working. :)

That's the solution to my problem now. Not a beautiful solution - but it works 
and I can't invest more time at the moment. Hope this helps somebody ...

Bernhard

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085744#4085744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to invoke an Stateless at ear deployment.

2007-09-18 Thread jc7442
I was not clear enough :-)

I do not want that the init service is invoked atomatically just after server 
is started.

I will investigate that with a JMX service. It should be a solution ...

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085743#4085743

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam-managed persistence context

2007-09-18 Thread wschwendt
"matt.drees" wrote : 
  | I think nested conversations need to be discussed more.

I have the same opinion.


"jacob.orshalick" wrote : Maybe an expert on the effects of nested 
conversations on a Seam managed persistence context could shed some light on 
this?

I'm anything but an expert regarding the effects of nested conversations on a 
Seam-managed persistence context.   So far my understanding (could be wrong) is 
that a Seam-managed persistence context corresponds to 
an instance of the org.jboss.seam.persistence.ManagedPersistenceContext 
component.   This is a conversation-scoped component,  hence it can be injected 
into other components using the @In annotation.  Unlike "normal" 
conversation-scoped components, ManagedPersistenceContext  is annotated with 
@BypassInterceptors and @Install(false) however.To define a managed 
persistence context with the name "entityManager", the typical idiom is that 
the framework user puts a component definition in config-file components.xml


  |   // components.xml
  |  
  |  
  | 

How does a Seam-managed persistence context get instantiated?   It gets 
instantiated like any ordinary Seam component.   For example, the Seam CRUD 
framework classes EntityHome and EntityQuery both extend
 org.jboss.seam.framework.PersistenceController which creates a Seam-managed 
persistence context effectively via a call of Component.getInstance(name);

Now what happens if a nested conversation is in progress and there is an 
injection such as the following or another call of 
Component.getInstance("entityManager")?


  | @In EntityManager entityManager; //a Seam-managed persistence context
  | 

I'd say the usual rules for injections apply, that means Seam tries a 
hierarchical context search.  A nested conversation has read-only access to 
the context of the outer conversation.   Therefore, if a Seam-managed 
persistence context was instantiated already in the parent conversation, the 
hierarchical search finds it and the nested conversation thus shares the same 
persistence context with the parent conversation. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085740#4085740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service

2007-09-18 Thread bernhard_pauler
It's too late. ;)

I haven't looked into the documentation yet, but the link is finally working.

But seriously - web services is the most frustrating topic I have ever worked 
on. I understand that it's not a trivial topic but why does it have to be so 
hard?

Sorry, this is probably not the right place for my comment. A good 
documentation would definitely help people. But perhaps it's already there, 
hidden behind that link ... ;)

Thanks,

Bernhard

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085737#4085737

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Problem with methods returning an attachment

2007-09-18 Thread bernhard_pauler
I have a nasty problem.

Some methods of my web service should return an attachment.

I start with a handwritten WSDL file and generate the necessary artifacts and 
descriptors using JAX-RPC tools.

There are no warning or error messages at deploy time.

An error occurs after invoking the method:
16:27:34,485 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
org.jboss.ws.WSException: Operation does not have a return value: 
{http://myservice.mycompany.com/myservice}getTemplate

I can't figure out why JBoss behaves that way - can somebody help me with this?

Thanks,

Bernhard

Here are of the relevant files:

MyService.wsdl:
  | 
  | http://schemas.xmlsoap.org/wsdl/";
  | xmlns:soap ="http://schemas.xmlsoap.org/wsdl/soap/";
  | xmlns:mime ="http://schemas.xmlsoap.org/wsdl/mime/";
  | xmlns:xsd  ="http://www.w3.org/2001/XMLSchema";
  | xmlns:tns  ="http://myservice.mycompany.com/myservice";
  | targetNamespace="http://myservice.mycompany.com/myservice";>
  | 
  | 
  | http://www.w3.org/2001/XMLSchema"; 
targetNamespace="http://myservice.mycompany.com/myservice";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

jaxrpc-mapping.xml:
  | http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.1" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";>
  | 
  | com.mycompany.myservice
  | http://myservice.mycompany.com/myservice
  | 
  | 
  | com.mycompany.myservice.MyServiceFault
  | http://myservice.mycompany.com/myservice";>typeNS:>MyServiceFault
  | complexType
  | 
  | errorCode
  | errorCode
  | 
  | 
  | errorMessage
  | errorMessage
  | 
  | 
  | 
  | com.mycompany.myservice.GetTemplate
  | 
http://myservice.mycompany.com/myservice:>getTemplate
  | complexType
  | 
  | templateId
  | templateId
  | 
  | 
  | 
  | com.mycompany.myservice.MyServiceFault
  | http://myservice.mycompany.com/myservice";>exMsgNS:MyServiceFaultMessage
  | 
  | errorCode
  | errorMessage
  | 
  | 
  | 
  | com.mycompany.myservice.MyService
  | http://myservice.mycompany.com/myservice";>serviceNS:MyService
  | 
  | MyServiceEndpointPort
  | MyServiceEndpointPort
  | 
  | 
  | 
  | 
com.mycompany.myservice.MyServiceEndpoint
  | http://myservice.mycompany.com/myservice";>portTypeNS:MyServiceEndpoint
  | http://myservice.mycompany.com/myservice";>bindingNS:MyServiceEndpointBinding
  | 
  | getTemplate
  | getTemplate
  | 
  | 
  | 0
  | int
  | 
  | http://myservice.mycompany.com/myservice";>wsdlMsgNS:getTemplateRequest
  | templateId
  | IN
  | 
  | 
  | 
  | javax.activation.DataHandler
  | http://myservice.mycompany.com/myservice";>wsdlMsgNS:getTemplateResponse
  | template
  | 
  | 
  | 
  | 

MyServiceEndpoint.java:package com.mycompany.myservice;
  | 
  | public interface MyServiceEndpoint extends java.rmi.Remote {
  | public javax.activation.DataHandler getTemplate(int templateId) throws 
  | com.mycompany.myservice.MyServiceFault,  java.rmi.RemoteException;
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085734#4085734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085734
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Creating and Updating records in single operation: sensi

2007-09-18 Thread tim_ph
The way I do it is different because the way I define object relationship in 
hibernate (collection of items SAVE / DELETE_ORPHAN).
- Create a table of existing items in collection and hidden panel for object 
edit.
- Click add item: Create new object and add to collection
- Show edit panel of new object
- Hit update button of panel: just hide the panel. You should see object 
updated in table.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085730#4085730

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085730
___
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-18 Thread tim_ph
It uses ByteArrayOutputStream to hold data. The buffer grows as data adding to 
it. Look like you may have to increase the heap size -Xmx

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085723#4085723

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to invoke an Stateless at ear deployment.

2007-09-18 Thread ALRubinger
Define "without invoking a bean"?  Where else would you put the logic for your 
initialization task?

It's possible to create a JMX Service object with @Depends on the ObjectName of 
your EAR, and it'll run through the "start" method after the EAR has deployed.

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085712#4085712

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - How to invoke an Stateless at ear deployment.

2007-09-18 Thread jc7442
I deploy my EJB3 app as an ear. I'd like to execute some initialisation task 
just after the ear has been fully deployed but without invoking a bean.

Is it possible to do such initialization at JBoss AS startup ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085708#4085708

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085708
___
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

2007-09-18 Thread smithbstl
You're welcome, :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085707#4085707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Configuring richfaces/ajax4jsf with seam 2.0?

2007-09-18 Thread smithbstl
lol, np

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085705#4085705

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Configuring richfaces/ajax4jsf with seam 2.0?

2007-09-18 Thread dhinojosa
Well goddamn, I feel moist!

Wait, did I just write that?
Thanks for the help!

Danno

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085704#4085704

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085704
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Applying patches for Seam JSF implementation

2007-09-18 Thread [EMAIL PROTECTED]
The deployers are the modularized services that deploy different application 
types.  If you didn't need a web container in your jboss instance, for example, 
you could remove the web deployer service.  The function of a deployer is 
usually fairly obvious from its name.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085703#4085703

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085703
___
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-18 Thread smithbstl
Did you remember the getter and setter for parentMgr.clients in your local 
interface?  I see that you were using a DataModel but commented it out.  I have 
done that many times (forgot to add the getter and setter to the interface)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085698#4085698

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085698
___
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

2007-09-18 Thread oblivion1200
Thank you smithbstl. It works great! :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085697#4085697

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Configuring richfaces/ajax4jsf with seam 2.0?

2007-09-18 Thread dhinojosa
I did have the listenerForgot to post it is all, going to try it now

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085696#4085696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Configuring richfaces/ajax4jsf with seam 2.0?

2007-09-18 Thread smithbstl
You don't need the a4j filter in components.xml

Here is an example of a properly set up web.xml

(You are missing the Seam Listener)


  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
  |  version="2.4">
  | 
  | 
  | 
  | 
  | org.ajax4jsf.VIEW_HANDLERS
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | 
  | org.ajax4jsf.SKIN
  | blueSky
  | 
  |  
  |
  | 
  |
  |   org.jboss.seam.servlet.SeamListener
  |
  | 
  | 
  | Seam Filter
  | org.jboss.seam.servlet.SeamFilter
  | 
  | 
  | 
  | Seam Filter
  | /*
  | 
  | 
  |
  |   Seam Resource Servlet
  |   org.jboss.seam.servlet.ResourceServlet
  |
  | 
  |
  |   Seam Resource Servlet
  |   /seam/resource/*
  |
  |
  |
  |
  |
  |   facelets.DEVELOPMENT
  |   true
  |
  |
  |
  |facelets.SKIP_COMMENTS
  |true
  |
  | 
  |
  |
  |
  |   javax.faces.STATE_SAVING_METHOD
  |   client
  |   
  |
  |
  |   javax.faces.DEFAULT_SUFFIX
  |   .xhtml
  |
  | 
  |
  |   Faces Servlet
  |   javax.faces.webapp.FacesServlet
  |   1
  |
  | 
  |
  |   Faces Servlet
  |   *.seam
  |
  |   
  | 
  |Restrict raw XHTML Documents
  |
  |XHTML
  |*.xhtml
  |
  |
  |NONE
  |
  |   
  |
  | 

Other than that, your packaging looks ok

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085694#4085694

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085694
___
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

2007-09-18 Thread smithbstl
I am doing something similar.  You don't need to use f:param


  | 
  | 
  | value="#{source}"/>
  | ..


  |
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085693#4085693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Configuring richfaces/ajax4jsf with seam 2.0?

2007-09-18 Thread dhinojosa
How hard does it have to be to configure richfaces/ajax4jsf with seam 2.0?

This is nuts now

My setup

In my war file (relevant info only):

  |  0 Tue Sep 18 12:17:14 MDT 2007 WEB-INF/lib/
  |  11615 Wed Aug 29 17:40:32 MDT 2007 WEB-INF/lib/jboss-seam-debug.jar
  | 199089 Wed Aug 29 17:40:26 MDT 2007 WEB-INF/lib/jboss-seam-ui.jar
  | 300600 Sun Aug 05 12:40:14 MDT 2007 WEB-INF/lib/jsf-facelets.jar
  | 1146379 Wed Sep 12 17:28:48 MDT 2007 WEB-INF/lib/richfaces-impl-3.1.0.ja
  | 1498248 Wed Sep 12 17:40:28 MDT 2007 WEB-INF/lib/richfaces-ui-3.1.0.jar
  | 


In my ear file  (relevant info only):

  | 112712 Wed Sep 12 17:28:12 MDT 2007 richfaces-api-3.1.0.jar
  | 

In my application.xml file  (relevant info only): 

  |   .
  |   
  | richfaces-api-3.1.0.jar
  |   
  |   ..
  | 

In my web.xml file  (relevant info only):

  | 
  | javax.faces.STATE_SAVING_METHOD
  | client
  | 
  | 
  | 
  | javax.faces.DEFAULT_SUFFIX
  | .xhtml
  | 
  | 
  | 
  | facelets.DEVELOPMENT
  | true
  | 
  | 
  | 
  | org.ajax4jsf.VIEW_HANDLERS
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | 
  | org.ajax4jsf.SKIN
  | blueSky
  | 
  | 
  | 
  | Seam Filter
  | org.jboss.seam.servlet.SeamFilter
  | 
  | 
  | 
  | Seam Filter
  | /*
  | 
  | 
  | 
  | Seam Resource Servlet
  | org.jboss.seam.servlet.SeamResourceServlet
  | 
  | 
  | 
  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  | 
  | Seam Resource Servlet
  | /seam/resource/*
  | 
  | 
  | 
  | 
  | Faces Servlet
  | *.xhtml
  | 
  | 

In my components.xml  (relevant info only)

  | 
  | 


I do not set up the filter explicitly in the web.xml because the documentation 
says so.  Now I get 'a4j not defined' in the browser, any help is appreciated. 
;)

Danno

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085691#4085691

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread goku2
Add the @Lob annotation


  | @Basic(fetch=FetchType.LAZY)
  | @Column(updatable=false)
  | @Lob
  | private byte[] content; 
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085687#4085687

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Generating EJB3 entities using seam-gen tables/views

2007-09-18 Thread pettycs
I am using seam 2.0 and Jboss 4.2 and used seam-gen to generate EJB3 entities 
for oracale tables and views. During deployment I get errors directly related 
to the entites that were created off the views. I know in the past with 
straight hibernate views and tables were treated the same. Has this changed 
when using EJB3. Any help will be much appreciated. I have included the 
exception below. Thanks 


--- MBeans waiting for other MBeans --- 
ObjectName: persistence.units:ear=EverStageMeta.ear,unitName=EverStageMeta 
State: FAILED 
Reason: javax.persistence.PersistenceException: 
org.hibernate.HibernateException: Missing table: SECURITY_MASTER_SOURCE_VW 
I Depend On: 
jboss.jca:service=DataSourceBinding,name=EverStageMetaDatasource

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085685#4085685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085685
___
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-18 Thread goku2
Maybe you miss the @Name("client") annotation


  | @Entity
  | @Table(name="CLIENT")
  | @Name("client")
  | public class Client implements Serializable {
  | 
  | 

I look it in a rush, maybe is another thing.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085684#4085684

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Passing datasource parameter to

2007-09-18 Thread oblivion1200
I have a big datatable compoment and I would like to use it with diffrent data 
sources. I don't want to repeat datatable code many times because of change 
only one value="#{datasource}" parameter.
I tried templates, but it doesn't work.

myTemplate.xhtml

  | 
  | 
  | \#{  }
  |   
  | 
  | ..
  | 

usage

  | 
  | datasource
  | 
  | 

I need to get something like:

  |   
  | 
  | ...
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085681#4085681

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Attach Entity

2007-09-18 Thread mcsous
Hello,

I'm wanting to save attach file in DataBase. I used this annotation:
@Basic(fetch=FetchType.LAZY)
  | @Column(updatable=false)
  | private byte[] content;

This works fine, except one thing, the fetch strategy doesn't work. The attach 
content always select like EAGER fetch strategy.

How can I lazy the content?

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085680#4085680

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-09-18 Thread vlaugier
Hello,

this surely is a very dumb mistake but I cannot find it 

I have a very simple entities model : one class Client 

In a first time, I am creating the clients (without defining the parentClient 
attribute) with an autogenerated CRUD form, this works

I then want to list the generated clients in a datatable on an other page but I 
get the following error when going to the page :



  | Bean: org.javassist.tmp.java.lang.Object_$$_javassist_79, property: clients
  | - Stack Trace
  | javax.el.PropertyNotFoundException: Bean: 
org.javassist.tmp.java.lang.Object_$$_javassist_79, property: clients
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:146)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:125)
  | at 
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
  | at 
com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
  | at 
com.sun.facelets.el.ELText$ELTextComposite.toString(ELText.java:115)
  | at 
com.sun.facelets.compiler.CommentInstruction.write(CommentInstruction.java:38)
  | at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:280)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
  | at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:189)
  | at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:184)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.encodeChildren(RendererBase.java:121)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBas

  1   2   3   >