[jboss-user] [JBoss Seam] - Re: Does project EL work in Seam?

2007-09-06 Thread urswag
Of course a syntax error

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

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


[jboss-user] [JBoss Seam] - Re: wrong application.xml file within Seam registration exam

2007-09-06 Thread lipmanp
Could u please give more details  reason? noted that some example put 
jboss-seam.jar in java module, some example put in ejb module, I tried both in 
Jboss4.2.1GA with Seam2 Beta1, no error happened.

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

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


[jboss-user] [JBoss Seam] - Re: Facelets EL functions do not work

2007-09-06 Thread [EMAIL PROTECTED]
we'd the same issue in the past,
downgrading jboss fixed it 
same goes for upgrading seam version 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: basic JNDI beginners problems - cant do look up from app

2007-09-06 Thread itsme
hi will!

the java: namespace implies (or better specifies) the namespace only available 
in the same jvm. so for remote access all name bindings have to be in the 
global namespace unless you're using a facade to do the jobs for your client.

hope this helps. regards
/sandor/

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

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


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

2007-09-06 Thread xdoclet
hi,
i'm disappointed with the removal of the EJB3 project/component creation 
module, on the latest version.

on JBossIDE-Beta2, it was included and i don't understand the reason why you 
have dropped it. can i know what's going on pls ?

thanks
Tyronne Wickramarathne

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

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


[jboss-user] [JBoss Seam] - Re: communicating between two seam applications

2007-09-06 Thread koenhandekyn
thanx for your very clear answer.

i have worked with OSGi in the past. i still feel that it could be a great 
enhancement to application servers to provide dynamic loading and a controlled 
and fine grained 'exposure' mechanism.

but it's def. not something you introduce in an infrastructure like jboss in a 
short time :)

kind regards

koen

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

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


[jboss-user] [JBoss Seam] - class cast exception using managed persistence context

2007-09-06 Thread arussel
I am using jboss-seam-1.2.1.GA in jboss 4.0.5 .
I followed the doc 8.3.1 on using seam managed persistence and get the 
following error
when seam try to inject the entity manager:
Caused by: java.lang.ClassCastException: 
org.jboss.ejb3.entity.InjectedEntityManagerFactory
at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManagerFactoryFromJndiOrValueBinding(ManagedPersistenceContext.java:160)
at 
org.jboss.seam.core.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:77)
at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
at org.jboss.seam.Component.unwrap(Component.java:1860)
at org.jboss.seam.Component.getInstance(Component.java:1657)

I am using a loader in jboss-app.xml and I can see the factory in jndi:
  +- EntityManagerFactory (class: org.jnp.interfaces.NamingContext)
  |   +- foo (class: org.jboss.ejb3.entity.InjectedEntityManagerFactory)

any help welcome,
thanks

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

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


[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question

2007-09-06 Thread mclu
Hmmm.

Strange things happen.
I followed the 2 Hints and added the / and changed the provider from localhost 
to my local fixed IP address... ( yes, both servers are currently on one 
machine (for development)).

And surprise... It works...
So I am happy again!

The interesting part is while finding out if the ip or the / or both must be 
set I can NOT reproduce it. With all settings it works now.

Anyway... thx for reading and support

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

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


[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?

2007-09-06 Thread DeanoUK
I'm still not satisifed I know why there is a global directory and a local/ENC, 
and why you should use the latter?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Locking data

2007-09-06 Thread zoran9707
I have problem with locking some record from ORACLE 9i DB.

I create Entity Bean, Session Bean in JDeveloper 11g.
My Persistant_Unit is:


  | persistence-unit name=HibernatePU
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | properties
  | property name=hibernate.archive.autodetection   
value=class, hbm/
  | property name=hibernate.connection.driver_class 
value=oracle.jdbc.driver.OracleDriver/
  | property name=hibernate.connection.url 
value=jdbc:oracle:thin:@localhost:1521:XE/
  | property name=hibernate.connection.username value=zoran/
  | property name=hibernate.connection.password value=zoran/
  | !-- property name=hibernate.show_sql value=false/ --
  | property name=hibernate.dialect 
value=org.hibernate.dialect.OracleDialect/ 
  | property name=hibernate.hbm2ddl.auto value=create-drop/
  | /properties
  | /persistence-unit 
  | 


In Java class I wrote:


  | 
  | private EntityManagerFactory EntityManagerFactoryM = 
Persistence.createEntityManagerFactory(HibernatePU);
  | 
  | private EntityManager EntityManagerMesto;
  | 
  | EntityManagerMesto = EntityManagerFactoryM.createEntityManager();
  | 
  | 
  | private void Transaction()
  | {
  | Mesto mestoTB = EntityManagerMesto.find(Mesto.class,1);
  |   
  | EntityTransaction transactionM = 
EntityManagerMesto.getTransaction();
  |   
  | transactionM.begin();  
  | 
  | EntityManagerMesto.lock(mestoTB, LockModeType.WRITE);
  |   
  | System.out.println(testEJB:  + mestoTB.getNaziv());
  | }
  | 
  | 
  |Private void ExitForm()
  |{
  |   transactionM.rollback();
  | }
  | 
  | 
  | 


I want to know if this is right code to LOCK one recored from ORACLE 9I and not 
to allow to anybody to change that row until I call   function
  ExitForm()  ---  transactionM.rollback()

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

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


[jboss-user] [JBoss Seam] - Re: class cast exception using managed persistence context

2007-09-06 Thread arussel
my mistake, was trying to use jpa in with jboss manage em.

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

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


[jboss-user] [JBoss Messaging] - Re: org.jboss.jms.util.MessagingNetworkFailureException: Fai

2007-09-06 Thread gsoing
Yes, JBoss Messaging 1.3 is not supported on JBoss 4.0.1



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

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


[jboss-user] [JBoss jBPM] - How to know who has started a process ?

2007-09-06 Thread lmichenaud
How can you know who has started a process instance ?
Or, how can you can get all process instances started
by a user ?

The actor notion is only for tasks.

The only way i see is to attach task on states
with an assignment handler that uses the actor id
in the jbpm context.




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

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


[jboss-user] [JBoss jBPM] - Re: using custom date picker in form within jbpm-console web

2007-09-06 Thread rossputin
no sorry I meant that you are right about the javascript hook not being needed, 
but still a nice idea, it is something I have been seeing a use for, for a 
while,

cheers

Ross

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

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


[jboss-user] [JBoss jBPM] - Re: How to know who has started a process ?

2007-09-06 Thread kukeltje
1: attach a swinlane to the starttask. It will be filled with the actorid of 
the one who started the process.
2: By a custom hibernate query

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

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


[jboss-user] [JBoss jBPM] - Re: using custom date picker in form within jbpm-console web

2007-09-06 Thread kukeltje
oh btw, you *can* attach onchange eventlisteners to normal jsf components and 
have these do some javascript. It is on on the submit moment then, but 
real-time is even better and can be done *now*

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

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


[jboss-user] [JBoss jBPM] - Re: is it possible to change identity file

2007-09-06 Thread galvino
you should find it here :


  | 
\jbpm-jpdl-3.2.1\examples\rulesAssignmentHandler\src\identity\identity.db.xml
  | 

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

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


[jboss-user] [Microcontainer] - NPE in Embedded Jboss when getCallerPrincipal method on Sess

2007-09-06 Thread bjolletz
I'm running tests using testNG and embedded Jboss. In the SLB which I am 
testing, I want to do the following:

  | @Resource
  | SessionContext ctx;
  | 
  | public void foo() {
  |   ctx.isCallerInRole(someRole);
  | }
  | 
The isCallerInRole method, however, results in a NPE.

There seems to be a post about this in JIRA:
http://jira.jboss.org/jira/browse/EJBTHREE-615

However, Carlo de Wolf says in the last post in this thread that EJB 3 
embedded is no longer supported.. What does this mean, isn't this bug going to 
be fixed?

Is there any other way to get hold of the caller's roles? If not, I don't know 
what to do since I really need to check the caller's role in my SLBs.

This must be a major problem, so I guess I'm not alone on this one?

Any help on this would be greatly appreciated!

/Daniel[/url]

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - File Upload Permissions

2007-09-06 Thread stephenwilliams
Hi

I have a file upload Servlet that works fine on Tomcat. On JBoss 
(jboss-4.0.5.GA) the received value of the file parameter is null.

I assume this is due to a security setting but I can't seem to find it.

Can someone please tell me how I can enable a Servlet to receive files?

Cheers,
Stephen

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

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


[jboss-user] [Microcontainer] - Re: NPE in Embedded Jboss when getCallerPrincipal method on

2007-09-06 Thread alesj
What's the reason of NPE?
No ctx injected or NPE in ctx.isCallerInRole execution?

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

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


[jboss-user] [JBossWS] - how to return an empty http response instead of soapmessage

2007-09-06 Thread kukeltje
Hi,

I'm implementing an ebMS 2.0 Message Service Handler with JBossWS 2.0.0 and 
related frameworks. According to the ebMS 2.0 spec, In all cases a soapmessage 
is received and in many cases a soapmessage has to be returned. Therefor I 
choose the 'message' way of communicating. However in some cases an empty 
response (no soapmessage, just an http 200 ok) has to be returned. First thing 
I tried was returning 'null' hoping that would do the trick. Unfortunately it 
didn't. 

I can do several things now
- do not use the 'message' way but start using the source
- try something with a soaphandler by e.g. setting the messagecontext to null
- return a basic soapmessage and write a servletfilter that deletes this if it 
encounters it


The first option would result in to much coding (imo), the second might not 
work and the last one doesn't feel 'right'

Does anybody have a different suggestion?



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

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


[jboss-user] [JBoss Seam] - Re: hibernate validator: how to access seam component

2007-09-06 Thread [EMAIL PROTECTED]
Not AFAICS

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

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


[jboss-user] [JBoss Seam] - could not discover transaction despite transaction-managem

2007-09-06 Thread cba2
I have set core:init transaction-management-enabled=false/ in 
components.xml but I still get errors like the following:

10:51:04,521 ERROR [Contexts] could not discover transaction status

Should I disable seam transaction management somewhere else as well or is this 
rather a (minor) Seam bug?

From Contexts.java (package org.jboss.seam.contexts):

  | boolean transactionActive = false;
  | try
  | {
  |transactionActive = Transaction.instance().isActive();
  | }
  | catch (Exception e)
  | {
  |log.error(could not discover transaction status);
  | }
  | if (transactionActive)
  | {
  |//in calls to MDBs and remote calls to SBs, the 
  |//transaction doesn't commit until after contexts
  |//are destroyed, so pre-emptively flush here:
  |getBusinessProcessContext().flush();
  | }
  | 
I suspect Transaction.instance() is just null (because there is simply no 
transaction) which triggers an NPE. But since the logged error includes no 
stack trace I cannot be sure...

FYI: I use Seam2.0.0.BETA1 on plain Tomcat 5.5. I use spring for the whole 
persistence layer which is also why I would like to completely disable Seam 
transaction management.

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

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


[jboss-user] [JBoss Seam] - Re: wrong application.xml file within Seam registration exam

2007-09-06 Thread [EMAIL PROTECTED]
All examples in CVS should use ejb rather than java.  Are you seeing some that 
aren't. Quite simple, jboss-seam.jar contains EJB modules so should be declared 
like that.  We changed our minds on this recently.

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

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


[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM

2007-09-06 Thread [EMAIL PROTECTED]
You can wrap your h:column in a c:forEach

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

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


[jboss-user] [JBoss Seam] - Re: seam 2.0 offline mode??

2007-09-06 Thread [EMAIL PROTECTED]
Have you thought about looking at the examples or a seam-gen generated skeleton 
application?


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

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


[jboss-user] [JBoss Seam] - s:selectDate startYear problem

2007-09-06 Thread pdhaigh
Hi,

h:inputText size=10 id=dobinput value=#{customer.dob}
  | s:convertDateTime pattern=dd/MM//
  | a4j:support event=onblur reRender=dob ajaxSingle=true/
  | /h:inputText
  | s:selectDate for=dobinput startYear=1910 dateFormat=dd/MM/
  | h:graphicImage url=../images/dtpick.gif 
style=margin-left:5px;cursor:pointer/
  | /s:selectDate 

Does not appear to honour the startYear attribute...

(This is Seam 2 from CVS ~2 weeks ago)



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

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


[jboss-user] [Beginners Corner] - Error during start of JBoss AS

2007-09-06 Thread lecrimosa
Hi,

I'm new in JBoss. I want to install and configure a jndi-provider.
I use jdk in the version 1.5.0_12-b04.
I have downloaded and extracted the JBoss AS 5.0.0.Beta2 and I have downloaded 
and extracted the file jboss-messaging-1.4.0.CR2.zip.
After this, I have set environment variable JBOSS_HOME.
Afterwards I have started following skript with ant
-- ant -f release-admin.aml
result
Build sucessfull

So, I want to start JBoss AS with following command:
run.bat -c messaging.

It appears following error:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

S:\g:

G:\cd jboss

G:\JBosscd jboss-5*

G:\JBoss\jboss-5.0.0.Beta2cd bin

G:\JBoss\jboss-5.0.0.Beta2\binrun.bat -c messaging
===

  JBoss Bootstrap Environment

  JBOSS_HOME: G:\JBoss\jboss-5.0.0.Beta2

  JAVA: C:\Programme\Java\jdk1.5.0_12\bin\java

  JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=2
56m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=3600
000

  CLASSPATH: C:\Programme\Java\jdk1.5.0_12\lib\tools.jar;G:\JBoss\jboss-5.0.0.Be
ta2\bin\run.jar

===

11:08:39,843 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
11:08:39,843 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build:
 SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
11:08:39,843 INFO  [ServerImpl] Home Dir: G:\JBoss\jboss-5.0.0.Beta2
11:08:39,843 INFO  [ServerImpl] Home URL: file:/G:/JBoss/jboss-5.0.0.Beta2/
11:08:39,843 INFO  [ServerImpl] Library URL: file:/G:/JBoss/jboss-5.0.0.Beta2/li
b/
11:08:39,843 INFO  [ServerImpl] Patch URL: null
11:08:39,843 INFO  [ServerImpl] Server Name: messaging
11:08:39,843 INFO  [ServerImpl] Server Home Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
er\messaging
11:08:39,843 INFO  [ServerImpl] Server Home URL: file:/G:/JBoss/jboss-5.0.0.Beta
2/server/messaging/
11:08:39,843 INFO  [ServerImpl] Server Data Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
er\messaging\data
11:08:39,843 INFO  [ServerImpl] Server Temp Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
er\messaging\tmp
11:08:39,843 INFO  [ServerImpl] Server Config URL: file:/G:/JBoss/jboss-5.0.0.Be
ta2/server/messaging/conf/
11:08:39,843 INFO  [ServerImpl] Server Library URL: file:/G:/JBoss/jboss-5.0.0.B
eta2/server/messaging/lib/
11:08:39,843 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
11:08:39,874 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/G:/J
Boss/jboss-5.0.0.Beta2/server/messaging/conf/bootstrap-beans.xml
11:08:40,920 INFO  [ProfileImpl] Using profile root:G:\JBoss\jboss-5.0.0.Beta2\s
erver\messaging
11:08:42,420 ERROR [AbstractKernelController] Error installing to Configured: na
me=VFSDeployerScanner state=Instantiated
java.io.FileNotFoundException: File does not exist: G:\JBoss\jboss-5.0.0.Beta2\s
erver\messaging\deployers
at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler
.java:74)
at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler
.java:89)
at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtua
lFileHandler(FileSystemContext.java:253)
at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtua
lFileHandler(FileSystemContext.java:186)
at org.jboss.virtual.plugins.context.file.FileSystemContext.(FileS
ystemContext.java:150)
at org.jboss.virtual.plugins.context.file.FileSystemContext.(FileS
ystemContext.java:124)
at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVF
S(FileSystemContextFactory.java:65)
at org.jboss.virtual.VFS.getVFS(VFS.java:86)
at org.jboss.system.server.profileservice.VFSScanner.getVFforURI(VFSScan
ner.java:563)
at org.jboss.system.server.profileservice.VFSScanner.addURI(VFSScanner.j
ava:275)
at org.jboss.system.server.profileservice.VFSScanner.setURIList(VFSScann
er.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(Reflec
tionUtils.java:55)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(
ReflectMethodInfoImpl.java:108)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethod
JoinPoint.java:66)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
patchJoinPoint(KernelControllerContextAction.java:103)
at org.jboss.kernel.plugins.dependency.ConfigureAction.setAttributes(Con
figureAction.java:137)
at org.jboss.kernel.plugins.dependency.ConfigureAction.installActionInte
rnal(ConfigureAction.java:60)

[jboss-user] [JBoss Seam] - How to specify a custom CallbackHandler for JAAS

2007-09-06 Thread lorenz.fischer
Hi all

I'm quite new to Seam and JAAS, so please don't get offended if I ask stupid 
questions ;)

I'm trying to implement a web application using SEAM, JSF, and EJB3 on a 
weblogic server. Weblogic has it's internal LDAP server and security realms 
which are accessible over JAAS. I managed to configure most parts. Sad enough 
the LoginModule weblogic.security.auth.login.UsernamePasswordLoginModule 
expects the CallbackHandler to support a 
weblogic.security.auth.callback.URLCallback. In order to support that I wrote 
my own CallbackHandler, but I'm now unable to tell seam to actually load and 
use it. I've spent some time now searching for a solution, but obviously with 
no success..

So if anybody could give me a hint, I'd be very glad.

Thanks in advance
Lorenz

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Cannot see DatabaseServerLoginModule exceptions with JBo

2007-09-06 Thread Wolfgang Knauf
Does anybody have an idea about this ?

Thanks

Wolfgang

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

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


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

2007-09-06 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : http://jira.jboss.com/jira/browse/JBSEAM-983 - will 
be resolved once it is done.

Any update on this yet? It would solve LOTS of problems for us.

Thanks!

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

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


[jboss-user] [JNDI/Naming/Network] - Re: basic JNDI beginners problems - cant do look up from app

2007-09-06 Thread jaikiran
In addition to what sandor mentioned, your bean with the @Remote annotation is 
going to be bound by default in the global jndi namespace


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

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


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

2007-09-06 Thread [EMAIL PROTECTED]
We are still deciding how to best approach this.  We'll have something for 
2.0.0.GA I hope!

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

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


[jboss-user] [JBoss Seam] - Re: Client side validation

2007-09-06 Thread gonzalad
Sorry sorry, forgot to raise JIRA issue.

Here it is : http://jira.jboss.org/jira/browse/JBSEAM-1906

N.B : it's priority is Major status, don't think this is allright.

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

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


[jboss-user] [JBoss AOP] - Problem with org.jboss.aspects.asynch.Future

2007-09-06 Thread studie
Hi,

I am trying to make use of the JBoss EJB3 extensions to allow Asynchronout 
calls of Stateless Session Beans (see 
http://docs.jboss.com/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html).

In my code I can create a asynchronous proxy for my bean using 
org.jboss.ejb3.asynchronous.Asynch as described in the documentation and call a 
business method on this fine (I can see from the logs that this method 
completes successfully). However when I try to access the future result of 
type org.jboss.aspects.asynch.Future by calling the .isDone() method I get an 
org.jboss.aop.NotFoundInDispatcherException , i.e.

  | Caused by: org.jboss.aop.NotFoundInDispatcherException: Object with oid: 
a241z-nxzb23-f68z13b9-1-f68z2zes-7 was not found in the Dispatcher
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
  | at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
  | at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
  | at org.jboss.remoting.Client.invoke(Client.java:1550)
  | at org.jboss.remoting.Client.invoke(Client.java:530)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 




My code is :

/** [EMAIL PROTECTED] */
  | public Order getLinePricesAndAvailability(final Order order) {
  | if (LOG.isDebugEnabled()) {  LOG.debug(Method Start); }
  | 
  | Order updatedOrder = order;
  | Locale locale = order.getLocale();
  | 
  | // Locate an instance of the correct Availability service..
  | AvailabilityService synchAvailabilityService = 
AvailabilityServiceLocator.getInstance().locate(locale);
  | // Locate an instance of the correct Pricing service..
  | PricingService synchPricingService = 
PricingServiceLocator.getInstance().locate(locale);
  | 
  | updatedOrder = 
synchAvailabilityService.checkAvailability(updatedOrder);
  | 
  | 
  | if (synchPricingService == null) {
  | String errMsg = Could not locate PricingService instance for 
Locale :  + locale;
  | LOG.fatal(errMsg);
  | throw new ServiceException(errMsg);
  | }
  | 
  | // Now create a JBoss EJB specific Asynchronous proxy.
  | PricingService asynchPricingService = (PricingService) 
Asynch.getAsynchronousProxy(synchPricingService);
  | 
  | // Record the time that the parallel service calls were started.
  | long startTimeMillis = System.currentTimeMillis();
  | 
  | // Kick off the Pricing service call..
  | asynchPricingService.priceOrder(updatedOrder);
  | 
  | Future pricingCallFuture = 
Asynch.getFutureResult(asynchPricingService);
  | 
  | longruntimeMs = 0;
  | 
  | // Loop until max
  | while (true) {
  | try {
  | 
  |// If the call to the PricingService is complete retrieve 
the result.
  |if (pricingCallFuture.isDone()) {
  |updatedOrder  = (Order) pricingCallFuture.get();
  |}
  | 
  |// If all services are complete exit loop.
  |if (pricingCallFuture.isDone()) {
  |break;
  |}
  | 
  |// Wait 10mS.
  |Thread.sleep(10);
  | } catch (InterruptedException ie) {
  | String errMsg = A serious error occurred during the 
parallel service call;
  | LOG.fatal(errMsg, ie);
  | throw new ServiceException(errMsg, ie);
  | } catch (InvocationTargetException ite) {
  | String errMsg = A serious error occurred during the 
parallel service call;
  | LOG.fatal(errMsg, ite);
  | throw new ServiceException(errMsg, ite);
  | }
  | runtimeMs = System.currentTimeMillis() - startTimeMillis;
  | }
  | 
  | if (LOG.isDebugEnabled()) {  LOG.debug(Final Runtime (mS) :  + 
runtimeMs); }
  | if (LOG.isDebugEnabled()) {  LOG.debug(Method Finish); }
  | return updatedOrder;
  | }

Does anyone have any ideas what could cause this Exception?. I have scoured the 
web and can only find a couple of references to it related to JBoss Messaging, 
nothing to do with the Asynch / Future stuff. Any ideas would be much 
appreciated as I really want to use this do to some parallel SSB calls to speed 
up my app.

Thanks in advance,

Stuart

Full StackTrace :


  | 2007-09-06 09:03:30,675 ERROR 
[com.electrocomponents.service.core.ServiceErrorInterceptor] ERROR OUTPUT : 
  | java.lang.reflect.UndeclaredThrowableException
  | at 

[jboss-user] [JBossWS] - Re: how to return an empty http response instead of soapmess

2007-09-06 Thread RomeuFigueira
I had a similiar problem to the one you're having, but instead of a simple 
http 200 ok message I needed the actual empty SOAPMessage to be returned, 
like this one:

env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
  |env:Header/
  |env:Body
  |   urn:createResponse xmlns:urn=urn:integration/
  |/env:Body
  | /env:Envelope

To make the actual message above, all I had to do was to match a void type of 
function return with the following WSDL mapping for it's return (in this case a 
void return):
message name=IIntegrationWS_createResponse/

If you should eliminate the above line then a single reply will be sent with 
the http 200 ok will be sent, therefore acting as a return receipt on an 
async call.

Last reference to be made about this is that this works at least in the JBossWS 
1.0.4

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

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


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

2007-09-06 Thread sebcio
Please move the WS-Wiki to a working server. Has anyone guides about JBoss-WS 
as PDF? If so, please post links here. Thx

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

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


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

2007-09-06 Thread sebcio
sorry, found this: http://labs.jboss.com/jbossws/docs/index.html

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal : Integrating Plain Old Web Application

2007-09-06 Thread wichan
Hi NM-156,

thanks for your response. I've checked out those two links you posted. It's 
very helpful. I have also tried portlet bridge. Some of my applications have 
strange behaviors with portlet bridge. For basic servlet/jsp web applications, 
portlet bridge work just fine. But with ejb/seam/jsf applications, some 
problems occur.

I will try converting ejb/seam/jsf application into portlet by changing the 
view part of the application. This shouldn't be too hard, because the 
application strictly follows the MVC. All business logic already lie in EJB 
components. All I have to do is convert the full html page into html fragment, 
and add some portlet configurations.

Thanks,

Wichan

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

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


[jboss-user] [JBossCache] - putForExternalRead very slow

2007-09-06 Thread Cyberax
I'm using JBoss Cache with Atomikos Transaction Manager and 
putForExternalRead method is VERY slow (about 20 times slower than 'put') 
because it has to suspend and resume the current transaction (and this is not a 
cheap operation in Atomikos).

Is it possible to have transactional 'put' which simply swallows 
DataVersioningExceptions without rolling back the transaction and without 
attempting to suspend/resume transaction?

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

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


[jboss-user] [JBoss Seam] - Re: Client side validation

2007-09-06 Thread stephen.friedrich
Yes, I am using Trinidad. Yet now again I have to specify my constraints in
two different places. Exactly what seam validation aims to void.

Maybe Seam can borrow the Trinidad javascript. 
Or maybe there could be some hooks to integrate the two closer.

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

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


[jboss-user] [JBoss Seam] - Re: Conversational ?

2007-09-06 Thread lcoetzee
Hi Pete. No problem re. the delayed reply. 

I have rebuilt the latest Seam from CVS today (Sept 6). Somewhere along the 
line Seam has actually resolved this problem (or it appears that way from my 
testing ;-). 

I will deploy this  version and keep an eye on the log files and report back if 
I see those errors again.

Thanks

Louis


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

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


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

2007-09-06 Thread dexjam
Hello all,

maybe this got lost, because it's now shown on page 3, so i repost my question, 
sorry for that

i try to use s:formattedText, but what happens if the Input Syntax is not 
correct, e.g. i forgot to set a second (or third) * i retrieve an XML error 
like this:

bHello/b Worldb/p
  | --^

The syntax used to produce this error was:

*Hello* World*

So is there any way to have the string that will be rendered checked if the 
syntax is well balanced before displaying it? Or is there some flag, that sort 
of auto balances the whole thing?

Or maybe i can call some backend function from somewhere within the deep 
underground of UI component classes or a validator or whatever to avoid that 
type of error?

So basically i want s.th. like this:

If one enters Hello* then either * should be escaped, or a second * should be 
appendend, to satisfy XML well formedness (don't know if that's actually a 
word, but hope you get it)

Any comments on this would be appreciated of course ;)

Jens

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

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


[jboss-user] [Remoting] - DBConnections in JbossRemiting

2007-09-06 Thread kalyanbikkani
Hi,

I am using jbossRemoting as a server ,
I establish a db connection from this server,
while the server is on the db connections are not closed, when the server is 
stopped immediately connections are closed,
In coding i immediately  closed connection when used.
I can't understand whats the problem is

Anybody pls help me,

ThanksRegards,
kalyan



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

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


[jboss-user] [JBossCache] - Re: Write lock is not released

2007-09-06 Thread vitamin-c
[EMAIL PROTECTED] wrote : 
  | It looks like the current WL holder and the RL requestor are not the same: 
  | 
  |   | ... could not be acquired by zzz:4256:162303 ...
  |   | 
  | and
  | 
  |   | ... Write lock owner: Thread[ReportDataTaskRunner-20521017-1,5,jboss] 
...
  |   | 
  | 
Is it OK that RL requestor thread uses a GlobalTransaction, whereas WL owner 
thread doesn't?

Here's the code, where a GlobalTransaction is assigned to a thread requesting a 
lock (either RL or WL):

  | package org.jboss.cache.interceptors;
  | ...
  | public class LockInterceptor extends Interceptor {
  | ...
  |public Object invoke(MethodCall m) throws Throwable {
  | ...
  |   GlobalTransaction gtx=null;
  | ...
  |   if(tx_mgr != null  (tx=tx_mgr.getTransaction()) != null  
isValid(tx)) { // ACTIVE or PREPARING
  |  if(!transactions.contains(tx)) {
  | gtx=cache.getCurrentTransaction(tx);
  | if(gtx == null)
  |throw new Exception(failed to get global transaction);
  | ...
  |  else {
  | gtx=cache.getTransactionTable().get(tx);
  |  }
  | ...
  | 
Assuming that transaction manager presents, it is still unclear will a thread 
receive a non-null gtx, since cache.getTransactionTable().get(tx) doesn't check 
for null return value. According to metastaz's observations a thread may or may 
not receive a gtx, which looks like a bug, doesn't it?

Thanks,
Alexey

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

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


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

2007-09-06 Thread mclu
Hi again!

I have my bridge up and running.
2 servers (A and B) and a middleware server (M).
on both servers there are 3 queues. The middlewareserver bridges them to its 
local queues. I am using QOS 2 (Transacted)
Messageflow is like
-A send to lokal.
-Bridged from A to M
-M processing and send processed to lokalQueue(M)
-Message bridged from M to B
-B processing message and send result to localQueue(B)
-Bridged to M
-result stored.

When I send a lot of messages I receive a stack traces is like:

  | 14:41:44,250 ERROR [ClientConsumer] Failed to deliver message
  | java.lang.IllegalStateException: There is already a delivery set for auto 
ack
  | at 
org.jboss.jms.client.state.SessionState.setAutoAckInfo(SessionState.java:371)
  | at 
org.jboss.jms.client.container.SessionAspect.handlePreDeliver(SessionAspect.java:258)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect18.invoke(SessionAspect18.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_5548846795541436298.invokeNext(ClientSessionDelegate$preDeliver_5548846795541436298.java)
  | at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_5548846795541436298.invokeNext(ClientSessionDelegate$preDeliver_5548846795541436298.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate.preDeliver(ClientSessionDelegate.java)
  | at 
org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:150)
  | at 
org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:941)
  | at 
EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  | at java.lang.Thread.run(Thread.java:619)
  | 

Its caused by the Bridge. My breakpoint stops on 3 threads related 
my 3 queues. One example is listed below:
Variables of ClientConsumer.callOnMessage(SessionDelegate, MessageListener, 
String, String, boolean, MessageProxy, int, int, SessionDelegate, boolean):

  | sessClientSessionDelegate  (id=315) 
  | listenerBridge$SourceListener  (id=508) 
  | consumerID  a1-tcoi696f-1-l3lf696f-nkdb51-q4z24a  
  | queueName   local_incomingSyncRequests
  | isConnectionConsumerfalse   
  | m   TextMessageProxy  (id=507)  
  | ackMode 0   
  | maxDeliveries   10  
  | connectionConsumerSession   null
  | shouldAck   true
  | deliveryInfoDeliveryInfo  (id=367)  
  | 

And SessionState Vars:

  | thisSessionState  (id=310)  
  | acknowledgeMode 0   
  | asfMessages LinkedListE  (id=395) 
  | autoAckInfo DeliveryInfo  (id=399)  
  | callbackHandlersHashMapK,V  (id=403)  
  | childrenHashSetE  (id=408)
  | clientAckList   ArrayListE  (id=396)  
  | currentTxId MessagingXid  (id=419)  
  | delegateClientSessionDelegate  (id=315) 
  | dupsOKBatchSize 1000
  | executorClearableQueuedExecutor  (id=423)   
  | parent  ConnectionState  (id=425)   
  | recoverCalled   false   
  | sessionID   91-3hmi696f-1-l3lf696f-nkdb51-q4z24a  
  | sessionListener null
  | transacted  true
  | xa  true
  | xaResource  MessagingXAResource  (id=445)   
  | infoDeliveryInfo  (id=367)  
  | connectionConsumerSession   null
  | consumerId  a1-tcoi696f-1-l3lf696f-nkdb51-q4z24a  
  | msg TextMessageProxy  (id=507)  
  | queueName   local_incomingSyncRequests
  | shouldAck   true
  | 

I have seen some references in the Design forum and version 1.2.
Do you have an Idea? 

Oh forgot: I am using 1.4 cr2 and jboss 4.2.1GA..

Greets
Markus Lutum


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

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


[jboss-user] [JBoss Seam] - Re: Christian Bauer gives a talk about Seam in Berlin (5th o

2007-09-06 Thread jseider69

Unfortunately too briefly nevertheless a great event.



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

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


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

2007-09-06 Thread mclu
Hi again

I don't know if this will help, but in those error cases the 
SessionAspect.handlePreDeliver() called 
isXAAndConsideredNonTransacted(state) which returns true because the 
SessionState.sessionListener is null !?!

The Comment of isXAAnd sais:
http://jira.jboss.org/jira/browse/JBMESSAGING-946 - To accomodate TCK and the 
MQ behavior  we should behave as non transacted, AUTO_ACK when there is no 
transaction enlisted
 However when the Session is being used by ASF we should consider the case 
where we will convert LocalTX to GlobalTransactions. This function helper will 
ensure the condition that needs to be tested on this aspect


Don't know why and what this is all about...

Greets
Markus



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

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


[jboss-user] [JBoss Seam] - Re: Christian Bauer gives a talk about Seam in Berlin (5th o

2007-09-06 Thread [EMAIL PROTECTED]
You can find the slides here:

http://in.relation.to/Bloggers/SeamPresentationAtObjektForumInBerlin

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

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


[jboss-user] [JBoss Seam] - EL enhancements and EntityQuery

2007-09-06 Thread hispeedsurfer
Hi,

I use a rich:datatabel component to display data from an class extending the 
EntityQuery class

  | @Name(recipientsList)
  | public class RecipientsList extends EntityQuery {
  | 

from datatable i use method expression

  | h:form
  | rich:dataTable id=searchresults
  | 
onRowMouseOver=this.style.backgroundColor='#F1F1F1'
  | 
onRowMouseOut=this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'
  | var=addrlist
  | value=#{addresslist}
  | f:facet name=header
  | rich:columnGroup
  | rich:column
  | h:outputText 
value=Surname/h:outputText
  | /rich:column
  | /rich:columnGroup
  | /f:facet
  | rich:column
  | h:outputText 
value=#{addrlist.surname}/h:outputText
  | /rich:column
  | a:support id=support1 event=onRowClick 
action=#{recipientsList.selectedRecipient(addrlist)}/
  | /rich:dataTable
  | /h:form
  | 
to call selectedRecipient on above class and set the selected recipient from 
table in the class.

In firebug I can see that the ajax-request works, but the method in class is 
never called (debug). There is nothing to see, no error or whatever.

I also have used a:support and richt:dataTable in the same way with an 
other app and there the correspondending method is called. 
Is there a limitation using EL enhancement or why method is not called in this 
case?

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal : Integrating Plain Old Web Application

2007-09-06 Thread roth
Hi

Please keep us updated on how that works out for your seam application.

Thanks,
Tobias

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

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


[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru

2007-09-06 Thread eghchang
thanks, increasing the timeout does help address our double-click within the 
same long-running conversation problem.

i realize that we still need to figure out how to handle a double-click when 
the action expression called ends the long-running conversation (via @End) ... 
in this case, the second request waits for the first request to complete only 
to find the conversation has already ended.

at this point, i'm leaning towards implementing a filter/JSF phase listener 
that detects requests on the same conversation occurring within some time 
configurable time window (e.g. 500ms) and throws out later requests falling 
within this time window.

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

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


[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem

2007-09-06 Thread Maffewl
bump, i'm having the same issue, any thoughts?

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

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


[jboss-user] [JBoss jBPM] - Re: How to know who has started a process ?

2007-09-06 Thread dleerob
Using a swimlane on the start task does work, as Ronald mentioned. Perhaps call 
it Initiator, as I've done. Make it a standard on all your processes. Eg, at 
the top of you processdefinition.xml there should be this:
swimlane name=Initiator/swimlane
That swimlane will be filled with the actorId that started the process, again 
as Ronald mentioned.

If you have a task on the start node, and you know what the name of that task 
is, you could get the task instances for the process, and find the one with the 
name you require, and get the actorId for that task instance.

Whenever I create a new process, I also set a variable on the process called 
sys_initiator, with the username/actorId of the currently authenticated user. 
This way I can always just get the sys_initiator variable when I want to know 
the username of the person who started the process.

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread bob_walker99
Can anyone help with this? I'm really struggling here, and I'm no nearer even 
understanding what the error means?

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

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


[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

2007-09-06 Thread wolfc
Why does MC not spit out an exception when KernelRegistryPlugin fails!!!???

Wasted a day just to find out that something is going wrong.

2007-09-06 15:56:04,209 TRACE 
[org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin:87] get entry for 
jndi:WSHandlerTest_wsejb_vehicleHome
  | 2007-09-06 15:56:04,212 ERROR [STDERR:151] 
javax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.sun.ts.tests.common.vehicle.wsejb.WSEJBVehicleHome (no security manager: 
RMI class loader disabled)]
  | 2007-09-06 15:56:04,214 ERROR [STDERR:151]   at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:788)
  | 2007-09-06 15:56:04,215 ERROR [STDERR:151]   at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  | 2007-09-06 15:56:04,215 ERROR [STDERR:151]   at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 2007-09-06 15:56:04,216 ERROR [STDERR:151]   at 
org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin.getEntry(JNDIKernelRegistryPlugin.java:91)
  | 2007-09-06 15:56:04,217 ERROR [STDERR:151]   at 
org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:85)
  | 2007-09-06 15:56:04,218 ERROR [STDERR:151]   at 
org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:120)
  | 2007-09-06 15:56:04,219 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.getInstalledContext(AbstractController.java:355)
  | 2007-09-06 15:56:04,220 ERROR [STDERR:151]   at 
org.jboss.beans.metadata.plugins.AbstractDemandMetaData$DemandDependencyItem.resolve(AbstractDemandMetaData.java:165)
  | 2007-09-06 15:56:04,221 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:140)
  | 2007-09-06 15:56:04,221 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:901)
  | 2007-09-06 15:56:04,222 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:839)
  | 2007-09-06 15:56:04,223 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
  | 2007-09-06 15:56:04,224 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
  | 2007-09-06 15:56:04,227 ERROR [STDERR:151]   at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  | 2007-09-06 15:56:04,228 ERROR [STDERR:151]   at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:495)
  | 2007-09-06 15:56:04,229 ERROR [STDERR:151]   at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:354)
 2007-09-06 15:56:04,229 ERROR [STDERR:151]   at 
org.jboss.deployment.services.DeploymentManagerService.deploy_phase2(DeploymentManagerService.java:412)
  | 2007-09-06 15:56:04,230 ERROR [STDERR:151]   at 
org.jboss.deployment.services.DeploymentManagerService.deploy(DeploymentManagerService.java:295)
  | 2007-09-06 15:56:04,231 ERROR [STDERR:151]   at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2007-09-06 15:56:04,232 ERROR [STDERR:151]   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2007-09-06 15:56:04,234 ERROR [STDERR:151]   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2007-09-06 15:56:04,235 ERROR [STDERR:151]   at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2007-09-06 15:56:04,237 ERROR [STDERR:151]   at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | 2007-09-06 15:56:04,237 ERROR [STDERR:151]   at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | 2007-09-06 15:56:04,238 ERROR [STDERR:151]   at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 2007-09-06 15:56:04,239 ERROR [STDERR:151]   at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 2007-09-06 15:56:04,240 ERROR [STDERR:151]   at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | 2007-09-06 15:56:04,241 ERROR [STDERR:151]   at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2007-09-06 15:56:04,241 ERROR [STDERR:151]   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2007-09-06 15:56:04,243 ERROR [STDERR:151]   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2007-09-06 15:56:04,244 ERROR [STDERR:151]   at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2007-09-06 15:56:04,245 ERROR [STDERR:151]   at 
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
  | 2007-09-06 15:56:04,245 ERROR [STDERR:151]   at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2007-09-06 15:56:04,247 ERROR 

[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-09-06 Thread Zerg-Spirit
Another revival since I still can't find a way to make my 'dirty' thing works.

I don't know where to hook to change the code in order to reload the 
resourceBundle from the database.
I tryed some different things using the messageFactory class, but couldn't work 
out with it.

Basically, I'd need to have the org.jboss.seam.core.ResourceBundle.instance() 
to change when a Locale is referred as dirty, but I can't find where to make it 
reload.

I already overriden the ResourceLoader class to fetch the message from the 
database, and this works perfectly.

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

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


[jboss-user] [JBoss jBPM] - java.lang.OutOfMemoryError

2007-09-06 Thread tinico
hi !!

I've a big problem... I use jbpm to create an application witch using workflow. 

I deploy my app on weblogic server (in Vignette portal) and oracle. All my 
application work fine and jBPM to.

However, when I devellope my app, I always change de classe of portlets and 
weblogic must to redeploy application... The problem is that when weblogic 
deploy application, java take 2MB in mémory. After some redepoyment, 
java.lang.OutOfMemoryError...

What do you think about this problem ??

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

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

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


[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?

2007-09-06 Thread waynebaylor
global JNDI names are app. server specific--the default global name for a bean 
deployed to Glassfish will not be the same as if it were deployed to JBoss. 

if you don't care about hard-coding JBoss specific names into your classes, 
then there's no need to worry about it.

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

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


[jboss-user] [JBoss Seam] - Client-id : _id5 is duplicated in the faces tree.

2007-09-06 Thread jsfMan
Hello,

I have a big problem in my page xhtml, when I add a component(commandButton), 
it shows a bug : java.lang.IllegalStateException: Client-id : _id5 is 
duplicated in the faces tree,
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | , while this id is not duplicated (my anonymous wrote : 
id=commandButtonAZETUTIUTYUITYUTYUTYUT,), It's impossible that it's 
duplicated with this id).

Please help me.

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

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


[jboss-user] [JBoss Seam] - Pb Initializing database on app startup with postInitializat

2007-09-06 Thread zdaler
I launch a method on application startup using the 
org.jboss.seam.postInitialization event. It work fine except if I access the 
database (and I need to) :

using seam managed entity manager :
@In
  |  private EntityManager em;
  | 
  | @Observer(org.jboss.seam.postInitialization)
  | private void setupAFewThings() throws ComentSystemException {
  |   MyObject w = new MyObject() ;
  |   w.setName(test_name) ;
  |   em.getTransaction().begin();
  |   em.persist(w) ;
  |   em.getTransaction().commit();
  | }

or manually creating a new entity manager like this :

@Observer(org.jboss.seam.postInitialization)
  | private void setupAFewThings() throws ComentSystemException {
  |   MyObject w = new MyObject() ;
  |   w.setName(test_name) ;
  |   EntityManagerFactory emf = 
Persistence.createEntityManagerFactory(myDatabase);
  |   EntityManager em = emf.createEntityManager();
  |   em.getTransaction().begin();
  |   em.persist(w) ;
  |   em.getTransaction().commit();
  | }

I get the same error (java.lang.IllegalStateException: JTA EntityManager 
cannot access a transactions) :
anonymous wrote : 16:26:18,530 ERROR [[/coment_demo]] Exception lors de l'envoi 
de l'évènement contexte initialisé (context initialized) à l'instance de classe 
d'écoute (listener) org.jboss.seam.servlet.SeamListener
  | java.lang.IllegalStateException: JTA EntityManager cannot access a 
transactions
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction(AbstractEntityManagerImpl.java:316)
  | at 
com.sopinspace.coment.core.WorkflowManager.addDefaultWorkflow(WorkflowManager.java:53)
  | at 
com.sopinspace.coment.core.WorkflowManager.create(WorkflowManager.java:62)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

Any help ?

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

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

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


[jboss-user] [JBoss jBPM] - Re: How to know who has started a process ?

2007-09-06 Thread lmichenaud
Thanks for help.

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

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


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

2007-09-06 Thread PeterJ
Java 1.4.3? 1.4.4? The latest 1.4 version I know of is 1.4.2. Also, without 
seeing the stack trace of the error, I could not guess as to the cause of the 
problem. It has been a long time since I ran 4.0.3, but I recall using JDK 
1.4.2 with it.



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

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


[jboss-user] [JBoss Seam] - Re: Pb Initializing database on app startup with postInitial

2007-09-06 Thread [EMAIL PROTECTED]
em.getTransaction() is for resource-local transaction demarcation, i.e. Java 
SE. 

In Java EE you need to use JTA, either through the 
javax.transaction.UserTransaction API (Seam has a wrapper component, or do a 
JNDI lookup) or through CMT on an EJB.



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: File Upload Permissions

2007-09-06 Thread PeterJ
We use the Apache Commons FileUpload JAR in our application and have not had 
any problems uploading files.

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

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


[jboss-user] [JBoss jBPM] - Need jsf tag : listProcessInstancesInitiatedByActor

2007-09-06 Thread lmichenaud
Hi,

I need a tag that lists all the process instances initiated
by a user. Does anyone has already developped it ?

jsf:listProcessInstancesInitiatedByActor actorId=#{actorId}

Or maybe, i can just do it with jsf:listProcesses and
add some filters.

If this tag doesnot exist, i think i will code it.

NB: for this tag, a task is necessary on the start node.

Later, i will need another one that lists all process instances
for the current actor, i mean all process instances where the actor has
done at least one task in the process.

Thanks for your help or comments...


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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread [EMAIL PROTECTED]
This was the same failure I saw while testing 
http://jira.jboss.com/jira/browse/JBMESSAGING-1012

I bet this was fixed as part of CR2

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

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


[jboss-user] [JBoss Portal] - CMS Admin portlet

2007-09-06 Thread qwerty979
I would want to configure a folder so that a appartente customer to the group 
users can modify the files but she cannot any create some of new cancelling 
some. This is possible?

Thanks 
Sergio

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

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


[jboss-user] [Beginners Corner] - Re: Error during start of JBoss AS

2007-09-06 Thread PeterJ
It appears that the release-admin.xml script failed to create the messaging 
configuration. Looking in Explorer,  do you see the directory 
G:\JBoss\jboss-5.0.0.Beta2\server\messaging, and does it appear  to contain 
almost the same set of directories and files as 
G:\JBoss\jboss-5.0.0.Beta2\server\default?

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

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


[jboss-user] [JBossCache] - Error when stopping cache.

2007-09-06 Thread aliher
I've encountered a prolem when switching from JBossCache 2.0.0-RC3 to 2.0.0-GA. 
When I stop cache the logs are flooded with warnings like that:

2007-09-06 16:34:59,069 WARN  +  : replication failure with 
method_call MethodName: _put; MethodIdInteger: 3; Args: (null, /Server3/382982, 
1, [EMAIL PROTECTED], true) exception
java.lang.IllegalStateException: Cache not in STARTED state!
at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3929)
at org.jboss.cache.CacheImpl._replicate(CacheImpl.java:2853)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
at 
org.jboss.cache.marshall.InactiveRegionAwareRpcDispatcher.handle(InactiveRegionAwareRpcDispatcher.java:77)
at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)
at org.jgroups.JChannel.up(JChannel.java:1091)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
at 
org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at 
org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:280)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FC.up(FC.java:422)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:154)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
at org.jgroups.protocols.pbcast.NAKACK.handleXmitRsp(NAKACK.java:848)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:533)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FD.up(FD.java:300)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.Discovery.up(Discovery.java:225)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:909)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:851)
at org.jgroups.protocols.TP.access$400(TP.java:46)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1297)
at java.lang.Thread.run(Thread.java:595)

As soon as the cache started back, this logging disappears and cache keeps 
working normally.
This seems to happen because the underlying JChannel is not 

[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

2007-09-06 Thread slotos
I have the same problem using 2 jars in an ear file. But neither the class nor 
the jar-file tag in a persistence.xml of the META-INF directory of the ear file 
works.

The aim is to have a basic.jar where general entity classes exist. In the 
concrete.jar I would like to have derived entity classes from the basic.jar. 
Both should use the same persistence unit.

I use JBoss 4.2.0 GA.

It would be nice if benc could send his readjusted ejb3jar project to me.

Thanks,

Thomas

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

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


[jboss-user] [JBoss jBPM] - How to take a decision in java code

2007-09-06 Thread Jean-LucT
I'm new to jBPM 3.2.1 but I didn't find anything on this subject either in 
doc/examples and this forum : still my question seems to me very basic.

I want to be able to decide the transition I will follow in a piece of Java 
Code according to the data previously entered.

I'm using a Decision node for this with two transition (Oui and Non).
I've added an action/Node Enter. This action map a java class using the field 
setup.

My java code : 
public class DecideIfCustomer implements ActionHandler {
  | private static final Logger logger = Logger.getLogger(IsCustomer.class);
  | 
  | public DecideIfCustomer() {
  | super();
  | }
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | Node node = executionContext.getNode(); 
  | ContextInstance contextInstance = 
executionContext.getContextInstance();
  | if (contextInstance.getVariable(Nom du contact).equals(Non)) {
  | node.leave(executionContext, Non);
  | }
  | }
  | 
  | }
  | 

Notice that my class is an instance of ActionHandler because I've not been able 
to use a DecisionHandler. When using a DecisionHandler I got a 
ClassCastException.

With this, I'm able to go through the transition Non when my variable is 
correctly set BUT : I noticed that in fact it takes the Non transition twice 
and then go to the Oui transition.

I guess I missed something, anyhelp ?

My process-definition for the decision node :
   decision name=Client actif ?
  |   event type=node-enter
  |  action name=isCustomerAcitf 
class=fr.jl2tho.tutorialjbpm.action.DecideIfCustomer/action
  |   /event
  |   transition name=Oui to=Enregistrer la Question/transition
  |   transition name=Non to=Prevenir le commercial/transition
  |/decision
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Client-id : _id5 is duplicated in the faces tree.

2007-09-06 Thread [EMAIL PROTECTED]
You need to post much more information.

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

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


[jboss-user] [JBoss Seam] - java.lang.NoClassDefFoundError: org.drools.WorkingMemory and

2007-09-06 Thread dkane
Hello 

After 20 minutes of inactivity (I guess, session is being serialized after 
that), JBoss throws the following exception to console. 

The application is quite simple Seam one, containng one session-scoped 
component. No Drools are used explicitly, no jBPM. The only specific feature is 
Seam Remoting , but error appears even when no Remoting calls were made. 

Any idea what may cause that ? 

Thanks.

18:57:18,968 ERROR [TerminalAdmAction] problem passivation thread
  | javax.ejb.EJBException: Could not passivate; failed to save state
  | at 
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:406)
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:301)
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:209)
  | Caused by: 
  | java.io.IOException
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | at 
org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | at 

[jboss-user] [JBoss Seam] - EL model validation failed:null / modelInstance evaluates

2007-09-06 Thread pwoj
Hi,

I' have custom facelets components in taglib named fc. They can be included in 
one another.

form .xhtml contains person component with parameter person passed in using the 
seam component.
form
  | ...
  | fc:personUI person=#{versionedPerson.person} /
  | ...
  | /form

person component include address component
ui:composition
  | ...
  | fc:addressUI address=#{person.address} /
  | ...
  | /ui:composition

...and here occurs problem. Validation (of addressUI) ends with: model 
validation failed:null which is caused by IllegalArgumentException. The 
exception seems to be caused because modelInstance evaluates to null within the 
validate method in org.jboss.seam.core.Expressions (trying to bind #{address} 
) 

When I replace durring dubbug '#{address}' to '#{person.address}' there is no 
exception thrown. 

Validation of personUI is OK, so there is a problem only in second (deeper) 
passing (hope anyone understood what I mean ;) ).

very similar to this topic
http://www.jboss.com/index.html?module=bbop=viewtopict=109799


Any idea to solve it ? Is it a bug ?


Many thanks in advance! ;)

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

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


[jboss-user] [JBoss Seam] - Invoking a Seam component method from pages.xml?

2007-09-06 Thread tonylmai
Hello,

I have a few pages where the contents are fetched from a database.  I would 
like to have these contents refreshed when the user return to these pages 
(within a session).

I have a .refresh() method on Seam components that is used as the backing bean 
for these pages. I also have a navigation rule for each of the pages.

Q: How do I invoke the .refresh() method within a navigation rule (declared in 
the pages.xml)? And should I do it this way or is there a better way to refresh 
the contents within a page?

Thanks for your help.
-tony

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

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


[jboss-user] [JBoss Portal] - Re: CMS Admin portlet

2007-09-06 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | I would want to configure a folder so that a appartente customer to the 
group users can modify the files but she cannot any create some of new 
cancelling some. This is possible? 
  | 

Yes. If I understand you correctly what you need to do is,

For the files that you need to give this user write access to, use the Secure 
function from the menu bar and give this user Write permissions on the 
selected files

If you don't want this user to be able to add/remove files from the folder, 
make sure they don't have 'Write access or more on the Folder 

For details on how the access rules work, see here for details:
http://wiki.jboss.org/wiki/Wiki.jsp?page=CMS_Security

Thanks
Sohil

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

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


[jboss-user] [JBoss Portal] - Struts bridge - Necessary to modify web.xml?

2007-09-06 Thread NM-156
Hi. According to the Apache Portal web site:

http://portals.apache.org/bridges/index.html

JBoss 2.0 has Struts bridge support. For an existing web application, do I have 
to replace  org.apache.struts.action.ActionServlet with 
org.apache.portals.bridges.struts.PortletServlet inside of web.xml on my 
servlet mapping? (I got this information from the free Portal book that is 
mentioned in this post):

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

Has this class name changed (I am using JBoss Portal 2.6.1)? If so, which .jar 
file do I need for this? I am getting a ClassNotFoundException on 
org.apache.portals.bridges.struts.PortletServlet when the app is loading.

Thanks.

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

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


[jboss-user] [JBoss Portal] - CachedConnectionValve

2007-09-06 Thread tellarsrinivasprabhu
Hi all,

I am using jboss portal 2.6.1. I built if from source code and deployed on 
jboss Application server 4.0.5. 

I want to assign contextual roles to user. socreated new table called 
contextual_roles. where  i mapped user role to jbp_uid i.

i have created a domain class corresponding to contextual_role table and did 
the mapping accordingly (hibernate.xml and *.hbm.xml). Things are working find 
and am able to access the table using HQL and get the roles. However after i 
execute List result = session.createQuery(hql).list();

Even though am able to print the result on console i get the following error 
after each access to the contextual_roles table.


ERROR [CachedConnectionValve] Application error: PortalServletWithPathMapping 
did not complete its transaction

can any one tell what is wrong ?




thanks,
srinivas

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Value of identity column with JBoss 4.0.5 JPA entity manager

2007-09-06 Thread earniedyke
Greetings all,

I have an EJB3 stateless bean that defines the following entity manager:

@PersistenceContext
  | @PersistenceUnit(unitName = SimPersistence)
  | EntityManager em;

When I persist a new object via em.persist(o) I need to get the value of the 
identity column back. How can I do that? o.getId() returns 0. I have tried 
em.flush() followed by em.refresh(o) which did not work either.

Any and all help is appreciated.

Earnie!

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

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


[jboss-user] [JBoss Seam] - Re: Invoking a Seam component method from pages.xml?

2007-09-06 Thread fernando_jmt
I think you should use a page action.


  |  page view-id=/admin/userList.xhtml action=#{userList.reload}
  | /page
  | 

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

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


[jboss-user] [JBoss Portal] - Admin portlet error

2007-09-06 Thread k3nnymusic
I am using jboss portal 2.0.2 in AS 4.0.5 GA.
When i am going to admin panel i see:

  | occured while rendering window 'default.Admin.ManagementPortletWindow'  
  |  /WEB-INF/jsp/management/index.xhtml @41,58 rendered=#{!empty 
node.children}: Exception getting value of property children of base of type : 
org.jboss.portal.core.portlet.management.LazyPortalObjectTreeNode
  |
  | 

How can i fix this?
I have got 2 servers, and i was trying to migrate database from other one where 
all is ok, but i havent got any results.
Could you help me?

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

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


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

2007-09-06 Thread rbellia
I have the same probelm with JBoss AS 4.2.1 ...

The endpoint:

  | @Stateless @WebService
  | @RolesAllowed({clerk})
  | public class CalculatorBean implements CalculatorRemote, CalculatorLocal {
  |   
  |   @Resource SessionContext sessionCtx;
  |   
  |   public Integer sum(Integer a, Integer b) {
  | System.out.println(who is it ?  + sessionCtx.getCallerPrincipal());
  | return a + b;
  |   }
  |   
  | }
  | 


The client:

  |   CalculatorBeanService service = new CalculatorBeanService();
  |   CalculatorBean port = service.getCalculatorBeanPort();
  |   BindingProvider bp = (BindingProvider) port;
  |   bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
http://localhost:8080/CalculatorBeanService/CalculatorBean;);
  |   bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, 
user1);
  |   bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, 
password1);
  |   
  |   // TODO initialize WS operation arguments here
  |   java.lang.Integer result = port.sum(4002, 450);
  |   System.out.println(Result = +result);
  | 

The exception:
javax.xml.ws.soap.SOAPFaultException: Authorization failure
  | 

The security domain works fine if I use a remote EJB client.

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

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


[jboss-user] [EJB 3.0] - Re: handling ejb3 injection failure

2007-09-06 Thread ALRubinger
The @EJB Annotation does more than injection; it also establishes a dependency.

For a JBoss-specific solution, you can also annotate your instance variable 
with @IgnoreDependency like:

@EJB
  | @IgnoreDependency
  | MyBeanClass myBean;

...which I believe should work, though I've never tried this use case 
specifically.  One thing it won't do is inject myBean if MyBeanClass is 
deployed *after* your other service - the container won't keep track of what 
injections it should perform if they're deployed at a later time.

Also, your lookups don't necessarily have to point to a JNDI address that 
includes the application name.  JBoss assigns these by default, but you can 
override with ejb-jar.xml or the @RemoteBinding/@LocalBinding annotations.

S,
ALR

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

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


[jboss-user] [Security JAAS/JBoss] - JBoss and Windows ACL

2007-09-06 Thread jc7442
My JBoss runs on a Windows system. I develop an intranet application. USers are 
authenticated using the LDAPExtLoginModule plugged on the active directory of 
my company. 

Some of the services hosted in JBoss needs to access to windows resources such 
as file servers, printers, ... Access to this resources are managed in windows 
active directory.

My JBoss application server is started with a user that as not necessary all 
the rights of the user connected in the application. Consequently, some users 
can not use resources even if they are granted to use these resources for 
Windows.

I'd like that my application has the rights of the authentified user in the 
application (and not the right of the server). A sort of connection to windows 
for a session.

Is it possible to do such things with JBoss AS? 

From what I heard, it looks that some products such as Vintella can do that. 
Is there some open solution ?


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

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


[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-09-06 Thread [EMAIL PROTECTED]
Observer org.jboss.seam.localeSelected

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

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


[jboss-user] [JBoss jBPM] - Asynchronous Continuations

2007-09-06 Thread nvrprasad1
I have created a process flow application which will can be used by multiple 
users concurrently. As these users may decide to save the work in between and 
it may take a long time like a week to reach the end point - I am trying to use 
asynchronous continuations. As there is only a single CommandExecutorThread on 
which all async ActionHandler execute methods are called for different 
processes what should we do to ensure all the threads are safe? Also, will this 
be an issue to have so many threads in wait state for so long? 

I appreciate any feedback 


Thanks 
Prasad 
 
 

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

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


[jboss-user] [JBoss jBPM] - Possible to restart a ProcessInstance

2007-09-06 Thread justin.zhou
For an existing ProcessInstance, is it possible to restart it?

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

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


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

2007-09-06 Thread supernovasoftware.com
I have seen charts integrated in PDF, but how is this integrated now within 
HTML pages?

Please point me to an example or provide assistance.

I now have Trinidad, Richfaces, and Tomahawk playing nicely together.  I need 
charting support and started to evaluate the chart component in Trinidad.  I 
have used JFreeChart with seam before, but I used a servlet to provide the 
image.

Could someone please comment on Trinidad Chart Component vs JFreeChart 
integrated with Seam for HTML pages?

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread bob_walker99
Sounds promising. I mailed Tim a test which reproduces the behaviour, but was 
intermittent at the time. 

I've just done 2 clean installs: 1 of 4.2.0/1.3.0GA, and consistently got that 
error when creating a connection, 

I then did a clean 4.2.0/1.4.0CR2 install, and didn't see the error.

However, I have seen the code work sometimes on 1.3.0GA, and sometimes fail, so 
you'll forgive me if I don't hold my breath?

I'll mail you the test, I believe Tim is on holiday for a while?


Can you expand on what the problem/resolution was? I've been tearing my hair 
out on this.

Thanks Clebert,

Best regards,

Bob

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

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


[jboss-user] [EJB 3.0] - Re: handling ejb3 injection failure

2007-09-06 Thread ajay662
Thanks for your suggestions ALR.

I have tried @IgnoreDependency in my other jboss-specific app and it does work 
fine. 

In this case however, I am actually looking for a portable solution and not 
something thats specific to a vendor. 


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

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


[jboss-user] [JBoss Portal] - Re: Using struts-portal-bridge with jboss portal 2.2 , with a

2007-09-06 Thread NM-156
No offense, but you posted to this forum in English. Why would you resolve the 
problem and then say regarding your blog:

I write it in Chinese. 

That doesn't help much.

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

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


[jboss-user] [JBoss Seam] - Re: Client-id : _id5 is duplicated in the faces tree.

2007-09-06 Thread jsfMan
Here is my page xhtml :

!DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;

ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | template=layout/template.xhtml
  | 
  | ui:define name=body
  | 
  | h:messages globalOnly=true styleClass=message 
id=globalMessages /
  | 
  | h:form id=lot styleClass=edit
  | 
  | h:panelGrid columns=1 id=grid1 styleClass=table_m
  | headerClass=th_m rowClasses=td_m
  | f:facet name=header
  | h:outputText 
value=#{msgsCommon.editer} #{msgLot.entityName} /
  | /f:facet
  | 
  | 
  | 
  | 
  | s:decorate id=numeroLotDecoration 
template=layout/edit.xhtml
  | 
  | ui:define 
name=label#{msgLot.numeroLot}/ui:define
  | 
  | 
  | 
  | h:inputText id=numeroLot 
required=true size=60
  | maxlength=60 
value=#{lotHome.instance.numeroLot}
  | /h:inputText
  | /s:decorate
  | 
  | 
  | s:decorate id=montantDecoration 
template=layout/edit.xhtml
  | 
  | ui:define 
name=label#{msgLot.montant}/ui:define
  | 
  | h:inputText id=montant 
value=#{lotHome.instance.montant}
  | /h:inputText
  | /s:decorate
  | 
  | 
  | s:decorate id=nombreJoursDecoration 
template=layout/edit.xhtml
  | 
  | ui:define 
name=label#{msgLot.nombreJours}/ui:define
  | 
  | h:inputText id=nombreJours
  | 
value=#{lotHome.instance.nombreJours}
  | /h:inputText
  | /s:decorate
  | 
  | 
  | s:decorate id=dateEcheanceDecoration 
template=layout/edit.xhtml
  | 
  | ui:define 
name=label#{msgLot.dateEcheance}/ui:define
  | 
  | h:inputText id=dateEcheance 
maxlength=10 size=10
  | 
value=#{lotHome.instance.dateEcheance}
  | s:convertDateTime 
pattern=dd/MM/ /
  | /h:inputText
  | s:selectDate for=dateEcheance 
dateFormat=dd/MM/
  | h:graphicImage 
url=img/dtpick.gif style=margin-left:5px /
  | /s:selectDate
  | /s:decorate
  | 
  | 
  | s:decorate id=descriptionLotDecoration
  | template=layout/edit.xhtml
  | 
  | ui:define 
name=label#{msgLot.descriptionLot}/ui:define
  | 
  | 
  | 
  | h:inputTextarea id=descriptionLot 
cols=80 rows=10
  | required=true 
value=#{lotHome.instance.descriptionLot}
  | styleClass=richEditor /
  | /s:decorate
  | 
  | 
  | 
  | div style=clear: bothspan 
class=required*/span
  | #{msgsCommon.required}/div
  | /h:panelGrid
  | 
  | h:panelGrid columns=5 id=gridEdit
  | s:link id=cancel propagation=end
  | view=/#{empty lotFrom ? 'LotList' : 
lotFrom}.xhtml
  | rendered=#{!lotHome.managed}
  | h:graphicImage 
value=/img/house_go.gif /
  | /s:link
  | h:commandButton id=save 
action=#{lotHome.persist}
  | disabled=#{!lotHome.wired} 
rendered=#{!lotHome.managed}
  | image=/img/disk.gif
  | /h:commandButton
  | h:commandLink id=update 
action=#{lotHome.update}
  | rendered=#{lotHome.managed}
  | h:graphicImage value=/img/disk.gif /
  |  

[jboss-user] [Clustering/JBoss] - Cluster members don't see each other

2007-09-06 Thread nitesh
Hello,

I'm using JBoss AS 4.0.3 SP1 with JDK 1.5.10.

I've setup a cluster of two JBoss instances with the partition name 
DefaultPartition and I pass the same IP Multicast address using the '-u' 
switch. However, the two JBoss instances don't see each other. I've not made 
any changes to the cluster-services.xml. 

When I start JBoss, I see the following log on each instance (I've blanked out 
the IP address):

2007-09-06 15:54:34,370 INFO  [org.jgroups.JChannel] JGroups version: 2.4.1
2007-09-06 15:54:34,634 WARN  [org.jgroups.JChannel] option GET_STATE_EVENTS 
has been deprecated (it is always true now); this option is ignored
2007-09-06 15:54:37,006 DEBUG [org.jgroups.JChannel] cannot get state from 
myself (xx.xxx.xx.xxx:32900): probably the first member

Also, when I look at the DefaultPartition MBean from the jmx console, I see 
that CurrentView contains IP address of only one node.

Could anyone point me to what could be going on?

Thanks,
Nitesh

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread [EMAIL PROTECTED]
We found few bugs on the Bisocket implementation... on the StressTest shown at 
JBMESSAGING-1012.

Ron had fixed lots of bugs, and JBossRemoting 2.2.2.GA fixed the problem.

So, you will also need to replace jboss-remoting by the newer version to make 
sure the error won't happen.

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

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


[jboss-user] [JBoss Portal] - Re: Admin portlet error

2007-09-06 Thread k3nnymusic
I use jdk 1.5 and now its ok

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

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


[jboss-user] [JBoss Seam] - Re: Client-id : _id5 is duplicated in the faces tree.

2007-09-06 Thread Stateless Bean
this is typical problem when U use facelets. I had same problem, adding 
manyally id where it was possible solved problem.

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

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


[jboss-user] [JBoss Seam] - problem using entityqueries

2007-09-06 Thread jamesjmp
hello,
This issue is somehow strange, so I provide you with the related code to make 
my explanation clear.
I´ve defined this entity-query in my components.xml file.

framework:entity-query name=RstReportTemplate2
  | ejbql=select rstReport from RstReport 
rstReport
  | order=code
  | /framework:entity-query

If I use it directly from a view xhtml file it works ok. For example

  | /rich:dataTable
  | rich:dataTable id=RstReportTemplate2 
  | var=rstReport
  | value=#{RstReportTemplate2.resultList} 
  | rendered=#{not empty 
RstReportTemplate2.resultList}
  | h:column
  | #{rstReport.code}
  | /h:column
  | /rich:dataTable 

 I want to use it from a POJO. I´ve a POJO that uses this query this way:

 @Name(RstReportTemp)
  | public class RstReportTemplate {
  | 
  | @In(#{RstReportTemplate2.resultList}) ListRstReport rstRepTemplates;
  | 
  | public RstReportTemplate() {
  | }
  | 
  |  public void processTemplate() {
  | IteratorRstReport rstReportTemp = rstRepTemplates.iterator();
  | if (rstRepTemplates != null) {
  | while (rstReportTemp.hasNext()) {
  | // business logic code  
  | }
  | 
  | }else {
  | System.out.println(THERE ARE --NO-- RECORDS MATCHING 
RstReportTemplate2);  
  | }
  | } 
  | 
  | }
  | 

When invoking to this POJO from a pojoview.page.xml with an action it works fine
   action execute=#{RstReportTemp.processTemplate}/

Now, here is my problem. I want to invoke that method, 
RstReportTemp.processTemplate,  from the wire method of a POJOHome.
I´m doing it this way:
@Name(rstReportHome)
  | public class RstReportHome extends EntityHomeRstReport {
  | 
  | public void wire() {
  | ...
  | RstReportTemplate repTemp = new RstReportTemplate();
  | repTemp.processTemplate(rep);
  | ..
  | }
  | ...}
This time the query doesn´t return any value, in fact the resulting List 
rstRepTemplates is null.

I don´t understand why the same query (with no restrictions) works fine when 
used directly from a view or from a POJO which is invoked by an execute of a 
.page.xml, but doesn´t behave the same way when it is used from a POJO which 
has been invoked from a different POJO.
I don´t want to have my business logic code in the POJOHome java class, that´s 
why I´m using another one and invoking from the wire method.
thanks in advance,
Jaime

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

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

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


[jboss-user] [JBoss jBPM] - Re: Error introduced in 3.2.1

2007-09-06 Thread tms
Hi, does it have any solution? I've the same problem.

Tomas

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

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


[jboss-user] [JBoss Seam] - Re: Trouble Deploying Seam App To Tomcat

2007-09-06 Thread nkhilnani
Theres an issue in JIRA to track this. 
http://jira.jboss.com/jira/browse/JBSEAM-1663

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

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


  1   2   3   >