[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread dOoMi
I'm facing the same problem: jBPM swallows the StaleObjectStateException 
causing the calling code not to notice that the operation failed.

I figured out a workaround, but I'm not sure yet, whether it's proper or not. 
The idea is to do the hibernate-commit() by myself and so be able to receive 
the StaleObjectStateException in case there was a concurrent update on the 
process-instance. In this case a retry can be scheduled.


  | ProcessInstance pi = jbpmContext.loadProcessInstanceForUpdate(id);
  | 
  | pi.signal(someTransitionIfYouWant);
  | 
  | boolean error = false;
  | 
  |   try {
  | // commit() on hibernate-level
  | jbpmContext.getSession().getTransaction().commit();
  | 
  |   } catch (StaleObjectStateException e) {
  | error = true;
  | 
  |   } finally {
  | // the tricky part: on the close()-method the jbpmContext tries to 
commit(), again!
  | // to avoid irritating error-messages, we need to make the jbpmContext 
NOT try to commit()
  | DbPersistenceService dbps =
  | (DbPersistenceService) 
jbpmContext.getServices().getPersistenceService();
  | 
  | // this can be achieved by pretending that transactions are disabled 
anyway
  | dbps.setTransactionEnabled(false);
  | jbpmContext.getServices().setPersistenceService(dbps);
  |   
  | // close jbpmContext
  | jbpmContext.close();
  |   }
  | 
  | // handle error if present
  | if(error){
  | // e.g. schedule retry
  | }
  | else{
  | ...
  | }
  | 

What do you guys think? Any suggestions?

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

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


[jboss-user] [JBoss Messaging] - Re: ClusteredConnectionFactory and MDB's

2008-07-10 Thread timfox
greeneagle- Please search through the old posts on this forum. This question 
has been asked (and answered) many times.

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

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


[jboss-user] Delivery Failure

2008-07-10 Thread Postmaster

-
The message you sent to pdi.uk.com/noel.p was rejected because the quota for 
the mailbox has been exceeded.

The subject of the message follows: 
Subject: =?windows-1251?B?0+Ll8OXt7e4g5OXr6PLlIOTuIDHu7j8=?=


-

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


[jboss-user] [JBoss jBPM] - jPdl web console source code

2008-07-10 Thread Music123
Hi,

Please let me know, from where i can get the source code of jPdl web console 
source code.

I tried to get it from cvsgrab -proxyHost [proxyHost] -proxyPort [proxyPort] 
-url http://fisheye.jboss.org/browse/JBPM/jbpm.3/jbpm4jsf;

But it doesn't contain the files. In history it is mentioned that Project has 
been moved to SVN.

I tried to access SVN using cvsgrab -proxyHost [proxyHost] -proxyPort 
[proxyPort] -url 
http://svn.jboss.org/repos/jbpm/tempranillo/jpdl/branches/jbpm3;

But its giving error as 

Error: rootUrl parameter is mandatory
Error: packagePath parameter is mandatory

Kindly let me know the correct url to get the source code of jPdl web console.

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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread twiceknightly
kukeltje wrote : a special task, one special variable, one you name 
it The issue that you have to act on this special task in one way or 
another (when does concurrency end? what if this lock stays by accident, what 
do you return to the other token). Sound like your trying to invent a mechanism 
that maybe should be in the engine... 

Yes but the special task is shared.  Two threads would race to acquire the 
special task (read lock) but ultimately a task is stored in the database so 
wouldn't the concurrency end when accessing a row in the task instance table?  
It seems to me as if there should be a mechanism in the engine to lock a 
process when there are multiple tokens.  

There may need to be a timer on the task to release it if it doesn't get 
released automatically or something.

dOoMi.  I would really appreciate it if you could write a paragraph on your 
understanding of the situation.  I'm not deeply into Hibernate and have a 
really tight deadline for this stuff.

To be fair I'm not familiar enough with jbpm yet to know at what level I need 
to provide synchronization.  I presume it would be at the processInstance level.

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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread dOoMi
as i see it, it works/fails like this:

1a. thread 1 opens a jbpmContext and a process instance
1b. thread 2 opens a jbpmContext and the same process instance
2a. thread 1 passes data to the process instance and gives a signal()
2b. thread 2 also passes data to the process instance and gives a signal()
3a. thread 1 processes the signal
3b. thread 2 processes the signal
---now tatata, the problem occurs---
4a. thread 1 closes the jbpmContext, this causes the jbpm-engine to commit() 
the changed processInstance to the database - OK
4.b thread 2 closes the jbpmContext, this causes the jbpm-engine to commit() 
the chanced processInstance to the database; commit() fails, because the 
processInstance on the database is different than it was when it was loaded; 
StaleObjectStateException is thrown AND CAUGHT by the jbpm-engine - BAD, 
because the caller does not notice; data is lost, no retry can be scheduled

- in my opinion the solution could be a method to tell, when optimistic 
locking failed to be able to retry. that's what i tried to do in my code.

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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread twiceknightly
dOoMi,

Where in the jbpm code is the StaleObjectStateException caught?  Do you think 
my solution of using a process wide task as a lock would work?

kukeltje,

For us that are fairly new to jbpm and haven't followed the discussions in the 
past do you know where the discussion got to or be able to point us in the 
right direction regarding any resources?

cheers


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

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


[jboss-user] [JBoss jBPM] - moving to a specific node

2008-07-10 Thread twiceknightly
Hi,

I am trying to find a way to move a token directly to a node.  

Basically I want to store the current node a token is pointing to and then some 
time later return to that stored node.

Obviously I know you can get the node name directly from the token to store it. 
 The problem I have is how you then set a token back to that.

cheers



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

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


[jboss-user] [JBossWS] - Re: artifacts from wsconsume serializable?

2008-07-10 Thread dmitry.kudrenko
Hello, I think it should be supported based on bossws-native-3.0.2.GA change 
log. I didn't notice your post and created the similar:

http://www.jboss.com/index.html?module=bbop=viewtopict=138784

Unfortunately, no answers.

Based on Feature Request:
* [JBWS-1278] - WSDL To Java, add a configuration option so all generated types 
can implement java.io.Serializable

Look to the jira thread for details:
http://jira.jboss.org/jira/browse/JBWS-1278

Really, I don't understand how to generate serialisable artifacts by wsdl and 
which tool you for this. Please, let me know if you have a progress with this. 
Thank you for any help.

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

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


[jboss-user] [JBoss Tools (users)] - JBoss tools on Ganymede?

2008-07-10 Thread alex_krasov
Hi.

I know this were discussed before, but I didn't manage to get a definitive 
answer from the other topics...

1. Is there a working combination to try out the Jboss Tools with Ganymede GA 
release? I've tried the latest nightly build and I'm getting an exception when 
trying to load a jsp file in editor. What else do I need except of nightly 
build?

2. Is there an Eclipse Update Site for Jboss Tools nightly builds? 


Thanks in advance,
Alex.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Failure Detection when group coordinator dies

2008-07-10 Thread luckywhd
Hello,

JBossCache and JGroups Services documentation 
(http://docs.jboss.org/jbossas/jboss4guide/r4/html/jbosscache.chapt.html#jbosscache-jgroups-fd-fd)
 states that when FD discovery protocol is being used, the current group 
coordinator is responsible of updating the cluster's view when a node of a 
cluster dies. The documentation does not however tell what is being done when 
the group coordinator itself dies.

We have been experiencing problems in a situation, where a node acting as the 
cluster's coordinator crashes, is rebooted or shut down. It seems that this 
leads to a situation, where other nodes still see the dead node as the 
coordinator and are, for some reason, unable to vote for the new one.

Any ideas how to fix this?

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

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


[jboss-user] [Performance Tuning] - performence issue

2008-07-10 Thread palakolanusrinu
Hi,
Can any one help in this its urgent in production environment

issue:

My application is deployed in jboss application server on Linux machine
right now this application logs r consuming more memory if i turn it off 
application is working fine,if i made logs level to INFO still its consuming 
more memory

After turn off application logs memory usage is 300
before turn off application logs memory usage is 900

how to fix this or can any one guide me how to fix this issue its high priority 
issue

thanks in advance

regards
Srini.P


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

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


[jboss-user] [EJB 3.0] - SessionBean not deployed, remote not bound

2008-07-10 Thread giaulo
Hi, i'm developing a ejb3 app with a session bean, a remote interface and a 
stand alone client.
I use Netbeans 5.5 with jboss4.0.4 bundled and my ear package is succesfully 
builded and deployed.
But when I put the .ear package in another Jboss4.0.4 server (with all 
configuration), only the client 
is deployed:

10:41:44,899 INFO  [EARDeployer] Init J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/jboss-4.0.4.GA-clustered/server/all/deploy/AddressBook.ear
  | 10:41:44,996 INFO  [ClientDeployer] Client ENC bound under: 
AddressBook-app-client
  | 10:41:45,161 INFO  [EARDeployer] Started J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/jboss-4.0.4.GA-clustered/server/all/deploy/AddressBook.ear
  | 
Instead of:

  | [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 12:32:36,588 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=AddressBook.ear,jar=AddressBook-ejb.jar,name=SessionBean,service=EJB3
 with dependencies:
  | 12:32:36,588 INFO  [JmxKernelAbstraction]   
persistence.units:ear=AddressBook.ear,jar=AddressBook-ejb.jar,unitName=AddressBook-ejbPU
  | 12:32:36,672 INFO  [EJBContainer] STARTED EJB: ejb.SessionBean ejbName: 
SessionBean
  | 12:32:36,699 INFO  [EJB3Deployer] Deployed: 
file:/home/giulio/Informatica/Sistemi_Middleware/JBoss-4.0.4.GA/server/default/tmp/deploy/tmp30870AddressBook.ear-contents/AddressBook-ejb.jar
  | 12:32:36,790 INFO  [EARDeployer] Started J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/JBoss-4.0.4.GA/server/default/deploy/AddressBook.ear
  | 
The application can't bound the remote interface, as I can see from JNDIView 
list():

+- AddressBook-app-client (class: org.jnp.interfaces.NamingContext)
  | 
Instead of:

+- AddressBook (class: org.jnp.interfaces.NamingContext)
  | |   +- SessionBean (class: org.jnp.interfaces.NamingContext)
  | |   |   +- remote (proxy: $Proxy73 implements interface 
ejb.SessionRemote,interface org.jboss.ejb3.JBossProxy,interface 
javax.ejb.EJBObject)
  | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
  | +- AddressBook-app-client (class: org.jnp.interfaces.NamingContext)
  | 
Why this happens?
Please help me! 


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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread dOoMi
- resources: i'm sorry, i'm new to the discussion board, too. so i have no 
idea where to find the original discussion thread.

- exception: the exception is caught after all in org.jbpm.svc.Services in 
Line 226. The original Exception is caught earlier but gets wrapped into a 
JbpmPersistenceException and is thrown further. 

- locking-mechanism: you could also use a simple process variable to indicate 
the locking. as kukeltje stated the problem is the failover-scenario. what 
happens if the server crashes and the lock stays?

another approach might be to change the isolaotion-level of the database. this 
way you could take advantage of the existing locking-mechnism provided by your 
database.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread [EMAIL PROTECTED]
It appears that the issue comes from the fact that the portlet / JSP page uses 
getContextPath to create the URL. This, in turn, does not trigger the resource 
processing done in WSRP. The proper solution would be for the portlet to use 
encodeURL... I understand that this is not an option in many cases so I will 
implement proper rewriting...
http://jira.jboss.com/jira/browse/JBPORTAL-2067
Thanks for your help.

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

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


[jboss-user] [Remoting] - Re: java.net.SocketException: Can not obtain client socket c

2008-07-10 Thread kapil.singhal
I updated the jboss-remoting.jar to 2.4.0 as suggested in the JIRA JREM 821.

After updating the jar, I am getting the connections upto 64 but after 50 
connections it slows down a lot. It takes around 7-10 min. for last 15 
connections.

This behaviour is very strange. 

Can we configure the MAX_POOL_SIZE from any of the configuration files in the 
JBoss?

I looked into the class MicroSocketclientInvoker.java and found that the 
default value of the POOL_SIZE is 50. 

I do not know but I think this default value is restrciting the connections to 
50 only. 

Can someone suggest how to proceed further.

I have also updated the PostgreSQL to 8.3.1 but it is still stuck to 50 
connections. 

Thanks,
Kapil

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

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


[jboss-user] [Clustering/JBoss] - setting up a jboss as proxy for routing HTTP requests to jbo

2008-07-10 Thread krisohary
I have been working on jbos cluster from past 2 years. I already have a setup 
where apache as a front end to jboss cluster with mod_jk2. Now because of some 
reasons I need to remove the apache and I want to shift the load balancer from 
mod_jk to jboss.

Basically when I have mod_jk, the load balancing is done by apache in 
round-robin fashion. But the jboss has four load scheduling algorithms which 
are being hidden when I use apache as a front-end. So for this reason I need to 
remove the apache and make jboss as a proxy for routing HTTP requests.

I am not able to find the documentation for how to set up this architecture. 
Please reply me with the procedure of how to do this.

Senario:
A jboss cluster with n nodes
A jboss server acts as a proxy for routing the HTTP requests.
This proxy should use the load balancing techniques(Round-Robin, Random-Robin, 
etc.,) that are defined by jboss for routing the HTTP requests.


Thanks in advance.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Failure Detection when group coordinator dies

2008-07-10 Thread [EMAIL PROTECTED]
The next available member takes over as a coordinator.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - How to deploy an Application on a Remote Server

2008-07-10 Thread priyarao234
Hi friends,
I have an Application. And I have created a .ear file for that application. And 
now my problem is i have to deploy that application on remote server (i.e jboss 
is running in another machine). Please tell me how can i deploy my application 
on that machine.

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

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


[jboss-user] [JBoss Portal] - Error when logging in to portal

2008-07-10 Thread ssidhanta
Hi guys,

First of all thanks a lot all of u guys for helping beginners like me in JBOSS.

 I am being hit with this error message(in my browser) when logging in to jBoss 
Portal.

Also, certain things in my portal page is replaced by some jibberish strings.
Please advice.

Error:
Cause: java.lang.NullPointerException 
StackTrace:

Cause: java.lang.NullPointerException 
StackTrace: 
java.lang.NullPointerException
at org.jboss.portal.core.cms.ui.CMSPortlet.doView(CMSPortlet.java:234)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
at 
org.jboss.portal.core.cms.ui.CMSPortlet.doDispatch(CMSPortlet.java:312)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
at 

[jboss-user] [JBoss Messaging] - Performance issue for persistent manager of JBoss Messaging

2008-07-10 Thread gary.c.chen
I am very confused by the internal behavior of persistent manager of jboss 
messaging with ms sql server.

I use event tracer of ms sql server to capture sql statements sent out from one 
jms message comes into jms queue to consumed by consumer.

The following sql statements shows one jms message persistent can cause about 
twenty insert statement to be executed, which cause excessive disk I/O activity.

Does anyone can help me explain why did it happen? And What's the solution to 
obtain higher performance?

Best Regards.


  | SET IMPLICIT_TRANSACTIONS ON
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854870163456, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854886809601, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854899261442, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854900899843, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854907125764, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854909747205, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854918266886, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854922854407, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854933012488, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854943825929, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, 
TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES 
(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint 
,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 2, 0, NULL, 
N'C', 39832854953984010, NULL, 0, 0
  | go
  | IF @@TRANCOUNT  0 ROLLBACK TRAN
  | go
  | exec 

[jboss-user] [EJB 3.0] - Re: SessionBean not deployed, remote not bound

2008-07-10 Thread jaikiran
Please post the contents of your application.xml and the output of the 
following command:

jar -tf AddressBook.ear

Also any specific reason for using 4.0.4 version of JBoss? JBoss-4.2.2 GA is 
the latest stable release with EJB3 support.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Problem with transaction (jbossts) configuration in Tomcat

2008-07-10 Thread jreeman
Hello all,

I have a problem of configuration with jboss cache :

My code is just that :


String value = String.valueOf(random.nextInt());
  | FqnString testFqn = Fqn.fromString(/my/tests);
  | NodeString, String rootNode = cache.getRoot();
  | 
  | NodeString, String testNode = rootNode.addChild(testFqn);
  | 

And I have the following error :



anonymous wrote : org.jboss.cache.CacheException: 
java.lang.NoClassDefFoundError: Could not initialize class 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:135)
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:434)
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:331)
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.addChild(NodeInvocationDelegate.java:293)
  | ...
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple.getTransaction(TransactionManagerImple.java:53)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.getTransaction(InvocationContextInterceptor.java:135)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:46)
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
  | ... 20 more
  | 
  | java.lang.NoClassDefFoundError: Could not initialize class 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple
  | 
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.cache.CacheException: java.lang.NoClassDefFoundError: 
Could not initialize class 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:135)
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:434)
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:331)
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.addChild(NodeInvocationDelegate.java:293)
  | at 
  | 
  | ... 13 more
  | Caused by: java.lang.NoClassDefFoundError: Could not 

[jboss-user] [EJB 3.0] - Re: SessionBean not deployed, remote not bound

2008-07-10 Thread jaikiran
By the way, as far as i remember, 4.0.4 required additional EJB3 patches to be 
applied for EJB3 support. Have you done that? 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Failure Detection when group coordinator dies

2008-07-10 Thread luckywhd
[EMAIL PROTECTED] wrote : The next available member takes over as a 
coordinator.

Ok, that makes sense. 

Still, I'm confused with the behaviour of our cluster. We'we been trying 
different configurations for the FD and still are occasionally experiencing 
problems with the lost coordinator.

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

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


[jboss-user] [JBoss Portal] - CAS JBOSS PORTAL INTEGRATION

2008-07-10 Thread ibmkhd
When i follow the step in the web 
http://wiki.jboss.org/wiki/CASSSOFrameworkIntegration
i receive this Exception:

16:52:06,656 ERROR [MainDeployer] Could not create deployment: 
file:/D:/jboss-4.2.1.GA/server/default/deploy/jboss-portal.sar/
org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.UndeclaredThrowableException)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
 
   .
   .
   .
   .
   .




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

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


[jboss-user] [JBoss Cache: Core Edition] - Config Question

2008-07-10 Thread lovelyliatroim
Just looking for some confirmation on some config questions, i.e what the best 
config is for my server.

TransactionManager.
do i need to configure a transaction manager even though i dont have the need 
for transactions? ( I assume the answer is no but thought id ask anyways, if 
yes then please why?)

If no transaction manager then the isolation should be NONE, correct?? 


Thanks,
LL


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

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


[jboss-user] [JBoss Messaging] - Re: Performance issue for persistent manager of JBoss Messag

2008-07-10 Thread timfox
Please always mention the version you are using, or it will be very difficult 
for anyone to help you.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Failure Detection when group coordinator dies

2008-07-10 Thread [EMAIL PROTECTED]
Have you looked at http://wiki.jboss.org/wiki/FDVersusFD_SOCK ?

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

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


[jboss-user] [JBoss Portal] - Access to Portal through DMZ

2008-07-10 Thread Subemontes
Hi all.
What i Have now is:

CPD:
Database Server
Jboss+Portal Server

DMZ:
A server to configure.

What i want to know, is the system or how will u configure the DMZ server so 
the Internet people access to that server and it redirect to the portal one.

I have do that with IIS but I'm not sure how to do it in Jboss / Java 
Situations.

anu help apreciated.

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

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


[jboss-user] [JBoss Messaging] - Re: Performance issue for persistent manager of JBoss Messag

2008-07-10 Thread timfox
Probably you are sending that message to a topic which has 20 durable 
subscriptions.

With a topic the message gets persisted once, then a reference to the message 
is persisted in each durable sub.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Config Question

2008-07-10 Thread [EMAIL PROTECTED]
The TM should only be used if either:

1.  You have a need for JTA transactions in your application and you need the 
cache to participate in these transactions.
2.  You are using OPTIMISTIC locking.

If either of the above are true, you should use a TM.

There is a third argument to use a TM, and this is to batch up modifications.  
E.g., multiple calls to cache.put() will result in multiple replication events 
but if you wrap these in a transaction, then replication occurs when the 
transaction commits, as a single message, which could be more efficient.

Isolation level applies to in-memory locking as well so it is relevant even if 
you are not using a TM.


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

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


[jboss-user] [JNDI/Naming/Network] - Data Source JNDI lookup fails in a WAR

2008-07-10 Thread avyo
Hi All,

I'm running my app on jboss 4.2.0, using a MSSql as a database ans spring.

My Data source:TestDB-ds.xml 

   local-tx-datasource
  jndi-nameTestDB/jndi-name
  connection-url 
jdbc:sqlserver://muzicall01;database=muzicall_dev/connection-url
  driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class
  user-namexxx/user-name
  p asswordxxx/p assword
  /local-tx-datasource


The JNDI lookup in spring:
jee:jndi-lookup id=dataSource jndi-name=java:TestDB/

In a regular EAR deployment it is working just find but when I moved to a WAR I 
got javax.naming.NameNotFoundException

Follow my JNDI tree:
java: Namespace

  +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- SecurityProxyFactory (class: 
org.jboss.security.SubjectSecurityProxyFactory)
  +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
  +- comp (class: javax.naming.Context)
  +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  +- jaas (class: javax.naming.Context)
  |   +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
  |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
  +- comp.original (class: javax.namingMain.Context)
  +- timedCacheFactory (class: javax.naming.Context)
Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy 
cannot be cast to javax.naming.NamingEnumeration
  +- TestDB (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- TransactionPropagationContextExporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
  +- Mail (class: javax.mail.Session)
  +- comp.ejb3 (class: javax.naming.Context)
  |   NonContext: null
  +- TransactionPropagationContextImporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  +- TransactionManager (class: 
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)

I made a small test - in a servlet I inserted those two rows:
((Object)context.lookup(java:SecurityProxyFactory)).getClass().getName();

((Object)context.lookup(java:TestDB)).getClass().getName();

Both JNDI names are from the same level for the first one I got the right class 
and for the second I dont the name not found.

Any idea why I can find the DS an EAR deployment and not on a WAR one. 
You help will be appreciated. 


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

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


[jboss-user] [EJB 3.0] - Re: SessionBean not deployed, remote not bound

2008-07-10 Thread giaulo
This is the output of tar -tf jar -tf AddressBook.ear :
META-INF/
  | META-INF/MANIFEST.MF
  | jar/
  | AddressBook-app-client.jar
  | AddressBook-ejb.jar
  | META-INF/application.xml
  | META-INF/jboss-app.xml
anonymous wrote : 
  | Also any specific reason for using 4.0.4 version of JBoss? JBoss-4.2.2 GA 
is the latest stable release with EJB3 support.

Because I've a cluster of hosts with this version (4.0.4GA)
anonymous wrote : 
  | By the way, as far as i remember, 4.0.4 required additional EJB3 patches to 
be applied for EJB3 support. Have you done that?

I've installed it from the installer, and the all configuration support the 
EJB3 as I've read during the installation.
My application.xml:

?xml version=1.0 encoding=UTF-8?
  | application version=5 xmlns=http://java.sun.com/xml/ns/javaee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd;
  |   display-nameAddressBook/display-name
  |   module
  | javaAddressBook-app-client.jar/java
  |   /module
  |   module
  | ejbAddressBook-ejb.jar/ejb
  |   /module
  | /application

And jboss-app.xml:

?xml version=1.0 encoding=UTF-8?
  | jboss-app/

(this files are generated by Netbeans5.5)

 
 


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

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


[jboss-user] Re: CAS JBOSS PORTAL INTEGRATION

2008-07-10 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=25191 Posted on behalf of 
a User

Please Can you tell how to make jboss portal cas integration 

In Response To: 

Greetings,

I have setup JBoss Portal and CAS to authenticate against my LDAP system and 
everything is working well. Now I tried to integrate an external J2EE 
application running in a separate tomcat using the IFramePortlet from 
Portletswap. This application authenticates against the CAS using Soulwing CAS 
client from http://www.soulwing.org which is also working correctly.

My problem is that I can login to the portal, but it seems that the ticket from 
 CAS is not propagated to the IFramePortlet and thus, it only shows the CAS 
login screen (which is correct in case the external app. does not receive a 
valid ticket). Another login with the same credentials here finally gives 
access to the external application.

Furthermore, I am not able to read any CAS-related information from the 
session, i.e. via

session.getAttribute(edu.yale.its.tp.cas.client.filter.user)

in a JSP. This is only returning null and I suspect that there is no ticket 
present in the session or it has been removed somehow, as the first login to 
the portal is apparently granting a valid ticket:

2008-02-17 16:07:34,828 INFO  [STDOUT] 2008-02-17 16:07:34,827 INFO 
[org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket 
[ST-1-5307CdujPPXozCAjlrjF] for service 
[http://localhost:8080/portal/auth/dashboard] for user [user]

Any help on how to pass the ticket to the application in IFramePortlet is 
greatly appreciated... (Sohil? ;-) )

Many thanks in advance,
Chris


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


[jboss-user] [JBoss Cache: Core Edition] - Re: Config Question

2008-07-10 Thread lovelyliatroim
Forgot something

I see also alot of these print outs for my cache using the ExpirationPolicy

anonymous wrote : 
  | 14:09:53 [EvictionTimer-0] WARN  eviction.ExpirationAlgorithm  - Unable to 
remove nodes to reduce region size below 5000.  Set expiration for nodes in 
this region
  | 

Now my problem with that is that the region its talking about would only have 
2-3 nodes in this region but i get the above output every time the expiration 
policy runs. Why is this??

I think i kind of know the reason but cant say for sure but here is what i am 
doing


I have a branch called root/a, i configure the expiration policy for the 
region root/a to be allowed to have 5000 nodes.

When an items are added to the branch root/a it can look like so
root/a/b/c/1
root/a/b/c/2
root/a/d/c/1

Now the expiration key is only added to the very last node, so in this case the 
numeric values. So when eviction kicks in and nodes are valid for eviction it 
will only evict the numerical nodes, so after eviction i have the following 
root/a/b/c
root/a/b/c
root/a/d/c

Now why would i keep getting that warning message when i am not exceeding the 
limit configured for that region? 

Another problem i have with the above strategy for my expiration policy is that 
i end up with dead branches after eviction i.e the data item i need is evicted 
but the path to reach it lives on. So take for example

root/a/b/c/1
And the data item i want to cash is in node 1, after eviction my tree looks 
like so
root/a/b/c

Essentially the nodes b and c are dead wood, the data item has been evicted 
but the path lives on. Is there a better approach to this??

A thought would be to use the path keys on one node level so for example
root/a/b-c-1

Which i have no problem in doing but how does the performance compare for 
locating an item??So you could say depth vs breath, which is the quickest for 
getting a dataitem??

Any other approaches that i could use??


Thanks Guys,
LL





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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Config Question

2008-07-10 Thread lovelyliatroim
anonymous wrote : 
  | The TM should only be used if either:
  | 
  | 1. You have a need for JTA transactions in your application and you need 
the cache to participate in these transactions.
  | 2. You are using OPTIMISTIC locking.
  | 
  | If either of the above are true, you should use a TM.
  | 
  | There is a third argument to use a TM, and this is to batch up 
modifications. E.g., multiple calls to cache.put() will result in multiple 
replication events but if you wrap these in a transaction, then replication 
occurs when the transaction commits, as a single message, which could be more 
efficient.
  | 
  | Isolation level applies to in-memory locking as well so it is relevant even 
if you are not using a TM. 
  | 

Thanks for that Manik.



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

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


[jboss-user] [JBoss jBPM] - GlassFish v2 UR 2, mySQL and jBPM

2008-07-10 Thread naruszef
Could anyone tell me how to configure jBPM (3.2.3) with GlassFish(v2 UR 2)?

I can see jbpm-console, but when i try to login i see Login failed. Invalid 
user name or password.. My hibernate/mySQL conf. looks good - because this 
mysql conf. works earlier with jBoos server. But now i have to run jBPM on 
GlassFish... 

I think that in glassfish should be file like login-config.xml in jBoss.

Thanks and regards!
Jakub Naruszewicz

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

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


[jboss-user] [JBoss Messaging] - Re: Not able to connect to remote Queue through Bridge

2008-07-10 Thread jjacobwip
Thank You. I have tried this, but still getting the same issue. 

My source is a Remote Queue running in Jboss MQ and my target is a local Queue 
running on Jboss Messaging. To make it more clear, remote queue is running on 
Jboss 4.0.4 where messaging is Jboss MQ and my bridge is configured on Jboss AS 
4.2.0 which is using Jboss Messaging. I am trying to create a bridge between 
Jboss MQ and Jboss Messaging. 

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

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


[jboss-user] [JBoss Portal] - Re: Using JBoss Portal and CAS to implement SSO for external

2008-07-10 Thread ibmkhd
Greetings 
 
  Could you please tell me how to make cas Jboss portal Integration
  
   im new to cas...



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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
Maybe I have a problem with maven repository I used these dependencies :

dependency
  | groupIdjboss/groupId
  | artifactIdjboss-common/artifactId
  | version4.2.2.GA/version
  | /dependency
  | dependency
  | groupIdjboss.jbossts/groupId
  | artifactIdjbossts-common/artifactId
  | version4.3.0.GA/version
  | /dependency   
  | dependency
  | groupIdjboss.jbossts/groupId
  | artifactIdjbossjta/artifactId
  | version4.3.0.GA/version
  | /dependency
  | dependency
  | groupIdorg.jboss.cache/groupId
  | artifactIdjbosscache-core/artifactId
  | version2.1.1.GA/version
  | /dependency   

Are they correct ?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
And create the cache instance like this : 
CacheFactoryString, String factory = new 
DefaultCacheFactoryString, String();
  | 
  | techDataCache = factory.createCache(cache-configuration.xml, 
true);
  | techDataCache.create();

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

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


[jboss-user] [Security JAAS/JBoss] - question about custom login module and principal

2008-07-10 Thread kgoedert
Hello, 

I'm creating a custom login module and principal based on the references of 
jboss wiki. When a client tries to access my beans I use the following:

  |  env.setProperty(Context.SECURITY_PRINCIPAL, user);
  |  env.setProperty(Context.SECURITY_CREDENTIALS, pass);
  |  env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
org.jboss.security.jndi.JndiLoginInitialContextFactory);
  |  Context context = new InitialContext(env);
  |  ISayHello talk = (ISayHello) context.lookup(myapp/ejb/SayBean);
  |  
  |  System.out.println(talk.sayHello());
  | 

And it works fine. But, I would like to have something that allows the user to 
inform if he would like to log as an administrator or as a regular user. Is it 
possible? How could I do that?

Thanks 

Kelly

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread [EMAIL PROTECTED]
From the 4.3.0.GA docs:

anonymous wrote : 
  | Note that JBossTS 4.3 provides a JTA 1.1 implementation, whereas JBossAS 
4.2 ships the JTA 1.0.1b API files. You may therefore also need to copy the JTA 
1.1 API into the application server's server/XXX/lib dir
  |  - lib/ext/jta-1_1-classes.zip
  | 

You also need the jbossjta-properties.xml file on the classpath, which probably 
means WEB-INF/classes/ ...
Not that bundling JBossTS in a webapp is a good idea anyhow if you a) have more 
than one such webapp or b) actually expect crash recovery to work.


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

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


[jboss-user] [JBossWS] - Re: remote authentication=no route to host found

2008-07-10 Thread timeagentess
Thank you for your answer, you put me on the right track!

It was something related to jndi naming as I suspected, but a much more stupid 
mistake -- in login-config.xml I had set the datasource to 
java:/jdbc/WSTwoDS, but I should have set it to java:jdbc/WSTwoDS, as the 
*-ds.xml file had jdbc/WSTwoDS  ;)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Datasource Lookup Problem

2008-07-10 Thread ruewan
I am trying to deploy an application that has predefined datasource names

I added a jboss-web.xml to the web-inf folder with these contents 

jboss-web
  resource-ref
res-ref-namejdbc/blah/res-ref-name
res-typejavax.sql.DataSource/res-type
jndi-namejava:blah/jndi-name
  /resource-ref
/jboss-web

The web.xml has the following resource ref

resource-ref
jdbc/blah Connection
res-ref-nameblah/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref

%
javax.naming.InitialContext ctxt = new javax.naming.InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource) ctxt.lookup(jdbc/blah);
java.sql.Connection conn = ds.getConnection();
%
%=conn%
%conn.close();%

when i run the app i get the following exception

javax.servlet.ServletException: javax.naming.NameNotFoundException: jdbc not 
bound

if i change the look up from ctxt.lookup(jdbc/blah); to 
ctxt.lookup(java:jdbc/blah); it works.

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

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


[jboss-user] [J2EE Design Patterns] - Distributed Task Management

2008-07-10 Thread tkutz_isobar
I am looking for feedback on a pattern we have started using, as we would 
prefer to have it reviewed before we convert more of our system over to using 
it.

The scenario we face, is that we have a fairly straight-forward workflow, 
without any true decision points along the way, only failure paths, and a 
couple of parallelization points. Because the workflow itself is both simple 
and static, we haven't seen the need to go for a full blown workflow engine or 
ESB. The point of the processing that we are concerned with, is the 
parallelization. At a certain point within processing our overall job, we are 
able to parallelized, and request several of the same component be launched, 
each working on a subset of the total dataset to be processed. The workflow 
must then be notified of each of those jobs completing, which it waits for 
before moving on to the following step.

The first implementation, used JMS to launch the parallel tasks, and temporary 
queues in the reply-to for the messages, allowing each job to respond to the 
originator as they start and finish. However, this has a couple problems:
1 - Temporary queues do not appear to support failover, at least on the JMS 
implementation we are using (JBoss Messaging 1.4), making this solution 
intolerant to node failure within the cluster.
2 - Since both parent and child tasks are run through services which throttle 
the processing, and the parent task is still alive while waiting for the child 
tasks to run, we are wasting processing slots, while the parent is waiting.

To deal with this, we attempted a new pattern. In this pattern, a job 
originator launches one StatefulSessionBean for the job, followed by JMS 
messages into a Queue for each of the child tasks. The child tasks then respond 
by issuing messages for start, finish and/or failure, into a Topic, with the 
job id as an attribute which can be used to filter the messages. The SFSB then 
subscribes to the topic, using a filter to look only at messages for the job it 
was created for, and polls for messages from the child processes.

The polling is implemented using an EJB3 timer on a stateless session bean, 
which in turn looks up the SFSB indicated by the object attached to the timer, 
and calls the polling method. The return value of the polling method determines 
if a new timer is scheduled or not. In between calls, the SFSB proxy is stored 
in JNDI, under a well defined context and job-specific name. It is removed when 
the job has either succeeded, or failed, including a timeout failure, if the 
jobs did not all complete within a specified window.

So far, this is working well, but we are wondering if there are any pitfalls 
with the approach, particularly with respect to storing the SFSB handle in 
JNDI, or the use of a Topic with message filters to manage message routing.

If anyone here has any comments, they'd be greatly appreciated.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jhalliday
BTW, do you expect the database connections used by your app to participate in 
the managed transaction?

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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread twiceknightly
dOoMi wrote : - resources: i'm sorry, i'm new to the discussion board, too. 
so i have no idea where to find the original discussion thread.
  | 
  | - exception: the exception is caught after all in org.jbpm.svc.Services in 
Line 226. The original Exception is caught earlier but gets wrapped into a 
JbpmPersistenceException and is thrown further. 
  | 
  | - locking-mechanism: you could also use a simple process variable to 
indicate the locking. as kukeltje stated the problem is the failover-scenario. 
what happens if the server crashes and the lock stays?
  | 
  | another approach might be to change the isolaotion-level of the database. 
this way you could take advantage of the existing locking-mechnism provided by 
your database.

It's good to have you on here dOoMi.  Thanks for the info.
  
I didn't think you could use a process variable to do the locking because the 
contextInstance, in which the variables is stored, is also a shared object like 
the processInstance.

What I did think you could do is create a new task in your process instance 
that you have to claim and have in your personal task list before you can do 
anything.  This is analogous to claiming a lock.  Tasks can have timers so if 
the server crashes then the timer is still in the database and will eventually 
timeout.  When it times out the task owner will be reset to null. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163616
___
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 SAML token validation bug?

2008-07-10 Thread [EMAIL PROTECTED]
I am assuming you are using the CR1 release.

You are correct. This was a bug that was fixed on the trunk and will be 
included in the next (GA) release

Here are the details: [link]http://jira.jboss.com/jira/browse/JBSSO-34[/link]

To get the latest code you can check it out from the JBoss SSO SVN trunk at:

[link]http://anonsvn.jboss.org/repos/jboss-sso/dev/trunk[/link]

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread Lightguard
I can't comment on the JIRA issue, so I'll post here.  I saw the code changes 
in JIRA and they look like they should be good.  I'll test on our end and let 
you know.  

Also it doesn't look like they will handle situations that do not start with a 
/ (probably not very likely, but it may be a possibility) such as:
img src=img/hello.gif /

Will that case still work?

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

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


[jboss-user] [JBoss jBPM] - Re: does this design make sense?

2008-07-10 Thread dOoMi
Ah okay. I did not go deep into Tasks yet, cause it was not necessary in our 
workflows. The timout seems to be a good solution for the 
forever-locking-problem.

Can you please give me more details on your solution? I think i'm gonna try it, 
too.

cheers

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

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


[jboss-user] [JCA/JBoss] - how to config oralce-ds.xml for realize the oracle rac fast

2008-07-10 Thread gu_lilan
hi:
i have an appliaction on jboss.this applcation use oracle rac.
in a simple jdbc application i use OracleDataSource object to realize the 
oracle rac fast failover.i could set OracleDataSource object's  method
setConnectionCacheProperties,setFastConnectionFailoverEnabled,
setONSConfiguration,setConnectionCachingEnabled .
when this application startup,i shutdown a oracle rac node  that the 
application connect to it.then the jdbc connection auto change the other.
now i 'm going to deploy this application jboss,how could i do to config a jca 
config file.
thanks!!!

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

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


[jboss-user] [JBoss Portal] - Strange problem using JBPS 2.6.2

2008-07-10 Thread kasureddy
Hi, 

 We are using Jboss Portal 2.6.2GA server for SIT,UAT and DEV environments , on 
Linux Fedora mechine.

 Just few days back,due to techincal problems, we created UAT1 instance from 
UAT. But when ever UAT1 server re-start an instance of a Portlet  which is is 
running on UAT, has been created. 
 This happens eve after removing its instances from work,tmp  deploy folder 
but still the portal instance is getting created.

Anybody facesing same prob?.. Please help

Regards
Kasu
 

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

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


[jboss-user] [Security JAAS/JBoss] - Re: How is JBoss SSO SAML token been validated?

2008-07-10 Thread [EMAIL PROTECTED]
Yes this flow of events is correct

Just to elaborate:
anonymous wrote : 
  | 3. The federation server at site2 validates the SAML token and setups the 
authentication status at site2 using the username presented in the SAML token. 
  | 

the SAML token validation between site2 and site1 involves a Trust callback 
between the federation servers of site1 and site2. 

anonymous wrote : 
  | And how is the token validated when a 3rd party federation server is 
involved? 
  | 

The protocol/communication mechanism for the Trust callback is pluggable using 
a component called TrustPlugin, with the JBossSSOTrustPlugin shipping 
out-of-the-box

To support thirdparty Federation servers, you just need to create a TrustPlugin 
for that and plug it in.

btw- this functionality is not included in the CR1 release. Its currently 
implemented on the trunk, and will be part of the next release

Thanks



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

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


[jboss-user] [EJB/JBoss] - EJB access to WebLogic server and vice versa

2008-07-10 Thread michael.couck
Hi,

I would like to access a SessionBean on JBoss from WebLogic. However if I add 
the WebLogic client jars JBoss doesn't like that at all. I haven't tried in the 
opposite direction but this could be necessary. Having both servers in 
production the final destination of the applications could be on either one.

Thanks in advance for anyone that has had some experience with this.

Regards,
Michael

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread Lightguard
Oops :)

java.lang.NullPointerException
  | at 
org.jboss.portal.wsrp.producer.AbsoluteURLReplacementGenerator.init(AbsoluteURLReplacementGenerator.java:41)
  | at 
org.jboss.portal.wsrp.producer.RenderRequestProcessor.processFragmentString(RenderRequestProcessor.java:192)
  | at 
org.jboss.portal.wsrp.producer.RenderRequestProcessor.processResponse(RenderRequestProcessor.java:136)
  | at 
org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.java:106)
  | at 
org.jboss.portal.wsrp.producer.WSRPProducerImpl.getMarkup(WSRPProducerImpl.java:177)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
  | at $Proxy366.getMarkup(Unknown Source)
  | at 
org.jboss.portal.wsrp.endpoints.MarkupEndpoint.getMarkup(MarkupEndpoint.java:61)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102)
  | at 
org.jboss.wsf.container.jboss42.DefaultInvocationHandlerJAXRPC.invoke(DefaultInvocationHandlerJAXRPC.java:57)
  | at 
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
  | at 
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.portal.wsrp.servlet.TransactionFilter.doFilter(TransactionFilter.java:78)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.portal.wsrp.servlet.ServletAccessFilter.doFilter(ServletAccessFilter.java:54)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 

[jboss-user] [JBossWS] - Web Service Client Classpath

2008-07-10 Thread mjrother
I am using JBossAS 4.2.2.GA. I started with a WSDl and generated classes with 
wsconsume. I have a web service deployed and can access it from soapUI. I am 
trying to access from a java application with the generated classes. I keep 
running into classpath issues. I looked at the wsrunclient.sh and 
wsrunclient.bat. They have huge discrepancies. 

wsrunclient.bat has:
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar
set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/policy.jar

rem taken from jbossall-client.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-logging-spi.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-common-core.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/concurrent.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/commons-logging.jar
set 
WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-remoting.jar


while wsrunclient.sh has :
# Setup the client classpath
WSRUNCLIENT_CLASSPATH=$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/log4j.jar
WSRUNCLIENT_CLASSPATH=$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar

# JBossAS-5.0 subset of jbossall-client.jar
WSRUNCLIENT_CLASSPATH=$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-logging-spi.jar
WSRUNCLIENT_CLASSPATH=$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-core.jar

# JBossAS-4.2 subset of jbossall-client.jar
WSRUNCLIENT_CLASSPATH=$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-client.jar


What class path is needed?


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 3.2.7 and Solaris 10.

2008-07-10 Thread PeterJ
The important question is will the same version of the JDK you are running on 
Solaris 9 also run on 10? If it will, you should not have a problem.

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

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


[jboss-user] [JBoss jBPM] - Need URL to get source code of jPdl web console

2008-07-10 Thread Music123
Hi, 

Please let me know, from where i can get the source code of jPdl web console 
source code. 

I tried to get it from cvsgrab -proxyHost [proxyHost] -proxyPort [proxyPort] 
-url http://fisheye.jboss.org/browse/JBPM/jbpm.3/jbpm4jsf; 

But it doesn't contain the files. In history it is mentioned that Project has 
been moved to SVN. 

I tried to access SVN using cvsgrab -proxyHost [proxyHost] -proxyPort 
[proxyPort] -url 
http://svn.jboss.org/repos/jbpm/tempranillo/jpdl/branches/jbpm3; 

But its giving error as 

Error: rootUrl parameter is mandatory 
Error: packagePath parameter is mandatory 

Kindly let me know the correct url to get the source code of jPdl web console

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

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


[jboss-user] [JBossWS] - Re: Web service security, how to filter client IP address?

2008-07-10 Thread cardel
Yes, thank you.. it works... but not only partial.

When I have created my own handler for IP restriction. When I invoke some 
webmethod from client, endpoint is contacted and client handler checks clients 
IP. Other actions in my code are successful executed but at the end I have this 
exception. Without handler everything works ok. It seems it will be something 
with my webservice URL (/ws/bareservice), may be to add some Seam filter? I 
have only context filter in my components.xml

  | web:context-filter url-pattern=/ws/*/
  | 


  | 23:53:49,546 ERROR [ContextualHttpServletRequest] ended request due to 
exception
  | java.lang.IllegalStateException: No active event context
  | at org.jboss.seam.core.Manager.instance(Manager.java:250)
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:55)
  | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
  | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:256)
  | at 
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:362)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:595)
  | 23:53:49,547 ERROR [ExceptionFilter] handling uncaught exception
  | javax.servlet.ServletException: java.lang.IllegalStateException: No active 
event context
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:74)
  | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener -DataSource File

2008-07-10 Thread PeterJ
Please post the following information:

1) Your *-ds.xml file for the data source (make sure you enclose it in code 
brackets - select the text and click the Code button located above the text 
window)

2) The code you are using to look up the data source.

3) If your web.xml file references the data source, provide that also (once 
again enclosed in code brackets)

4) If your jboss-web.xml file references the data source, provide that also 
(once again enclosed in code brackets)

And use the Preview button to make sure the formatting is correct before you 
submit your reply.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Timeout Error in Eclipse

2008-07-10 Thread PeterJ
By posting this question, are you saying that you already solved the problem 
indicated in your earlier question? 
http://www.jboss.com/index.html?module=bbop=viewtopict=138881

If you have not solved the permgen issue yet, then you need to concentrate on 
that first because it could be causing this timeout.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Timeout Error in Eclipse

2008-07-10 Thread PeterJ
Oops pasted the wrong URL: 
http://www.jboss.com/index.html?module=bbop=viewtopict=138879

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: OutOfMemory Error when redeploying application

2008-07-10 Thread PeterJ
I was going to provide some help on this but based on your next question 
(http://www.jboss.com/index.html?module=bbop=viewtopicp=4163654) which you 
posted several hours later, I get the feeling you got past this error. If not, 
let me know.

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

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


[jboss-user] [Performance Tuning] - Re: Thread Dumps during Publishing with JBoss Studio

2008-07-10 Thread ananta_a
This is with jboss studio developer.

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

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


[jboss-user] [Performance Tuning] - Re: performence issue

2008-07-10 Thread PeterJ
Where are you getting this memory information from? And what is the scale (300 
bytes? 300 KB? 300MB? 300GB?)?

What are your heap settings?

What do you mean by turning off the application logs?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: question about custom login module and principal

2008-07-10 Thread kgoedert
I figured out JACC can help me out on this. Can anyone point me to a tutorial 
on how to use JACC with my custom login module?

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread Lightguard
Inside of RenderRequestProcessor.processFragment

invocation.getDispatchedRequest() == null

invocation.getRequestContext() == [EMAIL PROTECTED]

You could make the AbsoluteURLReplacementGenerator class a singleton, or cache 
it somewhere for the life of the request as the serverAddress is not going to 
change for a request.  I'm not sure of any other ideas at the moment :(

result= div\ndiv id=cntIncDiv style=display: none;script 
src=/nomination_poc/xmlhttp/1215704693308/icefaces-d2d.js 
type=text/javascript/script\nscript 
src=/nomination_poc/xmlhttp/1215704693308/ice-extras.js 
type=text/javascript/script/divscript 
id=-SOdMtizEMwQL5IPbrUdDg:1:configuration-script type=text/javascriptif 
(!window.sessions) window.sessions = []; 
window.sessions.push('-SOdMtizEMwQL5IPbrUdDg');\nvar container = 
'-SOdMtizEMwQL5IPbrUdDg:1:configuration-script'.asElement().parentNode;\ncontainer.bridge
 = new Ice.Community.Application({session: '-SOdMtizEMwQL5IPbrUdDg',view: 
1,synchronous: false,redirectURI: null,connection: {context: {current: 
'/nomination_poc/',async: '/nomination_poc/'},timeout: 6,heartbeat: 
{interval: 5,timeout: 3,retries: 3}}}, container);/scriptiframe 
frameborder=0 id=history-frame src=/nomination_poc/xmlhttp/blank 
style=z-index: 1; visibility: hidden; width: 0; height: 0; position: absol!
 ute; opacity: 0.22; filter: alpha(opacity=22); title=Icefaces 
Redirect/iframediv class=menuButtonstable class=icePnlGrd 
id=menuPanelGridtbodytr class=icePnlGrdRow1td class=icePnlGrdCol 
leftMenu id=menuPanelGrid-0-0div class=icePnlGrp id=leftMenuIdspan 
class=iceOutTxt id=menuProjectNameIdnomination_poc:/span\na 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Fhome.seam%3Fcid%3D4wsrp-requiresRewrite=true/wsrp_rewrite
 id=menuHomeIdHome/a\na 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FApprovalList.seamwsrp-requiresRewrite=true/wsrp_rewrite
 id=ApprovalIdApproval List/a\na 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FAwardlevelList.seamwsrp-requiresRewrite=true/wsrp_rewrite
 id=AwardlevelIdAwardlevel List/a\na 
href=wsrp_rewrite?wsrp-urlType=resou!
 rcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNomi
nation.seamwsrp-requiresRewrite=true/wsrp_rewrite 
id=NominationCreateIdCreate Nomination/a\na 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNominationList.seamwsrp-requiresRewrite=true/wsrp_rewrite
 id=NominationIdNomination List/a\na 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FEmployeeList.seamwsrp-requiresRewrite=true/wsrp_rewrite
 id=EmployeeIdEmployee List/a/div/tdtd class=icePnlGrdCol rightMenu 
id=menuPanelGrid-0-1div class=icePnlGrp id=rightMenuIda 
href=wsrp_rewrite?wsrp-urlType=resourcewsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Flogin.seam%3Fcid%3D4wsrp-requiresRewrite=true/wsrp_rewrite
 id=menuLoginIdLogin/a/div/td/tr/tbody/table/divdiv 
class=iceOutConStat  connectionStatus id=j_id11div 
class=iceOutConStatInactv Inactv connectionStatusInactv 
id=j_id11:connection-idle!
 /div\ndiv class=iceOutConStatActv Actv connectionStatusActv 
id=j_id11:connection-working style=visibility: 
hidden;requesting.../div\ndiv class=iceOutConStatCaution Caution 
connectionStatusCaution id=j_id11:connection-trouble style=visibility: 
hidden;/div\ndiv class=iceOutConStatDisconnect Disconnect 
connectionStatusDisconnect id=j_id11:connection-lost style=visibility: 
hidden;/div\nscript 
type=text/javascript'j_id11'.asExtendedElement().findContainerFor('bridge').bridge.attachStatusManager(function(defaultStatusManager)
 {return new Ice.Status.ComponentStatusManager('j_id11:connection-working', 
'j_id11:connection-idle', 'j_id11:connection-trouble', 
'j_id11:connection-lost', defaultStatusManager);}, false);/script/divdiv 
class=bodydiv id=wsrp_rewrite_link 
href=/nomination_poc/xmlhttp/css/xp/xp-portlet.css rel=stylesheet 
type=text/css /link href=/nomination_poc/stylesheet/theme.css 
rel=stylesheet type=text/css /u!
 l id=wsrp_rewrite_:globalMessages style=display:none;li/li/u
l\nform action=iceSubmit('wsrp_rewrite_:j_id16'); class=iceFrm 
enctype=application/x-www-form-urlencoded id=wsrp_rewrite_:j_id16 
method=post onsubmit=return false;script 
type=text/javascript$element(document.getElementById('wsrp_rewrite_:j_id16')).captureAndRedirectSubmit();/scriptinput
 name=wsrp_rewrite_:j_id16 type=hidden value=wsrp_rewrite_:j_id16 
/input name=icefacesCssUpdates type=hidden value= /input name=cid 
type=hidden value=4 /div class=icePnlClpsblColpsd 
id=wsrp_rewrite_:j_id16:j_id18div class=icePnlClpsblColpsdHdr 
onclick=document.forms['wsrp_rewrite_:j_id16']['wsrp_rewrite_:j_id16:j_id18Expanded'].value='false';
 iceSubmit(document.forms['wsrp_rewrite_:j_id16'],this,event); return 
false;h3 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to deploy an Application on a Remote Server

2008-07-10 Thread PeterJ
Two possibilities.

#1: Copy the ear file to that machine and then move it to the server/xxx/deploy 
directory. (The copy and move is important - if you just copy directly to the 
deploy directory,  the copy might not be complete when the hot deployer runs 
which will cause JBossAS to attempt to deploy a partially copied file)

#2: Invoke the deploy method of the MainDeployer mbean. Here is an example of 
doing this using twiddle:

twiddle invoke jboss.system:service=MainDeployer deploy PATH-TO-EAR

where PATH-TO-EAR is a URL or file path that can be used on the server running 
JBossAS to access your EAR file.

Method #1 is the preferred method. Method #2 has two issues: first, the EAR 
must be visible to the servers; second, when you restart JBossAS, you will have 
to manually redeploy the EAR again.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jbooss error

2008-07-10 Thread PeterJ
I was going to ask which version of JBossAS because 4 does not help - there 
are fairly major differences between 4.0.x and 4.2.x. But then I saw the 
directory name in the output you posted, so you have version 4.2.1.

Your post does not include the first error message - most likely it rolled off 
of the output window in Eclipse. You can find the first exception stack trace 
in the server/default/log/server.log file.

If this your first time trying to run JBossAS, I strongly suggest that you run 
it from the command line first before attempting to run it in Eclipse. 

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

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


[jboss-user] [JBoss Portal] - Re: Strange problem using JBPS 2.6.2

2008-07-10 Thread PeterJ
Portlet information, once deployed, is stored in the database. Thus, removing 
files from various directory locaitons does not good for removing the portlet. 
Instead, using the adminsitration portlat to remove the protlet's window, 
instance and portlet.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: NPE in ExtendedFormAuthenticator

2008-07-10 Thread rmartony
That's great leegreiner, thanks.

Another question, how do I install the new authenticator?
Do I have to follow these 
(http://wiki.jboss.org/wiki/ExternalizeTomcatAuthenticators) instructions?

Currently I'm using the JBoss ExtendedFormAuthenticator via WEB-INF/context.xml 
descriptor with a Valve element. 
(http://wiki.jboss.org/wiki/ExtendedFormAuthenticator)

Regards,
Rafael.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread [EMAIL PROTECTED]
This has been fixed in subversion. I haven't looked into optimization so far. 
You're welcome to contribute such optimization, though... :)

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread [EMAIL PROTECTED]
Lightguard wrote : Also it doesn't look like they will handle situations that 
do not start with a / (probably not very likely, but it may be a possibility) 
such as:
  | img src=img/hello.gif /

Portlet URLs should always either use encodeURL or getContextPath to be 
correctly built and ensure portability. The fix is made to address the 
situation where getContextPath is used and doesn't properly transport over 
WSRP. I might actually make this behavior optional later on as there are use 
cases where the previous behavior would be required. The case where the URL is 
hand-built won't be addressed.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: How is JBoss SSO SAML token been validated?

2008-07-10 Thread alllle
[EMAIL PROTECTED] wrote : 
  | the SAML token validation between site2 and site1 involves a Trust callback 
between the federation servers of site1 and site2. 
  | 

And this trust callback happens directly between the federate server in the 
backend on the server side, no browser redirection involved?

Where does the site2 gets the URL of the issuing site? The SAML token doesn't 
seem to have that information.

Thank you!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163678
___
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 SAML token validation bug?

2008-07-10 Thread alllle
Yes, I am using CR1.

Thank you for the quick response, and it's great to know it's already fixed!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 3.2.7 and Solaris 10.

2008-07-10 Thread leoelias
PeterJ wrote : The important question is will the same version of the JDK you 
are running on Solaris 9 also run on 10? If it will, you should not have a 
problem.

Hi Peter, Thanks for the reply... ive checked and the JDK is compatible with 
Sol10, my concern is about the JBoss support... if i get 3.2.7 on Sol7 ill stil 
be able to open cases on jboss support ?


thank u,
Leo

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

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


[jboss-user] [Javassist user questions] - non-J2EE annotations lost

2008-07-10 Thread thebluesoul
Hi,
I'm trying to scan annotations in my classes, but when I deploy them in JBoss 
AS 4.2.2,
the Class object shows no trace of non-J2EE annotations (but I find J2EE 
annotations).
The same code in a stand alone main works perfectly.
Any ideas?
Thanks in advance

p.s. I can't use javassist to load classes (in that way I'm able to scan 
annotations)

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

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


[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache Issue

2008-07-10 Thread RahulKumarC
We are using jboss cache (Tree cache) to cache our objects in all our products. 
 We are facing a critical issue. After saving an object to the jboss cache 
using put method and retrieving the object from jboss cache using get method 
and changing the state of the object, the state of the object inside the jboss 
cache is also getting modified. According to the jboss cache documentation the 
state of the object inside the cache should not be modified until I call put 
method.
 
I am forwarding a test case 

Test Case


import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.TreeCache;

public class TestCache {

  public static void main(String[] args) throws Exception{

List l1 = new ArrayList();
List l2 = new ArrayList();

l2.add(One);
l2.add(Two);
l2.add(Three);

l1.add(l2);

TreeCache jbossCache = null;
try {
  jbossCache = new TreeCache();
  PropertyConfigurator config = new PropertyConfigurator();
  config.configure(jbossCache, C:\\jboss_cache.xml);
  jbossCache.startService();  
}
catch(Exception ex) {
  System.out.println(ex);
}
   
jbossCache.put(fqn, ListInList, l1);
System.out .println(l1 : +l1.hashCode());

   List l3 = (List) jbossCache.get(fqn,ListInList);
   System.out .println(l3 : +l3.hashCode());

for (Iterator i = l3.iterator(); i.hasNext(); ){
  List l4 = (List) i.next();
  for (Iterator i1 = l4.iterator(); i1.hasNext(); ){
String str = (String) i1.next();
System.out .println(str);
  }
}

List l5 = (List)l3.get(0);
l5.remove(1);

List l6 = (List) jbossCache.get(fqn,ListInList);
System.out .println(l6 : +l6.hashCode());

for (Iterator i2 = l6.iterator(); i2.hasNext(); ){
  List l7 = (List) i2.next();
  for (Iterator i3 = l7.iterator(); i3.hasNext(); ){
String str = (String) i3.next();
System.out .println(str);
  }
}
  }
}

Configuration File
-

?xml version=1.0 encoding=UTF-8?

!-- = --
!--   --
!--  ECMF Base TreeCache Service Configuration--
!--   --
!-- = --



  


  !--  --
  !-- Defines TreeCache configuration  --
  !--  --

  

jboss:service=Naming
jboss:service=TransactionManager

!--
  Configure the TransactionManager
--

  org.jboss.cache.GenericTransactionManagerLookup



!--
  Node locking scheme:
  OPTIMISTIC
  PESSIMISTIC (default)
--
PESSIMISTIC

!--
  Note that this attribute is IGNORED if your NodeLockingScheme above is 
OPTIMISTIC.
  
  Isolation level : SERIALIZABLE
  REPEATABLE_READ (default)
  READ_COMMITTED
  READ_UNCOMMITTED
  NONE
--
READ_COMMITTED

!--
  Valid modes are LOCAL
  REPL_ASYNC
  REPL_SYNC
  INVALIDATION_ASYNC
  INVALIDATION_SYNC
--
REPL_SYNC

!--
  Just used for async repl: use a replication queue
--
false

!--
  Replication interval for replication queue (in ms)
--
0

!--
  Max number of elements which trigger replication
--
0

!-- Name of cluster. Needs to be the same for all clusters, in order
  to find each other
--
@cache_cluster_name@

!-- JGroups protocol stack properties. Can also be a URL,
  e.g. file:/home/bela/default.xml
  
--


  
!-- UDP: if you have a multihomed machine,
  set the bind_addr attribute to the appropriate NIC IP address, e.g 
bind_addr=192.168.0.2
--
!-- UDP: On Windows machines, because of the media sense feature
  being broken with multicast (even after disabling media sense)
  set the loopback attribute to true --
UDP mcast_addr=228.1.2.3 mcast_port=48866 ip_ttl=64
  ip_mcast=true mcast_send_buf_size=15
  mcast_recv_buf_size=8 ucast_send_buf_size=15
  ucast_recv_buf_size=8 loopback=false /
PING timeout=2000 num_initial_members=3 up_thread=false
  down_thread=false /
MERGE2 min_interval=1 max_interval=2 /
!--FD shun=true up_thread=true down_thread=true /--
FD_SOCK /
VERIFY_SUSPECT timeout=1500 up_thread=false
  down_thread=false /
pbcast.NAKACK gc_lag=50
  retransmit_timeout=600,1200,2400,4800 max_xmit_size=8192
  up_thread=false down_thread=false /

[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi

2008-07-10 Thread Lightguard
I think one of the first optimizations for this (things are working great, 
thank you so much!) is not to pre-pend the host and all to hrefs that are 
javascript hrefs :)  So far things have been good save that problem. 

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

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


[jboss-user] [EJB 3.0] - Re: .. problems with clob's and oracle (ojdbc14_g)

2008-07-10 Thread gus888
itsme wrote : BTW the given byte[] must be de-/serialized by some code 
written on your own.
Hi Sandor, 

May you share your de-/serialized codes? I googled convert byte into string 
and found many example codes, but I don't know which one is good for EJB3 byte. 
Thanks a lot.

Gus

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

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


[jboss-user] [JBoss Portal] - Re: Jboss portal 2.4.2- Not able to Rearange the tabs.

2008-07-10 Thread SreeniJakka
Default page always comes first no matter what you do. For the rest of the tabs 
to go with your ordering, what I did is I prefixed them with the number of 
appearance. For ex: 2_Support, 3_Network, etc. And I defined the Display names 
to be Support and Network respectively. The tab rendering goes with the page 
name not the display name. So, Support comes in as 2nd in the line and Network 
as 3rd in the line. This worked for me!

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: ejb3 mdbs not giving name not found errors in jboss5

2008-07-10 Thread roshan_ail
I didn't configure any queues explicity.
The queue definition is only present in the mdb


  | @MessageDriven(
  | activationConfig =
  | {
  |   @ActivationConfigProperty(propertyName=destinationType, 
propertyValue=javax.jms.Queue),
  |   @ActivationConfigProperty(propertyName=destination, 
propertyValue=queue/TabularReportGenerator)
  | },
  | name=Tabular Report Generator Bean, 
mappedName=queue/TabularReportGenerator, 
  | description=description
  | )
  | 

I didn't need to do anything explicity in 4.2.2.
Do I need to do any additional configuration in 5.0?


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

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


[jboss-user] [JBossWS] - Re: Schema Validation - Failed to read schema document

2008-07-10 Thread bbucy
[EMAIL PROTECTED] wrote : Perhaps you might create a jira issue for this, 
attaching a simple application proving this.

Created issue (http://jira.jboss.org/jira/browse/JBWS-2254) and sample 
application.

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

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


[jboss-user] [JCA/JBoss] - Re: org.jboss.resource.security.SecureIdentityLoginModule

2008-07-10 Thread bitti1976
Hi Peter: Thanks so much for your response. How do I go about creating a 
servlet. I am not very familiar with java programming. Would you point me to an 
exmaple of how this can be accomplished?

-Yasha

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Circular references and Hibernate annotations

2008-07-10 Thread mbabauer
I am looking into creating a class in such a way that it can hold references to 
itself and a parent.  In other words, I am looking to make a bi-directional 
tree of these classes.

The class would like something like this:
@Entity
  | @Table(name=sample)
  | public class Sample {
  |   private String id;
  |   private Sample parent;
  |   private SetSample children;
  | 
  |   @Id
  |   @Column(name=id);
  |   public String getId(){ return id; }
  |   public void setId(String id) { this.id=id; }
  | 
  |   /** This is where I am confussed  **/
  | }

The proposed table for the above would be:
varchar(256) id
  | varchar(256) parentId

I have made plenty of classes that reference one-to-many one way, and 
many-to-one the other, but this is the first time I have tried to make these 
connections within the same class.  I guess I am just getting confused how to 
setup the JoinColumn name and the mappedBy in the annotations to work off a 
single table column within a single table.

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

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


[jboss-user] [EJB/JBoss] - Re: ORA-00904 Error while running CMP EJB

2008-07-10 Thread sfisque
i am having a similar issue.

i appears that the name attribute of my @Column annotation is being ignored 
and the query is being constructed using the attribute's name and not the name 
assigned from the annotation.

is there a common reason why JPA/Hibernate would ignore the annotation's name 
attribute and just reflect the field name as the column name?

== s


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

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


[jboss-user] [JCA/JBoss] - Re: LoginModule with oracle datasource

2008-07-10 Thread bitti1976
Hello PeterJ:
I did actually start a new post, which happened to notice also. I responded to 
this post since I found this to be the closest to what I am trying to 
accomplish (and the error matches exactly with what I see in my test), and was 
getting really desparate for help. I wanted to give the solution in this post a 
try and see if that fixed my issues, but had a question about the 
user.properties and role.properties file.

I have looked at the JbossAS directory structure, and so far have only modified 
the properties file under $JBOSS_HOME/server/default/conf/props to secure the 
jmx-console.

Thanks you for your response to my other post. I appreciate your help.

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

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


[jboss-user] [Security JAAS/JBoss] - Authorization in JBoss 5

2008-07-10 Thread kgoedert
Hi,

I came across a presentation that occurred in jboss world 2008 that states that 
authorization is now available. Is there an example on how to use it?

Thanks


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

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


[jboss-user] [JBoss Portal] - Connecting Portal to OSX Server OpenDirectory

2008-07-10 Thread pucky
I've been trying to get JBoss portal to work on a Leopard Server running Jboss 
4.2 and I'm not sure if that is even possible.  I've been able to start up the 
server and can see it running but I'm not able to login with an account that is 
in OD.

Can Anyone help?  and on another note is there Paid for support for Portal from 
RedHat?

Thanks,
Pucky

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Tomcat / JBoss Updates and version Compatability

2008-07-10 Thread mdenton
We have been notified by an outside vendor that our version of Tomcat must be 
patched in order to continue doing business with them.  

The problem is no one here seems to understand how all the systems work 
together.  We purchased Abobe's Livecycle product and they told us that they 
require JBoss 3.2.5 and that Tomcat can only be updated with a new version of 
JBoss.

Can you please confirm or deny Adobe's assumption?

We are currently using:
JBoss   3.2.5
Tomcat5.0.26
Java VM   1.4.2_12-b03


According to Tomcat, we need version 5.5.26 to be fully patched.  Is that 
possible without causing other conflicts?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 3.2.7 and Solaris 10.

2008-07-10 Thread PeterJ
You should probably ask your JBoss support contact that question. You are bound 
to get a quicker answer than by asking on the forums. (I don't work for JBoss 
support, so I do not know.)

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
Thank you, I will try tomorrow to put all all this together.

anonymous wrote : From the 4.3.0.GA docs: 

could you give me an url for this doc, and where it is explain how configure 
jbossjta-properties.xml and so on ?


anonymous wrote : Note that JBossTS 4.3 provides a JTA 1.1 implementation, 
whereas JBossAS 4.2 ships the JTA 1.0.1b API files. 
yes, thank you, very useful information.

anonymous wrote : a) have more than one such webapp or
Yes I have several but each in a separate tomcat server. I prefer to put in the 
webapp, so this way, the webapp represents the entire application.

b) actually expect crash recovery to work. 
I didn't know that was a jboss ta functionnality. and I'll look forward on this.

anonymous wrote : BTW, do you expect the database connections used by your app 
to participate in the managed transaction?

No I have no database, only in-memory data.

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

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


[jboss-user] [JCA/JBoss] - Re: org.jboss.resource.security.SecureIdentityLoginModule

2008-07-10 Thread PeterJ
You could google for servlet tutorial. There are also some older, but still 
usable, free books available at http://pdf.moreservlets.com/

and http://pdf.coreservlets.com/first-edition/

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

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


[jboss-user] [Clustering/JBoss] - Failover working for JMS Client but not for Statless Session

2008-07-10 Thread bfach
Hello,

I have a standalone java app connecting to JBoss 4.2.2.GA with jboss messaging 
1.4.0SP3 installed.

JBossA and JBossB are started on seperate machines.

When the standalone java app is connected to JBossA, JBossA is killed and 
failover takes place and succeeds for the JMS messaging however the connection 
to a previously looked up stateless session bean does not failover over.

Is there a specific conifiguration property that needs to be set in order for 
failover to occur for session beans?

Thanks in advance,



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

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


[jboss-user] [JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi

2008-07-10 Thread BrettSc
Any followup to this?

I'm in a similar situation, I've taken a working EJB-backed web service, added 
a @EndpointConfig and a /META-INF/jboss-wsse-server.xml that should require a 
plaintext username token. Testing with soapUi shows that no username token is 
required when I expected it to fail and require the username.


Did I miss a step? 
1) add @EndpointConfig(configName = Standard WSSecurity Endpoint)
2) create jboss-wsse-server.xml with

  |   jboss-ws-security xmlns=http://www.jboss.com/ws-security/config;
  |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |
xsi:schemaLocation=http://www.jboss.com/ws-security/config
  |
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd;
  | config
  | timestamp ttl=300/
  | requires/
  | /config
  |   /jboss-ws-security
  | 
 
Client app should fail since I haven't configured it to send any username token 
at this point.

-Brett

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

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


[jboss-user] [JBoss Cache: Core Edition] - Demo problem

2008-07-10 Thread rjivan
I have downloaded jbosscache-core-2.1.0.GA and am having trouble running the 
demo example.
Issue the command ant run.demo compiles the code and then does nothing. I am 
running it under JDK 1.6.0



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

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


[jboss-user] [JBoss Cache: Core Edition] - Tomcat / Srping/ Hibernate

2008-07-10 Thread rjivan
Are there any docs or pointers for using JBoss Cache with 
Tomcat/Spring/Hibernate. I am evaluating it to replace EHCache as we have moved 
to a clustered environment.

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

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


[jboss-user] [Beginners Corner] - Re: How to start building a new portlet?

2008-07-10 Thread pasfer
I've this problem too. 
What technology can we use to develop a new portlet?
Is there the chance to use Seam to develop a porlet? 

Thanks in advance.

P.S.: Sorry for my english :-(

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

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


  1   2   >