[jboss-user] [EJB 3.0] - Re: Stateful bean keep-alive

2009-05-17 Thread xmedeko
Hello Peter,

thanks for your reply. 

"PeterJ" wrote : Don't set removalTimeoutSeconds, use idleTimeoutSeconds 
instead. ... 

unfortunately, our session bean cannot be serialized from various reasons. I am 
moving an existing, a little bit larger, application into JBoss. It would be 
not easy to make it serializable. (Maybe in the future I will have to do it 
anyway.)

"PeterJ" wrote : Creating a new client thread might work, but you have to be 
careful. First, the thread must not lookup the EJB itself - you will end up 
with a new EJB, not with the one that you want to keep alive. Therefore, you 
must pass the bean's proxy to the thread. Second, I recommend creating a 
separate method on the EJB that does nothing - the primary purpose of this 
method is for the extra thread to occasionally call it. This should guarantee 
that the state of the bean does not change inadvertently.

Yes, that what I have already done :-)

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

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


[jboss-user] [JBossWS] - Re: ERROR [STDERR] javax.naming.NameNotFoundException: RuleE

2009-05-17 Thread naveen.sachar
Hi Raj,

Are you able to resolve this error? I am stuck on the same error when I try to 
deploy  my .ear package on 5.0.1 GA JBOSS. This package gets successfully 
deployed on jboss 4.3.x.

Thanks in advance.

- Naveen

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

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


[jboss-user] [JBoss jBPM] - JBPM & Simulation

2009-05-17 Thread swatis
Can we put simulation information in process definition xml file? Can we run 
this simulation and generate the reports?

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

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


[jboss-user] [JBoss Tools (users)] - Not running in Debug Mode

2009-05-17 Thread pmsudha
Hi

without debug mode my application running but with debug mode my application 
not running.
in this same system my application ran with debug mode. but i don't know what 
is the reason for not running.

Im using JBoss Developer Studio 2.0.0.CR2

21:11:36,000 INFO  [SeamFilter] Initializing filter: 
org.jboss.seam.web.redirectFilter
21:11:36,078 INFO  [SeamFilter] Initializing filter: 
org.jboss.seam.web.exceptionFilter
21:11:36,093 INFO  [SeamFilter] Initializing filter: 
org.jboss.seam.web.multipartFilter
21:11:36,109 INFO  [SeamFilter] Initializing filter: 
org.jboss.seam.web.identityFilter
21:12:38,296 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-localhost%2F127.0.0.1-8080
21:12:43,203 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on 
ajp-localhost%2F127.0.0.1-8009
21:12:45,515 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 6m:31s:47ms
21:13:37,578 INFO  [Contexts] starting up: 
org.jboss.seam.security.ruleBasedPermissionResolver
21:14:39,125 INFO  [RuleBase] parsing rules: /security.drl
21:15:10,984 INFO  [Contexts] starting up: org.jboss.seam.security.identity
21:15:11,109 INFO  [Contexts] starting up: org.jboss.seam.web.session

up to this line printing in the console but here after no response.. what is 
the problem?

--Sudha Perumal.

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

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


[jboss-user] [JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing

2009-05-17 Thread mabimal
Thank you matthew, Thank you for your time in solving my problem.

A little confusion still existing is i m not getting, the overridden method 
commit in my code. I have extended that DBLoginIdentityModule, but not getting 
any overridden method.

So please can you provide a little more detail on



anonymous wrote : 
  | and in the overridden commit method you will be given a Subject which has 
.getPrincipals() method
  | 

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

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


[jboss-user] [Clustering/JBoss] - Re: @Clustered + @RemoteBinding(jndiBinding => org.jboss.ejb

2009-05-17 Thread jaikiran
anonymous wrote : And it was almost true, but I missed that maven plugin put 
the same jar under ear/lib folder, so even if the second jar was not listed in 
application.xml as ejb module, it was somehow took by jboss deployer.
Just a FYI - The EAR/lib folder is not expected to be scanned for deployments. 
There's a separate thread tracking this issue 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=143590

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

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


[jboss-user] [EJB 3.0] - Re: JndiUtil - assumes HA-JNDI service is installed

2009-05-17 Thread jaikiran
You haven't posted the exception stacktrace, so i can't say for sure - but I 
remember that there was a bug where if the jndi name used for injection was 
incorrect, then instead of a NameNotFoundException, this NullPointerException 
was being raised from the JndiUtil. This bug was fixed in AS 5.0. 

P.S: No matter what search term i try, i am not able to find the JIRA number 
for this.

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

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


[jboss-user] [EJB/JBoss] - EJB 3 CMP Transaction

2009-05-17 Thread ttza
I am using CMP EJB3 on Jboss 4.2, my tables are getting locked while CMP 
process is getting executed. If I use BMP then there is no such locking.

My database server is SQL Server 2005 and I have the following settings in the 
persistance.xml file

  | 
  | java:/fooDS
  | 
  | 
  | 
  | 
  | 
  | 

As above mention i did have isolation set up to Read_commited but still iam 
unable to do any query on the table if they are used in CMP process.

Just for information we recently migrated our transaction from hibernate to 
EJB3  and in the process we upgraded jboss from 4.0 - 4.2 Is there any setting 
that we missed at our end .Please advise,
Our whole application seems to be falling apart because of this locking issues.

Best Regards,
Trapti




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

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


[jboss-user] [EJB/JBoss] - Re: application.xml + dependency between war and EJB

2009-05-17 Thread jaikiran
Create a application.xml with the correct order of modules. So in your case, 
list the WAR first and then the EJB jar. Then create a jboss-app.xml (if you 
don't already have one) and add the following to it:

strict

Place the jboss-app.xml in the META-INF of the EAR. This will ensure that the 
order in which the modules are listed in application.xml will be strictly 
followed.


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

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


[jboss-user] [JBoss Portal] - Parallel Portlet Processing

2009-05-17 Thread sambit_dixit
Hi All,
   Why not jboss portal provide parallel portlet processing as in Oracle 
Weblogic - Bea, WebSphere, Jetspee/Pluto. This will definitely help where there 
is a need for processing a large set of data in as many portlets in a page. 
Using ajax for portlets will still consume some more time than parallel portlet 
processing. I'm wondering if anyone has done this already using Jboss Portal or 
can we put a suggestion to include this feature in future release. 

Regards
-Sambit

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

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


[jboss-user] [Advanced Documentation] - Re: external directory location for JSP page (virtual-direct

2009-05-17 Thread margotmedia
( ) 

There is the context code that was missing

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

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


[jboss-user] [Advanced Documentation] - external directory location for JSP page (virtual-directory-

2009-05-17 Thread margotmedia
Is there a way to serve JSP content from outside the war file (without using 
symbolic links). In weblogic I can use virtual-directory-mapping to map jsp 
directory.

In jboss, I can use Context, but it  only works for static files .

JSP forward does not work. 

For example, I have added this line on the server.xml file
( ) 

I can access the jsp page directly http://localhost:8080/context/en-US/home.jsp 
it works, but when I try to access it through a servlet (controller)
http://localhost:8080/context/home.htm  I get an error 

The requested resource (/context/en-US/home.jsp) is not available.

Any idea on how to fix this.

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

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


[jboss-user] [Clustering/JBoss] - Re: Session replication with sticky session

2009-05-17 Thread sureshrk19
Hi Sushant,

The problem I'm facing is; 
when I enable sticky session (in workers. properties) then session replication 
doesn;t work as expected.
i.e., when I shutdown "node1" (all the requests are going to this node till 
now0 then, the next request from browser (thru apache/mod_jk) fos to "node2" 
but, the code which tries to read session data was set by "node1" is null.
eg: I stored username/pwd (on login) in session (thru node1) but, when I try to 
retrieve the same data from node2 returns null.

My understanding is: when we enable session stickiness; the session data might 
be cached at "node1" (may be for better perf.).. and the same is tied to 
"node1" forever.  I'm not sure on this.. I may be wrong. I'm stuck at this 
point now.

session stickiness works fine for me.
Also, when I disable session stickiness, session replication works fine i.e., 
the requests are going to random nodes with full session data.

Thanks,
Suresh

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

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


[jboss-user] [Clustering/JBoss] - Re: @Clustered + @RemoteBinding(jndiBinding => org.jboss.ejb

2009-05-17 Thread smolin
Unfortunatelly it was my mistake. I was pretty sure there is no second ejb 
component deployed. And it was almost true, but I missed that maven plugin put 
the same jar under ear/lib folder, so even if the second jar was not listed in 
application.xml as ejb module, it was somehow took by jboss deployer. After 
fixing this seems it works.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: distributed application

2009-05-17 Thread vphagura
Please note that I changed my packaqe name to 'reservator' instaed of 
'reservation', as I wanted to try this clean in a new project.

Here is the changed code for 'fetchRemoteObject'

 private Reference fetchRemoteObject(String key, String clsName ) throws 
NamingException
  | {
  | Reference ret = null;
  | if( cache.containsKey( key ))
  | {
  | ret = (Reference) cache.get( key );
  | log.info( "Got it from CACHE..." );
  | }
  | else
  | {
  | if( ctx != null )
  | {
  | log.info(clsName );
  | ret = (Reference) ctx.lookup( "reservator/" + clsName + 
"/remote");
  | if( ret != null )
  | {
  | cache.put( key, ret );
  | log.info("CLASSNAME: " + ret.getClassName());
  | Enumeration en = ret.getAll();
  | while( en.hasMoreElements() )
  | {
  | RefAddr addr = (RefAddr) en.nextElement();
  | Object obj = addr.getContent();
  | log.info("CONTENT: " + obj.toString() );
  | }
  | }
  | }
  | }
  | return ret;
  | }

I also put the -verbose:class as suggested and here is the output:

[Loaded sun.reflect.GeneratedConstructorAccessor84 from __JVM_DefineClass__]
  | [Loaded java.util.HashMap$1 from /usr/share/jdk1.6.0_10/jre/lib/rt.jar]
  | [Loaded org.apache.coyote.http11.Http11Processor from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.InputBuffer from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.InputFilter from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.OutputBuffer from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.OutputFilter from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.buf.MessageBytes$MessageBytesFactory from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.http.MimeHeaders from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.http.MimeHeaderField from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.buf.UDecoder from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.http.Cookies from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.http.ServerCookie from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.collections.MultiMap from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.http.Parameters from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.collections.MultiMap$Field from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.InternalInputBuffer from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer 
from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.Response from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.InternalOutputBuffer from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded 
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.filters.IdentityInputFilter from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.filters.IdentityOutputFilter from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb.jar]
  | [Loaded org.apache.coyote.http11.filters.ChunkedInputFilter from 
file:/home/vphagura/jboss-4.2.3.GA/server/reservator/tmp/deploy/tmp62616jbossweb

[jboss-user] [EJB/JBoss] - Re: application.xml + dependency between war and EJB

2009-05-17 Thread betounisul
jboss-4.2.3.GA

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Assigning the same port for web server and naming

2009-05-17 Thread PeterJ
What version of JBoss AS?

See if this helps: 
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch3.chapter.html#d0e9164

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

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


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-17 Thread PeterJ
The info you posted does not have anything to do with this issue.

4.2.2 will run fine *IF* the stray JAR file matches what 4.2.2 uses.  The 
-verbose:class option is still the best way to track this down.

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

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


[jboss-user] [Advanced Documentation] - Re: JBoss Closing connection

2009-05-17 Thread PeterJ
Given that the default max connection count for a data source is 20, I would 
guess that you are using a new connection for each record. Your code should, 
instead, get only one connection and use it for all of the records.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: distributed application

2009-05-17 Thread PeterJ
I cannot see anything obviously wrong, especially since the code works in a 
standalone client.

In fetchRemoteObject, after the lookup, cast the object to 
javax.naming.Reference (should work because the exception said that the object 
is of that type), and then use a for loop to examine the results from calling 
Reference.getAll(), and also log the value of Reference.getClassName(). Maybe 
that will give a clue as to what is going on.

Another thing to try is add -vebose:class to the JAVA_OPTS in the run script. 
This will print out each class loaded and its JAR file. It would be interesting 
so see from where the FlightReservationAccessorRemote  interface gets loaded.

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

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


[jboss-user] [Clustering/JBoss] - Re: Session replication with sticky session

2009-05-17 Thread sushant.g1
Hi Suresh,

I've been trying the same thing over. I think removing sticky session attribute 
in your workers.properties file makes the http request independent of the node 
it earlier went to.If you already have session replication implemented, then 
this should work fine.

Although I've been having problem implementing session replication in any way. 
My cluster instances work fine independently, nodes discover each other and 
understand that they are clustered. But I need some help regarding HTTP session 
state replication.

Can you please let me know if you are using a EJB based application or a simple 
war file?

Regards,
Sushant

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

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


[jboss-user] [Clustering/JBoss] - Re: @Clustered + @RemoteBinding(jndiBinding => org.jboss.ejb

2009-05-17 Thread smolin
summary deployment error related to what I described before:

DEPLOYMENTS IN ERROR:
  Deployment 
"jboss.j2ee:ear=prototype_ear-0.1-SNAPSHOT.ear,jar=prototype_server_communication_ejb-0.1-SNAPSHOT.jar,name=ServerCmdExecutorBean,service
=EJB3" is in error due to the following reason(s): 
org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Cannot install 
org.jboss.ejb3.proxy.clu
stered.factory.session.stateless.statelesssessionclusteredproxyfact...@565388 
under name "ProxyFactory/prototype_ear-0.1-SNAPSHOT/ServerCmdExecutorBea
n/prj/ServerCmdExecutor/remote/DefaultPartition" as there is already an 
existing object there: org.jboss.ejb3.proxy.clustered.factory.session.
stateless.statelesssessionclusteredproxyfact...@1381d19



And of course there are no two jars or ears with the same ejb deployed in 
jboss. This only happens when I use both annotation: @Clustered and 
@RemoteBinding.

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

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


[jboss-user] [Clustering/JBoss] - @Clustered + @RemoteBinding(jndiBinding => org.jboss.ejb3.co

2009-05-17 Thread smolin
I got problem when deploy some ejb in clustered environemnt:
JBoss 5.1.0.CR1 (same in 5.0.0.GA), JDK 1.6

I deploy ejb 3.0 stateless bean (ejb jar included in ear file):

@Clustered(partition= "DefaultPartition")
@Remote
@RemoteBinding(jndiBinding="prj/ServerCmdExecutor/remote")
public class ServerCmdExecutorBean implements CmdExecutor {
...


and gets error:

java.lang.RuntimeException: 
org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register 
org.jboss.ejb3.proxy.clustered.factory.sess
ion.stateless.statelesssessionclusteredproxyfact...@565388 under an already 
registered key, "ProxyFactory/prototype_ear-0.1-SNAPSHOT/ServerCmdExecutor
Bean/prj/ServerCmdExecutor/remote/DefaultPartition" for EJB 
ServerCmdExecutorBean
at 
org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:245)
at 
org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase.createJndiReferenceBindingSet(JndiClusteredSessionRegistrarB
ase.java:213)
at 
org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:148)
at 
org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:208)
at 
org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:522)
at 
org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:186)
at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
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:597)



If I remove @RemoteBinding then it works but I get default name mapping which 
is ear name related (and is not good for me).
It also work if this ejb is not clustered. What can be wrong, am I missing 
something or there can be some bug?

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

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


[jboss-user] [JBoss jBPM] - Re: Global Actions

2009-05-17 Thread kukeltje
it's java

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

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


[jboss-user] [EJB/JBoss] - Re: Remote client calls problem after migration to JBoss AS

2009-05-17 Thread cwulf
Yes, the new jbossall-client.jar with the references only. I have a high 
inhibition threshold to post in this forum, so I check things like Class-Path 
several times ;-)

I found the problem: I've included my ejb-jar into my small test client to make 
available the EJB interfaces. Eclipse adds the ejb-jar dependencies to the 
Class-Path: the JBoss server libs. Seems to me, that server classes have 
overwritten the client classes.
Everything works fine, if I include the remote interfaces and client jars, only.
Stupid fault, sorry!

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

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


[jboss-user] [JBoss jBPM] - ForEachForkActionHandler with jBPM 4 ?

2009-05-17 Thread arutha29
Hi,

I am looking for the ForEachForkActionHandler with jBPM 4

The page below describes with jBPM 3
http://www.jboss.org/community/wiki/ForEachForkActionHandler

Can you help me ?

Thanks !

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Assigning the same port for web server and naming

2009-05-17 Thread rona22
Hi,

Can the naming port (default 1099) and web server http port (default 8080) be 
set to the same port (8080 for example) or they must have different port 
numbers?

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

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


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-17 Thread lixun
Thank you Peter, you give me some instructions! But I don't think my classpath 
error!

In my windows platform, Jboss 4.2.2 runs OK!

But Jboss 4.2.3 and Jboss 5.0.* runs error!

Follow your instruction, I add option -verbose:gc to JAVA_OPTS in run.bat, and 
I find following information in server.log:


sun.boot.class.path=D:\jboss\lib\endorsed\activation.jar;D:\jboss\lib\endorsed\jaxb-api.jar;D:\jboss\lib\endorsed\jbossws-native-jaxws-ext.jar;D:\jboss\lib\endorsed\jbossws-native-jaxws.jar;D:\jboss\lib\endorsed\jbossws-native-saaj.jar;D:\jboss\lib\endorsed\resolver.jar;D:\jboss\lib\endorsed\serializer.jar;D:\jboss\lib\endorsed\stax-api.jar;D:\jboss\lib\endorsed\xalan.jar;D:\jboss\lib\endorsed\xercesImpl.jar;C:\Program
 Files\Java\jdk1.6.0_04\jre\lib\resources.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.6.0_04\jre\classes


I think all is OK!
Can you find sth wrong! Peter? 

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

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


[jboss-user] [Advanced Documentation] - JBoss Closing connection

2009-05-17 Thread subscribeid
Hello, im a newbie. and im learning java web application.
Im have a purchase entry jsp page in which i tried to enter more than 30 
records and submitted the page. it stucks and started to display this msg in 
console:

JBOSS CONSOLE
Closing Connections..org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6

It works fine if i insert less than 20 records in the same jsp page.
Please let me know for any tips.

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

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