[jboss-user] [Security JAAS/JBoss] - Re: Jboss + SSO + OpenLDAP

2008-04-05 Thread tamilnandhu
It throws the error like, There is no default persistance

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141816#4141816

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141816
___
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: *-ds.xml not being bound to JNDI Name

2008-04-05 Thread jaikiran
In your dali-ds.xml, you have specified the jndi-name as DaliDS. JBoss by 
default, binds the datasource to the java: namespace. This means that the 
datasource will be available at java:DaliDS. So your, persistence.xml should 
contain the following:

jta-data-sourcejava:DaliDS/jta-data_source

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141817#4141817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Hi,

Brief situation:

A - B (remote ejb lookup + invocation - success)

B performs some ejbTimer logic, in the timeout I proceed

B - A (remote ejb lookup + reflection/invocation - fails due container not 
yet available)

I'm using Jboss 4.2.2.GA and pass the JNDI properties, as well as the interface 
(name) and method from A to B. From there I do some reflection to invoke a 
method. A and B are seperate Jboss instances on a single machine, using virtual 
ip's.

In a single JVM this works.

At first I discovered I had to set a RMISecurityManager at both machines, and 
so I did. Both sides have all permissions/grant. Based on the fact I succeed 
from A to B I get the feeling this is done ok, but perhaps I forgot something?

A snippet of the log/stacktrace:

2008-04-04 18:38:42,497 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: 
in_timeout
2008-04-04 18:38:42,531 WARN [org.jboss.ejb3.LocalProxy] Container 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3,VMID=ff2143713a7260c3:-350bd643:1191a4ce5d2:-7ffd
 is not yet available
2008-04-04 18:38:42,531 DEBUG 
[com.thespeechcorporation.service.timer.ScheduleBean] Lookup result (using: 
127.0.0.106:1099): CallHandlerServiceBean
2008-04-04 18:38:42,531 INFO 
[com.thespeechcorporation.service.timer.ScheduleBean] About to invoke a 
callback on: 'com.phonemessage.service.CallHandlerService'
2008-04-04 18:38:42,531 WARN [org.jboss.ejb3.LocalProxy] Container 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3,VMID=ff2143713a7260c3:-350bd643:1191a4ce5d2:-7ffd
 is not yet available

and from there it breaks...

Any suggestions? If more information is required, let me know.

PS I did a cross post, not sure where the post should go to:
http://www.jboss.com/index.html?module=bbop=viewtopict=133106

Thanks in advance,
Mike Ahlers

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141820#4141820

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - using drools on linux

2008-04-05 Thread kamalkant
hello friends ,
   i am new to drool can any one tell me how to install and use drool in 
eclipse on linux i have used documentation from the drool.org but it is not of 
any use.
send me details on [EMAIL PROTECTED]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141819#4141819

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread ALRubinger
Just a case of a cyclic dependency, looks like.  Try out @IgnoreDependency?

In the future, provide the error stack trace so we can see what's up. ;)

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141821#4141821

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Oke, heres the stacktrace:

2008-04-04 18:38:42,531 WARN  [org.jboss.ejb3.LocalProxy] Container 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3,VMID=ff2143713a7260c3:-350bd643:1191a4ce5d2:-7ffd
 is not yet available
2008-04-04 18:38:42,531 ERROR 
[com.thespeechcorporation.service.timer.ScheduleBean] Unable to handle timer: 
null
java.lang.reflect.InvocationTargetException
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 
com.thespeechcorporation.service.timer.ScheduleBean.handleTimeout(ScheduleBean.java:273)
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.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:108)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:175)
at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.ejb.EJBException: Invalid (i.e. remote) invocation of local 
interface (null container)
at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:80)
at $Proxy88.deliver(Unknown Source)
... 34 more


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141822#4141822

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - How to authenticate and authorize with X509 Certificate?

2008-04-05 Thread CarstenRudat
Hi all,

now I have a Webservice running on JBoss 4.2.2.GA (all) with X509 Certificate 
Token-Security. The serice endpoint is implemented by an ejb3 sessionbean.

This works fine and a request/response is now signed and encrypted.

Now, I would like to add authentication, so that a special user (and role) will 
be associated to the call.

I know the CertificatePrincipal-Wiki-entry, but I don't know, how I should 
adopt this for a ejb-endpoint. Could you give me a hint, how I can authenticate 
and authorize with a security domain from a given x509 certificate?

Thank you,
Carsten

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141824#4141824

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread ALRubinger
Much more helpful.

Caused by: javax.ejb.EJBException: Invalid (i.e. remote) invocation of local 
interface (null container)
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:80)
  | at $Proxy88.deliver(Unknown Source)

Looks like someone's doing spookiness. ;)

Probably gotta post the code showing what you're doing here too, but the error 
at face value reads simple enough.  Are you grabbing the local proxy via JNDI 
from a separate JVM?  

Local and Remote pertain to JVMs - local is only inter-JVM calls.  Anything 
else is remote, regardless of the physical location of the runtime.  
Pass-by-value and network marshalling are required, and local passes references.

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141825#4141825

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Oke, going to put in some background:

Instance A:

From boot.log:
15:56:18,265 DEBUG [ServiceCreator] Created bean: jboss:service=Naming
15:56:18,265 DEBUG [ServiceConfigurator] CallByValue set to false in 
jboss:service=Naming
15:56:18,266 DEBUG [ServiceConfigurator] Port set to 1099 in 
jboss:service=Naming
15:56:18,267 DEBUG [ServiceConfigurator] BindAddress set to 127.0.0.106 
in jboss:service=Naming
15:56:18,267 DEBUG [ServiceConfigurator] RmiPort set to 1098 in 
jboss:service=Naming
15:56:18,268 DEBUG [ServiceConfigurator] RmiBindAddress set to 
127.0.0.106 in jboss:service=Naming

Instance B:

From boot.log:
15:57:29,698 DEBUG [ServiceCreator] Created bean: jboss:service=Naming
15:57:29,698 DEBUG [ServiceConfigurator] CallByValue set to false in 
jboss:service=Naming
15:57:29,699 DEBUG [ServiceConfigurator] Port set to 1099 in 
jboss:service=Naming
15:57:29,700 DEBUG [ServiceConfigurator] BindAddress set to 127.0.0.107 
in jboss:service=Naming
15:57:29,701 DEBUG [ServiceConfigurator] RmiPort set to 1098 in 
jboss:service=Naming
15:57:29,701 DEBUG [ServiceConfigurator] RmiBindAddress set to 
127.0.0.107 in jboss:service=Naming

I can telnet to both, so I guess those are running fine.

In instance A, I have a method that does this (basically setting up some 
context to be used for the callback/invocation as soon the timer goes off at B):

public void schedule(...) {
...
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
props.put(Context.PROVIDER_URL, 127.0.0.106:1099);
...
ScheduleRequest request = new ScheduleRequest();
request.setApplicationContext(phoneMessage.getId());
request.setStartTime(startTime);
request.setEndTime(endTime);
request.setAverageDuration(new Long(duration).intValue());
request.setCallbackMethod(deliver);
request.setJndiContext(props);
request.setJndiReferenceLookup(CallHandlerService.class.getName());
request.setPreferredDeliveryDate(phoneMessage.getPreferredDeliveryDate());
request.setTimezone(phoneMessage.getTimeZone());

request.setTotalCalls(this.phoneMessageRepository.getNumberOfRecipients(phoneMessage.getId()));
this.getScheduler().schedule(request);
if (log.isInfoEnabled()) {
log.info(Done scheduling PhoneMesage with id:  + 
phoneMessage.getId());
}
}

As you can see, I am avoiding cyclic dependencies, as I try to keep the 
applications 'unaware' of each other, by passing primitives.
From the logs in A, I do see the scheduling is done. The lookup is done as 
follow:

protected Scheduler getScheduler() {
return (Scheduler) this.lookupService(Scheduler.class.getName());
}

protected Object lookupService(String serviceName) {
// Set security policy
if(System.getSecurityManager() == null) {
this.log.info(Using security policy file:  + 
System.getProperty(java.security.policy));
System.setSecurityManager(new RMISecurityManager());
}
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
props.put(Context.PROVIDER_URL, jnp://127.0.0.107:1099);

try {
this.log.info(Lookup called in CallHandlerServiceBean...);
Context ctx = new InitialContext(props);
return ctx.lookup(serviceName);
} catch (NamingException e) {
log.fatal(Unable to lookup service interface:  + serviceName);
e.printStackTrace();
}
return null;
}

The callback method:

public void deliver(Serializable applicationContext, int numberOfCalls) {
this.log.info(Deliver called with serializable:  + applicationContext);
...
}

In instance B:

@Timeout
public void handleTimeout(Timer timer) {
// Fetch context from timer
if(timer.getInfo() instanceof ScheduleContext) {
try {
ScheduleContext scheduleContext = (ScheduleContext) timer.getInfo();
// Set security policy
if(System.getSecurityManager() == null) {
if(this.log.isDebugEnabled()) {
this.log.debug(Using security policy file:  + 
System.getProperty(java.security.policy));
}
System.setSecurityManager(new RMISecurityManager());
}
// Obtain reference of remote interface
if(this.log.isDebugEnabled()) {
this.log.debug(Lookup called in ScheduleBean...);
}
InitialContext initialContext = new 
InitialContext(scheduleContext.getJndiContext());
Object remoteInterface = 
initialContext.lookup(scheduleContext.getJndiReferenceLookup());
if(this.log.isDebugEnabled()) {
this.log.debug(Lookup result (using:  + 
scheduleContext.getJndiContext().getProperty(Context.PROVIDER_URL) + ):  + 
remoteInterface);
}
// 

[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread ALRubinger
moksha2007 wrote : 
  | request.setJndiReferenceLookup(CallHandlerService.class.getName());

Does this point to a Local Business interface?  Check out JNDIView in the JMX 
Console.

If so, that would explain the error.

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141828#4141828

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: site using jbossportal

2008-04-05 Thread altes-kind
I'm also interested in references - can anyone tell me some companies/site 
which are using JBoss Portal?

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141829#4141829

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - JBoss Portlet Bridge with JBoss Portlet Container

2008-04-05 Thread fiorenzino
I discovered JBoss Portlet Container recently.
It could be good to customize and modularize my big web applications .
I usually use jsf + facelets + ejb3.

It's possible use JBoss Portlet Bridge in  Jboss 4.2 with JBoss Portlet 
Container, without Jboss Portal???

In the future, will it be possible use portlets in xhtml pages directly??


Tnk's and sorry for my bad english...

Fiorenzo





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141830#4141830

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141830
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - using drools on linux

2008-04-05 Thread kamalkant
hey frnds,
can any one tell me how to use drools on linux using eclipse i am unable to 
use documentation just because lot of confusion is there.
u can mail me on [EMAIL PROTECTED]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141831#4141831

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
From which instance you'd like to know the JNDI settings? But the 
code/annotation is configured for both:


  | @Stateless
  | @Local({CallHandlerService.class})
  | @Remote({CallHandlerService.class})
  | @Interceptors({NullReferenceCheck.class})
  | public class CallHandlerServiceBean implements CallHandlerService {
  | 

Some snippets from server.log in instance A:

2008-04-04 18:37:45,858 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding 
class annotation org.jboss.annotation.ejb.LocalBinding to 
com.phonemessage.service.CallHandlerServiceBean [EMAIL PROTECTED]
2008-04-04 18:37:45,859 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding 
class annotation org.jboss.annotation.ejb.RemoteBinding to 
com.phonemessage.service.CallHandlerServiceBean [RemoteBindingImpl:, 
jndi=com.phonemessage.service.CallHandlerService, stack=, bindUrl=, 
proxyFactory=interface org.jboss.ejb3.remoting.RemoteProxyFactory]
2008-04-04 18:37:45,864 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding 
class annotation org.jboss.annotation.ejb.RemoteBinding to 
com.phonemessage.service.CallHandlerServiceBean [RemoteBindingImpl:, 
jndi=com.phonemessage.service.CallHandlerService, stack=, bindUrl=, 
proxyFactory=interface org.jboss.ejb3.remoting.RemoteProxyFactory]
2008-04-04 18:37:45,865 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found 
EJB3: ejbName=CallHandlerServiceBean, 
class=com.phonemessage.service.CallHandlerServiceBean, type=STATELESS

2008-04-04 18:37:47,483 DEBUG [org.jboss.system.ServiceController] starting 
service 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3

2008-04-04 18:37:47,487 INFO  [org.jboss.ejb3.EJBContainer] STARTED EJB: 
com.phonemessage.service.CallHandlerServiceBean ejbName: CallHandlerServiceBean
2008-04-04 18:37:47,506 DEBUG 
[org.jboss.ejb3.stateless.BaseStatelessProxyFactory] Binding proxy for 
CallHandlerServiceBean in JNDI at com.phonemessage.service.CallHandlerService
2008-04-04 18:37:47,515 DEBUG 
[org.jboss.ejb3.stateless.BaseStatelessProxyFactory] Binding proxy for 
CallHandlerServiceBean in JNDI at com.phonemessage.service.CallHandlerService

2008-04-04 18:37:47,520 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 
container 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3
2008-04-04 18:37:47,520 INFO  [org.jboss.ejb3.JmxKernelAbstraction] 
jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3

The JNDI view, using JMX on instance A shows:


  | com.phonemessage.service.CallHandlerService (proxy: $Proxy95 implements 
interface com.phonemessage.service.CallHandlerService,interface 
org.jboss.ejb3.JBossProxy)
  | 

Does that answer the question?

I'd like to emphasize when deploying both ears in a single instance, the code 
works (given the JNDI is changed localhost:1099) for a local development 
machine. However, that is not the situation on the production machine.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141832#4141832

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141832
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Error running jbossws

2008-04-05 Thread ami999
Hi,

I am using JBoss 4.2.2 GA and am facing issues with deploying weservices. 
Please see the console output below:

Any suggestions?

Thanks,
Amit


D:\Dev\jbpm-bpel-1.1.GA\examples\schedulingant deploy.webservice
Buildfile: build.xml

detect.wsdl:

get.published.wsdl:

check.mapping:

generate.mapping:

detect.mapping.tool:

wstools:
[mkdir] Created dir: D:\Dev\jbpm-bpel-1.1.GA\examples\scheduling\target\java


BUILD FAILED
D:\Dev\jbpm-bpel-1.1.GA\examples\common\mapping-build.xml:148: The following 
error occurred while executing this line:
D:\Dev\jbpm-bpel-1.1.GA\examples\common\mapping-build.xml:92: Error running 
jbossws:

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141833#4141833

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Now to think of it,

Could it be that:

Adding some JNDI property to search for a remote proxy will solve it? If so, 
how and what do I do that?

or

I split the local and remote interface, so they come with unique names. That 
will 'force' the lookup in obtaining the right proxy.

Your thoughts?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141834#4141834

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Problem solved, by enforcing lookup of remote interface. I did this by changing 
the name of the interface to: CallHandlerServiceRemote.

Hopefully others are helped by this as well.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141836#4141836

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141836
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread ALRubinger
Yes, you arrived at the solution.  Here you have:

@Local({CallHandlerService.class})
  | @Remote({CallHandlerService.class})

Which your version of JBoss has allowed, but in fact this is prohibited:

EJB3 Core Specification 4.6.6 wrote : The same business interface cannot be 
both a local and a remote business interface of the bean.

I can't find the JIRA for this at the moment, but it's been fixed and now cites 
an error on deployment.

S,
ALR



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141837#4141837

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portal LDAP integration problems

2008-04-05 Thread juhani_g
Quick update:

Looking at the source the problem seems to be with method searchUsers in class 
LDAPExtUserModuleImpl. I added some debugging to verify that 
ldapContext.close() is been called - and it is.

Having pooling logging turned on I can see that even though ldapContext.close() 
is called the connection isn't released. On the other hand ldapContext.close() 
in method getProperty in LDAPUserProfileModuleImpl is releasing the connection.

Then I read this: 
http://blogs.warwick.ac.uk/kieranshaw/entry/ldap_connection_pooling/

It's says there that one should close NamingEnumeration - which you don't do in 
searchUsers.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141841#4141841

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141841
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - the best way for this kind of assignment?

2008-04-05 Thread clandestino_bgd
Hi,
Here is what I need to do:
1. take one task among pooled tasks for particular user (OK)
2. asynchronously invoke some web service and wait for the callback
3. after received callback assign task to the particular user
The problem is that #2 I've done so far with the State and Action Handler on 
node-enter event. This is just fine.

But how can I accomplish scenario mentioned above?
If I put action handler on some event in task node, how (where, when) I can 
receive callback?
In synchronous scenario, everything can be done straightforward, but what about 
asychronous, I need here?

Hints, comments, welcome and highly appreciated.
Milan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141843#4141843

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portal LDAP integration problems

2008-04-05 Thread juhani_g
Update 2:

I think I found at least one part of the code that is causing problems:

It is findUserByUserName(String userName) in LDAPExtUserModuleImpl (that uses 
searchUsers).

I changed the code:

 SearchResult res = (SearchResult)sr.iterator().next(); 
  |  Context ctx = (Context)res.getObject();
  |  String dn = ctx.getNameInNamespace();
  |  
  |  return createUserInstance(res.getAttributes(), dn);

With:

 SearchResult res = (SearchResult)sr.iterator().next(); 
  |  Context ctx = (Context)res.getObject();
  |  String dn = ctx.getNameInNamespace();
  |  User user = createUserInstance(res.getAttributes(), dn);
  |  System.err.println(CREATED USER AND CLOSE CONTEXT);
  |  ctx.close();
  |  return user;

Now the Context is closed and caused the connection to be released right away 
(according to the pooling debug messages).

Continuing with experiments.

In any case, I do think the LDAP code needs optimizing. Is there any technical 
documentation on it available?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141846#4141846

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141846
___
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: *-ds.xml not being bound to JNDI Name

2008-04-05 Thread jej2003
Great, only problem is I don't see that being bound either.  I see it get bound 
if I place my -ds.xml file in the deploy directory, but not if I put it under 
my ear directory.  Am I missing something?  Is there something else that I need 
to do to get this to work?

Also, when I deploy my application I am getting an error complaining about the 
tag jta-data-source (don't have the exact error, the code is at work), is 
there something I did wrong with my persistence.xml that I listed below?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141845#4141845

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141845
___
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: *-ds.xml not being bound to JNDI Name

2008-04-05 Thread jej2003
I see that in the persistence-unit tag there is an attribute named 
transaction-type, does this have ot be set to JTA in order to use 
jta-data-source tag?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141847#4141847

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread moksha2007
Thats ok, anyways I want to thank you for the support/effort!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141848#4141848

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141848
___
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: XA config causes SEAM to fail - what does working look l

2008-04-05 Thread wiggy
Found it at last - there is a connector/J 5.1.5 that stops it working.

upgrade to Connector/J 5.1.6 and the problems vanish 

Yippeee/hooray - i can get my life back 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141850#4141850

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Jboss + SSO + OpenLDAP

2008-04-05 Thread salaboy21
please explain me your scenario.. i don't kwow what exactly are you doing... 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141852#4141852

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Jbpm assignment problem

2008-04-05 Thread fsk1234
I have two tasks ( A and B) two people(1 and 2). I want people 1 to take task A 
and people 2 to take task B. 

I assigned A to 1 and B to 2. 
 
But I still can use either 1 or 2 to take both tasks. There is no difference 
with or without the assignment.

Can anyone give me some help?

Thanks a lot.

Here is the code

start-state name=start-state1
  | transition to=task-node1/transition
  | /start-state
  | 
  | task-node name=task-node1
  | task name=A
  | assignment expression=user(1)/assignment
  | /task
  | transition to=task-node2/transition
  | /task-node
  | 
  | task-node name=task-node2
  | task name=B
  | assignment expression=user(2)/assignment
  | /task
  | transition to=end-state1/transition
  | /task-node

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141853#4141853

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141853
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss IDE Tools installation errors

2008-04-05 Thread [EMAIL PROTECTED]
you need to have WTP installed first.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141854#4141854

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread wolfc
http://jira.jboss.org/jira/browse/EJBTHREE-751

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141857#4141857

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141857
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Single Sign On with LDAP Examples

2008-04-05 Thread yyovkov
Hi all, 

I believe I found where is the problem with jboss sso and Fedora Directory 
Server (FDS). Here is some short explanation:

When using LDAP  and you set user password, OpenLDAP server store the password 
as plaintext. But FDS always store this value as hashed string (SSHA, MD5 ... 
so on). So it means that Authentication module should be aware of how the 
password is stored.

Btw, is JBoss SSO is actively developing or not?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141859#4141859

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB 3.0 Entity problem - Error: Incomplete Deployment li

2008-04-05 Thread jeff.rosen
I just ran into the same issue.  I found the answer here, which is good,  but 
I'm curious if this is a bug?  I'm working from the O'Reilly EJB 3.0 book (5th 
ed) and the introductory example shows the persistence unit's name being 
specified.  Should that have worked?

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141869#4141869

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Basic EJB - cant be invoked from client

2008-04-05 Thread jeff.rosen
jwenting wrote : A remote EJB client using an EJB local interface?
  | Might be the problem.

It would be a problem, but I think it would show up later.  The exception 
occurs during the JNDI lookup.  At worst he should get a NamingException.  

The problem is that he hasn't told the client where the naming provider is 
located.  One possible solution would be to modify the something like:


  | InitialContext ic = new InitialContext();
  | Context jndiRoot = (Context) ic.lookup(jnp://localhost:1099);
  | CalculatorLocal calculator = 
(CalculatorLocal)jndiRoot.lookup(CalculatorBean/local);
  | 

Assuming that JBoss is running on the same machine as the client, otherwise 
adjust the URL accordingly.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141871#4141871

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141871
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB 3.0 Entity problem - Error: Incomplete Deployment li

2008-04-05 Thread jeff.rosen
Yes it was a bug - in my code not in JBoss.  My capitalization of the unit 
names was different in the annotation and persistence.xml.  Sorry for the 
noise. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141872#4141872

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141872
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user