[jboss-user] [JBossWS] - Re: Problem with inheritance and JBossWS

2008-12-17 Thread a.gazzarini
Hi Richard, thanks for reply!
I think that it could be better (for example) if it should be possible to 
insert the @XmlSeeAlso in the service endpoint class. 
In this way when you defining the XXX Service endpoint class you can indicate 
implicit classes that are involved in the service execution (and therefore need 
to be described in the WSDL).
Ok, this will introduce a dependency between the endpoint and the implicit 
subclass(es) but from my point of view is better than the inheritance issue...

So, for example


  | @WebService
  | @XmlSeeAlso (value=Employee.class)
  | public class XXXServiceEndpoint {
  | 
  |@WebMethod
  |public Person getPerson(){
  |  return new Employee(...);
  |}
  | }


So the Person class will be picked up automatically as part of method 
signature, while the Employee subclass will be included by the @XmlSeeAlso 
annotation.
The advantage is that the Person class is left untouched (without any 
annotation)

But unfortunately things are not working in that way...

Regards,
Andrea

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
Jason wrote:
--
Why are you using gossip? You dont need a gossip router to do TCP. Also gossip 
isn't preferable for a cache setup.
---
I am planning to use TCPPING but as it is creating problem, temporarily i am 
using Gossip.

When i use TCPPING then it is not reconnecting When network is disconnected 
from computer A then A receives new View of it's own[only 1 member A] and 
creator is also A. [So i can identify by the event that this computer is 
disconnected.]

But on network reconnect, nothing happens..No new view is received, no 
reconnection, anything (I have set shunning to true) 

 why it is behaving like this?? I read that you can use either of gossip or 
TCPPING, both are same in behavior. [Difference is one is running as 
application - GossipRouter and TCPPING is not] 

-Nachiket


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Quartz Service doesn't bind to JNDI

2008-12-17 Thread luckybird
Hi all,
I can't get Quartz to work. At first, I've created a quartzservice.sar as 
described in http://www.kouiskas.com/?page_id=19. The Service starts and is 
bound to JNDI. But if I create a CronTrigger and it's time to start this 
trigger, it complaints about ClassNotFoundException. I think, the service runs 
in a different JVM than my EAR. 

If I unpack the quartz-service into my EAR, I get a NullPointerException while 
my service class is looking up the quartz service. 

Here is my application.xml (fragments)

  | ...
  |   
  | quartz-1.6.3.jar
  |   
  |   
  | quartz-jboss-1.6.3.jar
  |   
  | ...
  | 

And here is the service that uses quartz:

  | @Service (objectName = "jboss:custom=MyOwnService", name = "MyOwnService")
  | public class MyOwnService implements MyOwnManagement {
  | 
  | @Resource(mappedName="Quartz")
  | private Scheduler sched;
  | 

How can I get quartz to work so that it can find my service? 

TIA,
Ralf.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Jboss 5 startup problem on Eclipse 3.3 and 3.4

2008-12-17 Thread kkurt
I cant startup jboos on eclipse.I deployed jboss 5 on Eclipse europe. Problem 
is when i try to start up jboss, i recieving line below,at the and of console :

"[ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA 
date=200812042120)] Started in 34s:712ms"

It says, jboss is started but at the bottom of the progress bar is still 
continue. After 10-15 seconds i am recieving this message :

"Timeout waiting for JBOSS 5.0 to start. Server did not start after 50s. "

I am getting the same problem on Eclips ganymede.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot fully start jboss server 4.2.0. on centos 5.2

2008-12-17 Thread jurerai
Could this be the reason that jboss could not start or should we look elsewhere?

Thank you,

Jure

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

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


[jboss-user] [EJB 3.0] - Re: locate services with service locator?

2008-12-17 Thread luckybird
I found my own solution:


  | @SuppressWarnings("unchecked")
  | public  T lookup(Class clazz, final String pJndiName) {
  | T cs = null;
  | String jndiName = (pJndiName == null)
  | ? jndiPrefix + clazz.getSimpleName() + "Bean/remote"
  | : pJndiName;
  | 
  | LOG.debug("Looking for "+jndiName);
  | try {
  | Object o = context.lookup(jndiName);
  | if (o == null) {
  | System.err.println("unable to find " + jndiName);
  | } else {
  | System.out.println("retrieved instance of "
  | + o.getClass().getName());
  | }
  | cs = (T) PortableRemoteObject.narrow(o, clazz);
  | 
  | } catch (NamingException e) {
  | e.printStackTrace();
  | }
  | return cs;
  | }
  | 

Errorhandling has to be improved, but this version works for me.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Doesn't redeploy on change

2008-12-17 Thread juanignaciosl
SOLVED. Certainly my fault, I had looked into 'launch configuration' but not at 
'Overview'. 

Thank you very much!!

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

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


[jboss-user] [JBoss jBPM] - Re: SLSB + JBPM Rollback

2008-12-17 Thread AmiraTalbi
Hi kukeltje; 
Thanks for your reply. 

I'm using JBPM3.2.2 and I checked out project from SVN to change the hbm files 
us mentionned. 

My transaction schema is :
- I'm receinving messages from asynchronous systems via an MDB, the MDB 
dispatches the message to a session Bean that fire the process instance to move 
to next state, from that, the process is entering a fork node with 2 
transistions. I throwed an exception in one of that transitions. So when the 
exception is thrown, exception handler is invoqued + a rollback from the lower 
level of the transaction. 


- Process action handlers use a SLSB to do the business logic and this SLSB is 
injecting other ones 

Hope that I was clear in my description 
Thkx in advance

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
anonymous wrote : BTW, if you pull the cable long enough for a network 
split/partition to occur, and later reconnect the cable, then you will trigger 
a mergeview, which JBoss Cache does not handle (you have to handle the 
condition in application code via a cache listener). 

Using ViewChanged event???

anonymous wrote : Part of the reason this is not handled to date is that it can 
not correctly merge the state without having application specific knowledge. As 
an example, if both split groups updated the same key/value, which one do you 
take?

So what i should do?? Stop and Start cache??? I think thats look like only 
option,  i am unable to find something like .merge() or .update(View/Address)  
etc?


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

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


[jboss-user] [JBoss jBPM] - Re: SLSB + JBPM Rollback

2008-12-17 Thread AmiraTalbi
Sorry, I'm using JBPM 3.2.3 

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

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


[jboss-user] [JCA/JBoss] - How can persist JCA Mbean's attributes using PersistenceMan

2008-12-17 Thread makas
Hi all. 
I have a JCA Connector. When JBoss 4.2.2 GA  is started it made four beans for 
this connector:
   1)jboss.jca:name='rarname.rar', service=RARDeployment
   2)jboss.jca:name='myJndiname', service=ConnectionFactoryBinding
   3)jboss.jca:name='myJndiname', service=ManagedConnectionFactory
   4)jboss.jca:name='myJndiname', service=ManagedConnectionPool.
 Could anyone please tell me the steps to persist the attributes for this beans 
using PersistenceManager, if it is possible.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: TcpDelegatingCacheLoader

2008-12-17 Thread lovelyliatroim
anonymous wrote : 
  | Can you not simulate this in a test or staging environment, by loading one 
server (which runs the TcpCacheServer) artificially (maybe even give it less 
memory so it has to perform GC more often) and try and lock up the other 
servers to get a thread dump? 
  | 
Will try but it wont happen this side of xmas. It will be the new year when i 
get a chance to look at this again. 

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

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


[jboss-user] [JBoss jBPM] - Re: Class Cast Exception while the BPEL Process Ends

2008-12-17 Thread dhanushgopinath
Hi,

Inorder to solve this problem, I tried upgrading my jbpm bpel instance to 1.1.1

I ran my process and now it throws a slightly different exception.

17:52:39,153 ERROR [GraphElement] action threw exception: 
org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
  | java.lang.ClassCastException: 
org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
  | at org.jbpm.svc.Services.getServiceFactory(Services.java:131)
  | at org.jbpm.svc.Services.getService(Services.java:148)
  | at org.jbpm.svc.Services.getCurrentService(Services.java:94)
  | at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:328)
  | 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)

Now its looking throwing class cast exception for the class 
EntitySchedulerServiceFactory.

Can I some how disable it, as I do not need the scheduler service in my 
application? 

If so What should be done so that I can disable it ? Will commenting of the 
line 


in jbpm.cfg.xml suffice ?

Please let me know.

Thanks 
Dhanush

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Jboss 5 startup problem on Eclipse 3.3 and 3.4

2008-12-17 Thread PeterJ
Correction - you can start JBoss AS 5.0.0.GA - you even posted the evidence 
that it started. The problem is that Eclipse is not recognizing that it 
started, which makes it an Eclipse problem.

Do you have JBoss Tools installed into Eclipse? If not, please do so, it 
appears to be able to handle JBoss AS 5.0.0.GA correctly (reports it as 
"Started").

If you do not have JBoss Tools installed, then you should ask this question in 
an Eclipse forum.

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

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


[jboss-user] [JCA/JBoss] - Re: How can persist JCA Mbean's attributes using Persistenc

2008-12-17 Thread PeterJ
Why would you want to persist the attributes for those beans? What do you think 
that will buy you? What is the use case for this?

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JMX bean creating InitialContext: Works from JMX consol

2008-12-17 Thread dasmith836
Still haven't found a solution to this - any love here?

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

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


[jboss-user] [Beginners Corner] - Secure EJBs and Webservices

2008-12-17 Thread OrangeMetallicFrog
Hi all,

I've got an EJB that I have managed to secure using LDAP.  I've got a 
standalone client that can connect, login and invoke methods on the EJB.  
That's all good.

However, I also have a webservice.  The webservice takes three parameters with 
two of the parameters being the username and password to use (principal and 
credentials) to invoke the method on the EJB.

The webservice method sets java.naming.security.principal and 
java.naming.security.credentials in the call to InitialContext, but it always 
fails.

What am I missing that I need to do?

For the client to work, I had to create a jndi.properties file with the 
relevant settings in and an auth.conf file to specify the security domain to 
use.  But I don't know if I have to (or how to if I do) do that for the 
webservice.

Thanks for any help!

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Deploy jboss cache within an EAR

2008-12-17 Thread szymon_z
yes, you can deploy it, I have done it the following way:

- put the cache MBean configuration in file named jboss-service.xml
- put jboss-service.xml inside META-INF dir of a newly created SAR file (you 
can name it jbosscache.sar for example)
- in your application's EAR you put the SAR at root level and in jboss-app.xml 
you add:

  | jbosscache.sar
  | 

That's it :)

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0.GA on MySQL, migration problem

2008-12-17 Thread PeterJ
anonymous wrote : "mysql-persistence-service.xml" placed in examples is very 
misleading, as it has "clustered" attribute set to false by defaulf, while 
"ChannelFactoryName" is not commented,

I heartily agree and pointed this out once before in this forum as being a 
possible issue when GA came out. It is a "gotcha" that can be easily overlooked.

Glad you are up and running.

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

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

2008-12-17 Thread PeterJ
Please do not cross-post.

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

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-17 Thread jjrs
I have  a similar problem, although in my case the nodes have async='true'.
  The exception I get is 



  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.graph.exe.Token#48]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:262)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:218)
  | at org.jbpm.svc.Services.close(Services.java:236)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:136)
  | at 
org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:190)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:60)
  | 


 I have tried::
   - all the possible isolation levels (as suggested in the forum).
   - the different "lock" options in the join and in the fork. 
   - tried to put back the flush that Tom removed some time ago in the Join 
class. 
   - selected the correct hibernate dialect.
   
 But I still have the same issue.

  The StaleObjectStateException is making one of the nodes to be executed 
twice, but if you have a more complicated graph, it's making a part of the 
graph not to be executed at all.

  Any idea about how to proceed ? I saw that the issue JBPM-1757 was Deferred 
to 3.3.2 planned for May 2009. Is there any way that we could get the Join and 
Fork with parallel processing of nodes (async=true) before?

Does anyone have a similar configuration running in Oracle with 3.3.0GA or 
is it something that simply is not working yet due to a regression error ?

  I would really appreciate any help, as I have been investigating the issue,  
reading the forum entries, and trying different configurations for almost a 
week, and I am still not able to make it work.


  

  

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

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


[jboss-user] [EJB 3.0] - Re: Dynamic units within persistence.xml

2008-12-17 Thread lord_jorge
Hi guys,

I had created a factory class that use Ejb3Configuration to add the dynamic 
persistent-units.

I tried to test connecting to a DS db001ds and made a persist and a find 
operation successfully.

But when I try to create 2 EntityManagerFactory's, (DS db001ds and db002ds) i 
get the following warn:

  | ...
  | 14:09:45,953 INFO  [DatasourceConnectionProvider] Using datasource: 
java:/db002ds
  | 14:09:45,984 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallo
  | w] Adding multiple last resources is disallowed. Current resource is 
org.jboss.resource.connectionmanager.txconnectionmanager$localxaresou...@1bc6b34
  | 14:09:46,000 WARN  [SettingsFactory] Could not obtain connection metadata
  | org.jboss.util.NestedSQLException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Una
  | bled to enlist resource, see the previous warnings. tx=TransactionImple < 
ac, BasicAction: -3f57ffbb:5b6:49492433:65 status: ActionStatus.ABORT_ONLY >); 
- nested throwable: (org.j
  | boss.resource.JBossResourceException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable:
  | Unabled to enlist resource, see the previous warnings. tx=TransactionImple 
< ac, BasicAction: -3f57ffbb:5b6:49492433:65 status: ActionStatus.ABORT_ONLY >))
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
  | ...
  | 

And any subsequent call to the EntityManager of db002ds throws the same 
message, but now like error and not warn.

Someone had used Ejb3Configuration without trouble to connect in multiple 
persistent units?
Thanks for your time,

Jorge

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache Busy with Tomcat JBOSS connector - Bottleneck on JVM

2008-12-17 Thread toto3000
Hello,

I'm using JBoss v4.03 with Apache Web Server for a website which is in a 
Production state.
I have a strange behavior when i look at the Apache JK Status Manager page. 
Sometimes i can see a lot of busy connection to tomcat.
I have performed several threaddumps when this happens and yesterday I have 
noticed a bottle neck which is caused by this thread:

"TP-Processor23222" daemon prio=1 tid=0x3a4ed930 nid=0x61eb runnable 
[0x0eee8000..0x0eee8e40]
at java.util.TreeMap$3.iterator(TreeMap.java:672)
at java.util.TreeMap.putAll(TreeMap.java:320)
at 
javax.management.modelmbean.DescriptorSupport.init(DescriptorSupport.java:468)
at 
javax.management.modelmbean.DescriptorSupport.(DescriptorSupport.java:211)
at 
javax.management.modelmbean.DescriptorSupport.clone(DescriptorSupport.java:802)
- locked <0x54be3d00> (a javax.management.modelmbean.DescriptorSupport)
at 
javax.management.modelmbean.ModelMBeanOperationInfo.getDescriptor(ModelMBeanOperationInfo.java:364)
at 
javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptor(ModelMBeanInfoSupport.java:553)
at 
org.jboss.mx.modelmbean.ModelMBeanInvoker.override(ModelMBeanInvoker.java:804)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1407)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1402)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:361)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at 
org.apache.jk.common.ChannelSocket.registerRequest(ChannelSocket.java:439)
at 
org.apache.jk.common.HandlerRequest.checkRequest(HandlerRequest.java:459)
- locked <0x597f3458> (a java.lang.Object)
at 
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:470)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:363)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)


Here is the configuration of the connector in /jbossweb-tomcat55.sar/server.xml:

 Connector port="11109" address="${jboss.bind.address}"
 maxThreads="1000" strategy="ms" minSpareThreads="5" 
maxSpareThreads="15"
 emptySessionPath="true" enableLookups="false" redirectPort="11143"
 bufferSize="10240" maxHttpHeaderSize="8192" tcpNoDeal="true"
 protocol="AJP/1.3"

Is there a known issue which correspond to this behaviror?

Thanks for your help!


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

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


[jboss-user] [JBossWS] - Cannot find ServiceFactory implementation error

2008-12-17 Thread sarkalgud
Hello,

I am a newbee. When I execute my first WS client app, I see following error

javax.xml.rpc.ServiceException: Cannot find ServiceFactory implementation
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:115)

And the code snippet looks like:
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.encoding.XMLType;try {
   // Create a service class with no WSDL information. 
   QName serviceName = new QName(
   "http://www.xmethods.net/sd/BNQuoteService.wsdl";,
   "BNQuoteService");
   ServiceFactory factory = ServiceFactory.newInstance();
   Service service = factory.createService(serviceName);
   
// Now create a dynamic Call object from this service.
   Call call = service.createCall();
..
} catch (Throwable t){
t.printStackTrace();
}

Any ideas on what I might be missing?

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

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


[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-12-17 Thread PoonamAgarwal
Hi Clebert,

I am facing a similar issue as Laurent.
I tried using jboss-remoting2.4GA.jar but I could only make the connections and 
was not able to receive messages.
I am trying to access the messages via a webstart application.
Can you send me the link from where I can download the jboss-remoting jar which 
has fixed this issue (both the connection and the receiveing of messages).

Your help is appreciated.

-Poonam.

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

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


[jboss-user] [JBoss jBPM] - Re: SLSB + JBPM Rollback

2008-12-17 Thread AmiraTalbi
here is my jbpm.cfg.xml config : 


  |   
  | 
  |   
  |   
  | 
  |   
  | 

and hibernate.Cfg

  | 
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | org.hibernate.cache.HashtableCacheProvider
  | 
  | 
  | java:/jbpm
  | 
  | 
  | 
  | org.hibernate.transaction.JTATransactionFactory
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |   
  | 

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

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


[jboss-user] [EJB 3.0] - The infamous SocketTimeoutException

2008-12-17 Thread FredDolittle
Hi All,

I am having a client connection problem.  I am using JBoss 5.0 implementing JDK 
6.  I have sucessfuly deployed my test Stateful bean and here is the output 
from the URL:http://localhost:8080/jmx-console/ (after selecting 
service=JNDIView from the jboss section AND pressing 'Invoke' from the list 
operation):

java: Namespace

  +- UserTransactionSessionFactory (proxy: $Proxy125 implements interface 
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  +- TS_AppClient1
  |   +- UserTransaction[link -> UserTransaction]
  |   +- metaData
  |   +- env
  |   |   +- testserver
  |   |   |   +- HelloStatefulBean[link -> HelloStatefulBean]
  |   +- classPathEntries

Now when I use my standalone client, to access this Stateful bean, I continue 
to get the following stack trace:
Before silly 1:
javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1507)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1636)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:636)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
at testclient.Main.main(Main.java:32)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at 
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1477)
... 5 more

Here is the client code:

public class Main
{
public static void main(String[] args)
{
InitialContext ctx = null;
HelloStatefulRemoteInterface silly;
Object array[] = new Object[1];
Properties prop = new Properties();

try
{
prop.setProperty("j2ee.clientName", "TS_AppClient1");
ctx = new InitialContext(prop);
System.out.println("Before silly 1:"+ctx.getNameInNamespace());
Context enc = (Context) ctx.lookup("HelloStatefulBean");
System.out.println("Before silly 2:"+enc.getNameInNamespace());
}
catch (NamingException e)
{
e.printStackTrace();
System.out.println(e.toString(true));
}
}
}

Also, my jndi.properties file has the following key/values:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Here is my jboss-client.xml:

TS_AppClient1

testserver/HelloStatefulBean
HelloStatefulBean



I have tried doing the lookup with the text from the 'ejb-ref-name' with no 
success...

Anybody have any thoughts?

Thanks,
Jerry


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM-3.3.0 login issues

2008-12-17 Thread mr.sathya
Hi All...

Pls help me to solve this problem...


Thanking in advance..

Regards,
Sathya

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-17 Thread mputz
Petr, 

please try to explicitly set the lock mode on the join:

and let us know how it works for you. 

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.

2008-12-17 Thread erciped
We are having the same problem. Has anyone tried other options like 

optimistic-lock="false"

on some of the relationships between token and the other tables? The children 
relationship looks suspect in that is a child Token gets removed or added, the 
version of the parent Token is incremented. This could possibly cause lots of 
StaleObjects during transitions in sub processes say if I understand the data 
model correctly.

Also, has anyone tried 



or



thus removing the version column altogether and using the values of columns in 
memory to detect a clash?

The Hibernate docs say using a "version" column is preferred but these other 
strategies may solve the problem if not elegantly.

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

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


[jboss-user] [JBoss jBPM] - JBPM-BPEL extension roadmap

2008-12-17 Thread mjoglekar
Hello,

We have been using JBoss and different components from JBoss for a while. One 
of them is JBPM-BPEL extension 1.1 GA. We are currently on JBossAS 4.0.5GA.

Now that 5.0 is released, we would like to upgrade our old components on top of 
5.0. 

Can someone tell me or point me to URL which talks about supporting BPEL 
extension on new application server? When is next version of BPEL extension 
coming out?

Thank you,
Meghana

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

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


[jboss-user] [JBoss Tools (users)] - Re: Unknown context variable name:

2008-12-17 Thread scatu...@gmail.com
In order to make sure that I had all the steps required to reproduce the 
behavior, I created a project from scratch with seam-gen in a new workspace and 
guess what, problem fixed.

I no longer get warnings so I guess that your first answer that I didn't 
understand at the time was probably the right one.

"max.ander...@jboss.com" wrote : If this is the JSF validator provided by WTP 
then it does not know about Seam components and thus it will continue to report 
such issues.
  | 
  | 

I didn't make the difference between the two at the time.  Just started looking 
at the java EE 5.0 world.  Did lots of java in the past but let's say that the 
framework has evolved in the last 6 years! ;)

Thanks for your help.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Thi first impressions whith Ganimade - ERROR

2008-12-17 Thread akazakov
JBoss Tools 2.* doesn't work with Ganimade. Please use JBoss Tools 3.0.0 
instead.

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0.GA on MySQL, migration problem

2008-12-17 Thread raczer
Thanks PeterJ, I've done all these steps before with JBoss 4.2.2 and 4.2.3 
(most of them is done by the build process). The only difference is that I have 
2 data sources, so that JBM has DefaultDS, and the app has another. That always 
worked fine.
The only exceptions I can see in logs are reported as DEBUG. I see lots of 
these:

13:36:46,437 DEBUG [BeanMetaDataICF] Failed to get property value for bean: 
org.jboss.beans.metadata.plugins.AbstractBeanMetaData, property: properties
  | java.lang.IllegalArgumentException: Property is not readable: 
propertyReplace for org.jboss.beans.metadata.plugins.AbstractPropertyMetaData
  | at 
org.jboss.beans.info.plugins.DefaultPropertyInfo.get(DefaultPropertyInfo.java:131)
  | at 
org.jboss.beans.info.plugins.BeanInfoUtil.getNestedTarget(BeanInfoUtil.java:78)
  | at org.jboss.beans.info.plugins.BeanInfoUtil.get(BeanInfoUtil.java:142)
  | at 
org.jboss.beans.info.plugins.AbstractBeanInfo.getProperty(AbstractBeanInfo.java:284)
  | at 
org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCompositeValue(DefaultMetaValueFactory.java:471)
  | at 
org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1023)
  | at 
org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCollectionValue(DefaultMetaValueFactory.java:247)
  | at 
org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1029)
  | at 
org.jboss.metatype.plugins.values.DefaultMetaValueFactory.create(DefaultMetaValueFactory.java:542)
  | at 
org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:165)
  | at 
org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:48)
  | at 
org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:201)
  | at 
org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130)
  | at 
org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:364)
  | at 
org.jboss.managed.api.factory.ManagedObjectFactory.initManagedObject(ManagedObjectFactory.java:77)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:466)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:199)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:547)
  | at java.lang.Thread.run(Thread.java:595)
  | 

and then goes this one, near the end:

13:36:46,453 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment 
for: 
abstractkerneldeploym...@da8742{name=file:/C:/myApp/jboss-5.0.0.GA/server/default/conf/bootstrap/vfs.xml
 installed=true beanfactories=[abstractbeanmetad...@1b64b70{name=vfscache 
bean=null properties= 
constructor=abstractconstructormetad...@e1dac2{parameters=[null] 
factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory 
factoryMethod=getInstance} autowireCandidate=true 
start=abstractlifecyclemetad...@1e12f6d{method=start 
whenrequired=controllerst...@112bc7b{start} parameters= }}, 
abstractbeanmetad...@11456c5{name=vfsnamesexceptionhandler 
bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler 
properties= 
constructor=abstractconstructormetad...@4ca42b{parameters=[java.lang.string]} 
autowireCandidate=true}, abstractbeanmetad...@1ae0e7d{name=jbossvfsinitializer 
bean=org.jboss.virtual.plugins.cache.PreInitializeVFSContexts 
properties=[holdReference, initializedVFSContexts] constructo!
 r=null autowireCandidate=true}]}
  | org.jboss.deployers.spi.DeploymentException: Error deploying: 
file:/C:/myApp/jboss-5.0.0.GA/server/default/conf/bootstrap/vfs.xml
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:453)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:199)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:547)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.IllegalStateException: ClassLoader has not been set
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:152)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanCom

[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel

I found it.
Actually for TCP, 

Either 
we have to specify all the host names in TCPPING initial_hosts 

or 

we have to use MPING .


Regards,
Nachiket

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: TcpDelegatingCacheLoader

2008-12-17 Thread lovelyliatroim
anonymous wrote : 
  | No reason, really. Happy to accept a patch, to make this configurable using 
a cache loader property.
  | 

Created one for the 2.2.1.GA version
https://jira.jboss.org/jira/browse/JBCACHE-1451





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

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


[jboss-user] [EJB 3.0] - Re: Stopping an MDB from Listening to a Queue

2008-12-17 Thread pbaker01
Anybody?

I have seen at least one other unanswered topic regarding this issue:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133360

Any guidance would be greatly appreciated.

PB

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

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


[jboss-user] [JBoss jBPM] - Latest jbpm-console sources

2008-12-17 Thread srLucas
Hi All,
I've been trying to get my hands on the jbmp-console sources without luck.

I am confused as to where they are located on the SVN server:

1.- http://anonsvn.jboss.org/repos/jbpm/projects/jsf-console
or
2.- http://anonsvn.jboss.org/repos/jbpm/console/trunk

Any ideas on which one I should use?

thanks a lot,
Lucas

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

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


[jboss-user] [Microcontainer] - RuntimeError in JMX Demo

2008-12-17 Thread Gary Marsh
I decided to build and run the actual jmx Demo code I downloaded from the 
DZone_1_0 area and I ran into this runtime error :

Deployed URL: file:/C:/NichPro/MCJMXDemo/META-INF/varia-deployers-beans.xml
  | java.lang.IllegalStateException: Incompletely deployed:
  | 
  | *** DEPLOYMENTS IN ERROR: Name -> Error
  | AOPJBossIntegration -> java.lang.RuntimeException: Error configuring 
property: scopingPolicy for AOPJBossIntegration
  | 
  | *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required 
State:Actual State}
  | JMXCreateDestroyAdvice$AspectBinding -> 
AspectManager{Installed:Instantiated}
  | AspectManagerJMXRegistrar -> AspectManager{Installed:Instantiated}
  | JMXRegistrationAdvice$AspectBinding -> AspectManager{Installed:Instantiated}
  | AspectManager -> AOPJBossIntegration{Installed:**ERROR**}
  | JMXStartStopAdvice$AspectBinding -> AspectManager{Installed:Instantiated}
  | 
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
  | at org.jboss.demos.boostrap.Main.validate(Main.java:123)
  | at org.jboss.demos.bootstrap.jmx.JMXMain.main(JMXMain.java:43)
  | Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual 
State}
  | 
  | AspectManager
  |  -> AOPJBossIntegration{Configured:**ERROR**}
  | 
  | AspectManagerJMXRegistrar
  |  -> AspectManager{Configured:Instantiated}
  | 
  | JMXCreateDestroyAdvice$AspectBinding
  |  -> AspectManager{Configured:Instantiated}
  | 
  | JMXRegistrationAdvice$AspectBinding
  |  -> AspectManager{Configured:Instantiated}
  | 
  | JMXStartStopAdvice$AspectBinding
  |  -> AspectManager{Configured:Instantiated}
  | 
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | AOPJBossIntegration -> java.lang.IllegalArgumentException: No such property 
scopingPolicy for bean org.jboss.aop.asintegration.jboss5.JBoss5Integration 
available [classPoolFactory, class] | **ERROR**
  | 
  | 
  | 
  | 
  | My last download of the JBossAS 5.0.0.GA libraries was 12/11/08.  Any
  | ideas as to what is wrong?
  | 
  | Regards,
  | GMarsh

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

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


[jboss-user] [Beginners Corner] - Re: Changing the soap:address location

2008-12-17 Thread PeterJ
No, I do not know how to do that in NetBeans. I use Eclipse, but only as a 
glorified text editor. When it comes to things like this (or compiling, 
packaging, or deploying) I revert to the command line (or Ant or Maven) so that 
I can keep my sanity.

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

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


[jboss-user] [Microcontainer] - Re: RuntimeError in JMX Demo

2008-12-17 Thread alesj
You don't have the latest version of DZone_1_0 branch.
There is no such 'scopingPolicy' property used anymore (but it used to be):
 - 
http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/branches/DZone_1_0/jmx/src/main/resources/META-INF/aop-beans.xml

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot fully start jboss server 4.2.0. on centos 5.2

2008-12-17 Thread jurerai
Jaikiran thank you for your help. 

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.

2008-12-17 Thread mputz
Ronald, thanks for the unit test. I executed it against mysql, postgres and 
oracle (the real ones and not just h2 in the different modes to be sure), and 
here is what I've found:
+ "  " /* the default: leads to StaleObjectStateException 
with Oracle and Postgres */
  | //+ "  "
 /* works */
  | //+ "  " 
 /* works */
  | //+ "  "   
 /* works */
  | //+ "  "   
 /* works */
  | //+ "  "  
 /* invalid lock mode */
  | //+ "  "  
 /* StaleObjectStateException */
  | 

So, setting the LockMode seems to be a valid workaround to fix this on Oracle 
and Postgres.

Btw, I have also tried to change the generator type, but that didn't help 
(besides that this is not compatible to the various dbs).

Are you going to check in your unit test?

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

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


[jboss-user] [EJB 3.0] - Re: Accessing EJB in seperate EAR

2008-12-17 Thread PeterJ
Another alternative is to add into the second EAR a dependency on the MBean 
created for the EJB in the first EAR.

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

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

2008-12-17 Thread ubersoldat
I still don't know why EJB_3 must know anything about the persistence units 
that don't belong to it.

Anyway, I fixed this by adding a persistence.xml file to the ear. I get a 
"resource already registered" error at deployment, but things work fine.

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

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


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

2008-12-17 Thread thiagomontovaneli
Actually, I want know, Wich forms can I call one EJB. 
I am using jboss 4.2.2 with default instalation.

My EJB project is into of one EE project.

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

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


[jboss-user] [JBossWS] - Re: Enabling HTTP Basic Authentication for EJB3 web service

2008-12-17 Thread getaceres
I've seen that using @WebContext works and my service uses HTTP Basic 
Authentication but this breaks portability. I tried using the jboss.xml file to 
get the same result but it seems as if it were ignored. Is there any example of 
using the jboss.xml file to achieve that?

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

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


[jboss-user] [JBoss Messaging] - Re: Message threshold

2008-12-17 Thread ataylor
This is just the messages being deserialized.

Is you're clustering configuration correct. Maybe you're queue isn't clustered 
and the consumer is connecting to a different node. I would run the clustering 
examples to validate your installation is correct.

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

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


[jboss-user] [JBoss Tools (users)] - hibernate.cfg.xml not found when l launch a test

2008-12-17 Thread juanignaciosl
I've created a Seam web project with JBoss Tools. I've made the following test:


  | public class ProyectosTest extends SeamTest {
  | @Logger
  | Log log;
  | 
  | @Test
  | public void testProcesoProyecto() throws Exception {
  | new ComponentTest() {
  | protected void testComponents() throws Exception {
  | ProyectoHome proyectoHome = (ProyectoHome) 
getValue("proyectoHome");
  | log.debug("{1}", proyectoHome);
  | }
  | }.run();
  | }
  | }
  | 

When I launch it with the TestNG plugin it throws the following exception:




  | FAILED CONFIGURATION: @BeforeSuite startSeam
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: org.jboss.seam.bpm.jbpm
  | at org.jboss.seam.Component.newInstance(Component.java:2105)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  | at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:112)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:734)
  | at 
org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:920)
  | at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
  | Caused by: java.lang.RuntimeException: could not deploy a process definition
  | at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:300)
  | at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2210)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2133)
  | at org.jboss.seam.Component.newInstance(Component.java:2093)
  | ... 21 more
  | Caused by: org.hibernate.HibernateException: hibernate.cfg.xml not found
  | at 
org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
  | at 
org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405)
  | at org.hibernate.cfg.Configuration.configure(Configuration.java:1427)
  | at 
org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:341)
  | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
  | at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
  | at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:316)
  | at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
  | ... 31 more
  | ... Removed 19 stack frames
  | SKIPPED CONFIGURATION: @BeforeClass setupClass
  | SKIPPED CONFIGURATION: @BeforeMethod begin
  | SKIPPED CONFIGURATION: @AfterMethod end
  | SKIPPED CONFIGURATION: @AfterClass cleanupClass
  | SKIPPED: testProcesoProyecto
  | 
  | ===
  | es.cexc.reincide.test.ProyectosTest
  | Tests run: 1, Failures: 0, Skips: 1
  | Configuration Failures: 1, Skips: 4
  | ===
  | 
  | 
  | ===
  | reincide-test
  | Total tests run: 1, Failures: 0, Skips: 1
  | Configuration Failures: 1, Skips: 5
  | ===
  | 
  | 

The app works fine with a "normal" deployment, but the embedded JBoss for the 
test throws that exception. What might I have done wrong?

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

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


[jboss-user] [JBoss jBPM] - Re: why the single hibernate oracle sequence

2008-12-17 Thread jbarrez
If you take a look at the jBPM hbms, you'll see that the id generator is set to 
'native'. According to Hibernate doc, this means that indeed only one sequence 
will be used...

You can change this by changing the hbms of jBPM.
See http://www.hibernate.org/296.html for more information.

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

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


[jboss-user] [Beginners Corner] - New to JBoss, where to start??

2008-12-17 Thread nachiket_patel
Hello,
I am new to JBoss. 
Just started reading and creating prototypes before one week using JBoss 
PojoCache eventually learned about JGroups. (Only basics)

Based on my little knowledge about JBoss, It is built upon ground level 
technologies to higher level technologies, like JGroups is used in Cache as 
well as AppServer, Cache is used for Clustering in AppServer. Aspects(i don't 
know the JBoss name) are used in Cache. 

So my question is where to start?
What should be the road map of learning about JBoss. What should be the 
foundation for getting good grip on JBoss??

Should i start with MicroContainer?? or Aspects?? 
Please share your views with me.

Regards,
Nachiket


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

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


[jboss-user] [JBoss Tools (users)] - problem while deploying a seam web project

2008-12-17 Thread meissa
Hi all,
I have a problem while using the jbossTool fullPublish function to deploy a 
seam web project. 
The seam.jar is always missing in the deployed ear. I always have to add it 
manually in the deployed ear.

I'm using eclipse 3.2 , jbossIde 2.1 and seam 2.0

Can someone tells me the reason of this strange behaviour.

Thanks in advance.
Meissa

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

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


[jboss-user] [JBoss jBPM] - Re: How to best control access from multiple threads to a Pr

2008-12-17 Thread AmiraTalbi
jse I understand your problem. What I have done is to add process variable in y 
process Instance to say of it's idle or not (in the wait state). If it's idle, 
i fire the process else I persist this msg to be proceeded by the process when 
previous message execution finish. 
So that, the execution is not blocked. It's monthread for each process Instance 
and not for all instances 

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.

2008-12-17 Thread janvandeklok
Martin,
  can we set the lock attribute in the processdefinition.xml?? Not according to 
the documentation imho.


Jan   

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

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


[jboss-user] [JBoss Tools (users)] - Re: JDK 5 or 6 with JBoss AS 5, eclipse ganymede, JBoss tool

2008-12-17 Thread snjeza
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213286 is related to Eclipse 3.3.
Eclipse 3.4 is more stable than Eclipse 3.3.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel

I found it.
Actually for TCP, 

Either 
we have to specify all the host names in TCPPING initial_hosts 

or 

we have to use MPING .


Regards,
Nachiket

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

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


[jboss-user] [Management, JMX/JBoss] - How to use startService() method in ServiceMBeanSupport

2008-12-17 Thread d_hazem
Hi,

How to use the startService() method and what is it used for?
I am trying to register an mbean after sar file deployment under jboss.

It works if i use start() method but i want that mbean registration is done 
automatically.

Thanks for your help. 

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

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


[jboss-user] [JBoss Messaging] - Re: Message threshold

2008-12-17 Thread rana24
Thanks andy for ur clarification, We are doing the same thing sending a message 
and  thread.sleep for 1 second n sending another message.

I have seen following log in system.log file , which is being repeated, ( 
System is running in cluster )
Is something happenining recursively ?? 


Any idea on the same ?



15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading
2008-12-17 15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Stream 
is already DataInputStream :)
2008-12-17 15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Created 
packet SerializedPacket[null]
2008-12-17 15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading 
packet
2008-12-17 15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Read 
packet
2008-12-17 15:51:41,940 TRACE [org.jboss.jms.wireformat.JMSWireFormat] 
Returning payload: InvocationResponse[d62439, InvocationResponse[e45a36, true]]
2008-12-17 15:51:41,940 TRACE 
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] 
SocketClientInvoker[1b2df13, bisocket://synpune0342:4457] returned 
ClientSocketWrapper[Socket[addr=/10.31.2.85,port=4457,localport=2269].1b0f019] 
to pool
2008-12-17 15:51:41,940 TRACE 
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] 
SocketClientInvoker[1b2df13, bisocket://synpune0342:4457] released semaphore: 
200
2008-12-17 15:51:41,940 TRACE 
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] 
SocketClientInvoker[1b2df13, bisocket://synpune0342:4457] received response 
InvocationResponse[d62439, InvocationResponse[e45a36, true]]
2008-12-17 15:51:41,940 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] 
SocketClientInvoker[1b2df13, bisocket://synpune0342:4457] received 
InvocationResponse so going to return response's return value of 
InvocationResponse[e45a36, true]
2008-12-17 15:51:41,940 TRACE [org.jboss.remoting.LeasePinger] 
LeasePinger[SocketClientInvoker[1b2df13, 
bisocket://synpune0342:4457](av42y-u77xtd-fotsmtwk-1-fotso4sh-a)] successfully 
pinged the server
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] read version 22 from input 
stream
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] blocking to read invocation 
from unmarshaller
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Stream 
is already DataInputStream :)
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Created 
packet SerializedPacket[null]
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading 
packet
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Read 
packet
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] 
Returning payload: InvocationRequest[1deb7b0, self, $PING$]
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] read 
InvocationRequest[1deb7b0, self, $PING$] from unmarshaller
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] about to call 
SocketServerInvoker[0.0.0.0:4457].invoke()
2008-12-17 15:51:42,034 TRACE [org.jboss.remoting.ServerInvoker] 
SocketServerInvoker[0.0.0.0:4457] received $PING$
2008-12-17 15:51:42,034 TRACE [org.jboss.remoting.ServerInvoker] 
SocketServerInvoker[0.0.0.0:4457] returning InvocationResponse[edbe37, true]
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] 
SocketServerInvoker[0.0.0.0:4457].invoke() returned InvocationResponse[edbe37, 
true]
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] creating response instance
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Writing 
InvocationResponse[633870, InvocationResponse[edbe37, true]]
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Stream 
is a DataOutputStream
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Writing 
packet: SerializedPacket[InvocationResponse[633870, InvocationResponse[edbe37, 
true]]]
2008-12-17 15:51:42,034 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Wrote 
packet
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] wrote response to the output 
stream
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] preparing to process next 
invocation invocation
2008-12-17 15:51:42,034 TRACE 
[org.jboss.remoting.transport.socket.ServerThread] blocking to read version 
from input stream

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss datasource encryption

2008-12-17 Thread nsayer
I worked around this by extending ConfiguredIdentityLoginModule. I overrode 
initialize to create a new options Map from the old one, but with the password 
decrypted, then call super.initialize().



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

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


[jboss-user] [JBoss Cache: Core Edition] - Need to move Jboss cache config to Spring - pls help

2008-12-17 Thread cacheuser
I am using JBC 3.0. My config looks as below. I need to move the config to 
Spring because I have to use the connection pooling object from some other 
Spring config or if I cant use the connection pooling object I will have to get 
the Database connection stuff(server:port user password) from some other Spring 
config and be able to create the cache object. Does anybody have any example to 
show how to do that 


  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xmlns="urn:jboss:jbosscache-core:config:3.0">
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  |  5000
  |  100
  |   
  | 
  | 
  |5
  |1000
  | 
  |
  | 
  |   
  |   
  |   
  |  
  |   cache.jdbc.table.name=jboss_cache
  |   cache.jdbc.table.create=false
  |   cache.jdbc.table.drop=false
  |   cache.jdbc.table.select=true
  |   cache.jdbc.table.primarykey=cache_id
  |   cache.jdbc.fqn.column=fqn
  |   cache.jdbc.fqn.type=varchar(255)
  |   cache.jdbc.node.column=node
  |   cache.jdbc.node.type=blob
  |   cache.jdbc.parent.column=parent
  |   cache.jdbc.parent.type=varchar(255)
  |   cache.jdbc.driver=com.mysql.jdbc.Driver
  |   
cache.jdbc.url=jdbc:mysql://CACHEDATABASE:/jboss_cache
  |   cache.jdbc.user=user
  |   cache.jdbc.password=password
  |   cache.jdbc.sql-concat=concat(1,2)
  |
  |   c3p0.maxIdleTime=60
  |   c3p0.minPoolSize=0
  |   c3p0.maxPoolSize=40
  |   c3p0.checkoutTimeout=5000
  |   
cache.jdbc.connection.factory=org.jboss.cache.loader.C3p0ConnectionFactory
  |  
  |  
  |   
  |
  | 
  |  
  | 

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

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


[jboss-user] [EJB 3.0] - Re: Accessing EJB in seperate EAR

2008-12-17 Thread PeterJ
No, but you can get it to load the second EAR file last by creating a 
server/xxx/deploy/last directory and placing the second EAR file into that 
directory.

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

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


[jboss-user] [JBoss jBPM] - Cancelling dynamically created tasks

2008-12-17 Thread redguy666
Have such case:

in one task-node I create few tasks for different actors (every one of them has 
to accept processed document). This is done in node-enter event when entering 
this task-node.

I would like to cancel all pending tasks in this node when first of those 
actors rejects (takes "reject" transition). How to do this?

When I write handler for task-end event that iterates through pending tasks and 
calls "cancel" method I get exception that the token is locked...

simplified example of this proces:

  | 
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |   actor1,actor2,actor3,actor4
  | 
  |   
  |   
  | 
  | 
  |   
  |   
  |   
  |   
  | 
  | 
  | ...
  | 
  | 
  | 

xxx.CreateAcceptTasks

just creates TaskInstances of "accept" Task and assignes them to actors 
provided in param.

xxx.AcceptTaskEnd

???
when I tried to fetch pending tasks with 
executionContext.getTaskMgmtInstance().getTaskInstances()

and then call "cancel" on every pending tasks (that is not equal to current 
task of course) - I get "Token locked" exception...

Any help would be appreciate...

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

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


[jboss-user] [JBoss Tools (users)] - Re: JDK 5 or 6 with JBoss AS 5, eclipse ganymede, JBoss tool

2008-12-17 Thread mareshkau
I have founded some information about crash jvm here 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213286, 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - persist attributes of JCA Mbeans

2008-12-17 Thread makas
Hi all.
I have a JCA Connector. When JBoss 4.2.2 GA is started it made four beans for 
this connector:
1)jboss.jca:name='rarname.rar', service=RARDeployment
2)jboss.jca:name='myJndiname', service=ConnectionFactoryBinding
3)jboss.jca:name='myJndiname', service=ManagedConnectionFactory
4)jboss.jca:name='myJndiname', service=ManagedConnectionPool.
Could anyone please tell me the steps to persist the attributes for this beans 
using PersistenceManager , if it is possible. 

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

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


[jboss-user] [JBossWS] - Re: jboss ws + java.lang.NoClassDefFoundError: com/sun/xml/m

2008-12-17 Thread rodosa
I fix it putting saaj-impl.jar at client folder of my jboss!!!

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0.GA on MySQL, migration problem

2008-12-17 Thread raczer
"PeterJ" wrote : 4) If you don't need clustering, in 
mysql-persistence-service.xml set "Clustered" to false and comment out the 
"ChannelFactoryName" attribute.
Ok, so I lied about the last one. After commenting it out PostOffice starts and 
there are no problems with JBM. Thanks PeterJ!
"mysql-persistence-service.xml" placed in examples is very misleading, as it 
has "clustered" attribute set to false by defaulf, while "ChannelFactoryName" 
is not commented, and doesn't even appear in logs as a source of a problem.

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

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


[jboss-user] [EJB/JBoss] - fail to call ejb2.1 from web module

2008-12-17 Thread Gopal.varshney
Hi

When an ear[containing ejb jar file and ejb client war file] is deployed on 
JBOSS 4.2.0 GA it is deployed and web client is able to access ejb.

But when we make ejb and web client separately and deployed then on same jboss 
with out making ear, then web client is not able to create remote instance of 
ejb for web client with the help of method ejbCreate.
and throws an exception as 

---

18:55:13,388 ERROR [LogInterceptor] EJBException in method: public abstract 
com.aha.productcodes.ejb.AhaProductCodesRemote 
com.aha.productcodes.ejb.AhaProductCodesRemoteHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public abstract com.aha.productcodes.ejb.AhaProductCodesRemote 
com.aha.productcodes.ejb.AhaProductCodesRemoteHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:175)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:98)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
at org.jboss.ejb.Container.invoke(Container.java:981)
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)
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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy93.create(Unknown Source)
at com.aha.Client.lookupAhaProductCodesBean(Client.java:125)
at com.aha.Client.processRequest(Client.java:42)
at com.aha.Client.doGet(Client.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo

[jboss-user] [EJB 3.0] - Accessing EJB in seperate EAR

2008-12-17 Thread jej2003
I am trying to access an EJB (SLSB) in a separate EAR file (not isolated) using 
injection.  When I do this I get an error that the dependent class is not 
loaded because of the load order.  Is there a way to have JBoss load the other 
ear first without using the prefix loader?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: About Merging States on Merge of two sub groups.

2008-12-17 Thread manik.surt...@jboss.com
Re-syncing is pretty tough and very application-dependent.  If you are caching 
data that can be retrieved externally or recalculated externally, then your 
best bet is to simply wipe the cache and start again.

Otherwise, you could pick one instance as the "correct" version, and shut down 
and restart all other caches in the cluster so they wipe their "incorrect" 
state and retrieve state from the one correct instance.

Anything beyond these two simplistic approaches will involve actually 
understanding what is in your state and perhaps attempting to merge and 
consolidate the data manually.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - problem while migrating from weblogic to Jboss EJBDeployer]

2008-12-17 Thread sachin1506
[EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError
m using jboss version 3.2.6
and jdk 1.4.2
as i have just started working on jboss and i have assigned the work to deploy 
all ear files over jboss but there is some problem and m not able to through 
this
so any one can plzz suggest me 
here is the stack trace

WARN  [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: cdot/oss/clh/exception/ReportMgmtException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
at java.lang.Class.privateGetPublicMethods(Class.java:1778)
at java.lang.Class.getMethods(Class.java:832)
at 
org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:688)
at 
org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:1037)
at 
org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:92)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:159)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:501)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at org.

[jboss-user] [Security & JAAS/JBoss] - Re: Extending AbstractPasswordCredentialLoginModule

2008-12-17 Thread nsayer
I had this same problem and solved it by instead extending 
ConfiguredIdentityLoginModule. I overrode initialize() to fetch the password 
from the options map, decrypt it, then make a new hashmap (the old one is 
unmodifiable) with the options, replacing the password with the decrypted 
version, then calling super.initialize().



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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Failed to find persistence unit

2008-12-17 Thread ubersoldat
Hi

I'm currently migrating a working JBoss 4.0.5.GA EAR to 5.0.0.GA. The ear is 
structured as this:

  | EAR
  |  |- Servlet WAR
  |  |- Utility JAR
  |  |- MDB (jms)
  |  |- EJB_3 (stateless/no entities, no persistence)
  |  |- EJB_1 (stateless/entities)
  | |-1PU
  |  |- EJB_2 (stateless/entities)
  | |-2PU
  | 

Each of the EJB3 with entities have their own persistence.xml

The EJB_3 with no entities, uses the EJB_1 and EJB_2 by Local interfaces.

When I deploy on JBoss 5, a "failed to resolve persistence unit 1PU" error is 
thrown. No for 2PU, only for 1PU.

So, I copy the 1PU persistence.xml file into the troublesome bean EJB_3 and 
deployments goes fine. But now, I get "Cannot open connection" errors.

Each of this beans are independent of each other.

The workflow is something like

  | x-->servlet-->jms_queue-->MDB-->EJB_3-->EJB_1
  | 
Any help? Thanks

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

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


[jboss-user] [JBoss Portal] - Portal sub-pages in tabs

2008-12-17 Thread mn1986
Hi,

I'd like to create portal sub-pages inside the portal-page in the form of tabs.

Any pointers in this direction would be appreciated.

Thanks!

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

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


[jboss-user] [EJB 3.0] - Re: JNDI lookup of EJB3 SLSB from Quartz

2008-12-17 Thread jharby1
Ok, thanks here is the Quartz job execute method.


  | public void execute(JobExecutionContext jobExecutionContext) throws 
JobExecutionException {
  | try {
  | Context ctx = getInitialContext("jnp://localhost:1099");
  | FundingService fs = (FundingService) 
ctx.lookup("policyService-1.2/FundingServiceBean/remote");
  | List checks = fs.getAllActiveChecks();
  | System.out.println("RUNNING");
  | }
  | catch (Exception e) {
  | e.printStackTrace();
  | throw new JobExecutionException("Unable to execute a scheduled 
job", e, false);
  | }
  | }
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Updating deployed applications while keeping old session

2008-12-17 Thread Jan_Bruun_Andersen
Thanks Peter. At least I have my answers now.

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

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


[jboss-user] [JBoss jBPM] - why the single hibernate oracle sequence

2008-12-17 Thread erciped
Hi

Why does the hibernate only use the single oracle database sequence? We tend to 
use a separate sequence for every table unless we need to have uniqueness 
across multiple tables.

Does jBPM use the sequence value in any way? We had the same problem when we 
used OS Workflow in that the whole framework schema used one sequence 
[hibernate_sequence] and the application code also required the separate 
entities to have unique identifiers. We thought that was odd and only found out 
when we were cleaning up our hibernate mappings and creating separate sequences 
and OSWorkflow started acting funny. Nast bug.

Any help would be appreciated as we want to have separate sequences for each 
table. We don't mind some table sharing a sequence if necessary.

Eric

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: About Merging States on Merge of two sub groups.

2008-12-17 Thread nachiket_patel
Thanks Manik,
I think Shutting down and restarting will work in our case, as there is only 
one writer server, which will be initial host, and only one who will write to 
cache, so server instance of cache will be correct one always. Only 
disconnected instance (reader) needs to restart itself, not all others.

Which event should be used for this, 
viewChanged(ViewChangedEvent newView)??, 

How to identify that i am joined back in cluster???

i think i can use getCreator() (returns Address class, but it does not have 
getIP or getPort kind of methods..) 

Regards,
Nachiket

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

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


[jboss-user] [JBoss Tools (users)] - Re: Thi first impressions whith Ganimade - ERROR

2008-12-17 Thread jmiguel77
Hi 

I have the Ganymede build ID: M20080911-1700 version 3.4.1 for J2EE Developer

I just downloaded the jboss tools file: JBossTools-2.1.2.GA-ALL-linux-gtk.zip, 
but in the details of the plugins, almost every plugin appears withe the 2.1.1 
GA version

I get this error in the Web Development perspective:


  | java.lang.NullPointerException
  | at 
org.jboss.tools.vpe.ui.palette.PaletteAdapter.dispose(PaletteAdapter.java:88)
  | at 
org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.dispose(PaletteViewPart.java:91)
  | at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:459)
  | at 
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
  | at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
  | at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
  | at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
  | at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
  | at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
  | at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
  | at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
  | at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
  | at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
  | at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
  | at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
  | at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
  | at 
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
  | at 
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
  | at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
  | at 
org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
  | at 
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
  | at 
org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
  | at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
  | at 
org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
  | at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
  | at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
  | at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
  | at 
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
  | at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
  | at 
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
  | at 
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
  | at 
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
  | at 
org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
  | at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
  | at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
  | at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
  | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
  | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
  | at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
  | at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
  | at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
  | at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
  | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  | at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
  | at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  | at 
org.eclipse.c

[jboss-user] [JBossWS] - jboss ws + java.lang.NoClassDefFoundError: com/sun/xml/messa

2008-12-17 Thread rodosa
Hello!!!

   I'm a problem with WS! I'm using Jboss 4.0.5 and jdk1.6. I've created a 
Junit file that call to my simply web service, but when invoke to the webMethod 
... the following exception it's thrown:


  | java.lang.NoClassDefFoundError: 
com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
  | at 
com.sun.xml.ws.message.AttachmentUnmarshallerImpl.(AttachmentUnmarshallerImpl.java:55)
  | at 
com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500)
  | at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
  | at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
  | at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
  | at $Proxy25.hola(Unknown Source)
  | at Prueba2.testMain(Prueba2.java:22)
  | 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)
  | at junit.framework.TestCase.runTest(TestCase.java:164)
  | at junit.framework.TestCase.runBare(TestCase.java:130)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:120)
  | at junit.framework.TestSuite.runTest(TestSuite.java:230)
  | at junit.framework.TestSuite.run(TestSuite.java:225)
  | at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | Caused by: java.lang.ClassNotFoundException: 
com.sun.xml.messaging.saaj.soap.AttachmentPartImpl
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | ... 25 more
  | 

But I don't know why, because this class is in rt.jar of jdk 6.  In the remote 
server ( where it's allocated the ws ) it been executed fine. The problem is 
when the response come back.

Any ideas to fix this??? Thanks in advance


PD: I've following the instructions of 
http://jbossws.jboss.org/mediawiki/index.php?title=Install_JBossWS to build my 
WS.


Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: why the single hibernate oracle sequence

2008-12-17 Thread erciped
Thanks jbarrez. I am aware I can change it but the question is 

will changing the model to use multiple sequences have any adverse affects in 
jBPM

I don't want to get any unexpected behavior like I did with OSWorkflow

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot fully start jboss server 4.2.0. on centos 5.2

2008-12-17 Thread jaikiran
"jurerai" wrote : Could this be the reason that jboss could not start or should 
we look elsewhere?
  | 
  | Thank you,
  | 
  | Jure

I don't think that should stop the server from starting. Moreover, you 
mentioned that the server is accessible through the http request. So the server 
is up and your application probably is running into errors:anonymous wrote : 
  | 
  | Exception in thread "Session pool worker" java.lang.NullPointerException
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at 
com.documentum.fc.client.impl.session.Session.disconnect(Session.java:237)
  | at 
com.documentum.fc.client.impl.session.SessionPool.disconnectSessions(SessionPool.java:111)
  | at 
com.documentum.fc.client.impl.session.SessionPool.flush(SessionPool.java:134)
  | at 
com.documentum.fc.client.impl.session.SessionPool.flushAllPools(SessionPool.java:190)
  | at 
com.documentum.fc.client.impl.session.SessionPool$ExpirationThread.run(SessionPool.java:246)
 

The com.documentum.fc.client.impl.session.Session.disconnect is trying to load 
some class which is resulting in the NullPointerException. You will have to 
debug that piece of code.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
My disconnect application(150.0.149.108) [which is not a merge Leader] is 
connected back to the network, then this messages are logged repeatedly.


  | 2008-12-17 15:56:40,284 DEBUG [GMS] (ViewHandler,150.0.149.108:7957) 
Determining merge leader from coordinators: [150.0.149.105:7957, 
150.0.149.108:7957]
  | 2008-12-17 15:56:40,300 DEBUG [GMS] (ViewHandler,150.0.149.108:7957) I 
(150.0.149.108:7957) am not the merge leader, waiting for merge leader 
(150.0.149.105:7957) to initiate merge
  | 

And at Server Application (Merge Leader-150.0.149.105) (which's Ip and port is 
specified in TCPPING) is not doint anything, it is just listening 
and this messages are logged repeatedly.


  | 2008-12-17 16:03:43,080 DEBUG [MERGE2] (Timer-2,150.0.149.105:7957) 
150.0.149.105:7957 is looking for merge candidates, found 
initial_mbrs=[[own_addr=150.0.149.105:7957, coord_addr=150.0.149.105:7957, 
is_server=true]]

What is the problem??

Regards,
Nachiket



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

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


[jboss-user] [JBoss jBPM] - Re: why the single hibernate oracle sequence

2008-12-17 Thread jbarrez
I haven't tried it yet, but I don't see any problems. After all, Hibernate will 
handle the primary key for jBPM and I don't see any problems in that.

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

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


[jboss-user] [JBoss Cache: Core Edition] - About Merging States on Merge of two sub groups.

2008-12-17 Thread nachiket_patel
Hello,
I am getting more familiar with JBoss Cache. 
I got very much confused and scared in past 3 to 4 days. 
Because of zero knowledge of JBoss Cache as well as JGroups.
And i was trying to avoid JGroup internals initially, lately ended in poor 
understanding. But now  (I feel) i am much clear in basics of PojoCache and 
JGroups, still don't know much about Core Cache.

Thank you all who helped me, and sorry for putting lots of messages and 
configuration stacks, i know it's annoying sometimes. 
I am writing this stuff because i really appreciated your help, and i want to 
thank you for that, Finally my fear of JBoss is gone. 

Anyways,

What mechanism should be used when i want to copy (or sync to) a particular 
cache instance (AppInstance 'A') which is initial_host in TCPPING on MERGE. 
(Because 'B' AppInstance was disconnected from network and come back after 
Splitting of Cluster) ..

ViewChange event of CacheListener should be used?? or some special 
ReplicationInterceptor  ?? 

And how to re-sync with 'A'? By stopping and starting Cache? or some other 
option is available??

Regards,
Nachiket


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

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


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

2008-12-17 Thread morphy
you can access the jmx console, call the jndiview.list method and have a full 
glance of the tree

bye

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

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


[jboss-user] [Performance Tuning] - Apache busy connections - JBOSS Tomcat - Threaddump bottlene

2008-12-17 Thread toto3000
I have already posted this message in another rubric, but i think this is the 
right topic.

Hello,

I'm using JBoss v4.03 with Apache Web Server for a website which is in a 
Production state.
I have a strange behavior when i look at the Apache JK Status Manager page. 
Sometimes i can see a lot of busy connection to tomcat.
I have performed several threaddumps when this happens and yesterday I have 
noticed a bottle neck which is caused by this thread:

"TP-Processor23222" daemon prio=1 tid=0x3a4ed930 nid=0x61eb runnable 
[0x0eee8000..0x0eee8e40]
at java.util.TreeMap$3.iterator(TreeMap.java:672)
at java.util.TreeMap.putAll(TreeMap.java:320)
at 
javax.management.modelmbean.DescriptorSupport.init(DescriptorSupport.java:468)
at 
javax.management.modelmbean.DescriptorSupport.(DescriptorSupport.java:211)
at 
javax.management.modelmbean.DescriptorSupport.clone(DescriptorSupport.java:802)
- locked <0x54be3d00> (a javax.management.modelmbean.DescriptorSupport)
at 
javax.management.modelmbean.ModelMBeanOperationInfo.getDescriptor(ModelMBeanOperationInfo.java:364)
at 
javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptor(ModelMBeanInfoSupport.java:553)
at 
org.jboss.mx.modelmbean.ModelMBeanInvoker.override(ModelMBeanInvoker.java:804)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1407)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1402)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:361)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at 
org.apache.jk.common.ChannelSocket.registerRequest(ChannelSocket.java:439)
at 
org.apache.jk.common.HandlerRequest.checkRequest(HandlerRequest.java:459)
- locked <0x597f3458> (a java.lang.Object)
at 
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:470)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:363)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)


Here is the configuration of the connector in /jbossweb-tomcat55.sar/server.xml:

 Connector port="11109" address="${jboss.bind.address}"
 maxThreads="1000" strategy="ms" minSpareThreads="5" 
maxSpareThreads="15"
 emptySessionPath="true" enableLookups="false" redirectPort="11143"
 bufferSize="10240" maxHttpHeaderSize="8192" tcpNoDeal="true"
 protocol="AJP/1.3"

Is there a known issue which correspond to this behaviror?

Thanks for your help!


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

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


[jboss-user] [Remoting] - Re: The invoker for locator (InvokerLocator [socket://xx.xx

2008-12-17 Thread sreepraveen_2000
I tried to fix the invoker problem by removing the local url from invoker 
registry.

but, i get a different problem now.


  | 
  | Caused by: java.net.BindException: Address already in use
  | at java.net.PlainSocketImpl.socketBind(Native Method)
  | at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
  | at java.net.ServerSocket.bind(ServerSocket.java:319)
  | at java.net.ServerSocket.(ServerSocket.java:185)
  | at 
javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193)
  | at org.jboss.remoting.transport.Connector.start(Connector.java:322)
  | at 
org.jboss.remoting.transporter.TransporterServer.start(TransporterServer.java:193)
  | at 
org.jboss.remoting.transporter.TransporterServer.createTransporterServer(TransporterServer.java:293)
  | at 
org.jboss.remoting.transporter.TransporterServer.createTransporterServer(TransporterServer.java:260)
  | at 
org.jboss.remoting.transporter.TransporterServer.createTransporterServer(TransporterServer.java:502)
  | at 
com.x.datamodel.client.TransporterClients.createServer(TransporterClients.java:181)
  | 
  | 

The sockets are not being released. Is there a way I can close the sockets 
externally.

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

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


Re: [jboss-user] [JBoss Portal] - Re: Portlet 2.0 Tag Library

2008-12-17 Thread Fernando Ribeiro
You need to add the Portlets 2.0 TLD do your WAR files, unlike you would if
you were using the Portlets 1.0 TLD. Refer to
http://fernandoribeiro.eti.br/2008/12/10/using-the-portlets-20-tld-in-jboss-portal-27/.
Note that there is a pending question regarding why the Portlets 1.0 TLD is
anyway added to the exploded WAR. Thanks.

On Wed, Dec 17, 2008 at 5:46 AM, apellicon  wrote:

> Any help? Do I need to provide some more data?
>
> View the original post :
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197039#4197039
>
> Reply to the post :
> http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197039
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
>
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - JMS provider failure detected for javax.naming.Na

2008-12-17 Thread gmrao78
We are getting the following error when we are trying to deploy EJB2.1 based 
MDB in jboss-4.2.3.GA server. Any help is appreciated.

13:17:30,734 WARN  [JMSContainerInvoker] JMS provider failure detected for 
javax.naming.NameNotFoundException: XAConnectionFactory 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:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:615)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:944)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor5.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.GeneratedMethodAccessor10.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.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor5.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.GeneratedMethodAccessor10.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 $Proxy57.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:429)

[jboss-user] [JBoss Tools (users)] - Re: problem while deploying a seam web project

2008-12-17 Thread rob.stry...@jboss.com
The reasons for this behavior was a bug upstream in eclipse WebTools.  Details 
were posted here:  http://relation.to/8932.lace

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.

2008-12-17 Thread kukeltje
@Jan,
Yes, the lock can be on the processdefinition. If it complaints and you have a 
reference to the xsd, remove that  validating against the xsd does not work 
then. (also a jira issue might be created then for the xsd to be updated)

@Martin.. Yes, I'd like to but I get 403's when committing. Someone has to fix 
that and I don't know who (already informed Tom)

The generator type was just to see if postgress would work then and kind of 
confirm it has a releation to generated-id's (via sequences) or auto-increment 
one. It was never meant to be changed indefinately

On a sidenote, If I add the flush back in the code, my H2 oracle compatible db 
does not lead to any errors as without it I get a SOE

The strange thing is that UPGRADE and FORCE (the default if nothing is 
provided) are kind of similar for hibernate. FORCE also working for not 
versioned objects... strange. Maybe one of the JBoss Hibernate experts could 
have a look. 

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.

2008-12-17 Thread kukeltje
@erciped:

No, and I can't (at least not against a real Oracle or PostgreSQL). I agree 
that the issue seems to be in that direction. Can you give it a try?


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-17 Thread kukeltje
Can you try async=exclusive?

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

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


[jboss-user] [JBoss jBPM] - Re: Cancelling dynamically created tasks

2008-12-17 Thread kukeltje
anonymous wrote : when I tried to fetch pending tasks with 
executionContext.getTaskMgmtInstance().getTaskInstances() 

>From where?

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

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


[jboss-user] [JBoss jBPM] - Re: serialization or parallel in a tasknode

2008-12-17 Thread kukeltje
anonymous wrote : co-signing is creating serverl tasks in one tasknode, but 
runing order of them are specific. 
You can't as mentioned earlier

anonymous wrote : what i need is like it, except that the order can be 
specified. 
Again... you can't Tasks carried out one after another (if that is 
important) are not, never the same.. The content of the task might be, but 
since the order is important, it is flow... 

You can do two things... 
- Wait for jBPM 4 and *hope* it will be so much more flexible that you can 
configure this
- Create the tasks with and give then e.g. a specific name or set a task-local 
variable and create your own tasklist manager that filters all tasks out that 
should not be visible yet
anonymous wrote : Could you give the example link to me, i could not find it, 
sorry. 
No, since there is none 


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

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


[jboss-user] [JBoss jBPM] - Re: How to best control access from multiple threads to a Pr

2008-12-17 Thread kukeltje
 Sorry... Adding processvariable to a processinstance to say it is idle (in 
a waitstate) or not 

Again.. this sounds like a really strange solution to an ever stranger 
description... I think you misunderstand some concepts of jBPM, or I'm loosing 
it... not sure which one it is..

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Spring TransactionManager

2008-12-17 Thread jegutierrezl
H i see, this implements javax.transaction.TransactionManager, but the 
error persist in jboss 4.0.2, 4.2.0 and 5 beta. i not found nothing solution...

thx 4 your response 

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

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


[jboss-user] [JBoss Portal] - Authentication portlet

2008-12-17 Thread kocoubb
Hello all,

I need to create a portlet that captures data from the authenticated user, for 
example username and password to conduct consultations in another database.

can someone help me.


thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: Latest jbpm-console sources

2008-12-17 Thread kukeltje
1: The current JSF console.
2: was a try to get a new seam based console. 
3: The 'new' console will be GWT based and is in 
http://anonsvn.jboss.org/repos/jbpm/projects/gwt-console/

So either 1 or 3

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Spring TransactionManager

2008-12-17 Thread alesj
Do you have jta.jar in your app?

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

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


  1   2   >