[jboss-user] [JBoss jBPM] - Re: Deployment of jBPM3.3.1 under JBoss 4.2.3 fails

2009-02-17 Thread aroeder
Thank you very much. I found it, it is:

/jbpm-console/app/upload

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

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


[jboss-user] [JBoss jBPM] - jbpm 3.2.ga set transition

2009-02-17 Thread idankoch
Hi

i'm using jbpm version  3.2.ga with OC4J 10.1.2
I'm to set an action that will check a variable and will change the transition 
and i am unable

the action has the following action definied.
i'm able to get into the action and but when i set transition i tried various 
ways to set the transition in the action.

can you please advise maybe give code sinnepts of the process definition and 
the action handler?

my process defintion


  | 
  | 
  | 






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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss 5.0

2009-02-17 Thread manjuv
please let me know the steps to change timout in the server editor.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Starting JBoss 5.0

2009-02-17 Thread manjuv
Hi,

Using Eclipse 3.4.1 iam trying to starting Jboss, but i get the error mentioned 
below.

Server JBoss V 5.0 at localhost was unable to start within 50 seconds. If the 
server requires more time, try increasing the timeout in the server editor.

Thanks,
Manju V

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

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


[jboss-user] [JBoss jBPM] - Re: setting the name on a transaction fails

2009-02-17 Thread tbee
"kukeltje" wrote : Yes, you might be right, but it is quicker to fix in your 
custom editor then waiting several weeks before it is fixed in jBPM (if at 
all). First thing to do is to file a jira issue with enough information...

https://jira.jboss.org/jira/browse/JBPM-2046

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

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


[jboss-user] [JBoss jBPM] - Re: setting the name on a transaction fails

2009-02-17 Thread tbee
"kukeltje" wrote : Yes, you might be right, but it is quicker to fix in your 
custom editor then waiting several weeks before it is fixed in jBPM (if at 
all). First thing to do is to file a jira issue with enough information...

Naturally, and I did that ofcourse. But I usually first check if my opinion of 
this being a bug is misguided.

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

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


[jboss-user] [JNDI/Naming/Network] - Need to restart JBoss, to avoid Could Not Instantiate Bean E

2009-02-17 Thread amollekurwale
Hi,
I am developing a enterprise application, wherein, sometimes, when GUI user 
sends a request for a particular operation, and EJB is invoked, I get an 
exception 'javax.ejb.EJBException Could not instantiate bean'.
When I restart JBOSS, the error goes away.
Had it been my application problem, it would occur whenever the request was 
sent.
What is the reason for this exception, and how to avoid it?

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

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


[jboss-user] [JBoss Messaging] - Re: message compression

2009-02-17 Thread timfox
javadude-

If you'd like to have a go at implementing this, the classes to look at are:

ClientSessionFactoryImpl:: you'd need to add at least one new param

int maxUnCompressedSize - any messages above this size get automatically 
compressed.

then in

ClientProducerImpl, before sending the message, you'd need to take the message 
body and zip it before sending.

in ClientConsumerImpl you'd do the uncompressing.

Best to take this discussion to the design forum, since it's no longer a user 
issue... :)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210920
___
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 installation - query

2009-02-17 Thread iinfi
when i started JBOSS with the icon on the desktop which points to 
$JBOSS_HOME/bin/run.sh -c all

i do get a message saying 
started in 50s : 475ms

earlier i had run just ./run.sh without the parameter -c all

wonder what the difference is

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

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


[jboss-user] [JBoss jBPM] - persistent execution mode

2009-02-17 Thread galanfish
can anyone give me a persistent execution mode program demo?
i have been stucked..

my testcase and exception jvm method call stack as follow:

public class PersistentExecutionModeTest extends EnvironmentFactoryTestCase {
  | 
  |   public void testDeploy() {// seems ok
  | ///*
  |   JbpmConfiguration environmentFactory = 
(JbpmConfiguration)getEnvironmentFactory();
  |   ProcessService processService = 
environmentFactory.get(ProcessService.class);
  |   
  |   ClientProcessDefinition processDefinition = ProcessDefinitionBuilder
  | .startProcess("test")
  | 
  |   .startActivity("start", WaitState.class)
  | .initial()
  | .flow("end","end")
  |   .endActivity()
  |   
  |   .startActivity("end", AutomaticActivity.class)
  |   .endActivity()
  |   
  | .endProcess();
  |   
  | Deployment deployment = new DeploymentImpl();
  | deployment.addObject("testProces", processDefinition);
  | 
  | ((ProcessServiceImpl) processService).deploy(deployment);
  | //  */
  |   }
  |   
  |   public void testStartProcessInstance() {  // seems ok, 2
  |   
  | JbpmConfiguration environmentFactory = (JbpmConfiguration) 
getEnvironmentFactory();
  | ExecutionService executionService = 
environmentFactory.get(ExecutionService.class);
  | Execution execution = 
executionService.startProcessInstanceById("test:1", "request17");
  |   }
  |   
  |   public void testResumeProcessInstance(){ // something wrong...  
  |   JbpmConfiguration environmentFactory = 
(JbpmConfiguration)getEnvironmentFactory();
  |   ExecutionService executionService = 
environmentFactory.get(ExecutionService.class);
  |   Execution execution = 
executionService.signalExecutionById("test/request17", "end");  // 
exception occured here 
  | 
  |   }
  | 
  | }

exception:
Hibernate: 
/* delete org.jbpm.pvm.internal.model.ExecutionImpl */ delete 
from
JBPM_EXECUTION 
where
DBID_=? 
and DBVERSION_=?
10:36:37,578 WRN | [JDBCExceptionReporter] SQL Error: 1451, SQLState: 23000
10:36:37,578 SEV | [JDBCExceptionReporter] Cannot delete or update a parent 
row: a foreign key constraint fails (`jbpm_pvm/jbpm_execution`, CONSTRAINT 
`FK_EXEC_INSTANCE` FOREIGN KEY (`INSTANCE_`) REFERENCES `jbpm_execution` 
(`DBID_`))
### EXCEPTION ###
10:36:37,578 SEV | [AbstractFlushingEventListener] Could not synchronize 
database state with session
org.hibernate.exception.ConstraintViolationException: could not delete: 
[org.jbpm.pvm.internal.model.ExecutionImpl#4]
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2546)
at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2702)
at 
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:77)
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:172)
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.jbpm.pvm.internal.tx.HibernateSessionResource.prepare(HibernateSessionResource.java:54)
at 
org.jbpm.pvm.internal.tx.StandardTransaction.commit(StandardTransaction.java:106)
at 
org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:65)
at 
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:61)
at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:52)
at 
org.jbpm.pvm.internal.model.ProcessInstanceEndedSynchronization.afterCompletion(ProcessInstanceEndedSynchronization.java:52)
at 
org.jbpm.pvm.internal.tx.StandardSynchronization.afterCompletion(StandardSynchronization.java:41)
at 
org.jbpm.pvm.internal.tx.StandardTransaction.afterCompletion(StandardTransaction.java:213)
at 
org.jbpm.pvm.internal.tx.StandardTransaction.commit(StandardTransaction.java:153)
at 
org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:65)
at 
org.j

[jboss-user] [JBoss Getting Started Documentation] - Re: JBOSS installation - query

2009-02-17 Thread iinfi
when i write http://localhost:8080 on my browser i do get the JBOSS welcome 
page.
are the logs which i posted OK?
is there anything else i need to look at?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210915
___
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 installation - query

2009-02-17 Thread iinfi

Thanks  a lot Peter.

i dont get a Started in xx seconds when i run the run.sh
this is what i get


  | [jb...@localhost bin]$ ./run.sh 
  | 
  | =
  | 
  |   
  | JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as
  | 
  |   JAVA: /usr/java/jdk1.6.0_11/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1203m -Xmx1203m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: 
/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/bin/run.jar:/usr/java/jdk1.6.0_11/lib/tools.jar
  | 
  | =
  | 
  | 
  | 08:42:23,129 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 08:42:23,137 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP03 (build: 
SVNTag=JBPAPP_4_3_0_GA_CP03 date=200810241616)
  | 08:42:23,144 INFO  [Server] Home Dir: 
/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as
  | 08:42:23,294 INFO  [Server] Home URL: 
file:/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/
  | 08:42:23,397 INFO  [Server] Patch URL: null
  | 08:42:23,399 INFO  [Server] Server Name: production
  | 08:42:23,400 INFO  [Server] Server Home Dir: 
/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production
  | 08:42:23,402 INFO  [Server] Server Home URL: 
file:/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/
  | 08:42:23,403 INFO  [Server] Server Log Dir: 
/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/log
  | 08:42:23,405 INFO  [Server] Server Temp Dir: 
/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/tmp
  | 08:42:23,407 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 08:42:25,714 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
  | 08:42:25,716 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
11.0-b16,Sun Microsystems Inc.
  | 08:42:25,717 INFO  [ServerInfo] OS-System: Linux 2.6.18-53.el5,i386
  | 08:42:27,822 INFO  [Server] Core system initialized
  | 08:42:39,096 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 08:42:39,104 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 
  | 
  | 


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

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


[jboss-user] [JBoss Messaging] - Re: Exception coming in creating our own Connection Factory

2009-02-17 Thread gaohoward
bisocket is the default transport JBM uses. you can find 
remoting-http-service.xml under 5.0.0.GA/docs/examples/jms directory.


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

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


[jboss-user] [Remoting] - Re: CannotConnectException/BindException on running clients

2009-02-17 Thread vink
Prior to 2.4.0.SP1, every call to SLSB was creating a socket; as a result 
system run out of sockets & it throws cannot connect exception.

I migrated to this version who claimed to solve this bug. Also this version 
exposed an extra attribute "invokerDestructionDelay", which is used for reusing 
the socket connection for a given delay.

I've just added this attribute to the default configuration & my system is 
running without any issues. This attribute is optional, you can just try this 
new version of remoting.

 
  |   jboss.aop:service=AspectDeployer
  |   socket://${jboss.bind.address}:3873/?invokerDestructionDelay=5000
  |   
  |  
  | org.jboss.aspects.remoting.AOPRemotingInvocationHandler
  |  
  |   
  |

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hot deployment of jar file

2009-02-17 Thread margotmedia
i supposed you have to delete caches that were created of your old jar.

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

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


[jboss-user] [JBoss Messaging] - Re: Exception coming in creating our own Connection Factory

2009-02-17 Thread siddharth_2279
Hi, 

anonymous wrote : You need to deploy the http remoting transport. There should 
be an example, remoting-http-service.xml.
  | 
  | The Remoting docs will have instructions on how to do this.

What do I need to do to deploy the http remoting transport. Where is this file 
: remoting-http-service.xml? I am able to see only the file 
remoting-bisocket-service.xml in the path 
(jboss-5.0.0.GA\server\default\deploy\messaging). 

Where are the remoting docs? Please tell me the path. 

Do I need to specifically deploy http remoting transport for the messaging 
examples.  We weren't required to do this in JBoss-4.2.2.G.A 

Please guide me. I am not able to proceed because of this. Thanks in advance. 


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

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


[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread gaohoward
I think I'm clear now about what your case is. From JBM respective, you only 
have one server machine and one client machine. To enable the two machine talk 
to each other via bisocket transport, you need to start the bisocket connector 
service on both machine. How bisocket works is well explained in its document, 
which is available for download at jboss.org.



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

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


[jboss-user] [JBoss Messaging] - Re: Problems with jaas SecurityDomain and @MessageDriven

2009-02-17 Thread gaohoward
I suppose you are using JBM 1.4.1.GA that comes with JBOSS AS 5. It doesn't 
look like a jboss messaging issue. Can you please give the full stack trace of 
the exception and also your queue configuration in destinations-service.xml so 
we can have a better understanding of this issue? also can you please post to 
AS forum also to get more help?


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

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


[jboss-user] [JBoss jBPM] - Re: Blocking call from Java to jBPM workflow

2009-02-17 Thread kukeltje
yes, ended or stopped... I read that as the same 

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

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


[jboss-user] [JBoss Portal] - Re: Ajax Request and Session prolongation

2009-02-17 Thread ergautam
HI,

 To keep your portal session alive, you will have to send Ajax request to a 
servlet that is configured in 
JBOSS_PORTAL_HOME/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml.

I have done this in my project and it works fine.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to use H2 database from Jboss

2009-02-17 Thread sdsani
Thakns. This document was helpful. I got it working now.

Sani

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

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


[jboss-user] [JBoss Portal] - Re: Problem with cach when a user modifies his password on J

2009-02-17 Thread ergautam
I am having similar problem, when i change roles of a user, he logs out and 
logs in back, he still has access to the modules which were mapped to his 
earlier roles.

When i tried to delete that user i got this error:
anonymous wrote : 2009-02-17 16:37:30,904 WARN  
[org.hibernate.util.JDBCExceptionReporter] SQL Error: 2292, SQLState: 23000
  | 2009-02-17 16:37:30,905 ERROR [org.hibernate.util.JDBCExceptionReporter] 
ORA-02292: integrity constraint (B2BPORTALADMIN26.FKF410173866F4DA65) violated 
- child record found
  | 
  | 2009-02-17 16:37:30,905 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 2292, SQLState: 23000
  | 2009-02-17 16:37:30,906 ERROR [org.hibernate.util.JDBCExceptionReporter] 
ORA-02292: integrity constraint (B2BPORTALADMIN26.FKF410173866F4DA65) violated 
- child record found
  | 
  | 2009-02-17 16:37:30,907 ERROR 
[org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.exception.ConstraintViolationException: Could not execute 
JDBC batch update
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)

when i tried to delete the user second time, the user got deleted.

I created the user again and now his new roles are working, but i have lost 
confidence in the Role based access provided by portal.

Any remedies for this kind of issue .. 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Changing startup order so quartz can find my datasource bind

2009-02-17 Thread mrfixit440
I'm upgrading from JBoss 4.0.2 to JBoss 4.2.3.GA.  During startup, the 
quartz-ra.rar complains my datasource 'writableDs' is not bound.  After it 
errors, all the datasources get bound correctly.  I think if I can change the 
order of when these datasources get bound during startup, quartz will be happy 
and the rest of my applications will deploy.  Can someone tell me how to quartz 
dependent on my datasource?  Here is my server.log.

===

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\h\COTS\jboss-4.2.3.GA

  JAVA: C:/h/COTS/jdk1.5.0_04\bin\java

  JAVA_OPTS:  -Xrs -Dorg.omg.CORBA.ORBClass=com.sun.corba.se.internal.iiop.ORB -
Dorg.omg.CORBA.ORBSingletonClass=com.sun.corba.se.internal.corba.ORBSingleton -X
X:MaxPermSize=256m -Xss1024k -Dinetbasics.iap.home=C:/bacn/server -Dinetbasics.i
ap.config=config -Dib.home=C:/bacn -Dorg.apache.commons.logging.Log=org.apache.c
ommons.logging.impl.Jdk14Logger -Djava.util.logging.config.file=C:/bacn/server/c
onfig/logging.properties -Dorg.quartz.properties=C:/bacn/server/config/quartz.jd
bc.properties -Dhpac.install=E:\source\jcams_merge\jem2_src\segments\JEMSC -Dhpa
c.data=E:\source\jcams_merge\jem2_src\segments\JEMSC\data -Dhpac.properties.file
=\data\ini -Djava.library.path="E:\source\jcams_merge\jem2_src\segments\JEMSC\da
ta_local\login;E:\source\jcams_merge\jem2_src\segments\JEMSM\bin\JEMSM_DLL;C:\Pr
ogram Files\ArcGIS\bin;C:\h\COTS\ArcGIS\bin;" -Djavax.net.ssl.keyStore=C:/h/COTS
/jboss-4.2.3.GA/server/default/conf/Certificates/JEM-server.keystore -Djavax.net
.ssl.keyStorePassword=123456 -Djavax.net.ssl.trustStore=C:/h/COTS/jboss-4.2.3.GA
/server/default/conf/Certificates/JEM-client.truststore -Djavax.net.ssl.trustSto
rePassword=123456 -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc
.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360

  CLASSPATH: C:/h/COTS/jdk1.5.0_04\lib\tools.jar;C:\h\COTS\jboss-4.2.3.GA\bin\ru
n.jar

===

16:39:03,202 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:39:03,202 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
JBoss_4_2_3_GA date=200807181417)
16:39:03,202 INFO  [Server] Home Dir: C:\h\COTS\jboss-4.2.3.GA
16:39:03,202 INFO  [Server] Home URL: file:/C:/h/COTS/jboss-4.2.3.GA/
16:39:03,202 INFO  [Server] Patch URL: null
16:39:03,202 INFO  [Server] Server Name: default
16:39:03,202 INFO  [Server] Server Home Dir: C:\h\COTS\jboss-4.2.3.GA\server\def
ault
16:39:03,202 INFO  [Server] Server Home URL: file:/C:/h/COTS/jboss-4.2.3.GA/serv
er/default/
16:39:03,202 INFO  [Server] Server Log Dir: C:\h\COTS\jboss-4.2.3.GA\server\defa
ult\log
16:39:03,202 INFO  [Server] Server Temp Dir: C:\h\COTS\jboss-4.2.3.GA\server\def
ault\tmp
16:39:03,202 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:39:03,623 INFO  [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
16:39:03,623 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_04-b05
,Sun Microsystems Inc.
16:39:03,623 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
16:39:04,856 INFO  [Server] Core system initialized
16:39:09,755 INFO  [WebService] Using RMI server codebase: http://LMCA811026077:
8083/
16:39:09,755 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
16:39:11,112 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
16:39:11,112 INFO  [TransactionManagerService] Setting up property manager MBean
 and JMX layer
16:39:11,534 INFO  [TransactionManagerService] Starting recovery manager
16:39:11,659 INFO  [TransactionManagerService] Recovery manager started
16:39:11,659 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
16:39:18,102 INFO  [EJB3Deployer] Starting java:comp multiplexer
16:39:21,831 INFO  [NativeServerConfig] JBoss Web Services - Native
16:39:21,831 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200
803312044)
16:39:26,559 WARN  [config] Unable to process deployment descriptor for context
'/JEMSC_GUI/resp_data'
16:39:29,414 WARN  [config] Unable to process deployment descriptor for context
'/JEMVIS/viewer/Output'
16:39:29,820 WARN  [config] Unable to process deployment descriptor for context
'/JEMVIS/resp_data'
16:39:29,929 WARN  [config] Unable to process deployment descriptor for context
'/JEMSC_GUI/help'
16:39:30,803 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
16:39:31,115 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
16:39:31,942 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
16:39:32,332 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:39:34,578 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=...

[jboss-user] [EJB 3.0] - MDB calling a session bean but session bean not getting reus

2009-02-17 Thread shreyasshinde
Hello,

Sorry about the cross post. I have already posted this message in the EJB/JBoss 
forums but didn't get any solutions.

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

The issue is that when an MDB invokes some SLSB, the SLSB seems to be marked as 
busy even after the MDB is done using it. As a consequence, the SLSB don't get 
reused. Every time the MDB invokes an SLSB a new SLSB gets created.

The JMX MBean view however, shows that the bean is available.

I have a nice application to show this behavior but I dont know how to attach 
it to this post.

Any help on this would be appreciated.

Thanks,

Shreyas

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

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


[jboss-user] [Microcontainer] - Possible bug in jboss-cl dep resolution

2009-02-17 Thread david.ll...@jboss.com
I'm deploying a couple of JARs in the "all" profile of a jbossas built from the 
5.1 branch and getting a weird problem.  I was originally getting that NPE bug, 
so I updated jboss-cl to a 2.0.3-SNAPSHOT I built from svn and installed 
locally.  Having done so, my deployment now generates a very large number of:

18:48:26,025 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,068 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,068 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,073 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,073 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,078 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,078 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,080 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,080 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,080 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,080 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,080 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,081 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,081 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,081 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.spi.deployer [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-all=true. Cannot check its consistency.
  | 18:48:26,124 WARN  [RequirementDependencyItem] 
VFSDeploymentClassLoaderPolicyModule :1.0.0.CR1 resolved 
PackageRequirement{org.jboss.deployers.vfs.deployer.kernel [0.0.0,?)} to 
VFSClassLoaderPolicyModule deployers-classloader:0.0.0 which has 
import-

[jboss-user] [EJB/JBoss] - Re: MDB calling a session bean, session bean not getting reu

2009-02-17 Thread shreyasshinde
I have a nice little reproducible test case to see this behavior but I don't 
know how to attach it to this posting.

Thanks,

Shreyas

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

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


[jboss-user] [EJB 3.0] - Re: Couldn't handle invocation directly within...StatelessRe

2009-02-17 Thread ebross
Wolfgang Knauf
>>could you improve error logging in the "AbstractDocumentPageBean"? 

Thanks again. I have added  "e.printStackTrace()" in the catch and the 
error says, "EJBAccessException: Invalid User." I used to have security 
annotations on my stateless bean DocumentController; I have removed them 
thinking they might be the causes but the error is still the same. I have also 
removed all security constrainst in my  web.xml, but again, the output is still 
the same. Here is the relevant trace:

23:50:17,057 INFO  [MyfacesConfig] Starting up Tomahawk on the 
RI-JSF-Implementation.
  | 23:50:17,967 ERROR [STDERR] Feb 17, 2009 11:50:17 PM 
org.apache.myfaces.trinidad.webapp.ResourceServlet _initDebug
  | INFO: Trinidad ResourceServlet is running in debug mode. Do not use in a 
production environment. See the org.apache.myfaces.trinidad.resource.DEBUG 
parameter in /WEB-INF/web.xml
  | 23:50:18,516 ERROR [STDERR] Feb 17, 2009 11:50:18 PM 
org.apache.myfaces.trinidadinternal.skin.SkinFactoryImpl getSkin
  | WARNING: Can't find a skin that matches family -skin and renderkit 
org.apache.myfaces.trinidad.desktop, so we will use the simple skin
  | 23:51:09,930 ERROR [STDERR] javax.ejb.EJBAccessException: Invalid User
  | 23:51:09,931 ERROR [STDERR] at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:137)
  | 23:51:09,931 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,932 ERROR [STDERR] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
  | 23:51:09,932 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,932 ERROR [STDERR] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 23:51:09,932 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,932 ERROR [STDERR] at 
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:65)
  | 23:51:09,933 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,933 ERROR [STDERR] at 
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
  | 23:51:09,933 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,933 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:486)
  | 23:51:09,934 ERROR [STDERR] at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:97)
  | 23:51:09,934 ERROR [STDERR] at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
  | 23:51:09,934 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 23:51:09,934 ERROR [STDERR] at 
org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
  | 23:51:09,935 ERROR [STDERR] at $Proxy830.invoke(Unknown Source)
  | 23:51:09,935 ERROR [STDERR] at 
org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261)
  | 23:51:09,935 ERROR [STDERR] at 
org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)
  | 23:51:09,935 ERROR [STDERR] at $Proxy3357.createEntity(Unknown 
Source)
  | 23:51:09,935 ERROR [STDERR] at 
com...web.bean.AbstractDocumentPageBean.createButton_action(AbstractDocumentPageBean.java:302)
  | 23:51:09,936 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 23:51:09,936 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 23:51:09,936 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 23:51:09,936 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 23:51:09,937 ERROR [STDERR] at 
org.apache.el.parser.AstValue.invoke(AstValue.java:170)
  | 23:51:09,937 ERROR [STDERR] at 
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | 23:51:09,937 ERROR [STDERR] at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | 23:51:09,937 ERROR [STDERR] at 
org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
  | 23:51:09,938 ERROR [STDERR] at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
  | 23:51:09,938 ERROR [STDERR] at 
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.jav

[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread PeterJ
I don't have anything that uses two servers. And from my understanding, the 
remoting/bisocket connector is for between a client and the server. But then I 
could be wrong. Perhaps someone on the messaging team will chime in.

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

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


[jboss-user] [JBoss jBPM] - Re: Blocking call from Java to jBPM workflow

2009-02-17 Thread salaboy21
of course that is blocking until the process reach a wait state.. that is what 
i'm saying..
I don't understand why hkap...@ciber.com say that is not blocking.
So is blocking for nature.. i you use a wait state is because that you want to 
stop this blocking behavior and let someone else interact with the process.
I think if hkap...@ciber.com understand the concept he should review his 
question...
he also mention "workflow is ended or stopped", so i understand that he think 
that always the process interaction is not blocking





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

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


[jboss-user] [Beginners Corner] - Starting JBoss under Red Hat Linux without root permission

2009-02-17 Thread millerdl
I am using JBoss 4.0.4GA and launching from a java program (main) using the 
run.jar included.  I have been trying to figure out how to launch JBoss as a 
user other than root.  Launching as root seems to be the only way I can deploy 
properly.  Is there a way to control launching JBoss as a user other than root 
with out modifying permissions on the standard Linux directories or adding a 
special login or group for JBoss?

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

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


[jboss-user] [JBoss jBPM] - Re: Blocking call from Java to jBPM workflow

2009-02-17 Thread kukeltje
Mauricio,

It is blocking until the process enters a first waitstate So it is not 
blocking until the process ends. Not that you would want that if so, you 
have STP and should not use waitstates

A 'callback handler' is easily done as an action on the process-end event

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

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


[jboss-user] [JBoss jBPM] - Re: Deployment of jBPM3.3.1 under JBoss 4.2.3 fails

2009-02-17 Thread kukeltje
it should be /jbpm-console/apps/upload (or something similar, check the forum) 
has been mentioned a couple of days ago

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

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


[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread hatleye
I will take a look at those examples, but I am really trying to use JBoss 4.x 
app server and messaging 1.4.  

There is quite a difference in the way it is coded, and we are already set up 
on JBoss 4.2

Would you have any simple example of this on that platform? involving 2 
servers? each on a different machine?  I completely understand the example 
where one server is involved, but I am bit hazy on how the remoting/bisocket 
connector allows this to  work.

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

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


[jboss-user] [JBoss jBPM] - Re: setting the name on a transaction fails

2009-02-17 Thread kukeltje
Yes, you might be right, but it is quicker to fix in your custom editor then 
waiting several weeks before it is fixed in jBPM (if at all). First thing to do 
is to file a jira issue with enough information...

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

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


[jboss-user] [JBoss jBPM] - Re: exploring JBPM 4: some questions

2009-02-17 Thread kukeltje
4:
Yes, if you provide more info (like e.g. what version of jBPM4 (alpha1, svn 
trunk), you can file a jira issue on the (probable) mismatch between docs and 
api

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Passing LDAP-authenticated users from Apache to JBoss

2009-02-17 Thread dan957
Hi Everyone,

I was hoping to get your insights.  I am trying to migrate an 
Apache+LDAP+Tomcat application to an Apache+LDAP+JBoss set-up.  

Authentication is done by Apache via LDAP for protected resources.  While it 
works fine for the existing Tomcat set-up, on my JBoss set-up, it does not 
work; server.log shows nullpointer exceptions because it is not able to pick up 
the user that just logged in.  I can confirm via Apache's logs that LDAP 
authentication is happening correctly, but looking at the JBoss request dumper 
logs, I observe that remoteuser=null.  Other parameters have values in them, 
such as request uri, header referer, remoteaddr, servletpath, etc.

Now since I am not a developer, I am not sure if picking up the username from 
the Apache request should be done programatically, or if I am missing something 
in the JBoss configuration.

Apache 2.0.63, JBossAS4.2.3GA, mod_jk1.2.27

Kind regards,
Dan

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - per valve deployment

2009-02-17 Thread sfisque
greetings!

using jboss as 4.2.3-GA, running on solaris 10, jdk 1.5.0

is there a way to selectively deploy webapps on a given protocol valve?  what 
i'm trying to achieve is to have some webapps deployed only on the HTTP valve, 
and others deployed only on the HTTPS valve.

TIA

== stanton


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Can I create a login .war module that my other .war modu

2009-02-17 Thread vparmar
We have a solution for Web applications deployed on same JBoss Instance to 
delegate Authentication to different co-hosted web application.


Essentially For Web Application/Module ABC1, ABC2, , a Servlet Filter checks 
for Request/Session parameters (for example USER_NAME, etc). If the Servlet 
Filter does not find a user in request/session, then it forwards the Request to 
the LOGON_XYZ Web App responsible for Authentication.

The LOGON_XYZ web application authenticates the User by validating the 
credentials provided by the User.

Once the User is successfully Authenticated, the LOGON_XYZ web application a) 
Sets the User information in the Request b) forwards the Request to the ABC1 
web application.  The ABC1 Web app Servlet Filter checks and finds a User in 
the Request and allows User to continue to the requested page flow.

The Servlet Filter code is somewhat like this



  | package somepackage;
  | 
  | import java.io.IOException;
  | import javax.servlet.Filter;
  | import javax.servlet.FilterChain;
  | import javax.servlet.FilterConfig;
  | import javax.servlet.RequestDispatcher;
  | import javax.servlet.ServletContext;
  | import javax.servlet.ServletException;
  | import javax.servlet.ServletRequest;
  | import javax.servlet.ServletResponse;
  | import javax.servlet.http.HttpServletRequest;
  | import javax.servlet.http.HttpSession;
  | 
  | /**
  |  * 
  |  * MyServletFilter intercepts host web applications requests inspects to 
verify if a User is logged in.
  |  * If a User is not logged in to the Host web application, the User is 
forwarded to the LOGON_XYZ Web application for Authentication.
  |  * @author parmarv
  |  *
  |  */
  | 
  | public class MyServletFilter implements Filter {
  | 
  | 
  | private FilterConfig filterConfig = null;
  | 
  | // This method is called once on server startup
  | public void init(FilterConfig filterConfig) {
  | this.filterConfig = filterConfig;
  | }
  | // This method is called once on server shut down
  | public void destroy() {
  | this.filterConfig = null;
  | }
  | 
  | public void doFilter(ServletRequest request, ServletResponse response,
  | FilterChain chain) throws IOException, ServletException 
{
  | 
  | // Check if Attribute for this SessionID is available in the 
ServletContext.
  | boolean invokeLOGON_XYZ = false;
  | if (request instanceof HttpServletRequest) {
  | HttpSession session = ((HttpServletRequest) request)
  | .getSession(true);
  | if (session != null && session.isNew()) {
  | // Invoke LOGON_XYZ.
  | invokeLOGON_XYZ = true;
  | } else {
  | // Check For User in Session
  | if 
(session.getAttribute("USER_NAME_TOKEN_OR_ID") == null) {
  | // User is not logged in since 
USER_NAME_TOKEN_OR_ID is not available.
  | // Invoke LOGON_XYZ
  | invokeLOGON_XYZ = true;
  | }else{
  | // User is logged in since 
USER_NAME_TOKEN_OR_ID is available.
  | // Continue normal operation
  | chain.doFilter(request, response);
  | }
  | if(invokeLOGON_XYZ){
  | if (filterConfig != null) {
  | String appContextLOGON_XYZ  = 
filterConfig.getInitParameter("LOGON_XYZ_CONTEXT");
  | String dispatchPath = 
"/ABC1_User_home.jsp";
  | ServletContext sc = 
this.filterConfig.getServletContext().getContext("/"+appContextLOGON_XYZ);
  | RequestDispatcher rd = 
sc.getRequestDispatcher(dispatchPath);
  | rd.forward(request, response);
  | return;
  | }
  | }
  | }
  | }
  | chain.doFilter(request, response);
  | return;
  | }
  | }
  | 
  | 

This solution only works for Web application that DO NOT use JBoss Container 
Managed Security. This solution is advisable for a work around solution only. I 
am currently working on a solution for the same for the current issue for my 
project.

I have posted this solution only to show that it is possible to use a second 
web app to delegate the authentication logic to.

HTH,

vparmar



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

Re

[jboss-user] [Security & JAAS/JBoss] - Re: Bind Error with GSSAPI SASL using JBossNegotiate

2009-02-17 Thread david.wade
nulltransfer/darran

I also can't get this working.   It just silently fails.  Testing with the 
toolkit war passes the first two tests but on the secured.

I also rebuild the jboss-negotiation-2.0.3.GA.jar to add the same logging I see 
that you did and found that the bind is failing with exactly the same error as 
you had.  This exception logging need to be added to the release.

Did you resolve why it was not working for you ?

Darran suggested I create a wireshark capture, but I see no way to attach it 
here.   Any suggestion where I should put it.

Will work on the active directory debugging now.   Will post what we find, but 
project timescales will soon dictate a switch of app server if this is not 
resolved soon.

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

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


[jboss-user] [Remoting] - Re: With SSLBisocket is there is java.rmi.server.hostname or

2009-02-17 Thread TheNelson
I haven't forgot this,  I have just been tasked in a different direction.  I'll 
recreate this this week.

Ian


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Role Authorization problem with Custom Authenticator

2009-02-17 Thread brengl
One more comment to clarify, I made no provision in my login module to obtain 
credentials, ie callbackhandler or anything like that. It strictly relied on a 
valid SMSESSION cookie. If it was available and valid it would succeed, 
otherwise it would fail. 

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

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


[jboss-user] [EJB/JBoss] - Re: MDB calling a session bean, session bean not getting reu

2009-02-17 Thread ryanrlamothe
This is the EXACT behavior we have been observing as well, in JBossAS 4.2.2, 
which we have been trying to figure out how to work-around.

We have observed that any stateless session bean called from an MDB is never 
released or any SLSB called from those SLSB's down the line.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Role Authorization problem with Custom Authenticator

2009-02-17 Thread vparmar
brengl,

Thanks for the quick response. I understand your use case was better served 
with the custom login module after all.

Your response did give me ideas on one of my future action items related to 
Siteminder.

vparmar 


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

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


[jboss-user] [Performance Tuning] - Re: Stress test - ORA-00020: maximum number of processes (15

2009-02-17 Thread sra78
Thanks Peter. I will post again with results.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210842
___
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 installation - query

2009-02-17 Thread PeterJ
No, you do not need the -compat file.

JBoss AS comes with several apps. Accessing the root app is mentioned in the 
topic I linked to.  Another one you might try is 
http://localhost:8080/jmx-console.

Also, the app server is running correctly is, when you enter ./run.sh, there 
are no errors in the console log and you see the "Started in xxx seconds" 
message.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: jboss.tomcat.connectors.started JMX Notification Gone?

2009-02-17 Thread jbrow
"remy.mauche...@jboss.com" wrote : Connector start is very similar now: it 
comes from the start notification of JBoss. So adding it back is not so useful, 
but it does compatibility.
  | 

Since this method is "handleNotification()", doesn't that mean the JMX 
notification has already been sent before the connectors are up and running?   

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

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


[jboss-user] [Performance Tuning] - Re: Stress test - ORA-00020: maximum number of processes (15

2009-02-17 Thread PeterJ
Check with your DBA - it is an Oracle setting.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210832
___
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 installation - query

2009-02-17 Thread iinfi
thank you for your reply.

hmm... i have installed the sun jdk and installed with a jar file.

so do you mean the -compat file is not needed for the installation. and things 
will work perfectly.

lastly,

is that any source from where i can get applications to test my installtion. 
whether the application server is working the way it should.

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

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


[jboss-user] [EJB 3.0] - Re: Difference between EJB2 and EJB3 Timer Service

2009-02-17 Thread Raist_Majere
Thanks Dimitris for your quick response. I've just got one other question about 
the Timer Service... Is there any major reason not to migrate from version 2 to 
3 of the Timer Service? It would be useful in order to choose one or another 
implementation for our application. Thanks.

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

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


[jboss-user] [Performance Tuning] - Re: Stress test - ORA-00020: maximum number of processes (15

2009-02-17 Thread sra78
I am not sure how to check Oracle configuration. Is this a setting in any file 
in JBoss, or should I check with my DBA?

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

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


[jboss-user] [Performance Tuning] - Re: Stress test - ORA-00020: maximum number of processes (15

2009-02-17 Thread PeterJ
When you set the max-pool-size to 200, did you also configure Oracle to accept 
200 simultaneous requests? It looks like Oracle is configured to accept only 
150 simultaneous requests.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210824
___
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 installation - query

2009-02-17 Thread PeterJ
One thing that post doesn't talk about is the JDK - you need to either install 
OpenJVM (I know it is available for Fedora and Ubuntu, you'll have to use yum 
to see if it is available for RHEL) or install a Sun JDK (this is what I 
usualyy do) by downloading it from Sun's web site.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210823
___
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 installation - query

2009-02-17 Thread PeterJ
I think that the installation document makes installation much harder than it 
needs to be, at least, that was my opinion the last time I looked at it. See 
this for some simpler instructions, including checking to see if it is working:

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

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

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


[jboss-user] [Performance Tuning] - Re: AJP Connector currentThreadCount stays at maximum

2009-02-17 Thread sra78
In the executor, add 'maxIdleTime'. Below value will end idle threads after 10 
minutes.



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

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


[jboss-user] [Performance Tuning] - Stress test - ORA-00020: maximum number of processes (150) e

2009-02-17 Thread sra78
Hi,

My java application on JBoss-4.2.2 is running on 2GB machine, and I am using 
JMeter to stress test. JBoss is running as Windows Service (using 
JavaServiceWrapper), and trying to figure out optimum values for JAVA_OPTS in 
wrapper.conf. 
wrapper.java.initmemory=600
  | wrapper.java.maxmemory=1200
  | wrapper.java.additional.3=-Xms2048m
  | wrapper.java.additional.4=-Xmx2048m

When I send 1000 requests in 1 second, memory seems to be okay, but I see lot 
of 'ORA-00020: maximum number of processes (150) exceeded' errors in logs. I am 
not sure where this process value gets set. 

In context.xml (jboss-4.2.2\server\default\deploy\jboss-web.deployer) I have 
maxActive="200" maxIdle="10", and in oralce-ds.xml 
(jboss-4.2.2\server\default\deploy) I have  5  
200

Any suggestions on how to increase 'Process' count?

Thanks,
Jacike.

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

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


[jboss-user] [JBoss jBPM] - Re: Please help me to install jbpm with mysql

2009-02-17 Thread salaboy21
please post the entire stack trace.. 
what do you insert in JBPM_ID_GROUP and JBPM_ID_MEMBERSHIP?
if you do that.. don't forget about JBPM_ID_USER...


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

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


[jboss-user] [JBoss jBPM] - Re: Please help me to install jbpm with mysql

2009-02-17 Thread horrikhalid
Now I can log in because I insert some rows in JBPM_ID_GROUP and 
JBPM_ID_MEMBERSHIP, but I still have the error related to jbpm-enterprise.jar

Now in the console I have this message:
Error loading process list: An exception of type "org.jbpm.JbpmException" was 
thrown. The message is: couldn't find all process definitions 

regards

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

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


[jboss-user] [JBoss Getting Started Documentation] - JBOSS installation - query

2009-02-17 Thread iinfi
I am using RHEL 5.2 on my Intel box.
I am new to Jboss application server and while going through the installation 
documentation i got caught at one point
below is what i find in the docs
anonymous wrote : 
  | Download and install the appropriate -compat RPM from JPackage here2. 
Please ensure you
  | choose a matching version of the -compat package to the JDK you installed
  | 
  | ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/generic/RPMS.non-free/
  | 
  | 

nowhere can i find a compat file for jdk version 1.6.0.11. JDK installed on my 
machine is 1.6.0.11.

i skipped this step and completed the installation and it went off fine. So how 
critical is the above step in the quote box?

additionally 
/usr/sbin/alternatives --config javac 
AND
/usr/sbin/alternatives --config java_sdk_1.5.0

does not yield any results initially. i had to do a alternatives --config 
install . is that the right way to proceed.


last but not the least. How can test my JBOSS installation if it is ready for a 
enterprise pounding? do we get any ready-made applications to test and pound 
the application server

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

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


[jboss-user] [Remoting] - Re: CannotConnectException/BindException on running clients

2009-02-17 Thread green804
Did you tune the timeouts in the EJB connectors?  If so, what did you change 
that resolved this issue?

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

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


[jboss-user] [EJB/JBoss] - Re: Problem establishing socket connection for InvokerLocato

2009-02-17 Thread green804
Did you find a solution to this?  We are seeing the exact same problem.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: InvalidClassException: org.jboss.ejb3.remoting.BaseRemot

2009-02-17 Thread mchepuri
Its worked
Thanks a lot peter. :) :) :)

Thanks
Murali.



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

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


[jboss-user] [JBoss jBPM] - Re: Could not make local copy for file: root/server/server/j

2009-02-17 Thread ChetanSaxena
Same here. 

Even i had the same problem. It was for sure a Permissions issue. 
As soon as i reset the permission, everything came back to normal.

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

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


[jboss-user] [JBoss Messaging] - Re: Programatically create RemoteJMSProviders, Queues and Br

2009-02-17 Thread lukeb
This sounds like exactly what I need too. Are there any examples handy for 
doing queue/destination manipulation with jmx?

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

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


[jboss-user] [JBoss Messaging] - Problems with jaas SecurityDomain and @MessageDriven

2009-02-17 Thread lukeb
I'm porting an existing application from 422GA to 5 and am having trouble with 
security where we use @MessageDriven.

Within the app we have an existing bean with the @MessageDriven annotation. 
Within this annotation we set the user and password @ActivationConfigProperty. 
These credentials exist within our custom Jaas security domain.

I've changed the SecurityStore within messaging-jboss-beans.xml so that the 
security domain points to our domain (ie  java:/jaas/mydomain).

And finally within the destinations-service.xml I have put an entry for the 
queue referenced in the @MessageDriven bean (This queue used to be auto-created 
in 422 but understand this is no longer the default behaviour, hence the 
destinations-service.xml entry).

However, when I start Jboss5 I get the error:

javax.jms.JMSSecurityException: User myuser is NOT authenticated

My security domain's JaasLoginModule is never called, it seems like the 
security domain association is not realised when the annotation is processed.

Can anyone see anything obvious I've missed?

Note that my bean has the @SecurityDomain attribute, and I've tried all 3 
flavours of this to no avail.

Cheers

Luke

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

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


[jboss-user] [Beginners Corner] - Timer in JBoss

2009-02-17 Thread rodosa
Hello!!


 I would like if it's allowed to create a timer in my app and this timer were 
active while jboss is running. If Jboss is stopped the timer will ben 
cancellated and when the jboss running another time the timer would be started. 
Any ideas of how I could do this??


Many thanks,

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

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


[jboss-user] [JBoss Tools (users)] - Re: Warning when using multilanguage

2009-02-17 Thread akazakov
Is message.properties file in source folder?

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

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


[jboss-user] [Clustering/JBoss] - Re: Problem singleton scheduling in a clustered JBoss 4.02 (

2009-02-17 Thread kenshiro2000
You are righe. I think the same thing: the problem could be related to the RUN 
parameters. But I have another doubt: could it be related to some class  
reflection problem? 

It could seem it tries to find a RUN method that it doesn't find.

I checked the documentation and the Internet google world but I always have the 
same example with HIT, NOTIFICATIONS and so on...

It is a little bit frustrating...

cheers

ken

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

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


[jboss-user] [JBoss AOP] - Re: AOP Logging Tutorial

2009-02-17 Thread nizzy
I'm also interested in using it for unit testing!

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

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


[jboss-user] [JBoss AOP] - AOP Logging Tutorial

2009-02-17 Thread nizzy
Hi All,

I'm investigating using AOP for integrating a Logging Module (ear file) into an 
existing J2EE application, can anyone point me to a tutorial for logging, since 
this is one of the classic uses for AOP!!


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

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


[jboss-user] [JBoss jBPM] - Re: Timer repetition problem

2009-02-17 Thread rodosa
Have you get to build a timer whose action was an action nor a script? I'm 
trying this but I doen't get it?

Thanks

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

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


[jboss-user] [JBossWS] - how to do the schema validation for incoming message in jbos

2009-02-17 Thread ailing.qin
Hello,

I use jbossws-native-2.0.1.SP2_CP04  and JBoss (MX MicroKernel) [4.3.0.GA_CP03] 
 for deploy my project, I need to do schema validation (like annotation 
@schemavalidation since jboss-native 3.0.1 ) . 

How can I do ?
Thanks for your help 



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

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


[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread PeterJ
Both the publisher and all of the subscribers register with the same JBM. Then 
when the publishers sends a message, all subscribers receive it.

Want an example? Download the source code for JBoss In Action at 
http://www.manning.com/jbossinaction. Open the jbia-src/index.html file to read 
about some config settings and to read about the example apps in chapter 8. 
Then in jbia-src/ch08 build Ant target 01. This is a simple 
publisher/subscriber example app.

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

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


[jboss-user] [JBoss jBPM] - exploring JBPM 4: some questions

2009-02-17 Thread luigiexp
Hi,
I hope someone can help me with these problems in jbpm4

1) Referring to the example in the JBPM 4.0 Developer Guide (par 2.2. 
Persistent execution mode) if I try to create a processDefinition in the PVM 
context, then when I try to deploy it I get the following exception:

[DefaultCommandService] exception while executing command 
org.jbpm.pvm.internal.cmd.deploy...@17e6a96
  | java.lang.NullPointerException
  |   at 
org.jbpm.pvm.internal.svc.DeploymentImpl.getFileNamesForType(DeploymentImpl.java:401)
  |   at 
org.jbpm.jpdl.deploy.ParseJpdlDeployer.deploy(ParseJpdlDeployer.java:38)

2) Futhermore,  if I try to execute the following code (see the example in the 
developer guide) 

EnvironmentFactory environmentFactory = new 
PvmEnvironmentFactory("environment.cfg.xml");
  | 
  | ProcessService processService = 
environmentFactory.get(ProcessService.class);
  | ExecutionService executionService = 
environmentFactory.get(ExecutionService.class);
  | ManagementService managementService = 
environmentFactory.get(ManagementService.class);
  | 
  | ClientProcessDefinition processDefinition = ProcessFactory.build("loan")
  |   .node("submit loan request").initial().behaviour(AutomaticActivity.class)
  | .transition().to("evaluate")
  |   .node("evaluate").behaviour(WaitState.class)
  | .transition("approve").to("wire money")
  | .transition("reject").to("end")
  |   .node("wire money").behaviour(AutomaticActivity.class)
  | .transition().to("archive")
  |   .node("archive").behaviour(WaitState.class)
  | .transition().to("end")
  |   .node("end").behaviour(WaitState.class)
  | .done();
  | 
  | Deployment deployment = new Deployment(processDefinition);
  | processService.deploy(deployment);

I get other problems:
- PvmEnvironmentFactory does not exist anymore
- It is not possibile to use the costructor  new Deployment(processDefinition)  
since now Deployment is an inteface.  If I try using the class  new 
DeploymentImpl(processDefinition) I get the exception showed at the point 1)


3) If I try to get a process already deployed, I could use the 
ProcessService.findProcessDefinitionById (or findProcessDefinitionByKey) but 
the ProcessDefinition do not allow me to access to the data that are available 
in ProcessDefinitionImpl. 
If I try a cast it does not work.  How can I get the processDefinitionImpl (I 
mean the process infos such as nodes, events and so on) ?

4) is there a way to contact the developers to signal possible problems?

Thanks
Luigi

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

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


[jboss-user] [JBoss jBPM] - getting deadlock errors when trying to delee

2009-02-17 Thread Elhanan
hi...
when attempting to kill a 2  different  processes in parallal (by different web 
requests) we are getting deadlocks for the query selectLogsForTokens


anyone can tell us why?
org.jbpm.persistence.JbpmPersistenceException: hibernate commit failed

  at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:216)

  at org.jbpm.svc.Services.close(Services.java:222)

  at org.jbpm.JbpmContext.close(JbpmContext.java:139)

  at 
org.jbpm.command.impl.CommandServiceImpl.execute(CommandServiceImpl.java:75)

  at 
com.pnx.pmp.workflow.backend.WorkflowFacade.killWorkflowInst(WorkflowFacade.java:1557)

  at 
com.pnx.pmp.workflow.backend.WorkflowFacade.killWorkflowInstance(WorkflowFacade.java:1525)

  at 
com.pnx.underwrite.command.services.UnderwriteRequestServiceCommand.createBriefIndexForWorkflow(UnderwriteRequestServiceCommand.java:106)

  at 
com.pnx.underwrite.command.services.UnderwriteRequestServiceCommand.processZira(UnderwriteRequestServiceCommand.java:66)

  at 
com.pnx.underwrite.command.services.UnderwriteRequestServiceCommand.processSimulation(UnderwriteRequestServiceCommand.java:80)

  at 
com.pnx.underwrite.command.services.AbstractUnderwriteProcessServiceCommand.performService(AbstractUnderwriteProcessServiceCommand.java:122)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at 
com.pnx.pmp.flow.micro.backend.AbstractCommandInvoker$SubCommandTransactionalOperation.run(AbstractCommandInvoker.java:181)

  at 
com.pnx.pmp.orm.backend.TransactionalOperation.doInTransaction(TransactionalOperation.java:28)

  at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114)

  at 
com.pnx.pmp.flow.micro.backend.AbstractCommandInvoker.executeSubCommand(AbstractCommandInvoker.java:90)

  at 
com.pnx.pmp.flow.micro.backend.Microflow.executeActivity(Microflow.java:309)

  at 
com.pnx.pmp.flow.micro.backend.state.ExecuteActivityMicroflowState.executeActivity(ExecuteActivityMicroflowState.java:67)

  at 
com.pnx.pmp.flow.micro.backend.state.ExecuteActivityMicroflowState.handle(ExecuteActivityMicroflowState.java:30)

  at 
com.pnx.pmp.flow.micro.backend.MicroflowServiceSessionBean.execute(MicroflowServiceSessionBean.java:93)

  at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

  at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

  at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

  at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)

  at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)

  at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)

  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

  at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

  at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

  at org.jboss.ejb.Container.invoke(Container.java:723)

  at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

  at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)

  at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)

  at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)

  at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)

  at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java

[jboss-user] [Microcontainer] - Re: Deployment unit aware annotations

2009-02-17 Thread alesj
"wolfc" wrote : For the moment it would be great to actually know the 
deployment unit which is causing a MC bean install.
This info is under Deployment(Unit|Context)::getControllerContextNames.

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

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


[jboss-user] [Clustering/JBoss] - Re: Problem singleton scheduling in a clustered JBoss 4.02 (

2009-02-17 Thread ryandavid
It seems as "run(TPD,16,true)" that you wrote in XML file doesn't reference to 
Java syntax or something like that. Maybe the logic is different.

It would be helpful to get some documentation about the standard way to call a 
method of MBean object.

Do you know more docs ?



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

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


[jboss-user] [JBoss Messaging] - Re: Network Failure undetected - Linux

2009-02-17 Thread cbolanos
I'm trying to reconfigure all my system to use the latest versions of remoting 
and JBM...Anyway, I'd like to know the default behavior of a MessageListener 
when a network failure occurs under Linux system...

I'm really lost since in windows platform I can detect network failures but not 
in Linux, with exactly the same configuration and software versions...

I would really appreciate your help.

Regards.

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

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


[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread hatleye
i think i am trying to set the classic topic/subscriber pattern, where one 
server is a publisher and the other servers, in my case only one of each, but 
if this work, there will be many subscribers to the topic.  i am a bit confused 
on how each client of the topic gets notified of a publish message. i was 
thinking that thr bisocket adapter passed the message along, in a daisy chain 
style approach, but i am having trouble doing a put on one appserver and have 
message show up in the queue on another app 

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

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


[jboss-user] [Clustering/JBoss] - Re: clustering achieved ?

2009-02-17 Thread jbosstcs
oh... now i get it... but consider the following situation... say i have 2 app 
servers load balanced by an apache server... after a request has gone to AS1 
suppose it goes down... now my question is how does apache know whether AS1 has 
gone down and route the request to AS2 ( this will not be a case of 
ConnectException )... i mean this is exactly what i too have observed but i 
would like to know the reason of the behaviour...
does apache keep a track of the requests ?

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: org.jboss.seam.InstantiationException: Could not instant

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

Please post the full log message containing the exception stack trace.

Please repost your code. As you can see, the browser wrecks havoc with XML.  
When posting XML text or source code, please enclose the text in UBBCode "code" 
tags  - you can do this by selecting the text and clicking the Code button 
above the editor window. Also, click the Preview button to ensure that the 
formatting is correct and the XML text shows up before posting.


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

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


[jboss-user] [Beginners Corner] - Re: Action canceled

2009-02-17 Thread PeterJ
For more details on the values you can use in server.xml, see 
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

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

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


[jboss-user] [Beginners Corner] - Re: Action canceled

2009-02-17 Thread PeterJ
Try playing with the connection-timeout value for the port 8080 Connector in 
the server.xml file.

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

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


[jboss-user] [JBoss Messaging] - Re: Network Failure undetected - Linux

2009-02-17 Thread cbolanos
Sorry for my mistake. I'm using jboss-remoting 2.2.2 sp7

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to use H2 database from Jboss

2009-02-17 Thread PeterJ
Is the code you posted in a servlet or a stand-alone client? See if this helps: 
http://www.jboss.org/community/docs/DOC-12705

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

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


[jboss-user] [Clustering/JBoss] - Re: clustering achieved ?

2009-02-17 Thread bstansbe...@jboss.com
The load balancer (Apache) is what handles failover. The request comes into 
apache and it decides how to handle it. If it sees the request's session is 
associated with a backend server that is no longer available, Apache picks a 
different server (i.e. fails over).  If it passes the request through to a 
backend server and the request fails with a recoverable problem (e.g. 
ConnectException connecting to the backend server), it tries a different 
backend server (i.e. fails over).

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Cannot connect to the JNDI: No valid JNDI mapping

2009-02-17 Thread PeterJ
Here is a recent topic that contains working code: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150529 (see my last 
post at the end of the topic)

Note that the resource-ref stanza was not required in web.xml.

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

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


[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-17 Thread PeterJ
Could you also give us a little more information about your use case. It seems 
that you want to have two independent messaging servers. Why?  Usually a client 
app sticks a message on JBM, and another client app reads the message.

As gaohoward said, you can cluster JBM, but then it is more of a single logical 
instance spread out among multiple hosts. 

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

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


[jboss-user] [Management, JMX/JBoss] - Re: MBeanServerConnection & JRMPInvokerProxy problem

2009-02-17 Thread danezu
Got it, solved the issue. Was an OSGi problem, the shared packages thing. Works 
fine now.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: InvalidClassException: org.jboss.ejb3.remoting.BaseRemot

2009-02-17 Thread PeterJ
Incompatible serialVersionIDs means that the JBoss AS client JARs in your 
client's classpath do not match the JBoss AS server JARs. Most likely, you are 
including client JARs from another version of JBoss AS.

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

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


[jboss-user] [JBossWS] - how to exclude the 'Header' element from my Soap Client requ

2009-02-17 Thread dscottp
Hi guys,

I'm working with a Web Service breaks when you have an empty header element. I 
won't be able to get the service fixed unfortunately.

Is there any way I can exclude the empty header from my request?

Basically, the JbossWS client is generating the envelope:

  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:something">
  |
  |
  |   
  |  bar
  |   
  |
  | 
  | 

and I would like to generate this instead:

  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:something">
  |
  |   
  |  bar
  |   
  |
  | 
  | 

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

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


[jboss-user] [Microcontainer] - Accessing EJB's with custom annotations.

2009-02-17 Thread bryan.kearney
I dont know if this is an EJB or a Microcontainer question, but I will post it 
here. I am working with JBoss 5.0 GA. I would like to be able to annotate my 
session beans with a custom annotation (say @BK) and be able to interrogate the 
EJBs with this annotation at load time. Using interceptors is too late, since I 
do not get access to the object until contstruction. I looked at the @Install 
annotation from the beans metadata to capture beans when they are loaded but 
that is not viable. Is my best path to write a custom deployer? It seems like 
the doco hints at being able to add custom helpers/callbacks but the doco is 
not complete.

My use case is to have a registry of beans which implement a command pattern. 
So, at runtime a single controller can access the registry to determine which 
command to call.



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

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


[jboss-user] [JBoss jBPM] - Re: Blocking call from Java to jBPM workflow

2009-02-17 Thread salaboy21
Actually processInstance.signal(); 
is blocking.
Why did you say that is not blocking?

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

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


[jboss-user] [JBoss jBPM] - Deployment of jBPM3.3.1 under JBoss 4.2.3 via jbpm-console f

2009-02-17 Thread aroeder
I also tried to deploy my project via: 

http://localhost:8080/jbpm-console/app/deployproc.jsf

When I choose the processdefinition.xml file and hit the Deploy button I get 
this error:

anonymous wrote : 
  | Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" 
was thrown. The message is: [[ERROR] no processdefinition.xml inside process 
archive]

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

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


[jboss-user] [JBoss jBPM] - Blocking call from Java to jBPM workflow

2009-02-17 Thread hkap...@ciber.com
Hi,

I am able to invoke jBPM workflow from java using processInstance.signal();
This is not a blocking call.
Is there any function call that will block the client thread until workflow is 
ended or stopped. 
Or is there a call back handler that I can use to implement this functionality.

-Harshit

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

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


[jboss-user] [JBoss Getting Started Documentation] - A misspelled samples in doc

2009-02-17 Thread mrjavadude
Not sure where to report this, but there is a minor typo in doc.

In 
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/The_JBoss_Server___A_Quick_Tour.html#Server_Structure

right above "9.2.1. Server Configuration Directory Structure", the yellow text 
has 2 repeated directory name. the second one should be "server/web/deploy" 
instead.

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

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


[jboss-user] [Clustering/JBoss] - Re: clustering achieved ?

2009-02-17 Thread jbosstcs
exactly... apache will not care about how the app servers are arranged... you 
mean to say that just because the app servers are given in the 
workers.properties file and load balanced ,  failover will occur in case one of 
the constituents goes down ?? why will apache care about the failover part ?
shouldnt that be the headache of the app servers ?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Calling protected ejb method from anoter

2009-02-17 Thread Wolfgang Knauf
Hi,

would it help to add "role1" to the @RolesAllowed of EJB2?

If not: you could take a look at the @RunAs annotation (ejb spec 17.3.4):
anonymous wrote : Establishing a run-as identity for an enterprise bean does 
not affect the identities of its callers, which
  | are the identities tested for permission to access the methods of the 
enterprise bean. The run-as identity
  | establishes the identity the enterprise bean will use when it makes calls.

Thus, your bean would make all calls to ejb2 as the role specified by "@RunAs", 
but it's own methods would require "role1".

Hope this helps

Wolfgang

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

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


[jboss-user] [Management, JMX/JBoss] - MBeanServerConnection & JRMPInvokerProxy problem

2009-02-17 Thread danezu
Hi guys

I'm new on this forum and i need you help pretty much

I use JMX to connect to a JBoss 4.2.2 GA with JBossMQ as messaging system.
I try to connect to the 'jmx/rmi/RMIAdaptor' using MBeanServerConnection, 
something like this:

Properties props = new Properties();
props.put(Context.PROVIDER_URL, "jnp://myurl:1099");
props.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");

Context ctx = new InitialContext(props);
MBeanServerConnection srvConn = 
(MBeanServerConnection)ctx.lookup("jmx/rmi/RMIAdaptor"); 
ObjectName oName = new 
ObjectName("jboss.mq.destination:name=testQueue,service=Queue");
Object attrValue = srvConn.getAttribute(oName, "QueueDepth");

It works perfectly when i run this as simple Java class, but when i try to 
launch it from some OSGi bundle, i get this error:

java.lang.ClassCastException: $Proxy13 cannot be cast to 
javax.management.MBeanServerConnection

where $Proxy13 proves to be an 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy instance.

I don't understand why in the first situation it works, and in the second 
doesn't

Can you please help me?

Thanx & regards


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

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


[jboss-user] [JBoss jBPM] - Deployment of jBPM3.3.1 under JBoss 4.2.3 fails

2009-02-17 Thread aroeder
Deployment of jBPM3.3.1 under JBoss 4.2.3 fails. I get the message: 

An unexpected exception caused the test connection to fail.

Details:

http://localhost:8080/jbpm-console/upload



http://localhost:8080/jbpm-console works for me. 

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

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


[jboss-user] [JBoss Messaging] - Re: message compression

2009-02-17 Thread mrjavadude
timfox,

Thanks for the correction and confirmation. I have filed a request at 
https://jira.jboss.org/jira/browse/JBMESSAGING-1512

Hope to see it soon in the future release!


BTW, if I were to digmy hands dirty in trying to implement this on my own 
first, what classes in source files would you recommend me to start looking at? 
Is there currently a interceptor hook like API available that I can add this 
feature?

Thanks.

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

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


  1   2   >