[jboss-user] [JBoss Seam] - Re: binding attribute doesnt work with Seam?

2007-10-12 Thread mnrz
I really stuck

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - EAR Isolation and remote calls

2007-10-12 Thread dfisher
I have 2 ears deployed in the same jboss instance (4.2.1) and one makes a 
remote call to the other.
Both of these ears have isolated classloaders and contain the same entity bean 
jar.
(Entities are not deployed on this server, just used as detached.)
JBoss is configured to use call by value for this setup.

The second ear throws a classcastexception for my entity bean classes when 
servicing the call from the first ear.
Is it possible the second ear method is using the same thread and therefore not 
retrieving the correct class?

Putting the entity bean jar in the deploy directory and removing it from both 
ears fixes the problem.

Any ideas on how to package these ears correctly?
Thanks.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jbossall-client.jar causes exception IncompatibleClassCh

2007-10-12 Thread jaikiran
anonymous wrote : I have jbossall-client.jar  in the lib directory of the war 
file

Why are you packaging that JBoss specific jar in your application? It's already 
present in JBoss' lib folder. You dont have to package that in your 
application. Packaging that in the application can lead to errors like these.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error starting JBOSS

2007-10-12 Thread jaikiran
Are you packaging commons-logging related jar files in your application?


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to shutdown one JBoss instance when there are two JB

2007-10-12 Thread jaikiran
Have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ShutdownDifferentInstancesOfJBoss

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

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


[jboss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException while executing a cl

2007-10-12 Thread jaikiran
You will have to post the entire exception stacktrace, you are seeing and also 
provide more details of your application.

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

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


[jboss-user] [JBoss jBPM] - Problem using jBPM in eclipse (Unable to create process proj

2007-10-12 Thread maverickcoolmail
Hi

I have downloaded the jBPM plugin for eclipse and installed it successfully in 
eclipse. But now when I create a new process project , the "next" button is 
disabled. I have check in eclipse preferences and there when I open jBPM link 
it gives some error(null pointer exception). 

Any quick help would be really helpful

Thanks in advance

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

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


[jboss-user] [EJB 3.0] - Re: unable to find LoginModule class

2007-10-12 Thread jaikiran
anonymous wrote : did u got my problem ?? 

Not really.

anonymous wrote : 02:00:14,593 INFO [STDOUT] LOGIN_USER = null
  | 02:00:14,593 INFO [STDOUT] LOGIN_PASSWORD = nulll
  | 
  | 
  |  System.out.println("LOGINNN_USER "+ ((NameCallback) 
callbackx[0]).getName());
  | System.out.println("LOGINNN_PASSWORD "+ ((PasswordCallback) 
callbackx[1]).getPassword()); 

As far as this output is concerned, it all depends on what you have implemented 
in the JPageraCallbackHandler class' callback method.



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to add authentication on JBoss home web site

2007-10-12 Thread hung_hin_chu
Will authentication apply to following?

http://192.168.11.22:1234/status
http://192.168.11.22:1234/status?full=true
http://192.168.11.22:1234/status?full=false


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to add authentication on JBoss home web site

2007-10-12 Thread hung_hin_chu
When I installed the Jboss using IP 192.168.11.22 with port 1234,

Browse http://192.168.11.22:1234 will return the [JBoss Online Resources] and 
[JBoss Management].

How to add authentication on this URL "http://192.168.11.22:1234";?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to shutdown one JBoss instance when there are two JBoss

2007-10-12 Thread hung_hin_chu
There are two JBoss installed on the same machine. For example,
/instance1/jboss
/instance2/jboss

Both JBoss service using the same IP address but different port. For example,
instance1 using 192.168.11.22 with port 1234
instance2 using 192.168.11.22 with port 1235

When I using shutdown one of the JBoss service, sometime it shutdown the 
another instance.

The script to shutdown the jboss is follows
instance1 :: /instance1/jboss/bin/shutdown.sh -s 192.168.11.22 -S
instance2 :: /instance2/jboss/bin/shutdown.sh -s 192.168.11.22 -S

How to shutdown the selected JBoss without affecting the other?
Is it any way to specified the port so that I can only shutdown the specified 
JBoss instance?




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

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


[jboss-user] [JBoss Seam] - Issues regarding integration testing using seam-gen

2007-10-12 Thread zzztimbo
I used seam-gen to create my Eclipse project. 

Here is my single test:



  | package com.mcc.test;
  | 
  | 
  | import org.jboss.seam.mock.SeamTest;
  | import org.testng.annotations.Test;
  | 
  | 
  | public class TestTest extends SeamTest {
  | 
  | @Test
  | public void testNothing() {
  | assert "foo".equalsIgnoreCase("FOO");
  | }
  | }
  | 


When I use the testng plugin for Eclipse, I get the follow error:


  | FAILED CONFIGURATION: @BeforeClass init
  | java.lang.RuntimeException: Could not create Component: renderManager
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:964)
  | at 
org.jboss.seam.init.Initialization.installComponents(Initialization.java:891)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:547)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:900)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | Caused by: java.lang.NoClassDefFoundError: 
edu/emory/mathcs/backport/java/util/concurrent/ScheduledThreadPoolExecutor
  | at java.lang.Class.getDeclaredMethods0(Native Method)
  | at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
  | at java.lang.Class.getDeclaredMethods(Class.java:1763)
  | at org.jboss.seam.Component.initMembers(Component.java:546)
  | at org.jboss.seam.Component.(Component.java:254)
  | at org.jboss.seam.Component.(Component.java:217)
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:949)
  | ... 26 more
  | ... Removed 22 stack frames
  | SKIPPED CONFIGURATION: @BeforeMethod begin
  | SKIPPED CONFIGURATION: @AfterMethod end
  | SKIPPED CONFIGURATION: @AfterClass cleanup
  | SKIPPED: testNothing
  | 


When I issue "ant buildtest" and then "ant test" I get the follow errors, which 
are different:


  |  [testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] java.lang.NoClassDefFoundError: 
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
  |[testng] at 
org.jboss.util.collection.CollectionsFactory.createConcurrentReaderMap(CollectionsFactory.java:73)
  |[testng] at 
org.jboss.kernel.plugins.event.AbstractEventEmitter.(AbstractEventEmitter.java:60)
  |[testng] at 
org.jboss.kernel.plugins.AbstractKernelObject.(AbstractKernelObject.java:47)
  |[testng] at 
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.(AbstractBootstrap.java:51)
  |[testng] at 
org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap.(BasicBootstrap.java:58)
  |[testng] at 
org.jboss.embedded.Bootstrap.createKernel(Bootstrap.java:130)
  |[testng] at 
org.jboss.embedded.Bootstrap.getInstance(Bootstrap.java:76)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:10)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:967)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:892)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] ... Removed 22 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |[testng] SKIPPED CONFIGURATION: @AfterMethod end
  |[testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |[testng] SKIPPED: testNothing
  | 
  | 

Another issue I have is the ant buildtest target looks for a testng xml file of 
the pattern *Test.xml. In the examples directory of Seam, all the projects I 
found had a testng xml file, "testng.xml." So in order to run the testng test 
from ant, I had to rename my testng xml file. 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - jbossall-client.jar causes exception IncompatibleClassChange

2007-10-12 Thread mthias99
JBoss 4.2.1

I am deploying a very minimal JSF application.  I have jbossall-client.jar in 
the lib directory of the war file.  Upon deployment I get the following 
exception:

2007-10-12 22:06:40,397 INFO  [STDOUT] 22:06:40,390 ERROR [[/spokes]] Exception 
sending context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.IncompatibleClassChangeError
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)


The previous version I was using JBoss 4.0.2 did not have this issue.  Any 
thoughts as to why this is occuring?

Thank you for your help,
  Mark

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

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


[jboss-user] [JBoss Seam] - Re: How to call a web method in Seam 2.0 ?

2007-10-12 Thread [EMAIL PROTECTED]
You can consume Seam web services using whichever web services client you want, 
whether it be JBossWS, Apache Axis, .Net, Delphi or whatever.

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

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


[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre

2007-10-12 Thread dlmiles
"[EMAIL PROTECTED]" wrote : I stepped through the code of jstpublisher andi 
don't see any temp file copying being performed when we use our adapter...I do 
realize that tomcat and jboss adapter does this of different reasons (tomcat - 
has it as a "deploy" location and jboss wtp as a tmp storage before zipping it 
up)
  | 
  | I'm not saying we don't have issues across disk boundaries; i'm just saying 
i'm not seeing any temporary files being created...

My comment earlier was that I guess you delegate the task of the actual file 
copy to PublishUtil and as it stands this API provided by WTP is only good if 
you intend to use the ".../tmp1/" publishing area (due to this cross file 
system concern).  This is why I think you need to open an API change request 
with WTP (or at least have them knock you back and fork your own implementation 
of PublishUtil).  I can see any reason why you can't have the API improved as 
it should be possible to maintain 100% backward compatibility.

The copy of PublishUtil I have from 1.5 still has the bug that is uses a static 
variable for the file copy buffer and this class is shared by many drivers, and 
as far as I know having two runtimes active at the same time is allowed and 
updates maybe done concurrently.  So instancing this class with a private 
'byte[] buffer' and a configurable 'File tempDir' makes sense to me.


Anyway to spot the temp file usage try something like this:

Set a breakpoint in this class org.eclipse.jst.server.core.PublishUtil for all 
methods, or rather org.eclipse.wst.server.core.PublishUtil (since it appears to 
have moved between 1.5.x and 2.0).  I only have WTP 1.5 tree checked out, I 
don't know if there is a viewcvs HTTP resource to cite more information so I 
can't see what the current WTP 2.0 PublishUtil looks like.

Set a breakpoint for java.io.File#createTempFile(String, File), modify a .jave 
file and save, do a publish with th JbossTools-AS driver.

If you open the source to the PublishUtil class and look for "temp".


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

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


[jboss-user] [JBoss Seam] - Re: OneToMany & h:selectOneMenu

2007-10-12 Thread matt.drees
Check out the ui example (selectItems.xhtml in particular).

generate-entities does do OneToMany, but not using h:selectOneMenu

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

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


[jboss-user] [JBoss Portal] - Re: removing the default portal

2007-10-12 Thread [EMAIL PROTECTED]
"cry4dawn" wrote : well building from source did not go so well but

Could you elaborate on this? Did you encounter an issue? If yes, we'd like to 
know about it.

"cry4dawn" wrote : i love how loosely coupled this server is.

Good to hear you're happy about it! :)

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

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


[jboss-user] [EJB 3.0] - Re: unable to find LoginModule class

2007-10-12 Thread JPagera
hey friend i knew the problem but do u have solution??

when im readin my custom login debug
i found that the name and password in custome login module is null

..

02:00:14,593 INFO  [STDOUT] LOGIN_USER =  null
02:00:14,593 INFO  [STDOUT] LOGIN_PASSWORD =  nulll
02:00:14,593 INFO  [STDOUT] driverDB : com.mysql.jdbc.Driver
02:00:14,593 INFO  [STDOUT] userDB : pagera
02:00:14,593 INFO  [STDOUT] passwordDB : pagera
02:00:14,593 INFO  [STDOUT] urlDB : jdbc:mysql://localhost:3306/jos_db
.

its from login method in my custom login module

System.out.println("LOGINNN_USER "+ ((NameCallback) 
callbackx[0]).getName());
System.out.println("LOGINNN_PASSWORD "+ ((PasswordCallback) 
callbackx[1]).getPassword());

...
did u got my problem ??
i hope so and thank u vry mch


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

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


[jboss-user] [JBoss Seam] - OneToMany & h:selectOneMenu

2007-10-12 Thread yuriy_zubarev
Hi,

I was wondering which 2.0.0CR2 example works with one-to-many relationship and 
uses h:selectOneMenu on facelets page to display it. (for example, when you 
create a book, there is a drop-down box of genres to choose from. Both Book and 
Genre are coming from a database and there is one-to-many relationship between 
them. Book has genre_id.)

I scanned quickly through example but couldn't see anything like this.

Also please correct me if I'm wrong but "seam generate-entities" doesn't  
generate OneToMany features.

Thank you,
Yuriy


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

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


[jboss-user] [JBoss Seam] - Re: Workaround for bug JBSEAM-1322?

2007-10-12 Thread EricJava
I made the change to the code suggested in the bug comments, recompiled, and it 
now works fine.  So I have my own patched version of it.

Fortunately the build script in Seam works great with no external dependencies 
so recompiling the whole thing is trivial.


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

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


[jboss-user] [JBoss Portal] - Re: WARN [LoadContexts] ?

2007-10-12 Thread [EMAIL PROTECTED]
These are just warnings issued by Hibernate. You can safely ignore them (they 
should be removed from newer version of Hibernate). See: 
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2795
If you don't want to see them anymore, please edit the jboss-log4j.xml file in 
your AS configuration conf directory:

   
  |
  |   
  |
  | 
  |
  |
  |   
  |

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:selectItems not showing correct value

2007-10-12 Thread [EMAIL PROTECTED]
Do you really mean the ids are different - if the ids are different then you 
won't get the objects selected. Do you mean the hashcode - in which case, yes, 
the session scope is probably the problem and nickaris's solution is probably 
correct - either that or follow the pattern i documented on the wiki for 
managing entities in scopes longer than conversation

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

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


[jboss-user] [JBoss Seam] - Re: List re-initialization after nested conversation

2007-10-12 Thread [EMAIL PROTECTED]
This is against CR2 or CVS? In that case attach it without the libs and we'll 
add the libraries - or if it's from seam-gen, even better!

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

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


[jboss-user] [JBoss Seam] - Re: fresh cvs co build

2007-10-12 Thread Daoud
"[EMAIL PROTECTED]" wrote : Try again now - looks like some transient problem 
with the jboss repository.
Thanks that worked great besides the minor ui jars thing. In tonight cvs update 
I've seen the main build.xml file was changed but still I have to manually copy 
the ui jars.

Best Regards
Daoud AbdelMonem Faleh

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread [EMAIL PROTECTED]
You should ask this question in the hibernate jpa forum.

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

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


[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre

2007-10-12 Thread [EMAIL PROTECTED]


>> I still don't understand the "copied = copied && fileSafeCopy(etc)"

assume: fileSafeCopy returns true or false;
prime copied:   boolean copied = true;

in a loop: 
copied = copied && fileSafeCopy(next file)

which means
new value of copied = old value of coppied && the result of the function

Therefore:
  if fileSafeCopy returns true:
 newCopied = oldCopied && true
 newCopied = true && true
 newCopied = true

  if fileSafeCopy returns false:
 newCopied = oldCopied && false
 newCopied = true && false
 newCopied = false

The only difference is that we're assigning the result to the same variable 
that we're checking.  It's very similar to saying:  i = i + 1, except instead 
of the + operator, we're using the && operator.

x = x && true
x = x && false
i = i + 1
i = i - 1

It's the same idea. 


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

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


[jboss-user] [JBoss Tools (users)] - Oracle10gDialect not in Database Dialect DropDown - Configur

2007-10-12 Thread fischman_98
Received this warning in the console - 
2007-10-12 17:32:10,677 WARN Worker-0 org.hibernate.dialect.Oracle9Dialect - 
The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or 
Oracle10gDialect instead

Oracle10gDialect dialect is not available from the dropdown in the new 
Hibernate Configuration File wizard.

RHDS beta2

Obviously can add it manually, but FYI

Matt

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread yuriy_zubarev
At the same time. This is not flexible enough. If entity.jar gets distributed 
everywhere with its own persistence.xml that looks something like this:


  | 
  | http://java.sun.com/xml/ns/persistence";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  | version="1.0">
  | 
  | 
  | org.hibernate.ejb.HibernatePersistence
  | java:comp/env/jdbc/CoolDB
  | entitypackage.Book
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

then every system would "inherit" and would have to respect names like 
"coolDatabase", hibernate.hbm2ddl.auto would always be set to true and so on.

What I would like is to keep my entities separately from rules on how they 
could be used. Is it possible somehow?

Thank you.
Yuriy


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

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


[jboss-user] [Performance Tuning] - Re: High System CPU Time

2007-10-12 Thread PeterJ
Getting a few thread dump might help pinpoint where in the application the 
problem is. I recall helping one customer whose system was showing 80% CPU 
usage when no sessions were active. Turns out that the application code had an 
infinite loop, and three of the requests were in that loop. Doing several dumps 
in a row an noticing that those three threads were still in the same code after 
a couple of minutes helped to pinpoint the problem.

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread yuriy_zubarev
Ok I got it. I had persistence.xml both in entity.jar and under META-INF of the 
webapp. As soon as I removed it from webapp the app started working.

Thank you,
Yuriy


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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread [EMAIL PROTECTED]
Surely persistence.xml should be in the entity jar?

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

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


[jboss-user] [Performance Tuning] - Re: High System CPU Time

2007-10-12 Thread hamilrk1
Interesting there are no other takers on this ... Nobody else is seeing  high 
system time (1:1 with User cpu time)?

I separated apache and Jboss to different physical boxes and the problem 
followed jboss/jvm. So under load, apache is truely snoozing...

I'm looking into things like strace, oprofile, gdb, etc. now to try and figure 
out what is happening inside the JVM. 

Might also consider JRockit as it supposedly has some nice features for peering 
inside the JVM ... Anyone have any thoughts on what the best approach would be 
for getting insight into the JVM or the JBoss microkernel?

Of course it could be the code too ...  My developers are resisting.. :) 

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

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


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

2007-10-12 Thread fischman_98
Max,

Can you offer any suggestions for using the plugin when you're using Tomcat 
JDNI?

Is there a simple way to keep two hibernate.cfg.xml files in sync?
OR 
Do you comment out/delete the  
line when you want to use the hibernate plug-in features?

Any suggestions?

Thanks.

I'm a long time Exadal Studio Pro user trying to get up to speed on RHDS!  



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

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


[jboss-user] [JBoss Seam] - Re: messageformat error blows up (JBSEAM-1859)

2007-10-12 Thread atao
Good!

May I suggest that, in place of the partial result of interpolation, the wrong 
message is also shown to the user by returning it in the catch block:

  | log.warn("exception interpolating string: " + string, e);
  | return string;
  | 

It gives then a direct clue that something is wrong. And it's already the way 
to do thing in other
cases of wrong syntax (see "messageformat error blows up" test in 
InterpolatorTest)


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

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


[jboss-user] [JBoss Seam] - Re: conceptual question about concurrency

2007-10-12 Thread matt.drees
Thanks Pete

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

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


[jboss-user] [JBoss Seam] - Re: Filtering the ConversationStack based on view-id for bre

2007-10-12 Thread [EMAIL PROTECTED]
Do you have a jira issue open describing this use case - sounds like we need to 
get this working better in Seam...

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread yuriy_zubarev
entity.jar is under lib folder of course.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094791
___
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-10-12 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-2094

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread yuriy_zubarev
It looks like this:


  | webapp
  |  |-- META-INF
  |  |   |-- persistence.xml
  |  |   |-- context.xml
  |  |-- WEB-INF
  |  |-- web.xml
  |  |-- components.xml
  |  |-- pages.xml
  |  |-- classes
  |  |   |-- seam.properties
  |  |   |-- webpackage
  |  |   |-- BookController.class
  |  |-- lib
  |  |-- entity.jar
  | 

Thank you,
Yuriy


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

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


[jboss-user] [JBoss Seam] - Re: Problems with HtmlSelectOneListBox and EntityConverter a

2007-10-12 Thread [EMAIL PROTECTED]
As long as all the objects come from the same persistence context you should 
not need to override equals

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

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


[jboss-user] [JBoss Seam] - Re: coerceToType / javaassist error

2007-10-12 Thread [EMAIL PROTECTED]
If you can produce a runnable example showing this simply with no extra cruft, 
please report a jira issue so I can look :)

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

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


[jboss-user] [JBoss Seam] - Re: poor performance of getId() in Seam

2007-10-12 Thread mgrouch
I've opened another one

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

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error starting JBOSS

2007-10-12 Thread rafaelroque
Folks,

when i try to deploy my NetBeans Visual Web application on JBOSS i am
getting the following error:
 
  | Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: Invalid class loader 
hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' 
visible, which is not allowed.

I´m wondering whether i have another commons-logging.jar already installed.Have 
somebody already solved this problem?

Regards,
Rafael Roque

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

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

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


[jboss-user] [JBoss Seam] - Re: IllegalAccessError: Could not instantiate Seam component

2007-10-12 Thread [EMAIL PROTECTED]
make the interface public

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

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


[jboss-user] [JBoss Seam] - Re: JAR with entities in a WebApp

2007-10-12 Thread [EMAIL PROTECTED]
What is the structure of the archives when deployed?

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

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


[jboss-user] [JBoss Seam] - Re: Again - conversation and browser refresh

2007-10-12 Thread [EMAIL PROTECTED]
1) with this pattern, no
2) With join=true and an SMPC (not an extended pc) then yes.

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

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


[jboss-user] [JBoss Seam] - Re: Getting the Seam context in a Filter

2007-10-12 Thread [EMAIL PROTECTED]
Use the context filter (rtfm) and then use Component.getInstance()

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

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


[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-10-12 Thread [EMAIL PROTECTED]
correct

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

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


[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre

2007-10-12 Thread [EMAIL PROTECTED]
"dlmiles" wrote : 
  | "[EMAIL PROTECTED]" wrote : I never seen anything in that tmp file location 
you mention - it just contains a profile.dat file which I think just represents 
the last list of resources that have been copied ?
  | 
  | Can you be more specific?  Are you windows or linux ?
  | 

both.

anonymous wrote : 
  | Have you ever create a Tomcat runtime and WAR/DWP deployed to it ?  
  | 

sure - but now we are talking about fixing our jboss adapter deployment

anonymous wrote : 
  | Have you even created JBoss runtime using WTP driver and deployed to it ?  
If no and no then I wouldn't expect to see much in the directory if you've 
never had a publish failure.
  | 

I stepped through the code of jstpublisher andi don't see any temp file copying 
being performed when we use our adapter...I do realize that tomcat and jboss 
adapter does this of different reasons (tomcat - has it as a "deploy" location 
and jboss wtp as a tmp storage before zipping it up)

anonymous wrote : 
  | What is the specific path on your computer you are looking at ?
  | 

the one you gave me. .metadata/org.eclipse...etc.

anonymous wrote : 
  | Can you confirm the absolute path to your JBoss runtime, I have not 
verified if the problem I see is re-creatable on windows by having JBoss 
runtime on a different drive letter.  I'm not sure if windows has rename magic 
(which turns out to  be a file copy) if you rename a file across drive letters.

I'm not saying we don't have issues across disk boundaries; i'm just saying i'm 
not seeing any temporary files being created...




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

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


[jboss-user] [JBoss Seam] - Re: Calling a Method on a Home Object

2007-10-12 Thread [EMAIL PROTECTED]
Access instance through the getter.

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

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


[jboss-user] [JBoss Seam] - IllegalAccessError: Could not instantiate Seam component

2007-10-12 Thread enrokuta
I have a stateless session bean called UploadService that handles file uploads. 
I was able to use it with no problems for days till I added few setters/getters 
and a method to scale the uploaded image.

After login and once a reference of uploadService is encountered, an 
instantiation exception is thrown that is caused by " IllegalAccessError: class 
XYZ cannot access its superinterface com.truerunes.core.Upload"

  | 23:09:17,761 ERROR [STDERR] Oct 12, 2007 11:09:17 PM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/artwork.xhtml]
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: uploadService
  | at org.jboss.seam.Component.newInstance(Component.java:1971)
  | at org.jboss.seam.Component.getInstance(Component.java:1874)
  | at org.jboss.seam.Component.getInstance(Component.java:1841)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
  | at 
org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.renderChild(RendererBase.java:190)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.renderChildren(RendererBase.java:166)
  | at 
org.jboss.seam.ui.renderkit.ValidateAllRendererBase.doEncodeChildren(ValidateAllRendererBase.java:33)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.encodeChildren(RendererBase.java:92)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
  | at 
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss

[jboss-user] [JBoss Seam] - Re: Re-working EJB Extended Context To Use SMPC - Need Help

2007-10-12 Thread [EMAIL PROTECTED]
Post code for scenario2

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

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


[jboss-user] [JBoss Seam] - Re: Log and EntityManager are not injected in integration te

2007-10-12 Thread [EMAIL PROTECTED]
This should work - post your log.

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

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


[jboss-user] [JBoss Seam] - Re: Calling a Method on a Home Object

2007-10-12 Thread [EMAIL PROTECTED]
Ugh, my bad. I was wrong and confused this with something else (mostly the 
@Create page param problem). Of course you can call a page action and the 
entity instance should be available in that page action if its identifier is 
set as a page parameter.

No idea why it doesn't work in that particular case though.

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

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


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

2007-10-12 Thread [EMAIL PROTECTED]
propagation="none" on s:link.  Yes - a maximum of one active conversation.

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

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


[jboss-user] [JBoss Seam] - Re: poor performance of getId() in Seam

2007-10-12 Thread [EMAIL PROTECTED]
Neither of those deal with this issue.  If you want us to look this issue 
please file a specific issue for it.

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

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


[jboss-user] [JBoss Seam] - Re: poor performance of getId() in Seam

2007-10-12 Thread mgrouch
There is this one

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

and another one (similar)

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



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

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


[jboss-user] [JBoss Portal] - saving admin portlet-based config as default portal config

2007-10-12 Thread vinguye2
Currently, the admin portlet is used to configure the portal at runtime.  
Instead of having the info saved to the db, is there a way to make it output to 
actual descriptor files that can be used to replace the original JBoss Portal 
descriptors, to make it the default configuration of the Portal itself?

I'd like to configure the portal per customer, so each distribution will have 
its own default configuration.  I was wondering if I can take advantage of the 
admin portlet as the "IDE" to customize the portal since it can already do this 
at runtime...instead of me needing to directly update the descriptor files to 
have the same end result.   I don't want to distribute a product to a customer 
with data already in the db, requiring me to also distribute the db.

It would be nice if the admin portlet could also be a stand-alone app by itself 
somehow, to configure the portal at design time instead of runtime.  Could this 
be something supported by the Portal team in the future?



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How can I deploy different version of the same class in othe

2007-10-12 Thread Fulo
Hi,

I have a problem. Namely, I want to deploy different version of the same class 
in other .ear(already deployed in other .ear) and I want the first application 
to use new deployed one. I want it to look as updated without redeploy all 
application(first .ear)

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

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


[jboss-user] [JBoss Seam] - Re: How to write a validator that compares two fields

2007-10-12 Thread [EMAIL PROTECTED]
It would be interesting to see if you can generalize this approach a bit to 
produce a validator that can work with two fields
 

If you aren't interested in doing this, please open a jira issue - I've been 
wanting to look at something like this for a while.

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

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

Thanks very much for your response.  

I downloaded a pure copy of the JBoss AS 4.0.4GA and compared 
default/conf/standardjboss.xml to our /conf/standardjboss.xml.

It appears that in the pure 4.0.4GA, the interceptor is: 
org.jboss.ws.server.ServiceEndpointInterceptor

and we had changed this to 

org.jboss.ws.integration.jboss.ServiceEndpointInterceptor

when we upgraded to jbossws-1.4.  Although I wasn't the person on our team who 
did this upgrade to jbossws-1.4, this is what I can gather based on subversion 
revision messages.  

So, as you suggested, I changed the interceptor to 
org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor in our 
/conf/standardjboss.xml:


  | 
  |   Standard Stateless SessionBean
  |   false
  |   
stateless-rmi-invoker
  |   
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | org.jboss.ejb.plugins.SecurityInterceptor
  | 
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | org.jboss.ejb.plugins.TxInterceptorBMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
  | 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  |   
  |   
org.jboss.ejb.plugins.StatelessSessionInstancePool
  |   
  |   
  |   
  | 100
  |   
  | 
  | 
  | 
  |   Clustered Stateless SessionBean
  |   false
  |   
clustered-stateless-rmi-invoker
  |   
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | 
org.jboss.ejb.plugins.CleanShutdownInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | org.jboss.ejb.plugins.SecurityInterceptor
  | 
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | org.jboss.ejb.plugins.TxInterceptorBMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor 

  | 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  |   
  |   
org.jboss.ejb.plugins.StatelessSessionInstancePool
  |   
  |   
  |   
  | 100
  |   
  |   
  |  
${jboss.partition.name:DefaultPartition}
  |   
  | 
  | 

However, this class is not found either.  I get the exception

2007-10-12 15:40:44,728 WARN  [org.jboss.ejb.EjbModule] Could not load the 
org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor interceptor
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
  | 

Could you tell me which JAR this class 
(org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor) is supposed to 
reside in?  I've tried going through the JARs inside the jbossws.sar directory, 
but have not been able to find it. 

Thanks again for your help!

Philip Tenn

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

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


[jboss-user] [JBoss Portal] - Re: Got it y'all. Here's a working Struts bridge example (2.

2007-10-12 Thread NM-156
JBoss AS 4.0.5
JBP 2.6.1

Two things. I got an error deploying the pet store app related to this class:

org.jboss.portal.portlet.bridge.JBossServletContextProvider

I checked my test app, and I updated the pet store .war file's portlet.xml to 
use:

org.jboss.portal.bridge.JBossServletContextProvider

Then the app deployed cleanly. I also changed run.conf and added the option 
that you mentioned to JAVA_OPTS. However, when I went to the page that I added 
the pet store portlet to, I got:

Cause: java.lang.NoClassDefFoundError: 
org/apache/portals/bridges/util/ServletPortletSessionProxy
  | Message: org/apache/portals/bridges/util/ServletPortletSessionProxy
  | StackTrace:
  | 
  | java.lang.NoClassDefFoundError: 
org/apache/portals/bridges/util/ServletPortletSessionProxy
  | at 
org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:420)
  | at 
org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:301)
  | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
  | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
  | at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
  

[jboss-user] [JBoss Getting Started Documentation] - Eclipse plugin tutorial (please update it!)

2007-10-12 Thread SlowStrider
I'm a part-time Java developer with some years of J2SE experience, but I am new 
to J2EE/EJB. So I downloaded JBoss (first the latest version, but then I 
discovered 4.0.5.GA with windows installer) and installed the JBoss plugin in 
my Eclipse 3.3.

1. It turns out the plugin doesn't work at the "project properties - XDoclet" 
part of the tutorial. This was not clear from the tutorial, but almighty google 
says that other people are having the same problem.

So I downloaded the bundle of Eclipse 3.2.1 and JBosside 2.0.0.beta.
2. The tutorial says you cannot place a jar inside the war if you have JBoss 
over 4.0, but FAILS to mention how to continue the tutorial without doing so 
(i.e. how to deploy the project)
3. When you want to debug... there are no launch configurations for JBoss 
Server like in the tutorial image. Almighty google led me to a bug report of 
over a YEAR ago that gave me the advice to Show view, other, Server, JBoss 
server view, right click, new Server and voila this worked...
4. a) In chapter 11, Deployment, it says go to Preferences -> JBoss Ide -> 
Deployer. The image shown is quite different than my preferences dialog. Mine 
contains JBossServers, JBossWS, XDoclets under "JBoss Eclipse IDE".
4. b) Right clicking the EAR file (which I DID stubbornly make) gives no option 
to deploy.

All this isn't very encouraging towards new users.

How do I continue from here? Should I download the older version of JBoss and 
the older eclipse plugin, and use this for completing the tutorial?
But then what if I decide J2EE/JBoss is right for me and I wish to upgrade to 
the newest version?
Or should I just keep this version and search for other tutorials/documentation?

Any help is appreciated.

P.S. I do suggest for someone to update the eclipse plugin tutorial to
- mention the Eclipse 3.3 incompatability
- show how to use with the 2.0.0beta plugin or discourage you to use it 
- tell how to deploy with JBoss 4.0 or discourage you to use it...



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

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


[jboss-user] [JBoss Seam] - Re: FR: Make all Seam-originated internal FacesMessages opti

2007-10-12 Thread [EMAIL PROTECTED]
You can override the messages by setting the key to an empty value.  Seam-gen 
generates a messages.properties which has the keys in.

But feel free to add an FR if you like.

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

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


[jboss-user] [JBoss Seam] - Re: NPE during persisting an EB

2007-10-12 Thread [EMAIL PROTECTED]
Did you get this sorted?

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

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


[jboss-user] [JBoss Seam] - Re: Jboss Seam Generates wrong mapping for char(2) type.

2007-10-12 Thread fhh
Use


  | @Column(columnDefinition="CHAR(2)"))
  | 

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Re: multiple data sources

2007-10-12 Thread [EMAIL PROTECTED]
"gstacey" wrote : I'm looking into overriding EntityManagerFactory to possibly 
create the correct Entitymanager on login (when the source is chosen) and put 
it into the session at that point.  Does this seem like a viable approach?

I would put the correct EntityManagerFactory into the session scope and then 
keep you peristence context in the conversation scope as normal.

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

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


[jboss-user] [JBoss Seam] - dropdownmenu dinamically

2007-10-12 Thread cubrovic
Sorry for crossposting I wasn't sure where to ask this
so i put it in richafeces forum and link it here

http://jboss.com/index.html?module=bb&op=viewtopic&p=4094753#4094753

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

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


[jboss-user] [JBoss Portal] - Re: removing the default portal

2007-10-12 Thread cry4dawn
well building from source did not go so well but

i removed all the war/sars from jboss-portal-ha.sar except server and core. i 
then went into core to remove all the layouts, and themes and now have a nice 
streamlined portal/as server that is clustered, starts in 49 seconds, and can 
handle 250 simutanious users login in and doing a zip search in 2.7/sec average.

:)

i love how loosely coupled this server is.

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

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


[jboss-user] [JBoss Seam] - Re: Unable to bootstrap testNG...

2007-10-12 Thread joeyxxx
Yes Sir. Thanks You helped me in another post actually.

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

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


[jboss-user] [JBoss Seam] - Re: Audit Interceptor with State

2007-10-12 Thread JakeC
I am trying to create an Audit record using Hibernate Interceptors, but I'm 
having trouble figuring out how to configure it within Seam.

In order to get the userId into the Audit record, I need to create a new 
Interceptor per Session, passing in the userId via the Interceptor's 
constructor. According to Hibernate, the way to do this is to use 
SessionFactory.openSession(Interceptor interceptor). The only place in Seam 
where SessionFactory.openSession() is in 
com.jboss.seam.core.ManagedHibernateSession, but it doesn't pass in any 
parameters at all.

Furthermore, ManagedHibernateSession only seems to come into play if your 
project declares your DB in components.xml as a simple class (see 
examples\hibernate\resources\WEB-INF\components.xml), whereas we are using 
core:managed-persistence-context to declare an EntityManager.

So, how do I get a Hibernate Interceptor (that requires a userId in the 
constructor) configured within Seam? OR, is it possible to configure the class 
WITHOUT passing userId in the constructor, but having the userId INJECTED into 
the Hibernate Interceptor?

UserID is key. It just isn't a REAL Audit without knowing WHO.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Jar conflict with Tomcat

2007-10-12 Thread rejhoule
Tomcat needs the jasper-compiler-jdt.jar file to compile jsp files. But my 
deployed application also needs the jasper-compiler-jdt.jar but in a different 
version than the one used by Tomcat 5.5. So how do I make this work. Only one 
version of the jasper-compiler-jdt must be in the /server/default/lib folder of 
JBoss. So either my application throws an exception or it's Tomcat depending on 
the jar version. Is there a way to tell Tomcat to use its own 
jasper-compiler-jdt.jar within JBoss?

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

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


[jboss-user] [JBoss Seam] - Re: Unable to bootstrap testNG...

2007-10-12 Thread [EMAIL PROTECTED]
Have you got this working?

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

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


[jboss-user] [JBoss Seam] - Re: Calling a Method on a Home Object

2007-10-12 Thread matt.drees
I'm confused.  Doesn't seam gen create edit pages with a wire() page action 
which calls getInstance()?



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

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


[jboss-user] [JBoss Seam] - Re: No tag defined for name: convertEntity

2007-10-12 Thread [EMAIL PROTECTED]
I forgot to define the tag in Seam 1.2, yes you'll need to update to Seam 2 OR 
create the JSP tag and add a .tld enter.

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

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


[jboss-user] [JBoss Seam] - Re: Intercommunication between Seam's applications?

2007-10-12 Thread [EMAIL PROTECTED]
Build as seperate modules that you assemble in a single ear.

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

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


[jboss-user] [EJB 3.0] - Re: SessionBean as WebService - again complex data structure

2007-10-12 Thread CarstenRudat
... I forgot:

I use JBoss 4.2.1 and updated JBoss Web Services to version 2.0.

And my question is: What am I doing wrong? Is there any way to get user 
datastructures work?

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

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


[jboss-user] [JBoss Seam] - Re: Jboss Seam Generates wrong mapping for char(2) type.

2007-10-12 Thread [EMAIL PROTECTED]
Ask this in the ejb3 forum.  You can use other servers like glassfish

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

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


[jboss-user] [JBoss Seam] - JAR with entities in a WebApp

2007-10-12 Thread yuriy_zubarev
Hello,

I'm trying to set up Seam (2.0.0) Web App under Tomcat 6.0 in a such a way as 
to have 2 POM project. One is with entities (@Entity) and another one is a web 
app itself (and there is a parent POM of course). The idea is that entities 
could be re-used between different sub-projects.

He is my structure:


  | .
  |  |-- pom.xml
  |  |
  |  |-- entity
  |  |   |-- pom.xml
  |  |   |-- src
  |  |   |-- main
  |  |   |-- java
  |  |   |   |-- entitypackage
  |  |   |   |-- Book.java
  |  |   |-- resources
  |  |   |-- seam.properties
  |  |
  |  |-- webapp
  |  |-- pom.xml
  |  |-- src
  |  |-- main
  |  |-- java
  |  |   |-- webpackage
  |  |   |-- BookController.java
  |  |-- resources
  |  |   |-- seam.properties
  |  |-- webapp
  |  |-- META-INF
  |  |   |-- context.xml
  |  |   |-- persistence.xml
  |  |-- WEB-INF
  |  |-- web.xml
  |  |-- components.xml
  |  |-- pages.xml 
  | 

In BookController I have something like this:


  | this.books = em.createQuery("select b from entitypackage.Book 
b").getResultList();
  | 

When the web app is running this is what I see in a log file:


  | WARNING: no persistent classes found for query class: select b from 
entitypackage.Book b
  | 

When I move Book.java to webapp project, everything works like a charm. I also 
tried to provide persistence.xml under entity/META-INF and provide "class" 
element in there but it didn't help.

I was wondering how I can separate entity (and java beans/session) classes from 
the actual web application and still enjoy the benefits of Seam. Just to stress 
it again, I'm building a light-weight web app to be run under Tomcat without 
EJB embedded container.

Thank you.
Yuriy


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

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


[jboss-user] [JBoss Seam] - Re: EntityHome and EntityQuery difference/problem

2007-10-12 Thread [EMAIL PROTECTED]
You should use EntityHome inside a long running conversation and EntityQuery 
should be in the event scope.  You should use page parameters not 
datamodel/datamodelselection.

You could try Michael Yuan's books on Seam.

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

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


[jboss-user] [EJB 3.0] - SessionBean as WebService - again complex data structures

2007-10-12 Thread CarstenRudat
Hi all,

I have a SLSB and want it to be accessable through a webservice. So I write


  | package com.genloop.ejb.beans.service;
  | 
  | import javax.ejb.Remote;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | 
  | @WebService
  | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)   
  | @Remote
  | public interface PartnerWebService extends java.rmi.Remote{
  | 
  | @WebMethod
  | public String sayHello(String hello);
  | 
  | }
  | 
  | 

and


  | package com.genloop.ejb.beans.service;
  | 
  | import java.util.Date;
  | 
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | import javax.interceptor.Interceptors;
  | import javax.jws.WebService;
  | 
  | import org.jboss.annotation.ejb.RemoteBinding;
  | import org.jboss.annotation.security.SecurityDomain;
  | 
  | import com.genloop.ejb.commons.SecurityInterceptor;
  | import com.genloop.ejb.commons.UserInterceptor;
  | 
  | @Stateless
  | @Remote(PartnerWebService.class)
  | @SecurityDomain("...")
  | @org.jboss.annotation.ejb.Clustered
  | @RemoteBinding(jndiBinding="test/PartnerWebService/remote")
  | @Interceptors({UserInterceptor.class, SecurityInterceptor.class})
  | 
@WebService(endpointInterface="com.genloop.ejb.beans.service.PartnerWebService",
 serviceName="PartnerService")
  | public class PartnerWebServiceBean implements PartnerWebService {
  | 
  | public String sayHello(String hello) {
  | return hello;
  | }
  | 
  | }
  | 

My Client works well:


  | public class PartnerWSClient {
  | 
  | /**
  |  * @param args
  |  */
  | public static void main(String[] args) {
  | try {
  | URL url = new URL(
  | 
"http://localhost:8080/test-ea-test-service/PartnerWebServiceBean?wsdl";);
  | QName qname = new 
QName("http://service.beans.ejb.genloop.com/";,
  | "PartnerService");
  | 
  | ServiceFactory factory = ServiceFactory.newInstance();
  | Service service = factory.createService(url, qname);
  | 
  | PartnerWebService partnerService = (PartnerWebService) 
service
  | .getPort(PartnerWebService.class);
  | 
  | System.out.println(partnerService.sayHello("test"));
  | } catch (MalformedURLException e) {
  | e.printStackTrace();
  | } catch (ServiceException e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | }
  | 


But now, I add another mehtod:

  | public ComplexObject getComplexObject() {
  | return new ComplexObject(new Date(), "test");
  | }
  | 
  | ...
  | 
  | @WebMethod
  | public ComplexObject getComplexObject();
  | 
  | ...
  | 
  | public class ComplexObject implements Serializable {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 1L;
  | 
  | protected Date date;
  | 
  | protected String string;
  | 
  | public ComplexObject() {
  | }
  | 
  | getter/setter
  | }
  | 

No, I just get this exception:

Cannot obtain java/xml type mapping for: 
{http://service.beans.ejb.genloop.com/}complexObject

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

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


[jboss-user] [JBoss Seam] - Re: Seam example app.

2007-10-12 Thread [EMAIL PROTECTED]
This is working correctly in Seam 2CR2

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

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


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

2007-10-12 Thread [EMAIL PROTECTED]
"cingram" wrote : 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?

This seems like correct behaviour - remember that @End just demotes the 
conversation to temporary - it doesn't end until the request is complete.

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

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


[jboss-user] [JBoss Seam] - Re: Workaround for bug JBSEAM-1322?

2007-10-12 Thread [EMAIL PROTECTED]
There is no plan currently for a Seam 1.2.2.

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad/TreeTable and how to determine selected rows

2007-10-12 Thread [EMAIL PROTECTED]
It should be possible, but its not on the roadmap for Seam.  It would be better 
to get the listener style approach working properly.

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

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


[jboss-user] [JBoss Seam] - Workaround for bug JBSEAM-1322?

2007-10-12 Thread EricJava
http://jira.jboss.com/jira/browse/JBSEAM-1322

I'm hitting it, getting:

java.lang.ArrayIndexOutOfBoundsException: 2048
  | at 
org.jboss.seam.web.MultipartRequest.checkSequence(MultipartRequest.java:466)
  | at 
org.jboss.seam.web.MultipartRequest.parseRequest(MultipartRequest.java:333)
  | at org.jboss.seam.web.MultipartRequest.getParam(MultipartRequest.java:507) 
  | etc
  | 

According to the bug, it's something that happens rarely, which I believe, 
because this is the first time I've seen it.

Is there anything I can do to work around it, by adding or removing some 
elements in the page or something?

Also, any word on when there is going to be a Seam 1.2.2, with these bug fixes?

I'm on Seam 1.2.1 btw.

Thanks


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

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


[jboss-user] [JBoss Portal] - Re: custom portal file name

2007-10-12 Thread vinguye2
Thanks Peter,
Yep, that would have been easy to do:)  But, I wanted to know if there was a 
documented way to do this kind of configuration in some properties file 
somewhere instead of modifying the actual build scripts.

The reason I ask is because I'd like to use JBoss Portal to build and customize 
a portal product for customers.  So I can take two approaches, each with its 
pros/cons:

1) The binary build comes with a lot of stuff I don't need.  So I'd have to 
unpack the build, strip out unnecessary things as well as do a search-replace 
in several files to customize the product (i.e. to change the context name, 
output sar name, add/modify themes, etc), and then repack the build.

2) I can build from source, but that also requires modifying various files to 
fit my customization needs.  I don't mind changing property files, but I'd 
prefer not touching the original JBoss build scripts which most likely can 
change between releases.

So ideally, I'd like to build some automation tools that can just take the 
binary/source download and customize the simple things as needed for various 
customers.  But the current Portal downloads don't quite make this easy to do 
since there isn't a centralized set of files that would make at least the 
simple customizations easier.

Also, there isn't a clear separation between the core necessary components of 
JBoss Portal, and what is extra (i.e. administration component).  It would be 
good if there were separate downloads for the core and the "bundled" portal 
package.

I understand though that JBoss Portal is currently work in progress:)


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

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


[jboss-user] [JBoss Seam] - Re: Ajax4JSF problem regarding Cr2+

2007-10-12 Thread amitev
it cannot find org/apache/commons/digester/Digester
try putting commons-digester.jar


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

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


[jboss-user] [JBoss Seam] - Re: How to modify a detached entity

2007-10-12 Thread dustismo
Sounds like your merge is not cascading to the lazy collection..  did you set 
cascade=ALL?

i.e. in your entity:


  | @ManyToOne(fetch=FetchType.LAZY, cascade = CascadeType.ALL)
  | 

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

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


[jboss-user] [JBoss Seam] - Ajax4JSF problem regarding Cr2+

2007-10-12 Thread Yacho
Ive read the migration guide from snapshot and took web.xml from seam-gen ... 
Ended up stuck with following exception on deploy :
19:47:52,843 ERROR [STDERR] javax.faces.FacesException: 
org.ajax4jsf.renderkit.ChameleonRenderKitFactory
  | 19:47:52,843 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
  | 19:47:52,843 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
  | 19:47:52,843 ERROR [STDERR] at 
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
  | 19:47:52,843 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
  | 19:47:52,843 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
  | 19:47:52,859 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
  | 19:47:52,859 ERROR [STDERR] at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | 19:47:52,859 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | 19:47:52,859 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | 19:47:52,859 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | 19:47:52,859 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | 19:47:52,859 ERROR [STDERR] at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 19:47:52,859 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 19:47:52,859 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 19:47:52,875 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.web.WebModule.startModule(WebModule.java:83)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.web.WebModule.startService(WebModule.java:61)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 19:47:52,875 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 19:47:52,875 ERROR [STDERR] at 
org.jbo

[jboss-user] [EJB 3.0] - Re: How to connect multiple databases at same time?

2007-10-12 Thread waynebaylor

  | http://java.sun.com/xml/ns/persistence";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |version="1.0">
  |
  | 
  | 
  | org.hibernate.ejb.HibernatePersistence
  | java:/OraDS
  | 
  | com.example.
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: messageformat error blows up (JBSEAM-1859)

2007-10-12 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-2024 - better logging was added.

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

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


[jboss-user] [JBoss Seam] - Re: MDBs are devils advocat... JMS, Transactions and SMPC

2007-10-12 Thread [EMAIL PROTECTED]
Are you using @PersistenceContext or @In to get your entity manager.  Can you 
try with @PersistenceContext.

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

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


[jboss-user] [JBossWS] - Re: Troble Connecting a client to web service

2007-10-12 Thread [EMAIL PROTECTED]
Hi,
could you please provide us some more details (wsdl, SEI, etc).
Generally speaking, I would suggest you to upgrade to jbossws 2.0.1.GA and use 
the jaxws tools to create the SEI and in/out classes that correctly fit the 
wsdl contract I think you need to remain unchanged.

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

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


[jboss-user] [JBoss Portal] - Re: WARN [LoadContexts] ?

2007-10-12 Thread remi_dong
"remi_dong" wrote : Hi,
  | I have the WARN when i show the page portal:
  | 
-
  | 19:08:03,203 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:03,203 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:16,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:16,906 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:17,031 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:27,453 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:27,453 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:35,562 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:35,562 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:39,796 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:39,812 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:44,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 19:08:44,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
  | 
  | How i can do for resoluble this problme? 
  | I'am run in mode clustering.
  | Thanks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre

2007-10-12 Thread dlmiles
"[EMAIL PROTECTED]" wrote : Thanks for all your help in this. I really wish I 
could have dedicated more to it before you did, but hey, thats hte benefit of 
community right? 
  | 
  | >> What does this idiom "copied = copied &&" do ? 
  | 
  | That's my attempt to make sure *all* files were copied correctly. If any 
single file is not copied, the end value of copied would be false.

Yes sure on the community comment.

I still don't understand the "copied = copied &&" I can't see how it works 
(even if you presume an optimizing JVM does not remove the operation due to 
redundancy).  Its a single "=" character, if it were a compare operator then 
that would fail fast (as oppose to try to copy everything with best effort) 
even though copied is not set to anything other than 'true' AFAIS.


"[EMAIL PROTECTED]" wrote : I never seen anything in that tmp file location you 
mention - it just contains a profile.dat file which I think just represents the 
last list of resources that have been copied ?

Can you be more specific?  Are you windows or linux ?

Have you ever create a Tomcat runtime and WAR/DWP deployed to it ?  Have you 
even created JBoss runtime using WTP driver and deployed to it ?  If no and no 
then I wouldn't expect to see much in the directory if you've never had a 
publish failure.

What is the specific path on your computer you are looking at ?

Can you confirm the absolute path to your JBoss runtime, I have not verified if 
the problem I see is re-creatable on windows by having JBoss runtime on a 
different drive letter.  I'm not sure if windows has rename magic (which turns 
out to  be a file copy) if you rename a file across drive letters.

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

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


[jboss-user] [JBoss Seam] - Re: Identity.hasPermission

2007-10-12 Thread jteb
Thank you very much. I was thinking about something like that, but didn't know 
whether I could just extend / wrap it.

I'll give it a go tonight.

Thanks,
Jan 

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

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


[jboss-user] [JBoss Portal] - WARN [LoadContexts] ?

2007-10-12 Thread remi_dong
Hi,
I have the WARN when i show the page portal:
-
19:08:03,203 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:03,203 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:16,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:16,906 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:17,031 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:27,453 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:27,453 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:35,562 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:35,562 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:39,796 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:39,812 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:44,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>
19:08:44,781 WARN  [LoadContexts] fail-safe cleanup (collections) : [EMAIL 
PROTECTED]<[EMAIL PROTECTED]>

How i can do for resoluble this problme? Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Issue with ValueChangeListener and calling SLSB in Seam

2007-10-12 Thread mheidt
I know, this thread is old...but for the record...
@c_eric_ray
Did you declare the valueChangeListener method in your session bean interface?

When i forgot it, no error was displayed (and I didn't forget h:messages)




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

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


[jboss-user] [JBoss Seam] - Re: Identity.hasPermission

2007-10-12 Thread wiberto
I wanted to use the hasPermission in a different way than what is  used by 
default. By default it loads it from the business rules engine and I wanted to 
do it from a database where I had all the permission infromation stored.

What I did was to extended the Identity class and then tell Seam to use that 
class instead. This was when a user  was authenticated I would load the 
permissions myself into my own identity object and then I overwrote the 
hasPermission check to then look for my permissions.

I'm sure you can do this smae approach to plug in whatever security mechanism 
you want to use.


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

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


  1   2   3   >