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

2007-04-04 Thread ajrathi
Anybody knows how to integrate multiple JVM?s with single JBoss instance on a 
single physical machine.

I want to deploy the application in multiple JVM?s to handle concurrent request 
and the concurrency issue of the application. 

Any pointers on this would be of great help.



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

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


[jboss-user] [JBoss Portal] - Re: Migrate WebLogic Portal Application to JBoss

2007-04-04 Thread [EMAIL PROTECTED]
"swestbom" wrote : Warning JBoss Portal's navigation sucks big time.  Don't 
expect much from the *object.xml, build your own, theirs is a complete Model 1 
hack with lots of server side java producing html and other oddities.  Really 
don't understand what they were thinking of.

Thanks for your constructive compliments, i don't even know what you are 
talking about... I think you got confused about defining objects and MVC 
mechanism. I don't see how you can relate -object.xml with Model 1... I'm also 
very glad that you produced all your HTML on the client side. Way to go ! If 
you are talking about the top banner writen in java, it's not great, but this 
is the *default* portal implementation.

It's great that you built your own, which is probably far better, too bad that 
you never contribute all the great stuff that you did.

I'm sure Spring guys will also love to learn about their "idiotic security 
stuff" that sounds very constructive to me.

At the end, i'm glad you recommend using JBoss Seam without ever tried it. By 
the way, you can pre-order the book here:
http://www.amazon.com/JBoss-Seam-Simplicity-Power-Beyond/dp/0131347969/

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

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


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

2007-04-04 Thread ajrathi
Anybody knows how to integrate multiple JVM?s with single JBoss instance on a 
single physical machine.

I want to deploy the application in multiple JVM?s to handle concurrent request 
and the concurrency issue of the application. 

Any pointers on this would be of great help.



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

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


[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-04-04 Thread matt.drees
On the topic of documentation, the last sentence of section 3.7 is 

  | Note that the EntityHome class in the Seam Application Framework provides a 
great example of this pattern.
  | 
Perhaps this was true at one point in time, but EntityHome doesn't use @unwrap 
now.  

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

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


[jboss-user] [JBoss jBPM] - Fork Node Issues

2007-04-04 Thread kannanekanath
Hi,
I have a workflow where I need a fork and one of the paths is readonly. For 
example, when a student submits a request to a teacher for a leave, he needs to 
get the task in "Leaves awaiting approval" list, (He cant change anything 
though). For this we wrote a custom join node, which does the joining, and also 
terminates all readonly tasks in the parent token (Apologies, for posting a 
slightly big xml file, but I couldnt make it any simpler to demonstrate my 
point)

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
So a principal reviews the request from the teacher, and if he finds it ok, 
sends again to the principal, so that he can do a final approval (those parts 
are not shown here)
a) The node ("Pending Approval") has to be exactly the same, whether the 
request is coming from student for first time, or if it is coming from the 
principal
b) Now when the first time join is invoked, i am setting 
token.setAbleToReactivateParent as false meaning the token cannot do a join 
anymore :), so when the same token is coming back from principal, the workflow 
stops there.

To avoid this, we added an else clause

  | public void execute(ExecutionContext executionContext) {
  | Token token = executionContext.getToken();
  | if (token.isAbleToReactivateParent()) {
  | Token parentToken = token.getParent();
  | if (parentToken != null) {
  | //go ahead and terminate all sibling tasks
  | } else {
  | logger.debug("Token[" + token + "] is itself a parent");
  | //This is the case of the token coming from 
principal 
  | leave(executionContext);
  | }
  | } 
  | }
  | 
I would like to know, if there is someone who has encountered a similar issue, 
If yes, is there a recommendation for this. I went through the code, in Join 
class of JBPM and there is no else part there. The essence is that you dont 
expect a Join call when there is no fork, for me there is a node, which could 
have come as a result of a fork and in some cases it might not be from a fork 
(in this case from principals review node)

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

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


[jboss-user] [JBoss Seam] - icefaces charts

2007-04-04 Thread cp8324
Hi,

I want to use OutputChart and I notice that chart images are stored in the 
filesystem. Everything works fine but I'd like to know if anyone else are using 
it and how are you deleting the image files ?. 

At the moment I'm removing them in the Jboss startup script.

Any recomendation ???

Best Regards.
Carlos.

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

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


[jboss-user] [JBoss Seam] - Re: Injection of a stateless session bean (SLSB) into anothe

2007-04-04 Thread matt.drees
I think you're supposed to do something like 


  | public class ContainerBean implements Container
  | {
  | @In
  | Simple simpleBean;
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-04 Thread rabbiaqaswar
have you tried BigInteger? i just checked the hibernate reference documentation 
version: 3.2 cr1 and it mentions:

"big_decimal, big_integer: Type mappings from java.math.BigDecimal and 
java.math.BigInteger to NUMERIC (or Oracle NUMBER)."



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

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


[jboss-user] [JCA/JBoss] - Re: need help! JCA sample!

2007-04-04 Thread vickyk
Download the jboss4guide.zip from here 
http://docs.jboss.org/jbossas/jboss4guide/r5/

Look for the chapter 7 sample application , the details about the sample 
applicaiton are given in 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html



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

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


[jboss-user] [JBoss Seam] - JSF rendering of invalid values

2007-04-04 Thread [EMAIL PROTECTED]
To debug another problem I need to know how JSF gets component values during 
RENDER RESPONSE after validation fails. I basically need someone who knows JSF 
internals :)

Form:


  | 
  | 
  | 
  | 
  | 
  | 
  | Entity test string:
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Test string:
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | Do Something
  | 
  | 
  | 
  | 
  | 
  | 

The backing bean:


  | @Name("testBean")
  | @Scope(ScopeType.PAGE)
  | public class TestBean implements Serializable {
  | 
  | @In(required = false)
  | private FacesMessages facesMessages;
  | 
  | private String testString;
  | 
  | public String getTestString() {
  | System.out.println(" GETTING: " + testString);
  | return testString;
  | }
  | 
  | public void setTestString(String testString) {
  | System.out.println(" SETTING: " + testString);
  | this.testString = testString;
  | }
  | 
  | private TestEntity testEntity;
  | 
  | public TestEntity getTestEntity() {
  | System.out.println(" GETTING ENTITY INSTANCE");
  | return testEntity;
  | }
  | 
  | @Create
  | public void create() {
  | System.out.println("## NEW TEST ENTITY");
  | testEntity = new TestEntity();
  | }
  | 
  | public void doSomething() {
  | System.out.println(" DO SOMETHING 
");
  | 
  | facesMessages.addFromResourceBundleOrDefault(
  | FacesMessage.SEVERITY_ERROR,
  | "didSomething", "Hello! This is a message! Current test string 
is: " + testString + " and in entity it's: " + testEntity.testString );
  | 
  | facesMessages.addToControl(
  | "foobar",
  | FacesMessage.SEVERITY_ERROR,
  | "Message for component!");
  | 
  | }
  | 
  | public static class TestEntity implements Serializable {
  | 
  | @Length(min = 3, max = 255)
  | private String testString;
  | 
  | public String getTestString() {
  | System.out.println(" GETTING INSIDE ENTITY: " + testString);
  | return testString;
  | }
  | 
  | public void setTestString(String testString) {
  | System.out.println(" SETTING INSIDE ENTITY: " + testString);
  | this.testString = testString;
  | }
  | }
  | 
  | }
  | 

When I enter "a" and "b" into the two form fields, validation for the first 
field should fail (@Length on the entity class). It does so, and it shows me 
the form again with "a" and "b" in the fields and the decorated validation 
error message.

How do the values "a" and "b" get into the form components during RENDER 
RESPONSE? This is what I see in the logs:


  | 07:47:49,321 DEBUG [SeamPhaseListener] before phase: APPLY_REQUEST_VALUES(2)
  | ... Nothing interesting ...
  | 07:47:49,325 DEBUG [SeamPhaseListener] after phase: APPLY_REQUEST_VALUES(2)
  | 07:47:49,325 DEBUG [SeamPhaseListener] before phase: PROCESS_VALIDATIONS(3)
  | ... Nothing interesting ...
  | 07:47:49,327 DEBUG [RootInterceptor] intercepted: testBean.getTestEntity
  | 07:47:49,328 INFO  [STDOUT]  GETTING ENTITY INSTANCE
  | 07:47:49,328 DEBUG [RootInterceptor] intercepted: testBean.getTestEntity
  | 07:47:49,329 INFO  [STDOUT]  GETTING ENTITY INSTANCE
  | 07:47:49,333 DEBUG [RootInterceptor] intercepted: testBean.getTestString
  | 07:47:49,333 INFO  [STDOUT]  GETTING: null
  | 07:47:49,333 DEBUG [SeamPhaseListener] after phase: PROCESS_VALIDATIONS(3)
  | 07:47:49,334 DEBUG [AbstractSeamPhaseListener] committing transaction after 
phase: PROCESS_VALIDATIONS(3)
  | 07:47:49,334 DEBUG [SeamPhaseListener] before phase: RENDER_RESPONSE(6)
  | ... Nothing interesting ...
  | 07:47:49,664 DEBUG [RootInterceptor] intercepted: testBean.getTestEntity
  | 07:47:49,665 INFO  [STDOUT]  GETTING ENTITY INSTANCE
  | 07:47:49,665 INFO  [STDOUT]  GETTING INSIDE ENTITY: null
  | 07:47:49,690 DEBUG [SeamPhaseListener] after phase: RENDER_RESPONSE(6)
  | 

So during PROCESS VALIDATIONS, my backing bean getters are being called. Why 
that is the case I don't know, maybe this is triggered by  
(haven't been able to figure out how this is implemented) or simply the JSF 
implementation randomly calling my model. 

Then validation obvio

[jboss-user] [EJB 3.0] - Re: Entity relationship and remove operations

2007-04-04 Thread kstrunk
"fhh" wrote : anonymous wrote : 
  |   | And now deleting users works fine, but why is the schema not created 
automatically this way?
  |   | 
  | 
  | I'm not sure whether javax persitence uses the on delete cascade 
functionality of the underlying database or whether the entitymanager will 
"manually" delete ferenced entities.
  | 
  | Regards
  | 
  | Felix

Does anybody here know these details and can me tell what to do now? Manually 
altering the database after deployment cannot be a real solution.

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

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


[jboss-user] [JBoss Seam] - Re: Load Resource Bundle

2007-04-04 Thread jbossja
Hi knuwu,

Yes I do have a messages_fr.properties in my WEB-INF/classes directory.
I can access the properties file in my jsf pages via .

The problem is when I'm loading the Resource Bundle in my bean class to 
populate a drop down list with values that are locale-sensitive.

I have tried what you suggested but it's not working.

In my components.xml file I have this:

  | 
  | messages
  | 
  | 

Any ideas about what can be done?

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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread shupingChen
But many articles about EJB3.0  told me that the JNDI name of the Bean should 
be the beanName regradless of  the invocation came from local or remote. So why 
JBoss uses differentiate the local and remote JNDI name. It's very 
discommodiousness.

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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread shupingChen
I have solved the problem. As you said, the JNDI name for the bean should be 
"ejbName/remote". I made a mistake that I used a wrong jar in my classpath.
 Thanks all of you.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: import org.jboss.mq.server.jmx.Queue

2007-04-04 Thread milind.uc
I am using MDB  which able tolisen on only one particular wqueue how will  make 
my single mdb to listen on more than on e queue  I am trying it by using the 
tag of  queue/D  but iis not 
working it is working fine with onlye one mdb.

If anyone knows it then please tell me how to used for the more than one 
destination in single md..

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

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


[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread SergeySmirnov
I guess, if you add:

  |  
  | 
you can whay the action is not invoked.

Instead of using ajaxSingle="true" surround s:decorate with 

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

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


[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread [EMAIL PROTECTED]
Might want to ask in the ajax4jsf forum.


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

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


[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-04-04 Thread [EMAIL PROTECTED]
I've added this to the docs in CVS.

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-04 Thread chane
petemuir,

Thanks for the info.  I'll check out the seamdiscs example.  If you get 
something working with dialogs can you post here so I am sure to check.  I'll 
be checking out the Seam head tomorrow and will keep checking.

Also, are you having issues with the Trinidad tables or just trying to get them 
to work the way you want? I have been able to get them to work in my simple 
proof of concept pages.

Chris

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

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


[jboss-user] [JBoss Seam] - Seam Mail (sending) and Message-Driven Beans?

2007-04-04 Thread aschneid75
I've looked through the forums, documentation, and even the Seam eBook rough 
cut, but have not really found the answer to my question.

I've got an MDB that builds and sends an email based on the message it 
receives.  I would like to leverage the Seam mail functionality and use Facelet 
templates for these emails.  I can retrieve the addresses to send the emails 
to, and they are named objects used in other portions of the application with 
Seam.  My problem is, obviously, by default an MDB is not participating in a 
Seam context.  Is there a way to get the MDB into a context so that my 
retrieved mail address objects can be used by the renderer to render the 
Facelet template and send the email?

I saw this post:

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

but it really does not answer my question.

Thanks for any help,
Andrew

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

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


[jboss-user] [JBoss Seam] - Re: Injection of a stateless session bean (SLSB) into anothe

2007-04-04 Thread trickyvail
Yes I have tried to annotate with In(create=true) and receive the second 
exception and stack trace.

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

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


[jboss-user] [JCA/JBoss] - need help! JCA sample!

2007-04-04 Thread bruce_yuan
need help!
i'm in a hurry to finish a thesis, and it need a JCA sample app.(no matter 
JCA1.0 OR 1.5,  as simple as you can)
who can give me a sample app with sourcecode?

thanks a lot!
very hurry!

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Jboss4.0.5+Hibernate3+Spring2.0+Informix Dynamic Server 10

2007-04-04 Thread stigmatamartyr
I am using the stack in the subject line, and have discovered what I think 
might be a bug.  When JBoss first starts up and deploys my war, everything 
works fine.  However, when I redeploy the war, when Spring's 
LocalSessionFactory initialized, the container just hangs (and can't be 
shutdown, has to be killed).  This is occuring when it checks to see if there 
is a valid connection, since there is no Informix ValidConnectionChecker (or 
whatever that interface is called), it just tries to run the SQL in DS config 
(an XA datasource), something goes wrong.  Then I remove the check, the war is 
deployed, but then you get an error saying that the app is trying to use a 
connection that is no longer associated with ManagedConnection. 

In order to get around this, after Spring has initialized, I stop and start the 
ManagedConnectionFactory MBean through JMX (with a BeanPostProcessor), after 
which, everything works fine.

Of course, I could be missing something here, I'm hoping a working 
InformixConnectionValidator class is forthcoming. :)

Duane

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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread shupingChen
My EJB hasn't home interface. It just has a business interface, namingly Hello. 
How can I configure the  in jboss.xml?

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

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


[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-04-04 Thread thejavafreak
version: Seam 1.2.1.GA
chapter: 12.8.2
page: 138

I think we need to add  otherwise the input won't be 
compared/validated against the captcha image and a  so new 
user won't be confused. Just an opinion.


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - tutorial Q

2007-04-04 Thread simonbaker
Just starting with jBPM.  Using: jbpm-starters-kit-3.1.4

I'm following the tutorial for creating a process project 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted

When I create the new jBPMStartersProject project, the source folders are 
different from the tutorial.  There is no "src/process" or "src/java" or 
"src/config" folder.  Instead, there is a "src/main/java", "src/main/config", 
"src/main/jpdl", etc.

Is my configuration bad, or is the tutorial out of date, or...?



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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread shupingChen
I copy my EJB jar to the server\default\deploy directory directly, and there is 
no ejb-jar.xml in the jar. The client code: 
   Context ctx = new InitialContext(System.getProperties());
Hello hello = (Hello) ctx.lookup(Hello.class.getName());
System.out.println(hello.hello());
   Must I change my client code?

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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread bdecoste
The default jndi bindings have probably changed

The default JNDI bindgs for an EJB3 are ejbName/remote and ejbName/local for 
the remote and local business interfaces. If the EJB3 is deployed in an .ear, 
the default jndi bindings are earName/ejbName/remote and earName/ejbName/local. 
You can override the default with the @RemoteBinding and @LocalBinding 
annotations or the  and  in jboss.xml

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

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


[jboss-user] [JBoss jBPM] - Re: process versioning + swimlane with pooledActors

2007-04-04 Thread kukeltje
If it realy behaves that way it is a bug. Could you make a testcase (unit test 
like all the other jbpm tests) that demonstrates the 'failing' behaviour?

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

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


[jboss-user] [JBoss jBPM] - Re: Changes don't commit on the database

2007-04-04 Thread kukeltje
please don't expect us to be clairvoyant

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 - Mailing process - Exception during deployment

2007-04-04 Thread kukeltje
hmmm.. this is to me a 'serious bug' the file is indeed not in cvs. Please file 
a jira issue for this and if possible build a testcase for this so it will not 
happen in the future

For the nullpointer, there was a jira issue on this, somethig was fixed in cvs:

Mail.java   1.6 history download7 days  tbaeyens
added null pointer check on email recipients: JBPM-850 

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

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


[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

2007-04-04 Thread shupingChen
"shupingChen" wrote : I am reading the Mastering EJB 3.0 , and I have 
encountered the same problem when I deploy the Helloworld example. I am using 
the jboss-4.0.5.GA. When I deploy the EJB to JBoss, the client code throws an 
exception showing that the examples.session.stateless.Hello is not bound. Have 
you solved this problem yet?  
  | Does anyone can tell me how to let the helloworld example work in JBoss?

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

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


[jboss-user] [JBoss jBPM] - Re: Performence

2007-04-04 Thread kukeltje
go ahead...

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

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


[jboss-user] [JBoss Messaging] - Usage of onException in clustered JBM

2007-04-04 Thread xkong
I deployed an JBoss Messaging cluster with two nodes. When the node a jms 
client connected crashed and topic was failed over  to another node smoothly. 
But at the same time a JMSException was also sent to Exception listener. Could 
any one here help me to differentiate this exception from other JMSException 
due to other reason? Thanks.

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

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


[jboss-user] [JBoss Portal] - Fetch UserId form Portal

2007-04-04 Thread Mac81
Hello,

could anyone help me?

I'm trying in vain to fetch the "userid" from the portal for my portlet 
application.
I've already tried this code
String userId = request.getParameters().getParameter("userid");
from 
http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html_single/#d0e2586 but 
it didn't work.

Has anyone an idea?

Thanks,
Mac

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

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


[jboss-user] [JBoss Messaging] - Where did my messages (sent by a SessionBean) go?

2007-04-04 Thread tonylmai
Hello,

I have a problem in my client application in receiving messages published by a 
SessionBean (EJB3). I am using JBoss Messaging with JBoss 4.0.5GA.

My client had no problem looking up the name, created a destination and then a 
MessageConsumer for the destination (queue).

None of the messages published by my SessionBean would end up in my client's 
application. My SessionBean had no problem looking up the name of the queue, 
created a destination, then created a MessageProducer for the channel, and sent 
the messages each time. 

Yet no one's home.

To be sure it was not my client, I'd created another test app (MessageProducer) 
to publish messages to this queue. These messages did arrive in my client's 
application without any problem. 

So I figured it have something to do with my SessionBean. Perhaps it was 
publishing to the wrong channel. The thing is, the same name was used and no 
exception was thrown when the lookup were performed or when the destination was 
created. No other queue were declared in the *-destination-service.xml. JBoss 
log showed the queue was created with the correct name.

Any idea on how I would go about debugging this kind of problem? 

Thanks
-tony

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Switched from JBoss 4.0.1RC1 to 4.0.5GA and app does not run

2007-04-04 Thread karanmg
Platform 1:
Windows XP, JBoss 4.0.1RC1, JDK 5

Platform 2:
Windows XP, JBoss 4.0.5GA, JDK 5

I have a quite stable application based on Struts, Webworks with a few session 
beans working without any problems on JBoss 4.0.1RC1.
I've been working to get the application working in JBoss 4.0.5GA for past 
couple of days. I want to make the switch to have a production version of JBoss 
and to make use of the simple way to set up a singleton service as well.

I've changed the tomcat web.xml in JBoss 4.0.5 to make use of JDK 5 and that 
got rid of the "source level must be 5.0" errors. Now the application login 
screen shows up and I am able to login. But when I click on a link I get the 
following error:


  | 15:45:32,327 INFO  [STDOUT] 04/04/07 15:45:32 ERROR 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/moms2].[jsp].error
 - Servlet.service() for servlet jsp threw exception
  | java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
  | at 
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1255)
  | at 
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
  | at 
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
  | at 
org.apache.jasper.runtime.PageContextImpl.doSetAttribute(PageContextImpl.java:329)
  | at 
org.apache.jasper.runtime.PageContextImpl.setAttribute(PageContextImpl.java:308)
  | at org.apache.jsp.g.include.ListVal_jsp._jspService(ListVal_jsp.java:50)
  | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
  | at 
org.apache.jsp.WorkOrder.WorkOrderDetailNew_jsp._jspService(WorkOrderDetailNew_jsp.java:350)
  | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  | at webwork.servlets.Dispatcher.service(Dispatcher.java:525)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catali

[jboss-user] [JBoss Seam] - Re: Injected SLSB not getting interceptors sometimes

2007-04-04 Thread stu2
True, and that does work of course.  But the @Logger annotation should cause 
Seam to inject this, and I would like to understand why it doesn't so when 
other interceptor-related problems come up I can figure them out.


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

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


[jboss-user] [JBoss jBPM] - pausing and resuming process

2007-04-04 Thread robroth
Is there a way to pause all timers for a specific amount of time, then resume 
exactly where I left off?  IE, 10 days until next event occurs, allow user via 
UI to select 'pause until such and such a date' anywhere in the process flow, 
then when that date arrives, it resumes the 10 day countdown?

>From what I'm reading here, it seems if you pass the 10 days while in pause, 
>as soon as you resume, the event is triggered.  We need to figure out a way to 
>do what I'm describing ASAP, any ideas or pointers would be greatly 
>appreciated.  Thanks.




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

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


[jboss-user] [JBoss Seam] - Re: Injected SLSB not getting interceptors sometimes

2007-04-04 Thread knaas
Instead of using the Logger annotation, you could try looking up the Log using 
one of the Logging static methods.

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

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


[jboss-user] [JBoss Seam] - Re: Injection of a stateless session bean (SLSB) into anothe

2007-04-04 Thread knaas
Did you try 

  | @In(create=true)
  | SimpleBean simpleBean;
  | 

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

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


[jboss-user] [JBoss Seam] - EntityConverted and EmbeddedId

2007-04-04 Thread knaas
Now that the EntityConverter has been rewritten to convert ID objects to 
Integers can the @EmbeddedId annotation now be supported?

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
Based on that finding, I hardwired the following system property 
-Djboss.remoting.version=2 and now my client is connecting alright.

Don't know if that would cause any consequences. We'll see.

Thanks


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

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


[jboss-user] [JBoss Portal] - Re: Migrate WebLogic Portal Application to JBoss

2007-04-04 Thread swestbom
If you used jpfs start over, rip your method bodies out, use Spring Portlets or 
Seam (haven't tried it).

WL Portal 8.1 is a complete ex-Microsoft developer hack.  If you used 
jsr-168 portlets and Spring you will still have to clean up the jsps a lot and 
if you used the idiotic security stuff you should encapsulate it with an 
interface (we did) and create a JACC/JAAS based implementation for JBoss as a 
bridge.

Warning JBoss Portal's navigation sucks big time.  Don't expect much from the 
*object.xml, build your own, theirs is a complete Model 1 hack with lots of 
server side java producing html and other oddities.  Really don't understand 
what they were thinking of.



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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
>From the exception thrown:
anonymous wrote : local class incompatible: stream classdesc serialVersionUID = 
-2909329895029296248, local class serialVersionUID = -4977622166779282521 

server version = -2909329895029296248 == Long.valueOf(0xd79ffbdff05ab388L);
local version  = -4977622166779282521 == Long.valueOf(0xbaebef030b02bba7L);

By looking at the code, 

public class InvokerLocator {
  | ...
  | static 
  | {
  | if(Version.getDefaultVersion() == 1)
  | serialVersionUID = 0xd79ffbdff05ab388L;  <--- server version
  | else
  | serialVersionUID = 0xbaebef030b02bba7L; <--- local version
  | }
  | }

So version from server is set to 1. Why?

public class Version {
  | ...
  | public static int getDefaultVersion()
  | {
  | return defaultByteVersion;
  | }
  | ...
  |defaultByteVersion = 22; 
<- default
  | boolean precompatibleFlag = false;
  | String precompatible = 
System.getProperty("jboss.remoting.pre_2_0_compatible");
  | if(precompatible != null && precompatible.length() > 0)
  | precompatibleFlag = 
Boolean.valueOf(precompatible).booleanValue();
  | if(precompatibleFlag)
  | {
  | defaultByteVersion = 1;  
<- set to 1
  | performVersioning = false;
  | } else
  | {
  | String userDefinedVersion = 
System.getProperty("jboss.remoting.version");
  | if(userDefinedVersion != null && userDefinedVersion.length() > 
0)
  | {
  | byte userByteVersion = (new 
Byte(userDefinedVersion)).byteValue();  <-- could be 1
  | 
  | }

So either the server is running with jboss.remoting.pre_2_0_compatible flagged 
to true or jboss.remoting.version is set to 1.

Does that sound right? 

Yet I couldn't find any reference to either one of them in the server's scripts.

Any idea?


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: J2EE perspective in JBossIDE?

2007-04-04 Thread shawnsmsu
I just reread your question above, is WTP solely responsible for the J2EE 
perspective?  I thought it was a separate component of Eclipse.  Which I 
haven't knowingly installed.

I just looked back at my original Eclipse instance and noticed it doesn't 
restructure the project in J2EE perspective -- I must have been thinking of 
WebSphere Studio (which is really just 500 plug-ins on top of Eclipse).

Regardless, the 1.6GA version of JBossIDE isn't deploying my application with 
the correct folder structure, and 2.0Beta is having errors when trying to 
create a new JBoss 4.0 server.  

At this point, I think it'll be easier to just debug by having JBoss listen for 
a remote start and just build, redeploy to see changes.

Vielen Dank!!

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

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


[jboss-user] [JBoss Seam] - Injection of a stateless session bean (SLSB) into another SL

2007-04-04 Thread trickyvail
I've set up a SLSB as follows:
@Stateless
  | @Name("simpleBean")
  | public class SimpleBean implements Simple
  | {
  | public String getName()
  | {
  | return "simple";
  | }
  | }
  | 

The "simpleBean" bean can be accessed from a EL expression on a facelets page 
without any trouble.

I have another SLSB like this:
@Stateless
  | @Name("containerBean")
  | public class ContainerBean implements Container
  | {
  | @In
  | SimpleBean simpleBean;
  | 
  | public String getName()
  | {
  | return simpleBean.getName();
  | }
  | }
However, when I try to access the getName method of "containerBean" I run into 
the following error:
Caused by: org.jboss.seam.RequiredException: In attribute requires non-null 
value: containerBean.simpleBean
  | at org.jboss.seam.Component.getValueToInject(Component.java:1919)
  | 
If I change "simpleBean" into a JavaBean provided and annotate "containerBean" 
with In(create=true) the injection works as expected, but if I create a similar 
annotation without changing "simpleBean" to a JavaBean I get an error like this:
... 95 more
  | Caused by: java.lang.IllegalArgumentException: Could not set field value by 
reflection: ContainerBean.simpleBean on: com.somedomain.stateless.ContainerBean 
with value: class org.javassist.tmp.java.lang.Object_$$_javassist_3
  | at org.jboss.seam.util.Reflections.set(Reflections.java:77)
  | at org.jboss.seam.Component.setFieldValue(Component.java:1555)
  | ... 117 more
  | Caused by: java.lang.IllegalArgumentException
  | at 
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
  | 
The seam documentation makes it clear that SLSB's live in the stateless context 
which is not included in the context search. Is this why my "simpleBean" can 
not be found for injection into my "containerBean"? I'm not familiar with how 
seam and the ejb3 container interact during instantiation of these SLSB objects 
into pools - perhaps the beans are being created out of order? Perhaps I'm 
trying to do something way beyond the intention of the EJB3 SLSB specification. 
I'm pretty much resolved that what I'm trying to do here is not a great idea. 
Is there a different way to dynamically assign a reference to a SLSB to a 
different SLSB when a method is called? I would be very interested to hear 
other peoples insight and wisdom on the subject. Thanks in advance and kind 
regards.

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

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


[jboss-user] [EJB 3.0] - Re: Startproblem at EJB-Client

2007-04-04 Thread fhh
I said:
anonymous wrote : 
  | Wildcards on the classpath are only supported in Java 6.
  | 

You said:
anonymous wrote : 
  | That's right. I have only JAVA 5. [...] But it don't work. 
  | 

Well... I'm not sure where the "but" comes from. Obviously it will not work.

Regards

Felix

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

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


[jboss-user] [EJB 3.0] - Re: Entity relationship and remove operations

2007-04-04 Thread fhh
anonymous wrote : 
  | And now deleting users works fine, but why is the schema not created 
automatically this way?
  | 

I'm not sure whether javax persitence uses the on delete cascade functionality 
of the underlying database or whether the entitymanager will "manually" delete 
ferenced entities.

Regards

Felix

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 - Mailing process - NullPointerException during

2007-04-04 Thread ygiriyap
I added a new hibernate mapping file for MailAction class.

org.jbpm.graph.action.MailAction.hbm.xml

  | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  | 
  | 
  |   
  |   
  | 
  | 

Now I could successfully deploy the process.


Wait ... BUT 

When I try to instantiate the mailing process ... am getting 
NullPointerException

  | 42156 [http-8080-Processor25] ERROR org.jbpm.webapp.bean.ProcessBean  - 
Failed to start process: org.jbpm.graph.def.DelegationException
  | org.jbpm.graph.def.DelegationException
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367)
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358)
  | at 
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:261)
  | at 
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169)
  | at org.jbpm.graph.def.Node.enter(Node.java:302)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$5e7dd3fd.enter()
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:393)
  | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
  | at org.jbpm.graph.def.Node.leave(Node.java:357)
  | at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:190)
  | at org.jbpm.graph.def.Node.enter(Node.java:318)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$5e7dd3fd.enter()
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:393)
  | at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$5e7dd3fd.leave()
  | at org.jbpm.graph.exe.Token.signal(Token.java:194)
  | at org.jbpm.graph.exe.Token.signal(Token.java:165)
  | at 
org.jbpm.webapp.bean.ProcessBean.startInstance(ProcessBean.java:162)
  | at 
org.jbpm.webapp.bean.ProcessBean$StartInstanceListener.processAction(ProcessBean.java:123)
  | at 
javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
  | at 
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:368)
  | at javax.faces.component.UIData.broadcast(UIData.java:854)
  | at 
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja

[jboss-user] [Beginners Corner] - Re: HTTP Status 405 - HTTP method GET is not supported by th

2007-04-04 Thread aurir_
I have solved the problem. There was a couple errors:

1) When creating HTTPServlet in Eclipse I checked "include doGet()" which 
automatically included statement to super.get(req, res);

2) Another error that I had was very trivial. My HTML syntax was not valid.
http://validator.w3.org/ is a great webpage to validate HTML syntax.



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

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


[jboss-user] [JBoss Messaging] - Re: killing messaging server shutsdown my app?

2007-04-04 Thread [EMAIL PROTECTED]
What I was not sure was how many server you had involved in your config.

anonymous wrote : it not only kills my messaging application but also the 
associated tomcat java app. 

What did you mean by this? That the WAR application is shut?

Well.. we don't do anything on tomcat or Log4j. You need to identify what is 
causing that. Like... messages are not arriving... you got an exception or 
something like that.



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

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


[jboss-user] [JBoss Seam] - Injected SLSB not getting interceptors sometimes

2007-04-04 Thread stu2
I'm running Seam 1.2.1, and these symptoms appear in SeamTest.

I have SLSB A which is injected via @In with SLSB B.  A seems to have all 
appropriate interceptors, and @Logger injection works fine.  A calls B.  B 
blows up upon writing to the log because the log is never initialized.  I've 
tried having B declare @Logger Log log explicitly and (in the example I'll post 
here) by extending EntityController.

Here's relevant bits of A:


  | @Name("ingestService")
  | @Stateless
  | @AutoCreate
  | public class IngestServiceImpl implements IngestService
  | {
  | @Logger static Log log;
  | @In CsvIngest ingestUtil;
  | 
  | 
  |  (in a method)
  | ingestResult = ingestUtil.ingest(feedFile, feedDefinition, 
previousFeedItems);
  | 

B will throw NullPointerException when it tries to log.  What I found odd is 
that A has all indications of receiving the interceptors, which do the 
injection.  B looks like a direct invocation (no sign of interceptors).  And I 
can's see a meaningful difference between A and B - so I'm stuck.  

Anyway, here's the relevant bits from B:


  | @Stateless
  | @Name("ingestUtil")
  | @AutoCreate
  | public class CsvIngestUtil extends EntityController implements CsvIngest 
  | {
  | 
  | ... below from the throwing method - last line is 135 referenced from 
stacktrace
  | 
  | item.setFeedItemStatus(FeedItemStatus.INSERT_REQUESTED);
  | // I put this here to test if the em was injected - it is 
because the assert doesn't throw
  | assert getEntityManager() != null : "null entity manager!";
  | System.out.println("EntityManager is not null. [" + 
getEntityManager().getClass().getName() + "]");
  | debug("Scheduling item [" + item.getUniqueInternalCode() + "] 
for insert");  // throws here
  | 

The stacktrace showing the (to me) unexpected presence/absence of interceptors 
is:


  | aused by: java.lang.NullPointerException
  | at org.jboss.seam.framework.Controller.debug(Controller.java:183)
  | at 
com.fb.core.business.ingest.CsvIngestUtil.updateItemFromPreviousData(CsvIngestUtil.java:135)
  | at 
com.fb.core.business.ingest.CsvIngestUtil.ingest(CsvIngestUtil.java:85)
  | at 
com.fb.core.business.IngestServiceImpl.processFeedImportNoPersistance(IngestServiceImpl.java:76)
  | at 
com.fb.core.business.IngestServiceImpl.processFeedImport(IngestServiceImpl.java:52)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | 

Any idea what I'm doing wrong here?  Any more info I could provide if not?

I confess I'm a bit confused by when I should expect interception.  I'm using 
SLSB more often than I would otherwise because I want @Logger and other 
interceptor services to work, but I realize this is because I don't understand 
enough yet.

Thanks,

Stu

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

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


[jboss-user] [JBoss Messaging] - Re: killing messaging server shutsdown my app?

2007-04-04 Thread ccfellows
Ok, more details then:

Java1.5 application running on Tomcat 5.0, using log4j1.2.14 JMSAppender with 
JBoss 1.2.0.GA messaging jars. We'll say its running on serverA:8080.

MDB running on JBossAS 4.0.5 with JBoss Messaging 1.2.0.GA. We'll say running 
on serverB:2020 and jndi on serverB:1099.

Both servers are linux.

if I start both the messaging and java app, the MDB picks up logs successfully 
and as expected. The problem I'm experiencing is that if I run the following 
script on serverB .../jboss/bin/shutdown.sh --server=serverB:1099, it not only 
kills my messaging application but also the associated tomcat java app. 

On shutdown, will the JMS' topics send messages to their clients' that its 
shutting down? I was under the assumption that communication was one-way only, 
from client to jms topic.

Here's the log4j.xml from my tomcat java app:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  | 
  | 
  | 

Also, here's my messaging-service.xml from the messaging/deploy folder:


  | 
  | 
  | jboss.messaging:loader=ScopedLoaderRepository
  |
java2ParentDelegation=false
  | 
  | 
  | 
  | jboss.messaging:service=ServerPeer
  | jboss.messaging:service=PostOffice
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Thanks,

Chris

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Changing Port Value in jboss-service.xml file

2007-04-04 Thread areplogle
I don't think this would cause any ill effects but you could play it safe and 
use the bindings.xml method even if its for a single server setup.


Specified in: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine



Andrew

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 metrics

2007-04-04 Thread bdecoste
Entity beans are really a different animal in EJB3 - they're just pojos. There 
is no container.

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

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


[jboss-user] [Clustering/JBoss] - Re: 2 instances/machine; redhat init script

2007-04-04 Thread areplogle
If you've setup multiple instances per machine and you know your rmi port per 
instance (I use bindings.xml to specify this) then you can do shutdown.sh -s 
jnp://localhost: 

ie. shutdown.sh -s jnp://localhost:1099   &&  shutdown.sh -s 
jnp://localhost:1199  etc


Hope this helps.


Andrew

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 metrics

2007-04-04 Thread [EMAIL PROTECTED]
Great. Thanks very much Bill. 

What about metrics on Entity beans? Are the available too, they are not 
mentioned in the JIRA.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Multiple datasources?

2007-04-04 Thread marcosH
Ok!! 

Thanks for the reply, it works fine!!

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

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


[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread gzoller
Ok, this might be a bug... 

Everything on the page was always rendered, so that wasn't it.  By process of 
elimination I identified the code causing the problem.

This worked: (action method app.setTimecardWorker was called when item changed)

  | Worker
  | 
  | 
  |
  |
  | 
  | 
  | Rate 
$
  | 
  | 
  | 
  | Hours
  | 
  | 
  | 
  | Description
  | 
  | 
  | 
  | 

This didn't (no action method was called when same item was changed)

  | Worker
  | 
  | 
  |
  |
  | 
  | 
  | Rate 
$
  | 
  | 
  | 
  | Month
  | 
  | 
  |
  | 
  | 
  | Hours
  | 
  | 
  | 
  | Description
  | 
  | 
  | 
  | 

It seems adding the second select list did something to interfere with 
a4j:support calling the action method on the first select list.  Bizarre!

Any clues?
Greg

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

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


[jboss-user] [Beginners Corner] - Re: HTTP Status 405 - HTTP method GET is not supported by th

2007-04-04 Thread aurir_
Keep in mind that when I return PLAIN TEXT:
public void doGet(HttpServletRequest request, 
  | HttpServletResponse response)
  | throws ServletException, IOException{
  | PrintWriter out = response.getWriter();
  | out.println("Hellow World");
  | }
There is no problem. I get this error only when I return HMTL:
public void doGet(HttpServletRequest request,
  | HttpServletResponse response)
  | throws ServletException, IOException{
  | super.doGet(request, response);
  | //Tell the browser that you?re sending it HTML
  | response.setContentType("text/html");
  | 
  | PrintWriter out = response.getWriter();
  | 
  | String docType =
  | "\n";
  | 
  | out.println(docType +
  | 
"\n\nHELLO\n\n");
  | }

Could that be some server settings??? I'm running JBoss 4.0

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat (Repost)

2007-04-04 Thread [EMAIL PROTECTED]
We are using jboss-remoting 2.0, that has several features needed for 
messaging, while other components are not compatible with jboss-remoting 2.0 
(aka webServices).

You could try replacing that jboss-remoting.jar by the one sent by 
jboss-messaging.sar. Maybe that will fix the problem for you, but we can't 
standardize the version yet on jboss 4.0 (we are doing it on 4.2 and 5)

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread [EMAIL PROTECTED]
We are using jboss-remoting 2.0, that has several features needed for 
messaging, while other components are not compatible with jboss-remoting 2.0 
(aka webServices).

You could try replicating that jboss-remoting.jar by the one sent by 
jboss-messaging.sar. Maybe that will fix the problem for you, but we can't 
standardize the version yet on jboss 4.0 (we are doing it on 4.2 and 5)

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-04 Thread petemuir
Chris, take a look at the seamdiscs example in Seam CVS, it shows Seam, 
Trinidad, RichFaces and Ajax4jsf working together - note that it is work in 
progess (especially regarding the tables).

I've yet to use Trinidad dialogs - I'll see if I can incorporate them into the 
example somewhere.

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread [EMAIL PROTECTED]
If you have a small example replicating your problem I could try it here.

I could of course construct one based in your description, but if you already 
have it, it would save me some time.

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

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


[jboss-user] [JBoss Messaging] - Re: killing messaging server shutsdown my app?

2007-04-04 Thread [EMAIL PROTECTED]
I can't tell for sure what's happening based in your description.

I don't even know where is your tomcat / your messaging server.

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
I looked at all the jar files relating to jboss.remoting on the server.

I found one jboss-remoting.jar resided in the server\messaging\lib (595KB, 
dated today probably because I'd just reinstalled JBoss + JBoss Messaging)

I also found another copy of jboss-remoting.jar in 
server\messaging\deploy\jboss-messaging.sar (848KB, dated 03/28/2007).

Are they supposed to be where they are? And why are they different in sizes?



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

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


[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-04 Thread chane
dj - thanks for the info on dialogs.  I am just starting to incorporate the 
trinidad dialog functionality into my app.  Couple of questions if you have the 
time:

1) Did you extend/override the Seam PhaseListener or did you incorporate 
another one into the stack?

2) Same question for the ActionListener?

I have not worked with either of these, so new stuff to learn.  Would you mind 
posting an example of the faces config for these two?

Would you have an example page/config files that you could share?

I'm reading through the Trinidad docs and have not fully incorporated all of 
the pieces yet.
  - To date I have not used navigation rules, but it looks like I must for 
dialog:something to work in the commandButton action (did you find something 
else that would work?)
  - In Trinidad's example they have 



 how to bind this to the backing bean managed by seam?  Set the value as an EL 
expression?

Welloff to play with new toys!

Thanks in advance for any help,
Chris

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

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


[jboss-user] [JBoss Messaging] - killing messaging server shutsdown my app?

2007-04-04 Thread ccfellows
I must be doing something wrong and thought one of you might shed some light.

I have an application logging (via JMS) to another server. My application is on 
tomcat and the messaging is setup with jboss messaging 1.2.0.GA.

If I either execute a ./shutdown.sh --server=msgserver:1099 or a kill -9, it 
will correctly shutdown the msging server, BUT my associated application on 
tomcat also shuts down.

Not sure what's going on and I'm not getting any log output to troubleshoot.

Have you seen this before?

Regards

Chris

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

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


[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread [EMAIL PROTECTED]
It might or might not have something to do with your issue but give it a shot. 
I still find it hard to debug what is going on.


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

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


[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread [EMAIL PROTECTED]
What I was falling over a lot was that the reRender attribute really has to 
name a component that is _always_ rendered. So no  or . Only  works.


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

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


[jboss-user] [JBoss jBPM] - process versioning + swimlane with pooledActors

2007-04-04 Thread yoyoyoyo
processdefinition.xml: 

Swimlane S1 with pooledActors="A1, A2"
Process Definition has 3 Tasks: T1, T2 and T3, all assigned to Swimlane S1

Problem:

step 1: 
A1 started a process instance, with T2 automatically in his pooledTasks list, 
which is the expected behaviour

step 2:
Process Definition changed (S1 changed to S1' with pooledActors="A2", i.e., A1 
is not in S1 any more) and the process definition got new version (using 
JbpmContext.deployProcessDefinition()):

step 3:
A1 completes T2

Expected: T3 in A1's pooledTasks. Because the running process instance started 
by A1 was based on the old process definition, which means that A1 should be 
able to take a part in all the three tasks T1, T2 and T3.

But T3 is not in A1's pooledTask list.  In fact, T2 was already labeled with 
the new process definition version after step 2.

Question
It seems that the change in TaskMgmt takes effect immediately and influences 
the process instances started on old process definitions. Is this a bug or an 
intention?


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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
I found a posting on this board not to use jboss-all-client.jar so I removed it 
from my computer totally. My client only used those 3 jars I mentioned.

Here is the client output. Notice the fourth jar in the list is for the client 
itself.
anonymous wrote : D:\dev\exchange\bin>java  -classpath 
..\\build\jar\exchange.jar;D:\JBoss\jboss-4.0.5.GA\client\jboss-j2ee.jar;..\\lib\jboss-messaging-client.jar;..\\lib\judots-common.jar
 com.judots.exchange.client.commandline.ExchCommandlineClient
  | 
  | Unable to connect to remote server. Exception:Unable to lookup Exchange's 
Maintenance Server. Please shutdown application and try again.
  | com.judots.exchange.api.config.ServiceLocatorException: Unable to lookup 
Exchange's Maintenance Server. Please shutdown application and try again.
  | at 
com.judots.exchange.api.config.admin.ExchangeAdminServiceLocator.open(ExchangeAdminServiceLocator.java:26)
  | at 
com.judots.exchange.client.commandline.ExchAppController.init(ExchAppController.java:54)
  | at 
com.judots.exchange.client.commandline.ExchCommandlineClient.run(ExchCommandlineClient.java:89)
  | at 
com.judots.exchange.client.commandline.ExchCommandlineClient.main(ExchCommandlineClient.java:137)
  | 
  | Caused by: javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class 
incompatible: stream classdesc serialVersionUID = -2909329895029296248, local 
class serialVersio
  | nUID = -4977622166779282521]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
com.judots.exchange.api.config.admin.ExchangeAdminServiceLocator.open(ExchangeAdminServiceLocator.java:24)
  | ... 3 more
  | 
  | Caused by: java.io.InvalidClassException: 
org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc 
serialVersionUID = -2909329895029296248, local class serialVersionUID = 
-4977622166779282521
  | at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
  | at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
  | at java.io.ObjectInputStream.readClassDesc(Unknown Source)
  | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  | at java.io.ObjectInputStream.readObject0(Unknown Source)
  | at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  | at java.io.ObjectInputStream.readSerialData(Unknown Source)
  | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  | at java.io.ObjectInputStream.readObject0(Unknown Source)
  | at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  | at java.io.ObjectInputStream.readSerialData(Unknown Source)
  | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  | at java.io.ObjectInputStream.readObject0(Unknown Source)
  | at java.io.ObjectInputStream.readObject(Unknown Source)
  | at java.rmi.MarshalledObject.get(Unknown Source)
  | at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:653)
  | ... 6 more
  | 
  | D:\dev\exchange\bin>

I agree that it is highly an err on my client's end. I just can't figure out 
where it could be.

Thanks

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

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


[jboss-user] [JBossWS] - I got follow exception

2007-04-04 Thread KoniKoni
22:12:26,755 INFO  [EARDeployer] Init J2EE application: 
file:/home/kostja/IT/jboss-4.0.5.GA/server/default/deploy/laolaWS.ear
  | 22:12:29,197 INFO  [Ejb3Deployment] EJB3 deployment time took: 26
  | 22:12:29,992 INFO  [TomcatDeployer] deploy, ctxPath=/laolaWS-laolaWS-ejb, 
warUrl=.../tmp/deploy/laolaWS.ear-laolaWS-ejb.jar-ws64404.war/
  | 22:12:30,095 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU 
with dependencies:
  | 22:12:30,095 INFO  [JmxKernelAbstraction]   
jboss.jca:name=mysqllaola,service=DataSourceBinding
  | 22:12:30,104 WARN  [ServiceController] Problem starting service 
persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU
  | javax.naming.NameNotFoundException: mysqllaola not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:240)
  | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy101.start(Unknown Source)
  | at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
  | at 
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467)
  | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317)
  | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |  

[jboss-user] [EJB/JBoss] - Invoking equals() on EJB

2007-04-04 Thread fastbob
Got a hopefully simple question: If I have an ejb, is there any reason why I 
shouldn't call ejb.equals( "foo") and get false? In JBoss 4.0.1 and I think 
4.0.4 a ClassCastException is thrown in isIdentical() because "foo" is not an 
EJBLocalObject.

Bob

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

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


[jboss-user] [EJB/JBoss] - accessing EJBs in isolated ear's

2007-04-04 Thread pri20
Hi,

I'm using Jboss 4.0.2. The environment I am working in has the Isolation and 
CallByValue set to true in the ear-deployer.xml. Additionally, we have 
configured ALL our EJB's and JNDI lookups to use RMI over http/https. 

I'm trying to deploy 2 ear's EARA and EARB containing 2 stateless session beans 
SessionA and SessionB respectively. I want SessionA/EARA to access 
SessionB/EARB. When I try to do the SessionB lookup from SessionA it fails with 
the exception below


13:32:40,925 INFO  [STDOUT] java.rmi.ServerException: EJBException:; nested 
exception is: 
javax.ejb.EJBException: Invalid invocation, check your deployment 
packaging, method=public abstract temp.SessionBObject 
temp.SessionBHome.create() throws 
java.rmi.RemoteException,javax.ejb.CreateException
13:32:40,925 INFO  [STDOUT] at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:352)
13:32:40,925 INFO  [STDOUT] at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:125)
13:32:40,925 INFO  [STDOUT] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
13:32:40,925 INFO  [STDOUT] at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
13:32:40,925 INFO  [STDOUT] at 
org.jboss.ejb.Container.invoke(Container.java:894)
13:32:40,925 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
13:32:40,925 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
13:32:40,925 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
13:32:40,926 INFO  [STDOUT] at 
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
13:32:40,926 INFO  [STDOUT] at $Proxy159.create(Unknown Source)


I am also attaching relevant parts of my configuration xmls for EARA. My 
ejb-jar.xml for EARA are as follows



SessionABean
test.SessionAHome
test.SessionAObject
test.SessionABean
Stateless
Container

Reference to sessionB ears
ejb/SessionBEJB
Session
   temp.SessionBHome
temp.SessionBObject





..

and the jboss.xml for EARA is as follows


SessionABean
HTTPS Stateless SessionBean


a-stateless-http-ssl-invoker



ejb/SessionBEJB
jnp://localhost:1099/SessionBBean


...

Additonally, I am a bit confused with the   element in the jboss.xml 
above. I tried to use the same lookup I use in my ejb clients viz. 
http://localhost:8080/invoker/JNDIFactory/SessionBEJB

but it gives a

javax.naming.NamingException: Could not dereference object [Root exception is 
javax.naming.NameNotFoundException: http: not bound]
 
The code I use to do the lookup is as follows:


  | Context testcontext = new InitialContext();
  | Object objref = testcontext.lookup("java:comp/env/ejb/SessionBEJB");
  | SessionBHome home = PortableRemoteObject.narrow(objref,
  | _SessionBHome.class);
  | 

Can anyone point out what I am doing wrong or is it even possible to access 
EJBs across isolated EAR's.

Thanks.
Priya 



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

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

[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread [EMAIL PROTECTED]
By default you have JRMP.. you would have to change standardjboss.xml to change 
the invoker used.

Don't you have the regular jboss-all-client.jar in your client-classpath for 
that EJB?

If you have jboss-messaging-client.jar as the first one on the list of your 
classPath you will probably have this working.

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

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


[jboss-user] [JBoss Seam] - Anybody else experience a4j:support *not* calling action met

2007-04-04 Thread gzoller
Anybody had issues with a:support being flaky, specifically not calling the 
action/actionListener method when it should?

I have the code below and session.hey is never called.  FWIW I tried with and 
w/o the ajaxSingle attribute.  Everything is rendered as expected w/proper 
values in the pull-down list, etc., and the "value" (workerName) is correctly 
set.  I've also tried onblur as the event.

Weird thing is I have another screen with virtually identical code except on a 
 field--and the action method is called.  Hmm...

Thanks,
Greg


  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
How would I find out which Invoker I used? I took the default that came with 
JBoss 4.0.5GA. My EJBs does not declare any Invoker and so do my ejb config 
files.

I searched JBoss's output and found the following:

anonymous wrote : 
  | 12:54:19,531 INFO  [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://192.168.1.101:3873/]
  | 12:54:45,562 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/http-invoker.sar/invoker.war/
  | 12:55:07,625 WARN  [BisocketClientInvoker] Unable to send ping: shutting 
down PingTimerTask

Do those mean anything to you?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Can Seam do AJAX within AJAX?

2007-04-04 Thread j99976
Wow thanks for the fast replies, thats amazing!

Thats great to know that I'm on the right track, I would have hated to spend a 
couple of days evaluating and then hitting a snag, so I'm grateful.

I am definitely leaning towards Seam, I have had great success with Hibernate, 
so hopefully this will be the same. Our current product also uses Struts, which 
meant a lot of coding, so I'm looking for something that reduces coding as much 
as possible, and allows us to develop rich frontends beyond what struts allows.

Once again, I appreciate the help, I will be sure to check out the ajax4jsf 
forum as well.

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread [EMAIL PROTECTED]
Are you using UnifiedInvoker in your EJB?

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

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


[jboss-user] [JBoss Seam] - Yet another JBPM + Seam question

2007-04-04 Thread viniciuscarvalho
Hello there! I'm still confused about this integration. I've read the post from 
fady.matar http://jboss.org/index.html?module=bb&op=viewtopic&t=105036 And I 
believe I have a similar question. Gavin helped me out few days ago, but I 
still have a problem here. I'm using jbpm-console and the same datasource for 
my seam-application. I'll use the jbpm-console to deploy my process.
I'm using jbpm 3.2, seam 1.2.1, jboss 4.0.5.GA. 
But When I try to start a process (which is already in the PROCESSDEFINITION 
table)  I get this exception:

Any idea folks?

Best regards

  | 
  | 16:49:21,460 INFO  [STDOUT] Hibernate: select processdef0_.ID_ as ID1_282_, 
processdef0_.NAME_ as NAME3_282_, processdef0_.DESCRIPTION_ as DESCRIPT4_282_, 
processdef0_.VERSION_ as VERSION5_282_, processdef0_.ISTERMINATIONIMPLICIT_ as 
ISTERMIN6_282_, processdef0_.STARTSTATE_ as STARTSTATE7_282_ from 
JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by 
processdef0_.VERSION_ desc limit ?
  | 16:49:21,502 INFO  [STDOUT] Hibernate: insert into JBPM_TOKEN (VERSION_, 
NAME_, START_, END_, NODEENTER_, NEXTLOGINDEX_, ISABLETOREACTIVATEPARENT_, 
ISTERMINATIONIMPLICIT_, ISSUSPENDED_, LOCK_, NODE_, PROCESSINSTANCE_, PARENT_, 
SUBPROCESSINSTANCE_) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  | 16:49:21,689 INFO  [STDOUT] Hibernate: insert into JBPM_PROCESSINSTANCE 
(VERSION_, KEY_, START_, END_, ISSUSPENDED_, PROCESSDEFINITION_, ROOTTOKEN_, 
SUPERPROCESSTOKEN_) values (?, ?, ?, ?, ?, ?, ?, ?)
  | 16:49:21,692 INFO  [STDOUT] Hibernate: select 
definition0_.PROCESSDEFINITION_ as PROCESSD4_1_, definition0_.ID_ as ID1_1_, 
definition0_.NAME_ as NAME3_1_, definition0_.ID_ as ID1_294_0_, 
definition0_.NAME_ as NAME3_294_0_, definition0_.PROCESSDEFINITION_ as 
PROCESSD4_294_0_, definition0_.STARTTASK_ as STARTTASK5_294_0_, 
definition0_.CLASS_ as CLASS2_294_0_ from JBPM_MODULEDEFINITION definition0_ 
where definition0_.PROCESSDEFINITION_=?
  | 16:49:21,861 ERROR [SeamPhaseListener] uncaught exception
  | javax.faces.el.EvaluationException: Exception while invoking expression 
#{manager.registrarCadastroCliente}
  | at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:106)
  | at org.jboss.seam.core.Pages.callAction(Pages.java:466)
  | at org.jboss.seam.core.Pages.enterPage(Pages.java:275)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:242)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:193)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:57)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java

[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
I must have gone mad. I mistyped the second posting.

My JMS client had NO problem publishing to the server. It's EJB client that HAD 
problem looking up an EJB remote.

anonymous wrote : I have another tester that uses pure JMS and this client had 
problem starting up and publishing messages to the JBoss server. 
  | 


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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
It did sound suspicious. Yet my client referenced only 3 jar files two of which 
are JBoss's (jboss-j2ee.jar and jboss-messaging-client.jar). jboss-j2ee.jar is 
picked it up from jboss.home\client while jboss-messaging-client.jar is from 
jboss-messaging-1.2.0.sp1 installed directory. The 3rd jar is my application 
which includes the EJB beans. I opened this jar and it had no JBoss's classes 
in it.

On the hand, I ran the jboss-messaging-1.2.0.sp1\example\stateless which did a 
sessionbean lookup and that ran successfully.

Any idea?

Thanks

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 metrics

2007-04-04 Thread bdecoste
See http://jira.jboss.com/jira/browse/EJBTHREE-825

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

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


[jboss-user] [JBoss Seam] - problem with s:convertEntity and h:selectManyListbox

2007-04-04 Thread Vitalik
I have trouble with . On my display appear error message: 
"Conversion Error setting value '1 2' for '#{resourceCatalog.resources}'."
My env:
JBoss 4.0.5
JBoss Seam 1.2.1.GA
Sun RI 1.2_04

I have two entity bean: Resource and ResourceCatalog:

  | @javax.persistence.Entity
  | @javax.persistence.Table(name = "RESOURCE_CATALOG")
  | @javax.persistence.NamedQuery(name = "ResourceCatalog.findAll", query = 
"select resourceCatalog from ResourceCatalog AS resourceCatalog")
  | public class ResourceCatalog
  | implements java.io.Serializable, Comparable
  | {
  | 
  | private static final long serialVersionUID = 4982628439420436925L;
  | 
  | // --- Attribute Definitions 
  | 
  | private java.lang.String name;
  | private java.lang.String description;
  | private java.lang.Long id;
  | 
  | 
  | // - Relationship Definitions ---
  | 
  | private java.util.Set resources = new 
java.util.TreeSet();
  | 
  | 
  | @javax.persistence.Column(name = "NAME", nullable = false, insertable = 
true, updatable = true)
  | public java.lang.String getName()
  | {
  | return name;
  | }
  | 
  | 
  | public void setName(java.lang.String value)
  | {
  | this.name = value;
  | }
  | 
  | @javax.persistence.Column(name = "DESCRIPTION", nullable = false, 
insertable = true, updatable = true)
  | public java.lang.String getDescription()
  | {
  | return description;
  | }
  | 
  | 
  | public void setDescription(java.lang.String value)
  | {
  | this.description = value;
  | }
  | 
  | 
  | @javax.persistence.Id
  | @javax.persistence.GeneratedValue(strategy = 
javax.persistence.GenerationType.AUTO)
  | @javax.persistence.Column(name = "ID", nullable = false, insertable = 
true, updatable = true)
  | public java.lang.Long getId()
  | {
  | return id;
  | }
  | 
  | 
  | public void setId(java.lang.Long value)
  | {
  | this.id = value;
  | }
  | 
  | @javax.persistence.ManyToMany()
  | @javax.persistence.JoinTable
  | (
  | name = "RESOURCE_CATALOGS2RESOURCES",
  | joinColumns = [EMAIL PROTECTED](name = "RESOURCE_CATALOG_IDC", 
referencedColumnName = "ID")},
  | inverseJoinColumns = [EMAIL PROTECTED](name = "RESOURCE_IDC", 
referencedColumnName = "ID")}
  | )
  | public java.util.Set getResources()
  | {
  | return this.resources;
  | }
  | 
  | /**
  |  * Set the resources
  |  *
  |  * @param resources
  |  */
  | public void setResources (my.model.resource.Resource> resources)
  | {
  | this.resources = resources;
  | }
  | 
  | ..
  | 
  | }
  | 

  | @javax.persistence.Entity
  | @javax.persistence.Table(name = "RESOURCE")
  | @javax.persistence.Inheritance(strategy = 
javax.persistence.InheritanceType.JOINED)
  | @javax.persistence.NamedQuery(name = "Resource.findAll", query = "select 
resource from Resource AS resource")
  | public class Resource
  | implements java.io.Serializable, Comparable
  | {
  | 
  | private static final long serialVersionUID = 265906204510520252L;
  | 
  | private java.lang.String name;
  | private java.lang.String description;
  | private java.lang.Long id;
  | 
  | 
  | private java.util.Set resourceCatalogs = new 
java.util.TreeSet();
  | 
  | @javax.persistence.Column(name = "NAME", nullable = false, insertable = 
true, updatable = true)
  | public java.lang.String getName()
  | {
  | return name;
  | }
  | 
  | public void setName(java.lang.String value)
  | {
  | this.name = value;
  | }
  | 
  | @javax.persistence.Column(name = "DESCRIPTION", nullable = false, 
insertable = true, updatable = true)
  | public java.lang.String getDescription()
  | {
  | return description;
  | }
  | 
  | public void setDescription(java.lang.String value)
  | {
  | this.description = value;
  | }
  | 
  | 
  | @javax.persistence.Id
  | @javax.persistence.GeneratedValue(strategy = 
javax.persistence.GenerationType.AUTO)
  | @javax.persistence.Column(name = "ID", nullable = false, insertable = 
true, updatable = true)
  | public java.lang.Long getId()
  | {
  | return id;
  | }
  | 
  | public void setId(java.lang.Long value)
  | {
  | this.id = value;
  | }
  | 
  | 
  | @javax.persistence.ManyToMany(mappedBy = "resources")
  | public java.util.Set 
getResourceCatalogs()
  | {
  | return this.resourceCatalogs;
  | }
  | 
  | public void setResourceCatalogs 
(java.util.Set resourceCatalogs)
  | {
  | this.resourceCatalogs = resourceCatalogs;
  | }
  | 
  | 
  | .
  | 
  | }
  | 
Snippet from component

[jboss-user] [JBoss Seam] - Seam / Hibernate adds extra foriegn keys?

2007-04-04 Thread dustismo
Hello,

I notice that seam adds extra foreign keys to my database models.  I have 
carefully set up the proper cascade options to my foreign key associates, but 
then when I start my seam app it adds overlapping foreign keys with no cascade 
options.  I'd like seam to skip this, I'm sure there is a configuration option 
somewhere but I haven't found it.  

My app was created with the latest seam-gen with jboss AS and mysql db.

Thanks much,
Dustin

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Cant find JBoss 3.2.x in the debug configurations

2007-04-04 Thread dmaddi
There is nothing wrong with the IDE, the tutorial is not udpated for the latest 
IDE release.

If you are facing problems to create a server and deploy the app you can check 
out the below steps.

Creating a server configuration for first time

1. Click on JBoss AS icon  OR switch to JBoss AS perspective.
2. Click on New server 
3. Select JBoss Inc/JBoss AS 4.0(if you are creation version 4.x server), 
   and enter the server name(default is localhost) and click Next
4. Enter the name for the runtime to be used for the server, the home directory 
for the server.
   Select the default configuration after entering the details and click Next   
   (A successful runtime is created which can be used by mulitple server's)
5. Enter the server name and click Next
6. Click Finish and test the server by starting it.

Deploying the Application on server
---
1. Select the ear(FiboApp.ear) file instead of project(Tutorial) and right 
click, select Run As/Run on Server
2. You can select the server created in previous step and click Next.
3. You can see the ear file on RHS and cick Finish to deploy it on server.
4. Access the deployed app i.e http://localhost:8080/fibo/



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: J2EE perspective in JBossIDE?

2007-04-04 Thread [EMAIL PROTECTED]
Ok so now I'm confused :)

Could you please show me a screenshot of what you say were available in earlier 
versions that now is removed ?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Deploy EAR from IDE rel 2.0?

2007-04-04 Thread dmaddi
I also faced the same problem but figured out the way to deploy it.
You can select the EAR file and Right Click and Run on it server to deploy it.

Check the below steps to create the server and deploy an ear on it.

Creating a server configuration for first time
---
1. Click on JBoss AS icon  OR switch to JBoss AS perspective.
2. Click on New server 
3. Select JBoss Inc/JBoss AS 4.0(if you are creation version 4.x server), and 
enter the server name(default is localhost) and click Next
4. Enter the name for the runtime to be used for the server, the home directory 
for the server. Select the default configuration after entering the details and 
click Next   
5. Enter the server name and click Next
6. Click Finish and test the server by starting it.

Deploying the Application on server
---
1. Select the ear(FiboApp.ear) file instead of project(Tutorial) and right 
click, select Run As/Run on Server
2. You can select the server created in previous step and click Next.
3. You can see the ear file on RHS and cick Finish to deploy it on server.
4. Access the deployed app i.e http://localhost:8080/fibo/

Thanks,
Dilip

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread [EMAIL PROTECTED]
You must have some classPath problem.

You probably have an older version of JBossRemoting in your client classpath 
somehow.

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

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


[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-04 Thread fady.matar
Thanks for the suggestion. I'll give it a try

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

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


[jboss-user] [JBoss Seam] - Re: jBPM integration question

2007-04-04 Thread fady.matar
I got your point, will give it a try. Thanks for the suggestion

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

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


[jboss-user] [EJB/JBoss] - MDB listening a Queue in another JBoss instance

2007-04-04 Thread fidi
Hi! I´d like to make a MDB to listen messages from a Queue that was bound by 
another JBoss instance. I´d like some help with it.

Thanks!

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

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

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


[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

2007-04-04 Thread tonylmai
I'd like to clarify that this client app threw the exception while looking up 
an EJB remote.

I have another tester that uses pure JMS and this client had problem starting 
up and publishing messages to the JBoss server.

Thanks



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

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


[jboss-user] [JBoss jBPM] - 3.2 scheduler in ear

2007-04-04 Thread brittm
I'm feeling a bit stupid here.  I'm running the 3.2 ear out of 
jbpm-jpdl-suite-3.2.GA under the example server, but the scheduler isn't 
running.  And well, I don't know how to make it run.  

Yes, the example server comes with the WAR configured to run independently--and 
the servlet starts the scheduler properly, but the EAR, naturally, doesn't use 
that particular WAR or the servlet, and doesn't process timers.

So, somebody please tell me that I accidentally deleted something or didn't 
configure something.  If it really isn't working in the release, I'll create a 
JIRA issue.

Thanks,
Britt

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: J2EE perspective in JBossIDE?

2007-04-04 Thread shawnsmsu
No, not using WTP

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

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


[jboss-user] [EJB 3.0] - Re: ejb 3.0 optimistic locking problem

2007-04-04 Thread bdecoste
What line is CountFasadeBean.update(CountFasadeBean.java:45)?? Is the injection 
failing?

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

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


[jboss-user] [JBoss Seam] - Re: Can Seam do AJAX within AJAX?

2007-04-04 Thread [EMAIL PROTECTED]
It sounds to me like what you want is basically never trigger navigation. AFAIK 
you can do that if you never call an action method (only action event listener 
methods) and if you use ajax4jsf form submits and reRender links.


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 - Mailing process - Exception during deployment

2007-04-04 Thread ygiriyap
Hi Ronald ... np.

I appreciate the spirit with which you have been answering the questions in the 
forum.Your replies have helped many and saved a lot of time.

Meanwhile I found the issue. MailAction class which extends form the Action 
class doesnt have its corresponding hibernate mapping class.After tweaking few 
things I could deploy the process ... but couldnt instantiate it.

Will post the solution once I get this working.

Many thanks for you time.

--Yash


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

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


  1   2   3   >