[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-31 Thread sravyts
Ok, that was indeed what I was missing, thanks for the help.

This is my actual node in my processdefinition:



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

and my decisionconditionHandler has a variable:

 List conditions;

Wkr,
Sofie


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

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


[jboss-user] [EJB 3.0 Users] - EJB 2 Deployment issue on JBoss 5

2009-08-31 Thread dileep_cvr
Hi all,

I tried to deploy the EJB application on the jboss 5 which was working
on jboss 4. the Deployment failed and throw an exception 

11:19:01,625 ERROR [AbstractKernelController] Error installing to 
PostClassLoader: name=vfszip:/D:/SERD/servers/jboss-5.
1.0.GA/server/default/deploy/plm-publish.ear/ state=ClassLoader mode=Manual 
requiredState=PostClassLoader
org.jboss.deployers.spi.DeploymentException: Cannot process metadata
at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at 
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at 
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at 
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53
)
at 
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at 
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileServi
ce.java:306)
at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: Empty class name ''
at 
org.jboss.classloader.plugins.ClassLoaderUtils.checkClassName(ClassLoaderUtils.java:52)
at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:416)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossClientMetaData(OptAnnotationMetaDataDeployer.j
ava:115)
at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:82)
at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
... 31 more

my envirnoment configuration  are 
JDK 1.6, JBoss 5.1.0 GA, windows

Its urgent. Could any body help me in fixing this issue?

thank you,
Dileep.


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

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


[jboss-user] [JCA] - Re: Example File System RA

2009-08-31 Thread jinesh4all
Hi,

I am using Jboss 4.2.2 GA, can any one give me an example for FileSystem as 
Resource? I am new to Connectors.. :( 

Thanks in advance.

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

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


[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa

2009-08-31 Thread m...@t4p.com
I added them to resolve missing symbols.  I'll try to get them excluded from 
the build.

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

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


[jboss-user] [jBPM Users] - Re: Customize Rules and Workflow

2009-08-31 Thread cssatheesh
guys thanks for the reply.

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

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


[jboss-user] [Beginner's Corner] - Re: Deployment exception

2009-08-31 Thread ajayindra
Hi,

 No, actually I am trying to install/run it for first time. I had downloaded 
the binary version from sourceforge, extrated it and run the run.bat file, 
thats all.

Thanks and Regards,
Ajay.



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: multiple domains on single JBoss instance

2009-08-31 Thread amarvyawhare
any comment please

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

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


[jboss-user] [JBoss Portal Users] - Re: Deleting pages permanently

2009-08-31 Thread prabhat....@jboss.com
See this blog: 
http://blog.jboss-portal.org/2008/08/lurking-at-hypersonic-data.html

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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread thammoud
I actually just tried JBM 2.0 Beta and it worked correctly. Same code different 
JMS implementation. I will see if I can dig deeper.

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

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


[jboss-user] [JBoss Portal Users] - Re: Deleting pages permanently

2009-08-31 Thread pjputhenvila
Thanks , I am planning to change to MySQL, I am learning and developing a 
portal site, I got requirement, when new user visit my site, I need to show the 
user register portlet on left, once they logged in I need to show the Google 
map portlet on left. Is there any techinque for that, I am developing using the 
Hotal Mapping portal example.
Regards
Philip

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

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


[jboss-user] [JBoss Messaging Users] - Re: JSMSecurityException on my queue (EJB 3)

2009-08-31 Thread wolfc
Alternatively enable tracing on org.jboss.security and get the real exception.
  catch(LoginException e)
  |   {
  |  // Don't log anonymous user failures unless trace level logging is 
on
  |  if( principal != null && principal.getName() != null || trace )
  | log.trace("Login failure", e);
  |  authException = e;
  |   }


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

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


[jboss-user] [JBoss Portal Users] - Re: Deleting pages permanently

2009-08-31 Thread PeterJ
Are you using HSQLB for Portal? If so, Portal uses a separate HSQLDB database. 
I don't know how to get the database manager to connect to that other database 
(I always use either PostgreSQL or MySQL for Portal).

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

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


[jboss-user] [JBoss Portal Users] - SSO / LDAP Integration

2009-08-31 Thread javaspack
I am trying to integrate JBoss Portal 2.7.2 with Single Sign-on and Active 
Directory.

I have the SSO piece working.

The problem is that after doing SSO, the User Profile is blank. I would like 
automatically retrieve information from Active Directory for create the Portal 
user info.

I have looked through all the identity config stuff, but keep having problems. 
All the LDAP examples seem to do the log ins, not data retrieval.

Is this even possible? Can someone point me in the right direction if it is?

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

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


[jboss-user] [JBoss Portal Users] - Re: Deleting pages permanently

2009-08-31 Thread pjputhenvila
Hi Peter
Thanks for the explanation, I saw your answer for several questions, I think 
you are one of the authoritative members of this forum.
Could you please answer this question as well

Through JMX console window I started a HSQL database using 
startDatabaseManager(), but I could see only JMS related tables under localDb 
schema. where are other schemas and Tables.
Thanks
Philip


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

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


[jboss-user] [jBPM Users] - Re: Customize Rules and Workflow

2009-08-31 Thread salaboy21
cssatheesh
If you want a fully integrated environment with Rules and BPM, you need to take 
a look at the project Drools Expert and Drools Flow.
 www.drools.org

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

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


[jboss-user] [jBPM Users] - Re: Customize Rules and Workflow

2009-08-31 Thread kukeltje
Rules are edited by the editor that comes with your rules engine. Workflow is 
edited by either the GPD (4.0, 4.1) or web based editor comming in 4.1.

jBPM can call rules but better (easier) support is being worked on. How rules 
are versioned depends on what rules engine you use.

FYI, jBPM has no rules of itself, so 'jBPM Rules' does not exist

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

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


[jboss-user] [jBPM Users] - Re: how can we pass variables to the start node in Jbpm4.0-C

2009-08-31 Thread kukeltje
First of all, it is better to use the full release of 4.0, not the Candidate 
Release 1.

You pass variables either via the api, of by using the form from the start 
task. All this is in the docs, unless I miss something in your question.

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread camunda
The problem is: I still don't understand the question.

You have some rules (in what format? What implementation? Drools? Or...?). And 
you want to call them in the jbpm process?
And this calling should be done via web service?

And why are you refereing to stored procedures? Maybe you have rules in a 
completly different format?

Would be good, if you give the domain example of what you are trying to achieve.

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

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


[jboss-user] [jBPM Users] - Customize Rules and Workflow

2009-08-31 Thread cssatheesh

Can we Customize jbpm  Rules and Workflow through Web UI? If so how?

I hope that we can integrate Rules and Workflow. But any document or link 
provided for that with respect to jbpm?

How do we do versioning of rules?

does JBPM provide runtime compiling capability? if so any link ?

Guys i would appreciate if i get any reply for the above questions. Plz provide 
the link if u have any for the above questions

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread cssatheesh
The question is can jbpm rule actions  be implemented as webservice or stored 
procedure.

If it can be implemented as web service, using webservice can we provide rule 
input?

Guys please bare with me for these kind of questions because i'm new to JBPM



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

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


[jboss-user] [Beginner's Corner] - Re: Start stop Mbean

2009-08-31 Thread PeterJ
Does this help:
http://www.jboss.org/community/wiki/HowDoIGetRemoteAccessToMyMBean (Look at the 
RMIAdaptor example)

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

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


[jboss-user] [Beginner's Corner] - Start stop Mbean

2009-08-31 Thread mohitanchlia
Jboss 4.2: I need to stop Stateless Session Bean so I am assuming I need to 
identify the MBean of that Bean and then stop it. This I can do from 
jmx-console easily. How can I do the same start/stop programtically?

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread camunda
anonymous wrote : 
  | whether rule actions can be implemented as webservice or java class or 
stored procedure?
  | 

Still don't get what you try to achieve. Can you elaborate a bit or make a 
small example? What rule action? It should be called from a process? ...?

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

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


[jboss-user] [JBoss Web Services Users] - CXF and Native issue with Encryptation (no wsu:Id for Body)

2009-08-31 Thread cavani
I was using Native for server (EJB) and client (Java SE / jax-ws dipatch 
mainly) with encryptation but without signing.

Recently, I rewrote just the client with CXF using the same approach 
(dispatch), but an issue break me!

Without signing, WSS4J (used by CXF for encrypting) didn't set 'wsu:Id' for 
'body' tag and Native reject the message (in class RequireTargetableOperation).

Commenting the test where Native require 'wsu:Id' in RequireTargetableOperation 
makes CXF encrypted message acceptable and correct.

Using signing makes WSS4J set 'wsu:Id' for 'body' tag, so no issues this way.

I don't know if this issue is a CXF (WSS4J) issue or a Native issue, but here 
seems to be the right place to report.

(CXF 2.2.3 and Native 3.0.5/JBoss 4.2.3 or Native 3.1.2/JBoss 5.1)

Thanks,

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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread gaohoward
Hi thanks for the info. 

I checked JBM code and couldn't find any code that changes the context. Maybe 
it's a good idea that you put your question to the jboss security forum too. 



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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread thammoud
We use "ConnectionFactory" to create the connection factory which is defined as:


  | 
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=Connector,transport=bisocket
  |   jboss.messaging:service=PostOffice
  | 
  |   
  |  
  | /ConnectionFactory
  | /XAConnectionFactory
  | java:/ConnectionFactory
  | java:/XAConnectionFactory
  |  
  |   
  |
  | 

Thanks for your quick response.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread PeterJ
The easiest way to determine which ports JBoss AS is using is to run "nestat 
-ab" on the command line. Or get TCPView form SysInternals.

One more thought. Run this from a command line:

telnet localhost 1099

The page will refresh and you will get some garbage back. Post the garbage.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException

2009-08-31 Thread PeterJ
What you posted does not help. The INFO and WARN log entries you posted first 
do not show anything about any errors, and the "DEPLOYMENTS IN ERROR:" report 
you posted in the second post is usually useless as it does not provide any 
information on why those deployment failed. There should be, someweher in the 
console log, and ERROR message with a stack trace. Find the first one and post 
it. And ONLY THE FIRST ONE. (Posting too much information is often as bad as 
not posting enough.) 

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

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


[jboss-user] [Security] - Re: Problem with Negotiation-toolkit with LDAP

2009-08-31 Thread nulltransfer
Lets begin by testing your keytab file.

Create a text file in C:\windows\krb5.ini with the following contents:

  | [libdefaults]
  | default_realm = COMPANY.NL
  | dns_lookup_realm = false
  | dns_lookup_kdc = false
  | default_tkt_enctypes=RC4-HMAC
  | default_tgs_enctypes=RC4-HMAC
  | 
  | [realms]
  | COMPANY.NL = {
  | kdc = 5.21.8.10
  | admin_server = 127.0.0.1
  | default_domain = COMPANY.NL
  | }
  | 
  | [domain_realm]
  | .company.nl = COMPANY.NL
  | company.nl = COMPANY.NL
  | 
  | [appdefaults]
  | autologin = true
  | forward = true
  | forwardable = true
  | encrypt = true
  | 

Edit the above contents to match your system.

Then open command prompt, and browser to your JAVA_HOME\bin.  Run the following 
command using kinit.exe:


  | Kinit 
  | 
e.g. kinit myu...@mycompany.nl  It will then prompt you for a password.


If that works, then test your keytab file by running the below command:


  | Kinit –k -t   
  | 

If your keytab is correct, you should get "new ticket stored in cache".


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

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

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


[jboss-user] [JBoss Portal Users] - ava.lang.ClassCastException: org.jboss.portal.portlet.impl.j

2009-08-31 Thread guenther.her...@softcon.de
I have ported our SEAM Application to porteltbridge CR2. One part of the 
application is report PDF or XLS generation with JASPER. To dowdload the code 
we use the following code:

HttpServletResponse response = (HttpServletResponse) 
externalContext.getResponse();
response.setContentType("application/x-download");
response.setContentLength((int) reportFile.length());
response.setHeader("Content-Disposition", "attachment; filename=\"" + 
filename + "\";");
try
{
ServletOutputStream os = response.getOutputStream();
FileInputStream fis = new FileInputStream(reportFile);

while ((read = fis.read(bytes)) != -1)
{
os.write(bytes, 0, read);
}
fis.close();

os.flush();
os.close();
facesContext.responseComplete();
}
catch (Exception e)
{
if (log.isErrorEnabled())
{
log.error(DownloadComponent.class, e);
}
}
Doe a clastcastexception I changed the first line to:

HttpServletResponseWrapper response 
=(HttpServletResponseWrapper)FacesContext.getCurrentInstance().getExternalContext().getResponse();

But I get again a ClassCastException, what die I wrong:
2009-08-31 17:05:03,160 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, 
repository=org.jboss.mx.loading.heirarchicalloaderreposito...@c93509, 
cl=org.jboss.mx.loading.heirarchicalloaderrepository3$cacheclassloa...@ddf0c3{ 
url=null ,addedOrder=0}
2009-08-31 17:05:03,160 ERROR 
[de.softcon.ivory.invserver.action.report.impl.CreateListOfAssetReportAction] 
class 
de.softcon.ivory.invserver.action.report.impl.CreateListOfAssetReportAction
java.lang.ClassCastException: 
org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl cannot be cast to 
javax.servlet.http.HttpServletResponseWrapper
at 
de.softcon.ivory.invserver.action.report.DownloadComponent.download(DownloadComponent.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
at 
de.softcon.ivory.invserver.action.report.DownloadComponent_$$_javassist_seam_36.download(DownloadComponent_$$_javassist_seam_36.java)
at 
de.softcon.ivory.invserver.action.report.impl.AbstractBaseReportAction.createReport(AbstractBaseReportAction.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
at 
or

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
Peter, this is my hosts-file. It is identical with yours:

127.0.0.1   localhost

There are seven spaces between 127.0.0.1 and localhost.

You wrote: "IF you did not change the ports used by JBoss AS AND you did not 
use the -b option to bind JBoss AS to a different IP address."

How can I check these options?

When I make a double-click on "JBoss 4.2. Server" within the "JBoss Server 
View", I can see the server ports in the Overview:

JNDI Port, Automatically detect
When I click on "Configure..." there is the "Current Value" of 1099.

Web Port, Automatically detect
When I click on "Configure..." there is the "Current Value" of 8080.

That should be fine.

This is a snipped from my JBoss run.bat from the bin-directory:


  | :RESTART
  | "%JAVA%" %JAVA_OPTS% ^
  |-Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^
  |-classpath "%JBOSS_CLASSPATH%" ^
  |org.jboss.Main %*
  | 

I do now know whether Eclipse uses the same run.bat or if Eclipse has it's own 
JBoss-start-routine with separate options.


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

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


[jboss-user] [JBoss Messaging Users] - Re: Enjoy a GUI JMS Client!

2009-08-31 Thread gaohoward
Hi,

The link can not be accessed from China (where I live and work). You may have 
heard of the great firewall. :)

Anyway, I'll try to use some proxy. Thanks!

Howard


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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread gaohoward
Are you using JmsXA? I don't think JBM changes any security context during a 
send.


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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread thammoud
No I did not expect it to set the principal to the context. However, I also did 
not expect the send call to "wipe-out" the existing credentials associated with 
the calling thread.


  | System.out.println("In start of JMS Feed Session:"
  | + JBossUtils.getCurrentUsername());  <== Non null 
principal
  | defaultPublisher.send(outboundQueue, message);
  | System.out.println("In start (After Send) of JMS Feed Session:"
  |   + JBossUtils.getCurrentUsername());  <= NULL
  | 

Running 5.1

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread PeterJ
That looks like the correct settings IF you did not change the ports used by 
JBoss AS AND you did not use the -b option to bind JBoss AS to a different IP 
address.

The next thing to look at is the host file (it is in 
c:/windows/system32/drivers/etc). Most likely, that is not set up correctly. 
Here's what is in mine (the second line is for IPv6):

127.0.0.1   localhost
::1 localhost

If your hosts file is different, please post it (you can skip the comment lines 
at the start of the file).

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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread gaohoward
Do you expect that after the send, JBM sets the Principle to the context? I 
don't think JBM will do this. Authentication and authorization are done at the 
server end.

Maybe i didn't understand you correctly. if so, can you give some code sample 
to illustrate? Thanks.



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

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


[jboss-user] [JBoss Portal Users] - Re: Deleting pages permanently

2009-08-31 Thread PeterJ
The problem is that the *-object.xml file are used to populate the portal 
database, and the runtime portal layout, including the pages and portlets in 
the portal, is maintained in that database. When you used the admin portal to 
remove them, they were removed from the database. The next time you started the 
portal, the *-object.xml file were read again and the database populated again. 
Thus removing the *-object.xml files at that point will not do anything because 
the database has been populated. You have to remove the pages/portlets using 
the admin portal and remove the *-object.xml files at the same time to keep the 
pages from reappearing.

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

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


[jboss-user] [jBPM Users] - how can we pass variables to the start node in Jbpm4.0-CR1

2009-08-31 Thread @tul
Hi All,

Can anyone tell me that how can i pass variables in the start task. I tried it 
by drag and drop the start node in the designer window but there is nothing 
where i can set variables which should be pass when process will start. 

Thanks in advance
A.

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

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


[jboss-user] [JBoss Messaging Users] - Re: Queue-like/Persistent Topics

2009-08-31 Thread PeterJ
My MDB/SLSB suggestion also keeps the messages around, just like if you created 
too many durable subscriptions. Therefore I would go with the surplus durable 
subscriptions - it's less coding on your part.

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

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


[jboss-user] [JBoss Messaging Users] - Re: Queue-like/Persistent Topics

2009-08-31 Thread PeterJ
Creating the durable subscriptions beforehand and then having later subscribers 
use them is the only thing I could come up with. But you will need to know how 
many potential subscribers you will have. If you create too few durable 
subscriptions, some subscribers will not get the messages. If you create too 
many, the messages will hang around forever.

This really sounds like a job for a MDB and a SLSB. The MDB subscribes to the 
topic and places all messages in a database. When a new client comes up, it 
connects to the topic to get future messages and asks the SLSB for the 
historical messages.

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread salaboy21
You can also use Drools Flow to support all that requirements. And with Drools 
Flow you just need to learn one set of APIs to implement what you want.


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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread cssatheesh
The question with respect to 1,2,3 is whether rule actions can be implemented 
as webservice or java class or stored procedure?

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread cssatheesh
Actually we are doing some evaluation criteria for jbpm and tht is where these 
things fall in.

thanks for the reply kukeltje.

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

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


[jboss-user] [Beginner's Corner] - Re: Deployment exception

2009-08-31 Thread Wolfgang Knauf
Hi,

does any of your deployed apps contain a servlet API or JSF jar, or did you 
change any of the default JBoss jars?

Best regards

Wolfgang

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

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


[jboss-user] [Security] - Re: Custom Authorization

2009-08-31 Thread Wolfgang Knauf
Glad I could help. I found this class by accident, too, and would have never 
find it by doing a web search ;-).

Wolfgang

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

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


[jboss-user] Resource configuration.

2009-08-31 Thread vamsi
I am getting following error while configuring Resource in context.xml


19:15:05,515 ERROR [JBossContextConfig] XML error parsing: context.xml
org.jboss.xb.binding.JBossXBException: Failed to parse source: Resource
cannot appear in this position. Expected content of Context is
unordered_sequence: Listener* Parameters* Valve* SessionCookie? Loader?
Manager? Realm? attributes? InstanceListener* Resources?
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java
:203)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java
:183)
at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConf
ig(JBossContextConfig.java:573)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextC
onfig.java:536)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
279)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)


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


[jboss-user] [JBoss Messaging Users] - Re: paging problem with orderingGroup enabled

2009-08-31 Thread gaohoward
Hi Markus,

Thanks for the info. Can you confirm the version you are using? I just did a 
svn up and the version is only 7794. but you said it's 7797?

Howard


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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-08-31 Thread kukeltje
I think you mixed something up. 

1,2,3: jBPM can call rules. How those rules do things is up to the rules engine.

4 depends even more on the rules engine.

5: I have no clue what you mean here. If you want e.g. to do assignment based 
on some webservice to call, then yes that is possible since you can call a 
webservice from java and user the return value in the assignmenthandler

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

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


[jboss-user] [jBPM Users] - does JBPM support below features?

2009-08-31 Thread cssatheesh
Hi all,
Can any one validate whether JBPM supports below feature? Its very urgent for 
me.
JBPM Rule Actions can be web services
JBPM Rule Actions can be Java classes
JBPM Rule Actions can be stored procedures
JBPM's Web Service can be rule input
JBPM's Web service can be actor in process


Thanks in advance.
Satheesh

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

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


[jboss-user] [JBoss Messaging Users] - Re: paging problem with orderingGroup enabled

2009-08-31 Thread mclu
Sorry. next message because I can not edit previous once :-)
I just debugged to the code and while it handles and then stops the 
promptDelivery is never true! So this could not be the Problem.  

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

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


[jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send

2009-08-31 Thread thammoud
Just to add a couple of things about our configuration, JBM is using the 
default "messaging" realm with no changes. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Trusted certificate stores used by Jboss 4.2.2 Application s

2009-08-31 Thread navkalp
Which trusted certificate stored Jboss Application server uses.
I have seen on start up, it uses Java cacerts, but later if no configuration 
supplied, does it changes to something else also.

Thanks in advance.

Regards,
Navkalp

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

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


[jboss-user] [JBoss Messaging Users] - Disappearing credentials after publisher.send

2009-08-31 Thread thammoud
Hello,

I hope that this is the right forum for this. We are undergoing an effort to 
switch to JBOSS messaging from ActiveMQ (Soon 2.x). Our first effort is to get 
our stuff to work with JBM 1.4x and then 2.x. We have noticed that  when we 
send a message using JMS, the current active principal is no longer active.

Basically, we call the following (Before and After the publisher.send call)

java.security.Principal userPrincipal = 
SecurityContextAssociation.getSecurityContext().getUtil().getUserPrincipal();

After the send, the call returns null. Our code above the JMS layer must  run 
in the proper security context. As far as JMS is concerned, basic guest 
authentication is all we need. We use JAAS for all our our authentication. 

There must be a logic to this. Can someone kindly explain why we are seeing 
this behavior? Thank you.









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

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


[jboss-user] [JBoss Messaging Users] - Re: paging problem with orderingGroup enabled

2009-08-31 Thread mclu
forgot to say
Using build 7797 and set OrderingGroup via the ConnectionFactory on both 
servers.

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

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


[jboss-user] [JBoss Messaging Users] - Re: paging problem with orderingGroup enabled

2009-08-31 Thread mclu
Hi Howard.

OrderingGroup Names are not changed anymore.

But if I do my testcases in my testenvironment the handling still stops!!

I have 2000 Messages on Server A
On Server B I have a bridge which pulls messages from A to B

My queues are configured to fullsize=20 page und downcache=5.
Then:

- I start up my 2 servers.
- The Bridge on B starts sending messages from A to B.
- I add extra messages via a testclient to the queues on A and/or B

- Then the Bridge stops pulling messages from A to B. (I think because of added 
message on A)
- And also my message handler stops handling the pulled messages from the local 
queue on B. (because of extra message on B?!)

I tried to restart the bridge (stop/start) but this has no effect!



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

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


[jboss-user] [jBPM Users] - Re: Process definition xml

2009-08-31 Thread kukeltje
Unfortunately (afaik) you cannot do a 'ls/dir' on it. But what you *could* do 
is store an additional file in there where you do some kind of mapping? (me: 
just having wild thoughts)

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

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


[jboss-user] [jBPM Users] - Re: couldn't get task instances list for actor pooledTaskIns

2009-08-31 Thread kukeltje
thanks for reporting your solution

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

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


[jboss-user] [jBPM Users] - Re: couldn't get task instances list for actor pooledTaskIns

2009-08-31 Thread andrzejurban
I've found the solution.

The jbpm.cfg.xml was incorrect. Service 'persistence' was :



instead of : 


  |
  |   
  |  
  |   
  |
  | 

and that was causing many different problems like closed session, 
ClassCastException etc.

Regards,

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

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


[jboss-user] [jBPM Users] - Re: hamidreza

2009-08-31 Thread hamidreza
Thanks for your attention
But may you link those posts and wiki text?
the pages are many and I could not find any suitable feature for searching them
thanks again

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

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


[jboss-user] [Tomcat Integration] - Re: Tomcat encoding

2009-08-31 Thread jfrederic.cl...@jboss.com
According to a quick try:
+++
curl -v http://localhost:8080/toto
 ...
< HTTP/1.1 404 Not Found
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 975
+++

What headers are you getting?

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

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


[jboss-user] [EJB 3.0 Users] - Re: PortableRemoteObject.narrow() still needed in EJB3 / Jbo

2009-08-31 Thread henk53
"PeterJ" wrote : My understanding is that  PortableRemoteObject.narrow()  is 
needed when using EJB 2.x. You do not need it with EJB 3.

That's an interesting way of looking to it, thanks!

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

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


[jboss-user] [Security] - Re: Problem with Negotiation-toolkit with LDAP

2009-08-31 Thread TD403
Hi nulltransfer

login-config:


http://www.jboss.org/j2ee/dtd/security_config.dtd";>






   
  
 
 true
  
   




   
  
 guest
 java:/DefaultDS
 SELECT PASSWD FROM 
JMS_USERS WHERE USERID=?
 SELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?
  
   






   
  
 sa
 sa
 
 jboss.jca:service=LocalTxCM,name=DefaultDS
  
   



   
  
 guest
 guest
 guest
 jboss.jca:service=TxCM,name=JmsXA
  
   




   
  
   props/jmx-console-users.properties
   props/jmx-console-roles.properties
  
   




   
  
 web-console-users.properties
 web-console-roles.properties
  
   




  

  props/jbossws-users.properties
  props/jbossws-roles.properties
  anonymous

  




   
   
  
   




true
true
HTTP/cumpu553.company...@company.nl
c:\webserver.keytab
true
true






useFirstPass
host


useFirstPass
GSSAPI
host
ldap://cumpu552:389
cn=users,dc=company,dc=nl
(krbPrincipalName={0})
memberOf
true
cn
true





jboss-service.xml:



 
   
   
   
  
   
  
  
 http://www.w3.org/2001/XMLSchema-instance";
xs:schemaLocation="urn:jboss:java-properties 
resource:java-properties_1_0.xsd">

   BASIC
   
org.apache.catalina.authenticator.BasicAuthenticator


   CLIENT-CERT
   
org.apache.catalina.authenticator.SSLAuthenticator


   DIGEST
   
org.apache.catalina.authenticator.DigestAuthenticator


   FORM
   
org.apache.catalina.authenticator.FormAuthenticator
 

   NONE
   
org.apache.catalina.authenticator.NonLoginAuthenticator
 

SPNEGO
org.jboss.security.negotiation.spnego.SPNEGOAuthenticator

 
   
   
  
  java:/jaas/other

  
  false
  
  false
  
  javax.servlet

  true

  
  false

  
  org.jboss.web.tomcat.service.session.JBossCacheManager

  
  

  

   

   
  instant 
  2000

  
  false

  
  60

  jboss.web

  
  jboss.security:service=JaasSecurityManager
  

  
  
  
  jboss:service=TransactionManager
  
  
  jboss.jca:service=CachedConnectionManager
  
   




run.bat:

C:\jboss-4.2.3.GA\bin\run.bat -b 0.0.0.0 -Djava.security.krb5.realm=COMPANY.NL 
-Djava.security.krb5.kdc=compu552.company.nl -Dsun.security.krb5.debug=true

properties-service:







  
  
  

  

  



  


  
  
  

  

  

java.security.krb5.kdc=cumpu552.company.nl
java.security.krb5.realm=COMPANY.NL





  



I hope this helps.
Thanks for all your help.

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

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


[jboss-user] [JBoss Portal Users] - How to set the portlet session in struts application

2009-08-31 Thread rashmi_ceru1
Hi , 
I want to set user related data in struts application and i want to 
retrieve same data in the head page .which is in other portlet . so i was 
trying to set the data in portlet session 
but i couldn't find any portletsession object . how to set the portlet session 
and retrive the portlet session . i am extending  extends Action in action 
class do i need to change this ? 
thanks is advance 
  

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

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


[jboss-user] [jBPM Users] - Requesting task definitions for a process definition

2009-08-31 Thread RonanKER
Hi all,

We are using jBPM4.

Our end users would like to see a readonly table with all process definitions 
and for each ones all the tasks definitions.

What is the best way to achieve this ?

I did not find a simple API. I tried to use 
JpdlProcessDefinition.getTaskDefinitions() but it returns an empty map.
That's strange because JpdlProcessDefinition inherits from 
ProcessDefinitionImpl that hold a task Definitions map with all the info I 'm 
looking for.

Furthermore, it also could be a good idea to put a 'description' in the task 
definition (or perhaps for all activities).

Thanks for any advice.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Is web application client context useable?

2009-08-31 Thread steeven
I have followed 
http://www.jboss.org/community/wiki/HowtouseanapplicationclientinJBoss-5 and 
succeed to make my C/S application client boot from JBoss ENC, but we met a big 
problem:

1. All jars in Meta.inf is loaded every time from server, no local cache. Less 
efficient than web start
2. the Jar loaders report OutOfMemory Excpetion for big JARS

Must I have to fall back to web start?



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

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


[jboss-user] [JBoss Portal Users] - Re: jbossweb comet

2009-08-31 Thread boby
Hello,

I have the same problem when I want to use Async with Resteasy :
http://www.jboss.org/file-access/default/members/resteasy/freezone/docs/1.1.GA/userguide/html/Asynchronous_HTTP_Request_Processing.html#Asynch_HTTP_Tomcat6

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

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


[jboss-user] [JBoss Portal Users] - Re: JBoss 5.1.0.GA

2009-08-31 Thread hilmer
To run portal on JBoss 5.x you need to follow the guide here:
http://www.jboss.org/community/wiki/JBossPortalonAS5

That being said Thomas Heute has made it clear in this forum post:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247887#4247887

That JBoss portal 2.7 will not be supported on JBoss AS 5, we have to wait for 
the new Exo merge, preview at the end of august, hey wait that is today :-)

--Soren

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
This is another try to post the jboss42.serverdef file:


  | 
  | 
  | 
  |
  | 
  | 
  | 
  | ${port}
  | Http
  | http
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
This is the content of my jboss42.serverdef file:








${port}
Http
http


Are these values correct?

When I start JBoss within Eclipse, I can view the JMX Agent View in the browser 
with the URL http://localhost:8080/jmx-console/

I have found the following information in a forum: "Eclipse never recognizes 
that the server has started. I had this problem for weeks and finally figured 
out that (at least for me) the host name and address had to be identical. I had 
hostname:localhost; address"127.0.0.1" and it would not work. I changed both to 
127.0.0.1 and voila!"

But I have changed the localhost to 127.0.0.1 in the server-overview, and it 
does not work.
Is there another place in Eclipse where I must change localhost to 127.0.0.1 ?



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

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


[jboss-user] [jBPM Users] - Re: Process definition xml

2009-08-31 Thread gleenders
Ronald thanks a lot. You helped me out here.

The following does the trick:
  | ExecutionService executionService = PE.getExecutionService();
  | RepositoryService repositoryService = PE.getRepositoryService();
  | //Find the process instance.
  | ProcessInstance processInstance = 
executionService.findProcessInstanceById(processInstanceById);
  | String processDefinitionId = 
processInstance.getProcessDefinitionId();
  | //Find the processDefinition.
  | ProcessDefinition processDefinition = 
repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).uniqueResult();
  | //long deploymentId = 
Long.parseLong(processDefinition.getDeploymentId());
  | //DeploymentImpl deployment = 
(DeploymentImpl)repositoryService.createDeploymentQuery().deploymentDbid(deploymentId).uniqueResult();
  | InputStream in = 
repositoryService.getResourceAsStream(processDefinition.getDeploymentId(), 
"xmlstring.jpdl.xml");
  | if (in != null){
  | return in.toString();
  | } else {
  | return null;
  | }

but this created a new problem, currently the second parameter 
(xmlstring.jpdl.xml) is hard-code. I can't find a way to query this resource 
name. Can you help me out?


Thanks

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

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


[jboss-user] [JBoss Portal Users] - JBoss 5.1.0.GA

2009-08-31 Thread tony.herst...@gmail.com
Installed Server and only added mysql-connector-java-5.1.6-bin.jar to lib 
directories in each server.

AMD Athelon 64 X2 Dual 4200+ 2.42GHz 4GB of Ram.

XP64 Pro + SP2

Launching from inside MyEclipse

Using "all":
Simple Seam .EAR exploded deployment (hot-synch of an EAR).
deploy works (but takes a long while to run up): 1min 40sec
> 20:15:27,546 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
> abstractvfsdeploymentcont...@27980747{vfsfile:/C:/jboss-5.1.0.GA/server/all/deploy/RisingStars.ear/}


Using "default":
Simple Seam .EAR exploded deployment (hot-synch of an EAR).
deploy works (takes ok time to run up): 11sec
Trouble is does not find the deployment! so going to same URL as "all" gives 
nothing... 


Using "standard" with nothing deployed does not even run up!!!


  | 20:25:22,625 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/C:/jboss-5.1.0.GA/server/standard/conf/bootstrap.xml
  | Failed to boot JBoss:
  | java.lang.RuntimeException: Error unmarshalling 
file:/C:/jboss-5.1.0.GA/server/standard/conf/bootstrap.xml
  | at 
org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:60)
  | at 
org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
  | at org.jboss.Main.boot(Main.java:221)
  | at org.jboss.Main$1.run(Main.java:556)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
file:/C:/jboss-5.1.0.GA/server/standard/conf/bootstrap.xml
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:119)
  | at 
org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:53)
  | ... 5 more
  | Caused by: java.io.FileNotFoundException: 
C:\jboss-5.1.0.GA\server\standard\conf\bootstrap.xml
  | at 
org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:105)
  | at 
org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:112)
  | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
  | ... 7 more
  | 20:25:22,765 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: 
true
  | 20:25:22,828 INFO  [ServerImpl] Shutdown complete
  | Shutdown complete
  | Halting VM
  | 

jdk = jdk1.6.0_15
VM Args: -Xms128m -Xmx512m -XX:MaxPermSize=256m
Launch in debug mode.



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

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


[jboss-user] [JBoss Portal Users] - Seam Portal Caused by: java.lang.NoSuchMethodError: org.ajax

2009-08-31 Thread santoshkotakonda


Hi,

I have been trying to run the Seam Portal Application with the examples given 
in the (JBoss_Portal_Tools_Reference_Guide) of the version jboss-portal-2.7.2.

The Combination that I have tried are the following:

1. jboss-portal-2.7.2
2. JBossPortletBridge-2.0.0.ALPHA
3. richfaces-ui-3.3.1.GA
4. jboss-seam-2.2.0.CR1

But, I am getting the following exception:

21:41:38,565 ERROR [DefaultPageControlPolicy] Rendering portlet window  
produced an error

Caused by: javax.servlet.ServletException

Caused by: java.lang.NoSuchMethodError: 
org.ajax4jsf.context.ViewResources.getHeadEvents()[Lorg/w3c/dom/Node;

I was stuck up with this issue  and searched it in various forums (Jboss 
community)
but i could not find any thread suggesting the solution other than the 
combination of Seam, Richfaces, PortalBridge, Jboss Portal Server.

Can any one help me out regarding this issue.

Regards,
Santosh


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

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


[jboss-user] [jBPM Users] - Re: Issue on Starting jBPM from External Client.

2009-08-31 Thread kukeltje
It's INFO, not ERROR, but if you put all your code in the well known try-catch 
(finally) construct for jBPM this will disappear afaik

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

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