[jboss-user] [JBossWS] - Re: WebService client problem (JBoss 4.0.5 + jbossws-2.0.3):

2008-04-11 Thread [EMAIL PROTECTED]
Please create a test case that allows us to reproduce this

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

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


[jboss-user] [Clustering/JBoss] - Re: topic not bound in HAJMS

2008-04-11 Thread akalsy
Thanks a lot Brian for the information.

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

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


[jboss-user] [EJB/JBoss] - Re: What ´s this? -

2008-04-11 Thread FrankTheTank
Are the classes used by both still the same?

The naming of the ear should not be an issue. The contents are important.

The error looks to happen here:

  |  at $Proxy120.notifyPaymentFailed(Unknown Source) 
  | 
Did anything change here?
And by that I do not only mean the method but the classes used in the method.

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

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


[jboss-user] [EJB 3.0] - Re: Can ejb3 be used with generics?

2008-04-11 Thread jaikiran
As far as i know, the spec does not restrict this usecase. Which JBoss server 
do you use and which version of Java?

I tried a simple application with a similar usecase on JBoss-4.2.2 with Sun 
Java 1.5. Here's the example:

Interface:
 package org.myapp.ejb;
  | 
  | public interface GenericsEJBInjection T {
  | 
  | public T echoMessage(T msg);
  | 
  | }
  | 

Bean1 implementation:

  | package org.myapp.ejb.impl;
  | 
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | 
  | import org.jboss.annotation.ejb.RemoteBinding;
  | import org.myapp.ejb.GenericsEJBInjection;
  | 
  | @Stateless
  | @Remote ({GenericsEJBInjection.class})
  | @RemoteBinding (jndiBinding = GenericsEJBInjectionStringBean)
  | public class GenericsEJBInjectionStringImpl implements GenericsEJBInjection 
String {
  | 
  | public String echoMessage(String msg) {
  | System.out.println(Echoing message...);
  | return Echo -  + msg;
  | }
  | 
  | }
  | 

Bean2 implementation:


  | package org.myapp.ejb.impl;
  | 
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | 
  | import org.jboss.annotation.ejb.RemoteBinding;
  | import org.myapp.ejb.GenericsEJBInjection;
  | 
  | @Stateless
  | @Remote ({GenericsEJBInjection.class})
  | @RemoteBinding (jndiBinding = GenericsEJBInjectionIntegerBean)
  | public class GenericsEJBInjectionIntegerImpl implements 
GenericsEJBInjection Integer {
  | 
  | public Integer echoMessage(Integer msg) {
  | System.out.println(Echoing integer);
  | return msg;
  | }
  | 
  | 
  | }
  | 

Finally, the bean in which these 2 beans are injected:

  | /**
  |  * @author Jaikiran Pai
  |  * @since
  |  */
  | @Stateless 
  | @Remote ({UserManager.class})
  | @RemoteBinding (jndiBinding = RemoteUserManagerBean)
  | public class UserManagerBean implements UserManager {
  | 
  | /**
  |  * Instance of logger
  |  */
  | private static Logger logger = Logger.getLogger(UserManagerBean.class);
  | 
  | 
  | 
  | @EJB 
  | private GenericsEJBInjectionString genericsBean;
  | 
  | @EJB 
  | private GenericsEJBInjectionInteger anotherGenericsBean;
  | 
  | /**
  |  * 
  |  *
  |  */
  | public UserManagerBean() {
  | System.out.println(Default constructor of UserManagerBean  + 
this);
  | }
  | 
  | 
  | /**
  |  * Just a dummy method
  |  *
  |  * @see org.myapp.ejb.UserManager#getUser(long)
  |  */
  | public User getUser(long id) {
  | 
  | System.out.println(Generics EJB is =  + genericsBean);
  | System.out.println(Generics EJB Echo =  + 
genericsBean.echoMessage(Hello gen ejb));
  | 
  | System.out.println(Another Generics EJB is =  + 
anotherGenericsBean);
  | System.out.println(Generics Integer EJB Echo =  + 
anotherGenericsBean.echoMessage(2));
  | 
  | return null; 
  | }
  | }

This does not deploy and fails with exception:

  | java.lang.RuntimeException: could not resolve global JNDI name for @EJB for 
container UserManagerBean: reference class: org.myapp.ejb.GenericsEJBInjection 
ejbLink:  duplicated in myapp_ejb3.jar
  | at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:88)
  | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:566)
  | at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:154)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:102)
  | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 

[jboss-user] [JBossWS] - Re: Obtain SOAP attachment from PostMethod

2008-04-11 Thread [EMAIL PROTECTED]

  | /**
  |  * The interface codeMessageContext/code abstracts the message
  |  * context that is processed by a handler in the codehandle/code
  |  * method.
  |  *
  |  * pThe codeMessageContext/code interface provides methods to
  |  * manage a property set. codeMessageContext/code properties
  |  * enable handlers in a handler chain to share processing related
  |  * state.
  |  *
  |  * @since JAX-WS 2.0
  |  */
  | public interface MessageContext extends MapString, Object
  | {
  | 
  |/**
  | * Standard property: message direction, codetrue/code for
  | * outbound messages, codefalse/code for inbound.
  | * pType: boolean
  | */
  |public static final String MESSAGE_OUTBOUND_PROPERTY = 
javax.xml.ws.handler.message.outbound;
  | 
  |/**
  | * Standard property: Map of attachments to a message for the inbound
  | * message, key is  the MIME Content-ID, value is a DataHandler.
  | * pType: java.util.MapString,DataHandler
  | */
  |public static final String INBOUND_MESSAGE_ATTACHMENTS = 
javax.xml.ws.binding.attachments.inbound;
  | 
  |/**
  | * Standard property: Map of attachments to a message for the outbound
  | * message, key is the MIME Content-ID, value is a DataHandler.
  | * pType: java.util.MapString,DataHandler
  | */
  |public static final String OUTBOUND_MESSAGE_ATTACHMENTS = 
javax.xml.ws.binding.attachments.outbound;
  | 
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread bodrin
There is no firewall.
I have tried to isolate this and I think I succeeded at least partialy.

The testcase can be downloaded at: 
http://85.187.184.114/~hongildon/test-case-delays.zip

I'm running the examples (test-case) queue-consumer and queue-producer on 
machine A while the JBM is running on machine B.
How to reproduce:
1) start queue-consumer
Details: 
-Transacted event driven consumer.
-It shows the delay of the message.

2) start queue-producer multiple times to check the delay
Details:
Two sessions:
-First session (transacted) used to just create a consumer which is never used!
-Second session (transacted) used to send the message to the queue.


The strange thing is that if you comment the not used consumer creation in 
queue-producer (there is a line in the code
/** !!! if you comment the line below the delay is not present any more !!!*/
) you get this durations:

  | [java] 11.04.2008 09:54:24 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[96256]:PERSISTENT, deliveryId=20
  | [java] -
  | [java] 11.04.2008 09:54:30 (duration: 46 ms ) onMessage: 
delegator-JBossMessage[96768]:PERSISTENT, deliveryId=21
  | [java] -
  | [java] 11.04.2008 09:54:36 (duration: 47 ms ) onMessage: 
delegator-JBossMessage[97280]:PERSISTENT, deliveryId=22
  | [java] -
  | [java] 11.04.2008 09:54:42 (duration: 47 ms ) onMessage: 
delegator-JBossMessage[97792]:PERSISTENT, deliveryId=23
  | [java] -
  | [java] 11.04.2008 09:54:50 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[98304]:PERSISTENT, deliveryId=24
  | [java] -
  | [java] 11.04.2008 09:54:58 (duration: 47 ms ) onMessage: 
delegator-JBossMessage[98816]:PERSISTENT, deliveryId=25
  | [java] -
  | [java] 11.04.2008 09:55:04 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[99328]:PERSISTENT, deliveryId=26
  | [java] -
  | [java] 11.04.2008 09:55:10 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[99840]:PERSISTENT, deliveryId=27
  | [java] -
  | [java] 11.04.2008 09:55:17 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[100352]:PERSISTENT, deliveryId=28
  | [java] -
  | [java] 11.04.2008 09:55:27 (duration: 63 ms ) onMessage: 
delegator-JBossMessage[100864]:PERSISTENT, deliveryId=29
  | 
  | 

And if you leave the same line uncommented you get:

  | [java] 11.04.2008 10:04:59 (duration: 47 ms ) onMessage: 
delegator-JBossMessage[101376]:PERSISTENT, deliveryId=30
  | [java] -
  | [java] 11.04.2008 10:05:12 (duration: 5093 ms ) onMessage: 
delegator-JBossMessage[101888]:PERSISTENT, deliveryId=31
  | [java] -
  | [java] 11.04.2008 10:05:17 (duration: 47 ms ) onMessage: 
delegator-JBossMessage[102400]:PERSISTENT, deliveryId=32
  | [java] -
  | [java] 11.04.2008 10:05:30 (duration: 5093 ms ) onMessage: 
delegator-JBossMessage[102912]:PERSISTENT, deliveryId=33
  | [java] -
  | [java] 11.04.2008 10:05:34 (duration: 62 ms ) onMessage: 
delegator-JBossMessage[103424]:PERSISTENT, deliveryId=34
  | [java] -
  | [java] 11.04.2008 10:05:49 (duration: 5078 ms ) onMessage: 
delegator-JBossMessage[103936]:PERSISTENT, deliveryId=35
  | [java] -
  | [java] 11.04.2008 10:05:55 (duration: 31 ms ) onMessage: 
delegator-JBossMessage[104448]:PERSISTENT, deliveryId=36
  | [java] -
  | [java] 11.04.2008 10:06:08 (duration: 5094 ms ) onMessage: 
delegator-JBossMessage[104960]:PERSISTENT, deliveryId=37
  | [java] -
  | [java] 11.04.2008 10:06:14 (duration: 62 ms ) onMessage: 
delegator-JBossMessage[105472]:PERSISTENT, deliveryId=38
  | [java] -
  | [java] 11.04.2008 10:06:25 (duration: 5078 ms ) onMessage: 
delegator-JBossMessage[105984]:PERSISTENT, deliveryId=39
  | 

Not that it is not as the original case where I got much bigger delays, but 
currently this is what I have managed to isolate ~ 5sec delay (and note the 
order - small delay, bigger delay, small delay,bigger delay,...).


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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread lhunath
This is the code used for sending an audit message on the audit queue.

  | public static final String CONNECTION_FACTORY_NAME = java:/JmsXA;
  | [...]
  | 
  | @Resource(mappedName = AuditConstants.CONNECTION_FACTORY_NAME)
  | private ConnectionFactory factory;
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | public void finalizeAuditContext(Long auditContextId) {
  | LOG.debug(finalizing audit context:  + auditContextId);
  | AuditMessage auditMessage = new AuditMessage(auditContextId);
  | try {
  | Connection connection = this.factory.createConnection();
  | try {
  | Session session = 
connection.createSession(true, 0);
  | try {
  | MessageProducer producer = session
  | 
.createProducer(this.auditBackendQueue);
  | try {
  | Message message = 
auditMessage.getJMSMessage(session);
  | producer.send(message);
  | } finally {
  | producer.close();
  | }
  | } finally {
  | session.close();
  | }
  | } finally {
  | connection.close();
  | }
  | } catch (JMSException e) {
  | this.auditAuditDAO.addAuditAudit(unable to publish 
audit context 
  | + auditContextId +  - reason:  + 
e.getMessage()
  | +  - errorCode:  + e.getErrorCode());
  | }
  | }

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread lhunath
From server/default/deploy/jms-ds.xml:
  tx-connection-factory
  | jndi-nameJmsXA/jndi-name
  | xa-transaction/
  | rar-namejms-ra.rar/rar-name
  | 
connection-definitionorg.jboss.resource.adapter.jms.JmsConnectionFactory/connection-definition
  | config-property name=SessionDefaultType 
type=java.lang.Stringjavax.jms.Topic/config-property   
 
  | config-property name=JmsProviderAdapterJNDI 
type=java.lang.Stringjava:/DefaultJMSProvider/config-property
  | max-pool-size20/max-pool-size
  | blocking-timeout-millis30/blocking-timeout-millis
  | 
security-domain-and-applicationJmsXARealm/security-domain-and-application
  |   /tx-connection-factory


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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread ataylor
You need to check that the guest user and role exists in the database. this is 
the user that is used when none is provided, i.e. in 
this.factory.createConnection();, if it doesnt exist then you will get this 
error.

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

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


[jboss-user] [JBoss Messaging] - Re: JBM clustered connection factory and load balancing

2008-04-11 Thread timfox
jmesnil wrote : 
  | The load balancing is not a true round robin: the local node is always 
favored if it can consume messages.
  | This avoids unnecessary network hops to send the message to another node if 
it can be consumed locally:
  | 
  | http://www.jboss.com/index.html?module=bbop=viewtopict=133370
  | 
  | hope it helps,
  | jeff

We should be a bit careful about what terminology we use here.

Normally in JBM when we refer to load balancing, we're referring to the load 
balancing of create connection requests across nodes of the cluster. I.e 
subsequent connections will be created on different nodes of the cluster - this 
is true round robin load balancing, and is enabled by the 
supportsLoadbalancing attribute on the connection factory.

Then there is another type of load balancing - but in JBM we call this 
message redistribution to avoid confusion.

Message redistribution is the movement of messages which are already in queues 
between nodes of the cluster according to load.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: classloader class isolation and .spring archive.

2008-04-11 Thread alesj
What's the version of JBossAS you're using?
Try updating Spring deployer, I've released a bunch of compatible versions that 
work against Spring 2.0.8 and 2.5.
See:
 - http://www.jboss.com/index.html?module=bbop=viewtopict=128312

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread lhunath
mysql select * from JBM_USER;
  | +-++--+
  | | USER_ID | PASSWD | CLIENTID |
  | +-++--+
  | | guest   | guest  | NULL |
  | +-++--+
  | 1 row in set (0.00 sec)
  | 
  | mysql select * from JBM_ROLE;
  | +-+-+
  | | ROLE_ID | USER_ID |
  | +-+-+
  | | guest   | guest   |
  | +-+-+
  | 1 row in set (0.00 sec)

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

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


[jboss-user] [JBossWS] - Re: Web services using common complex types

2008-04-11 Thread rouvas
I am having the same problem here and have resorted to convert the complex 
object (POJO_C in your example) into a byte[]  which, of course, discards all 
information about it actually being a POJO_C type of object.
IMHO, this is a big downside, but I have been unable to find a better solution.

-Stathis


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

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


[jboss-user] [JBoss Messaging] - Resource adaptor and clustered connection factories

2008-04-11 Thread sameuh
Hello,

I try to make RR by using a clustered connection factory but it doesn't work. I 
also use a JMS RA. I think it is because the connection is not created really 
but rather taken from a pool and reuse (then not roundrobined). Am I right ? 

What should I do to activate the RR ?

Sam

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

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


[jboss-user] [JBossWS] - Re: Web services using common complex types

2008-04-11 Thread [EMAIL PROTECTED]
You can use JAXB binding customizations to map package names to namespaces

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

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


[jboss-user] [JBoss Portal] - Re: Updating portal jackrabbit version

2008-04-11 Thread frontline
I will try this, but I haven't created patches etc. before so this is a bit new 
to me. And this change also requires new jars for jackrabbit, don't know how 
these are handled in patches. Well, I'll try to look into this when I have time.

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

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


[jboss-user] [Beginners Corner] - How to run JUnit tests in (not embedded) JBoss?

2008-04-11 Thread sjalv
Didn't know where to put this, so as I'm a newbie with JBoss, I'll start here. 
:)

I'm trying to figure out how to run Junit tests against the real JBoss 
(4.0.5.GA), not the embedded one. We've been using the embedded JBoss for 
testing, but it seems that embedded JBosses behavior somewhat differs from the 
actual JBoss, so it seems a bit pointless to do testing in that environment. 

We started out by doing a simple test client that connects to a running JBoss 
server, except that our client can't use the local EJBs remotely. We wouldn't 
want to change the local EJBs to remote just for testing, so is there a 
workaround for this or should we try some other way?

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

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


[jboss-user] [JBoss Portal] - Management portlet permissions

2008-04-11 Thread frontline
I have given the view permission to the admin portal to a specific group, and I 
also added the view permission to the AdminPortletInstance.
Now a member of this group can access the jboss admin interface, but when I go 
to a specific page's page layout interface, the portlet instance list below 
Select content that will be added to the page: is empty.
This list is apparently also rendered by some portlet, but I cannot find it and 
set permissions for it.

Any ideas?

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread lhunath
I've changed the security-domain-and-application in 
server/default/deploy/jms-ds.xml from JmsXARealm into messaging to no avail

Changing the messaging policy in server/default/conf/login-config.xml to use 
the property files in conf/props (after creating them as well, naturally) 
instead of the mysql data source has not helped either.

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

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


[jboss-user] [JBoss jBPM] - Contributing a New Document to JBPM Community

2008-04-11 Thread mandrita.ca
Hi,

I am an employee of Cognizant Technology solutions and for past couple of 
months my group had been evaluating JBPM 3.2.2.We have come up with a tutorial 
which is more relevant for developers who would be using this modelling tool.We 
want to contribute the same at the JBoss community.Is there any procedure for 
the same like verifications etc  or I can just upload a file at the Jbpm wiki 
site?
Please let me know.

Thanks,
Mandrita,

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

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


[jboss-user] [EJB/JBoss] - Re: SessionBeans referring each other locally

2008-04-11 Thread rabbiaqaswar
Thanks alot :)

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

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


[jboss-user] [EJB 3.0] - Re: Recommended testing framework

2008-04-11 Thread sjalv
I just ran into Ejb3Unit, so I think I'll try that first. Does anyone have any 
experience of this framework?

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread bodrin
So, if you have two MessageConsumer-s on the same queue in two different 
connections / sessions / VMs, but only one of them has a MessageListener  
attached (consumer.setMessageListener(...)) and you send a message using the 
other session (without a MessageListener attached) - there is some unexpected 
delay.

Additionaly if you close the connection after you send the message the delay is 
smaller.

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

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


[jboss-user] [EJB 3.0] - Re: Recommended testing framework

2008-04-11 Thread sjalv
I already posted a question regarding this in the beginners section, until I 
found this thread.

Adam, if you're still around, could you tell a bit more specifically how your 
solution was put together? We've been using embedded JBoss for unit testing so 
far, but now we are trying to get rid of it. 

Other solutions would be welcome as well. As Adam pointed out, it seems that 
JUnitEE is a dead project nowadays. I have found Cactus too, but haven't really 
checked it out yet.

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread bodrin
I have managed to reproduce bigger delay:
If you add for example the following line just after the producer sends and 
commits the message:

  | Thread.sleep(3);
  | 
... so, that the connection is not closed immediately after the send the delays 
get bigger 5s + 30s (?):

  | [java] -
  | [java] 11.04.2008 13:25:14 (duration: 35094 ms ) onMessage:...
  | 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss as a service - profile selection

2008-04-11 Thread marcda
hello,
i customized the service.bat in a way, PerterJ described.
when starting the service via  net start , i got the following message:
JBOSS_KIWO PD1 Application Server 4.2 is starting.
JBOSS_KIWO PD1 Application Server 4.2could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.

Any suggestions?

thank you,
marc

ps:
JBoss 4.2.1.GA under Windows 2003 SP2

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

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


[jboss-user] [EJB 3.0] - Re: Can ejb3 be used with generics?

2008-04-11 Thread wolfc
This defines the view that gets exposed (and injected):
@Remote ({GenericsEJBInjection.class})
Not the actual implementing of an interface. So you have two duplicate views in 
1 deployment. So the 'workaround' specified by jaikiran is actually the correct 
way to resolve it.

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-11 Thread lhunath
After turning on TRACE level debugging on the org.jboss.security category I 
noticed that ROLEID had to become ROLE_ID in 
server/default/conf/login-config.xml

After fixing this; the problem develops into something else:

http://www.lhunath.lyndir.com/stuff/auth (javax.resource.spi.SecurityException: 
No Password credentials found)

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

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


[jboss-user] [JBossWS] - Get involved with community contributions

2008-04-11 Thread [EMAIL PROTECTED]
Folks, if you want to get involved have a look at these issues
http://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=12310050fixfor=12311430

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

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


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread jssteux
We have exactly the same problem on JDK 1.5 / JBoss Portal 2.6.4. It concerns 
only the portlets which are positionned on the default page.



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

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


[jboss-user] [Beginners Corner] - Avoid displaying JSESSIONID in Query String

2008-04-11 Thread Ponvinayagan
Hi,

I have two JBoss servers clusted using ModJK and the application I have 
developed using struts framework. I am accessing the application from Apache 
web server.

When I access the application home page on the borwser address bar I am seeing 
the JSESSIONID as 

http://HostName/AppContext/home.do;jsessionid=56FA082595546D3F49A5F42ACB48A1EB.JbossCluster1
 
How can I restrict ;jsessionid=56FA082595546D3F49A5F42ACB48A1EB.JbossCluster1 
being displayed in browser as part of Query String.

Please someone help me.

Regards
Pon

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

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


[jboss-user] [JBoss jBPM] - What is JBPM_BYTEBLOCK ?

2008-04-11 Thread ericcart

I have a huge JBPM_BYTEBLOCK. What is JBPM_BYTEBLOCK for ?

It only has a Byte Block. 

I'm cleaning rows with a two-days limit.

Please, I'll appreciate any information about it.

Thanks,
Eric

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

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


[jboss-user] [JBossWS] - Re: Web services using common complex types

2008-04-11 Thread rcarmichael
Thanks for confirming the fact that customizations is the way to go Thomas, I 
just wanted to see if there was an easier way. It would seem like I should be 
able to provide a namespace for POJO_C so that this could be done 
automatically, but I can handle the manual way. Thanks again!

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JSP and Web Forms

2008-04-11 Thread dobbo
I'm using JBoss-4.0.5.GA, JSP and Beans to enter and validate user entry on a 
XHTML form (via post).  I seam to remember reading that when the form data is 
submitted the Jboss could be made to automagiclly submit the data in the 
request to the validator bean.  If so how?  I've tried the following but the 
setter method is not called.

public class ValidatorBean {
  | 
  | private String location;
  | 
  | public ValidatorBean() {
  | location = nowhere;
  | }
  | 
  | public String getLocation() {
  | return location;
  | }
  | 
  | public void setLocation(String txt) {
  |location = txt;
  | }
  | 
  | public void setLocationString(String txt) {
  |setLocation(txt);
  | }
  | }

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

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


[jboss-user] javax.servlet.ServletException: Original SevletResponse or wrapped original ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and SRV.14.2.5.1

2008-04-11 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=32149 Posted on behalf of 
a User

When a servlet gets a HEAD request the following exception is thrown. It's 100% 
reproducible. I'm running JBoss 4.2.1 GA.

javax.servlet.ServletException: Original SevletResponse or wrapped original 
ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and 
SRV.14.2.5.1
at 
org.apache.catalina.core.ApplicationDispatcher.checkSameObjects(ApplicationDispatcher.java:1018)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:329)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at showme.servlet.Comments.processRequest(Comments.java:176)
at showme.servlet.Comments.doGet(Comments.java:186)
at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
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:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)



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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Cannot create MBeanServer exception when booting JBoss

2008-04-11 Thread cardel
Yes, thanks... This was it. I used original java which was installed in 
OpenSuse 10.3 and it wasn't right version for Jboss AS.

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread [EMAIL PROTECTED]
When you created this consumer:

/** !!! if you comment the line below the delay is not present any more !!!*/
  |   MessageConsumer consumer =  session.createConsumer(queue);
  | 

It will actually receive messages, but you will never call consumer.receive();

As the message was received on the dead consumer, the message will eventually 
get back to the queue when you close the consumer, and that's probably the 
delay you are seeing.

We do this for performance reasons, where we cache the messages on the 
consumer. Now if you can actually have a situation like this on your system, 
you could set the option slowConsumers=true on the ConnectionFactory.

http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/configuration.html#conf.connectionfactory.attributes.slowconsumers

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread [EMAIL PROTECTED]
So... for your test, the best thing to do is to remove that consumer.

In a real situation, a slow consumer should use that option I told you before. 
You have the option to disable the performance improvement if your usecase 
requires that.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
Thanks Max.  I was just frustrated yesterday.  I'm sure it's something very 
simple, I just can't see it for whatever reason.

I did try to run it in Eclipse, and I got the same error.  So I obviously have 
some problem with my environment.  I just don't know what.  Here is the error.

08:56:33,406 ERROR [MainDeployer] Could not initialise deployment: 
file:/C:/Documents and Settings/Pat/My 
Documents/jboss-4.2.0.GA/server/default/deploy/MySeamProject-ear.ear/
org.jboss.deployment.DeploymentException: url file:/C:/Documents and 
Settings/Pat/My 
Documents/jboss-4.2.0.GA/server/default/deploy/MySeamProject-ear.ear/jboss-seam.jar
 could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:288)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.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.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 

[jboss-user] [JBoss Portal] - Problem when deploying Portlet in JBoss Portal

2008-04-11 Thread bentabol
Hello,

I downloaded JBoss Portal 2.6.4 from your page and I am using JBoss 4.2.2. GA 
as Application Server.

I want to use Portlets in the portal and I was following the Reference Guide of 
the JBoss Portal. I tried the example HelloWorldJSFSunRIPortlet and it worked 
properly. After that, I tried to create my own portlet in my Eclipse IDE, 
copying the folders and files of the example but it didn't work on deployment. 
I tried the same with the example HelloWorldJSFMyFaces42Portlet and I obtain 
the next error after deploying:

13:29:47,143 ERROR [STDERR] 
org.jboss.portal.portlet.container.PortletInitializationException: Portlet 
class not found org.apache.myfaces.portlet.MyFacesGenericPortlet

Can anyone help me, please? 
Thank you in advance.

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

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


[jboss-user] [JBossWS] - Re: Limiting number of connections per WebService

2008-04-11 Thread boniek
Yes I know about this, but this will not limit connections per WebService 
endpoint, but for all WebServices deployed on this particular instance of 
Tomcat. Let's say I have 2 WebService endpoints and I want max of 10 
simultaneous connections to one of them and max of 100 to the other one. Is it 
possible to do?

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

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


[jboss-user] [JBoss jBPM] - Re: jPDL-Designer

2008-04-11 Thread wootenator
I would like to help if I can. I'm trying to understand the scope of effort. I 
posted some questions on the eclipse.platform.rcp forum. My question was 
regarding how to get started in an effort to remove functionality and menus 
from eclipse. Was hoping that might be easier than creating a new plugin. I 
received the following advice:

I've never seen anyone get a lot of help with un-contributing contributions 
through non-API approaches and that's where you're headed.   Having been there 
with things other than the jBPM Designer I would tell you:

Run away.  It is a suicide mission.  The jBPM Designer contributes to the 
Eclipse SDK and uses EMF, GEF, DTP, and WTP.   Odds are that the 'eclipse 
functionality' you want to remove is defined in Eclipse's own internal Java 
code. The side effects of changing those types of things have side effects.  
Even if what you want to remove is contributed declaratively in plugin.xml or 
manifest files you're asking for trouble with the rest of the component stack.  
  Eclipse 3.4 is due in June.  A new jBPM Designer will probably not be too far 
behind and you'll be back at square one.

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

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


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread PeterJ
I placed my portlet on the default page of the default portal, and on the 
default page of a new portal, and saw only one call. I still think the best bet 
is to look at the stack trace.

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

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


[jboss-user] [JBoss Messaging] - Re: Resource adaptor and clustered connection factories

2008-04-11 Thread sameuh
I opened a new thread because it is another issue. 
I use 2 connection factories : one which is clustered and one which is not. 
= I need 2 provider loader and 2 JMS XA Resource adapter.

I'm wondering if the createConnection() on the ConnectionFactory provided by 
JMS-RA will have the same effect (roundrobin) as the createConnection() on the 
ConnectionFactory provided by a jndi lookup. 


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

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


[jboss-user] [JBoss Messaging] - Re: Resource adaptor and clustered connection factories

2008-04-11 Thread [EMAIL PROTECTED]
Why you opened a new thread.. you should have kept using that same thread.

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

MDBs should aways use the current server they are on, right? What's the point 
of a MDB talking to a remote server when the server is already there. But you 
have that option though.. you just the jmsra at jms-ds.xml, but that seams too 
weird.

Look at the manual, and you will also find some properties you can add to the 
Connectionfactory:


http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.connectionfactory.attributes.supportsloadbalancing

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss as a service - profile selection

2008-04-11 Thread PeterJ
If you followed my instructions, there should be a run.log file in the bin 
directory. What does it contain?

Also, have you tried to manually run service.bat? If so, what does it do?

Finally, what account are you using for the service? Log onto that account and 
run service.bat manually. What happens?

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

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


[jboss-user] [JBossWS] - Re: Web services using common complex types

2008-04-11 Thread rcarmichael
Just to update, I figured out that if I specify @XmlType(namespace=...) on my 
@Entitys that the web services are using, wsimport (if you don't use the -p 
option) would do what I want for me without having to specify JAXB 
customization files.

I still think that it would be neat if I could somehow annotate that I want 
specific classes to be packaged into an XSD and then referenced from the WSDL. 
Then multiple WSDLs share a common XSD. I'm sure this is possible if you're 
starting from WSDLs and generating java classes, but in my case I'm starting 
with POJO @Entities and @Webservices, JBoss is generating the WSDL, then I'm 
using wsimport to generate client stubs.

Anyway, what I mentioned is probably not a JBoss feature request, more of a 
JAXWS request. Thanks again for the replies. If anyone knows how to do this 
common XSD thing from simple annotations already, I'd love to know.
-Ryan

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
Okay, I found a similar issue here.  I think this is what you were referring to 
earlier about WTP.
http://www.seamframework.org/Community/CantDeploySeamProjectAfterUpgrading

This solution says to use WTP 2.0.2, instead of 2.0.1.  Would you recommend I 
try and install 2.0.2?

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

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


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread PeterJ
One more thought - what framework are you using for your portlet? Spring? Seam? 
JSF? Struts? My portlet was a simple hello portlet using only JSPs.

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

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


[jboss-user] [JBoss Messaging] - Re: Resource adaptor and clustered connection factories

2008-04-11 Thread [EMAIL PROTECTED]
That is an option on the JCA adapter. The JCA Connection Factory will delegate 
its creation to the CF configured at jms-ds.xml.

If you know what you're doing you just change the jms-ds.xml on the application 
server to use the CF you want.

If you need more help with configuring the jms-ds.xml you will have to ask on 
the JCA user's forum.

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

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


[jboss-user] [EJB/JBoss] - EJB and database connection pooling and scalability

2008-04-11 Thread mohitanchlia
I am new to Jboss world. Is there a good documentation about connection pooling 
and also about configuration parameter that should be configured to scale the 
system for a Million sessions/transactions per hour.

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

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


[jboss-user] [JBoss jBPM] - removing the identity component

2008-04-11 Thread AJanz
Hello,

i want to use my own identity component.  because we got already  existing 
users and groups in our system.

i read the documentation with removing the identity component, but got no 
idea how to proceed from that point. i remove the hibernate mapping and then? 
must i implement my own expressionassigmenthandler? how can i tell jbpm to use 
it?




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

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


[jboss-user] [Security JAAS/JBoss] - Federation 1.0 CR1 jboss 4.2.1

2008-04-11 Thread p-nat
Hi!
I try to use jboss 4.2.1 + Federation 1.0 CR1+ win xp
and I have problem as:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029733#4029733

Help me please! Patch?

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

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


[jboss-user] [JBoss Portal] - Re: Problem when deploying portlet

2008-04-11 Thread PeterJ
I used your files (well, I am not using Spring, so the portlet class name is 
different). It worked for me:

2008-04-11 08:26:16,618 DEBUG 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Creating portlet 
instance PreventionsInstance
2008-04-11 08:26:16,618 DEBUG 
[org.jboss.portal.core.impl.model.instance.InstanceContainerImpl] Creating 
instance PreventionsInstance of portlet local.image.preventions

My portlet even shows up on the Preventions page.

What version of the Portal? Version of JBossAS? JDK version?

Also, have you included all of the necessary Spring jars in the WEB-INF/lib 
directory? Perhaps a class that DispatcherPortlet relies on is missing.

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

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


[jboss-user] [JBossWS] - Re: Limiting number of connections per WebService

2008-04-11 Thread [EMAIL PROTECTED]
This is not yet supported. You could create a jira feature request for it and 
reference it from here.

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

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


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread igorroyzis
also simple jsp.

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

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


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread igorroyzis
Jean, did you ever figure out what is causing the problem on your default page?

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

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


[jboss-user] [JBossWS] - WS-Security question

2008-04-11 Thread pramod_bs
I implemented WS-Security for Usernametoken authentication for an EJB3 bean. 
Everything is working fine. But I noticed that when I send the SOAP envelope 
with just a wsse:security header (without any child elements) , the system 
allowed to invoke the service (No authentication happened). Is there a bug in 
there?

Code is same as the post here: 
http://www.jboss.com/index.html?module=bbop=viewtopict=131719

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Problems with outputting a pdf file

2008-04-11 Thread Alphard999
We are generating PDF files on JBOSS and tomcat using struts framework and 
serve them to the client. At the client they are displayed by Adobe Reader 
plugin inside the browser. (Windows XP, IE 6, Acrobat 7 / 8).

However there are problems in the process if the client has Adobe Reader 
version 7 installed (Problem does not appear with Acrobat 8 - but it is not 
just Acrobat version issue, hold on). With Acrobat 7, the pdf is displayed, but 
not inside the browser, but in a new separate window, leaving the browser 
window blank. Opening the same pdf file from a local file-system through the 
browser was successful (file displayed inside the browser), so it should be a 
problem with the server.

This is further confirmed by the fact that the same code serving pdf files on 
OC4J server, sends pdf files to the client and they get displayed inside the 
browser window just fine. On the same client machine. Obviously there is 
something different about how the pdf file is served. Unfortunately I cannot 
figure out what exactly and how to solve the problem.

Here are the headers from both servers when they served the pdf file:
HTTP/1.1 200 OK
  | Server: Apache-Coyote/1.1
  | Pragma: No-cache
  | Cache-Control: no-cache
  | Expires: Thu, 01 Jan 1970 02:00:00 EET
  | X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 
date=200510231751)/Tomcat-5.5
  | Content-Type: application/pdf;charset=UTF-8
  | Content-Length: 605608
  | Date: Fri, 11 Apr 2008 15:30:04 GMT

Date: Fri, 11 Apr 2008 15:40:47 GMT
  | Server: Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server
  | Content-Length: 6358
  | Set-Cookie: JSESSIONID=0a9e20Pchb0n6jAmljGr5XDqQLvpAe; path=/tvis
  | Cache-Control: private
  | Keep-Alive: timeout=15, max=99
  | Connection: Keep-Alive
  | Content-Type: application/pdf

Do you have any idea what might be causing this behavior or do you have any 
other additional advice?

Thank you kindly

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

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


[jboss-user] [JBoss jBPM] - Re: What is JBPM_BYTEBLOCK ?

2008-04-11 Thread kukeltje
it is for storing forms, java classes that need to be versioned etc...

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

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


[jboss-user] [Clustering/JBoss] - Integration testing clustered applications

2008-04-11 Thread controlcho
I'm not sure if this is the right forum for our problem but here it is anyway:

We're using JBoss 4.2.2GA in a clustered environment. We use SEAM 2.0.0. 
Everything works more or less fine, but when we ran the automated integration 
tests, the microkernel spat this out:


  | java.lang.annotation.AnnotationFormatError: Invalid default: public 
abstract java.lang.Class org.jboss.annotation.ejb.Clustered.loadBalancePolicy()

This is because we have @Clustered annotations in our session beans.
If I supply the jar that contains the load balance policy classes it complains 
about not finding 

org.jboss.cache.eviction.EvictionPolicyConfig

As I understand it, this class *was* in jboss-cache.jar but it isn't anymore. 
If I remove the @Clustered annotations the tests run just fine.

How do I run integration tests on clustered applications in general. 


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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
I installed WTP 2.0.2 in my 3.3.2 Eclipse, but I got the same error.  So there 
is still some other issue.

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

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


[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-11 Thread victorl
I could resolve the problem by manually changing jbpm.jpdl.mysql.sql.

In my opinion: salaboy you must response a question if you will follow the 
thread. That is, if you know the problem in deep. However thank you for your 
contribution.

I hope that my solution to be the correct one.

Regards,

Victor

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: MDB login for topic subscriber

2008-04-11 Thread arvind_agg
Hi,

Is there any way to fix this issue. I am uing 4.2.2 GA version and am facing 
the same problem. Please help

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

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


[jboss-user] [JBoss jBPM] - Re: removing the identity component

2008-04-11 Thread anuragpaliwal
Hi,

Well it depends whether you really like to use expression fro assignment or not.

If not then its easy because jbpm use String datatype to store actorIds. Hence 
you can use your own IdentityComponent ini AssignmentHandler's assign method. 
You don't have to tell jbpm anything about your IC(IdentityComponent).

But if you would like to use expressionhandler then its not that easy.  It has 
small dependency on IC provided by Jbpm.

Cheers!!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
I meant to say I installed the patch for WTP 2.0.2, but it didn't work.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread [EMAIL PROTECTED]
Hi redbird:  

   I haven't gotten to play with your drop yet, but I will today. WTP 2.0.2 is 
the broken wtp and wtp 2.0.1 is the one which SHOULD work. 

I feel that your problem may be different but i'm not sure yet. I'll be looking 
into it today. 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
Thanks Rob.  I just did one more test.  I removed the jar files from the 
modules in the application.xml.  I saw where you had said this is a workaround 
for the WTP problem.  That actually got the project to deploy within Eclipse 
with no errors.

However when I changed the project to deploy outside of eclipse, it still 
didn't work.  Nothing was copied over.  So there does appear to be some issue 
with that.  Maybe it's related to WTP too.  Or some configuration problem.

I do have one question I hope you can answer.  How do you downgrade the WTP 
version from 2.0.2 to 2.0.1?  Is that even possible?

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-11 Thread bodrin
OK, I see. Thanks!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread [EMAIL PROTECTED]
redbird:

you'd basically have to go in to your plugins folder and delete any of the 
2.0.2 plugins / patches. It's a long tedious process as far as I know. 

I know this is easier said for someone like me (who installs eclipse once or 
twice a day) but you could just unzip / untar / whatever a new build. This 
sounds like a lot of trouble, (and it is, i'm not going to pretend it isn't a 
hassle), but you could still make sure you use the same workspace so you don't 
need to reset all your preferences and stuff.

Good luck. I'm heading to the office now to pull my 8 or 9 hours =] 

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Trust relationship between JBoss servers

2008-04-11 Thread aamonten
take a look at the Federated SSO project.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Trust relationship between JBoss servers

2008-04-11 Thread aamonten
The forum for some weird reason changed the URL, the correct URL is:

http://www.jboss.org/jboo/

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache Loader Persistence

2008-04-11 Thread kringdahl
For what it's worth this is running JBC 2.0.0.GA on AS 4.2.2.GA

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

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


[jboss-user] [JBoss Portal] - Developing portlets with Jboss portal + Jboss / Eclipse IDE

2008-04-11 Thread iamnew2jboss
Hello there,

I'm new to JBoss and Eclipse development and need your help to get me started.

My requirement is to develop JSR168 portlets on Jboss using JBoss Eclipse IDE. 

Can anyone please let me to know how I can start developing JBoss JSR 168 
Portlets using Eclipse IDE? Some step-by-step tutorial would help a lot.

thank you for your help.


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

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


[jboss-user] [Management, JMX/JBoss] - JNDIView cant be found

2008-04-11 Thread gjeudy
Hi,

I have installed jboss as 4.2.2 and I cannot find the JNDIView in the 
jmx-console.

here is what I have in the jboss section:

jboss
database=localDB,service=Hypersonic 
name=PropertyEditorManager,type=Service 
name=SystemProperties,type=Service 
partition=DefaultPartition,service=FarmMember 
partitionName=DefaultPartition,service=DistributedReplicantManager 
partitionName=DefaultPartition,service=DistributedState 
readonly=true,service=invoker,target=Naming,type=http 
service=AttributePersistenceService 
service=ClientUserTransaction 
service=CorbaNaming 
service=CorbaORB 
service=CorbaTransaction 
service=DefaultPartition 
service=HAJNDI 
service=HASessionState 
service=KeyGeneratorFactory,type=HiLo 
service=KeyGeneratorFactory,type=UUID 
service=Mail 
service=Naming 
service=NamingBeanImpl 
service=TransactionManager 
service=WebService 
service=XidFactory 
service=invoker,target=HAJNDI,type=http 
service=invoker,target=Naming,type=http 
service=invoker,type=http 
service=invoker,type=httpHA 
service=invoker,type=iiop 
service=invoker,type=jrmp 
service=invoker,type=jrmpha 
service=invoker,type=local 
service=invoker,type=pooled 
service=invoker,type=pooledha 
service=invoker,type=unified 
service=invoker,type=unifiedha 
service=juddi 
service=proxyFactory,target=ClientUserTransaction 
service=proxyFactory,target=ClientUserTransactionFactory 


Shouldnt I see something like:

service=JNDIView ?

as specified in the following link:
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Server_Configuration_Guide/Additional_Naming_MBeans-The_org.jboss.naming.JNDIView_MBean.html

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

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


[jboss-user] [Remoting] - Re: Worker thread initialization failure

2008-04-11 Thread Eric Soyke
When moving from 4.0.5 to 4.2.2 I ran into this since JBoss no longer binds to 
your IP address unless you explicitly bind it, it only binds to localhost. In 
your JBoss start script, try adding -b YOUR_IP_ADDRESS after the calling of 
org.jboss.Main.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JNDIView cant be found

2008-04-11 Thread csaldanh
Could you check if server//conf/jboss-service.xml has the following code 
uncommented:

mbean code=org.jboss.naming.JNDIView
name=jboss:service=JNDIView
xmbean-dd=resource:xmdesc/JNDIView-xmbean.xml
!-- The HANamingService service name --
jboss:service=HAJNDI
   


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

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


[jboss-user] [JBoss Cache: Core Edition] - Need helps with initial state transfer in production

2008-04-11 Thread jiafan1
Hi,

We have four production machines running as a cluster and we use JBoss Cache 
version 1.4.0 as data cache (In memory Tree cache only and no cache loader). 
The application worked fine. 2 days ago, our infrastructure people patched one 
of the production machine (10.128.0.114) for PCI compliance (The changes are 
basically securing the server by enforcing passwords of a certain length and 
changing the service accounts to only be suable and not logging in directly). 
After that, the JBoss Cache cannot join the existing cluster with the following 
exception:

 
  |  Invocation of init method failed; nested e
  | xception is org.jboss.cache.CacheException: Initial state transfer failed: 
Channel.getState() returned false
  | Caused by: 
  | org.jboss.cache.CacheException: Initial state transfer failed: 
Channel.getState() returned false
  | at 
org.jboss.cache.TreeCache.fetchStateOnStartup(TreeCache.java:3191)
  | at org.jboss.cache.TreeCache.startService(TreeCache.java:1429)
  | at 
com.jtv.core.resource.impl.spring.cache.JBossCacheManagerFactoryBean.createCache(JBossCacheManagerFactoryBean.java
  | :102)
  | at 
com.jtv.core.resource.impl.spring.cache.JBossCacheManagerFactoryBean.afterPropertiesSet(JBossCacheManagerFactoryBe
  | an.java:112)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCap
  | ableBeanFactory.java:1198)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapabl
  | eBeanFactory.java:1167)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
  | nFactory.java:427)
  | 

The exception may not really related to the patch. We changed the log level to 
debug for JBoss Cache and JGroup and found the new node (10.128.0.114) 
responsed to replicate requests during the initial state transfer, which sounds 
really wired since the new node should not react to any replicate requests 
until the tree cache service starts.  Also, not sure after the replication 
procedure, the node resumed state transfer or re-started state transfer and why 
the lock on the new node did not take effect.  We doubled the initial start 
timeout limit but got the same result. Seems to us the new node lost the lock 
for the cache during the initial state transfer state and was interrupted by 
the replication requests and finally led to timeout and failed. Really 
appreciate any helps on this.

Thanks in advance,

Jian

The configuration is as:




  | mbean code=org.jboss.cache.TreeCache 
name=jboss.cache:service=TreeCache
  | 
  | dependsjboss:service=Naming/depends
  | 
  | dependsjboss:service=TransactionManager/depends
  | 
  | !-- Configure the TransactionManager --
  | !-- org.jboss.cache.DummyTransactionManagerLookup--
  | attribute 
name=TransactionManagerLookupClasscom.jtv.core.resource.impl.spring.cache.JBossCacheTransaction
  | ManagerLookup/attribute
  | 
  | !--
  | Node locking scheme:
  | OPTIMISTIC
  | PESSIMISTIC (default)
  | -- 
  | attribute name=NodeLockingSchemePESSIMISTIC/attribute
  |
  | 
  | 
  | !--
  | Node locking level : SERIALIZABLE
  | REPEATABLE_READ (default)
  | READ_COMMITTED
  | READ_UNCOMMITTED
  | NONE
  | --
  | attribute name=IsolationLevelREPEATABLE_READ/attribute
  | 
  | !--
  | Valid modes are LOCAL
  | REPL_ASYNC
  | REPL_SYNC
  | INVALIDATION_ASYNC
  | INVALIDATION_SYNC
  | --
  | attribute name=CacheModeREPL_SYNC/attribute
  |!-- Name of cluster. Needs to be the same for all clusters, 
in order
  | to find each other
  | --
  | attribute name=ClusterNameJTVCORE-Cluster/attribute
  | 
  | !-- JGroups protocol stack properties. Can also be a URL,
  | e.g. file:/home/bela/default.xml
  | attribute name=ClusterProperties/attribute
  | --
  | attribute name=ClusterConfig
  | config
  | UDP mcast_send_buf_size=32000
  | mcast_port=mcast-port;
  | ucast_recv_buf_size=64000
  | mcast_addr=mcast-addr;
  | 
bind_addr=mcast-listen-iface-addr;
  |   

[jboss-user] [Beginners Corner] - Re: How can I find out from command line if JBoss is current

2008-04-11 Thread thoste
PeterJ wrote : You could run a twiddle command to check the value of an 
attribute of an mbean, such as:
  | 
  | twiddle get jboss.system:type=Server Started
  | 
  | This is not a perfect solution because this command will yield 
Started=true as soon as JMX and JNDI are running, but HTTP and thus web 
applications are usually not available until a few seconds later.

Your suggestion implies that if JBoss is not running the above command returns 
a statement

Started=false

But this is not the case. Instead I am getting an exception (see below).

Is there another solution?

D:\JBoss\v4\bintwiddle get jboss.system:type=Server Started
11:49:28,781 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: Could not obtain connection to any of 
these urls: localhost:1099 and discovery failed with error: javax.naming
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:143)
at 
org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59)
at 
org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:149)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
Caused by: javax.naming.CommunicationException: Could not obtain connection to 
any of these urls: localhost:1099 and discovery failed with error: jav
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:250)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:268)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:62)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:139)
... 3 more
Caused by: javax.naming.CommunicationException: Failed to connect to server 
localhost:1099 [Root exception is javax.naming.ServiceUnavailableExceptio
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
... 10 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to 
server localhost:1099 [Root exception is java.net.ConnectException: Connect
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.(Socket.java:365)
at java.net.Socket.(Socket.java:265)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)
... 11 more
D:\JBoss\v4\bin



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

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


[jboss-user] [Security JAAS/JBoss] - Principal propagation with remote EJB calls

2008-04-11 Thread gjeudy
Hi,

I have setup CallerIdentityModule as described in this post  
[url]http://wiki.jboss.org/wiki/ConfigJCALoginModule, if I issue a remote call 
from an authentified EJB(residing in EAR1) how should the propagation work?

I tried adding jboss-app fragment below to the other EAR (EAR2) hosting the 
target EJB:

  | jboss-app
  | security-domainjava:/jaas/RDMRealm/security-domain
  | /jboss-app
  | 
I have to mention that the principal gets passed normally for all local calls 
on other EJBs residing in the same EAR (EAR1) where the principal was initially 
authentified.

I should I go about with this ?[/url]

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

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


[jboss-user] [Security JAAS/JBoss] - Principal propagation with remote EJB calls

2008-04-11 Thread gjeudy
Hi,

I have setup CallerIdentityModule as described in this post  
[url]http://wiki.jboss.org/wiki/ConfigJCALoginModule, if I issue a remote call 
from an authentified EJB(residing in EAR1) how should the propagation work?

I tried adding jboss-app fragment below to the other EAR (EAR2) hosting the 
target EJB:

  | jboss-app
  | security-domainjava:/jaas/RDMRealm/security-domain
  | /jboss-app
  | 
I have to mention that the principal gets passed normally for all local calls 
on other EJBs residing in the same EAR (EAR1) where the principal was initially 
authentified.

I should I go about with this ?[/url]

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Referenced datasource not found with JBoss 5.0 (Beta4)

2008-04-11 Thread depryf
There is a message about the connection being bound to the JNDI name, so I know 
this is successful and done before the exception:


  | 15:27:26,446 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=app/datasource' to 
JNDI name 'java:/app/datasource'
  | 

Here is the full log (I removed some EJB messages because we have many of them).


  | 15:26:29,785 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 15:26:29,785 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 
(build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
  | 15:26:29,785 INFO  [ServerImpl] Home Dir: C:\dev\jboss-5.0.0.Beta4
  | 15:26:29,785 INFO  [ServerImpl] Home URL: file:/C:/dev/jboss-5.0.0.Beta4/
  | 15:26:29,785 INFO  [ServerImpl] Library URL: 
file:/C:/dev/jboss-5.0.0.Beta4/lib/
  | 15:26:29,785 INFO  [ServerImpl] Patch URL: null
  | 15:26:29,785 INFO  [ServerImpl] Server Name: default
  | 15:26:29,785 INFO  [ServerImpl] Server Home Dir: 
C:\dev\jboss-5.0.0.Beta4\server\default
  | 15:26:29,785 INFO  [ServerImpl] Server Home URL: 
file:/C:/dev/jboss-5.0.0.Beta4/server/default/
  | 15:26:29,785 INFO  [ServerImpl] Server Data Dir: 
C:\dev\jboss-5.0.0.Beta4\server\default\data
  | 15:26:29,785 INFO  [ServerImpl] Server Temp Dir: 
C:\dev\jboss-5.0.0.Beta4\server\default\tmp
  | 15:26:29,785 INFO  [ServerImpl] Server Config URL: 
file:/C:/dev/jboss-5.0.0.Beta4/server/default/conf/
  | 15:26:29,785 INFO  [ServerImpl] Server Library URL: 
file:/C:/dev/jboss-5.0.0.Beta4/server/default/lib/
  | 15:26:29,785 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
  | 15:26:30,241 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/C:/dev/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
  | 15:26:32,851 INFO  [ProfileImpl] Using profile 
root:C:\dev\jboss-5.0.0.Beta4\server\default
  | 15:26:33,669 INFO  [ServerInfo] Java version: 1.6.0_05,Sun Microsystems Inc.
  | 15:26:33,669 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
10.0-b19,Sun Microsystems Inc.
  | 15:26:33,684 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 15:26:33,732 INFO  [JMXKernel] Legacy JMX core initialized
  | 15:26:59,012 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 15:27:00,018 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc.
  | 15:27:00,018 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 15:27:00,317 INFO  [TransactionManagerService] Starting recovery manager
  | 15:27:00,443 INFO  [TransactionManagerService] Recovery manager started
  | 15:27:00,443 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 15:27:14,938 INFO  [AspectDeployer] Deploying xml into [EMAIL PROTECTED] 
for [EMAIL PROTECTED]:/C:/dev/jboss-5.0.0.Beta4/server/default/deploy/ejb3-i
  | nterceptors-aop.xml}
  | 15:27:17,045 INFO  [RARDeployment] Required license terms exist, view 
vfsfile:/C:/dev/jboss-5.0.0.Beta4/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
  | 15:27:17,045 INFO  [RARDeployment] Required license terms exist, view 
vfsfile:/C:/dev/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
  | 15:27:17,123 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI 
name 'java:DefaultDS'
  | 15:27:17,579 INFO  [SimpleThreadPool] Job execution threads will use class 
loader of thread: main
  | 15:27:17,642 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
  | 15:27:17,642 INFO  [JobStoreCMT] Using db table-based data access locking 
(synchronization).
  | 15:27:17,674 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
  | 15:27:17,674 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
  | 15:27:17,674 INFO  [JobStoreCMT] JobStoreCMT initialized.
  | 15:27:17,674 INFO  [StdSchedulerFactory] Quartz scheduler 
'JBossEJB3QuartzScheduler' initialized from an externally provided properties 
instance.
  | 15:27:17,674 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
  | 15:27:17,689 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 
'blocked' state.
  | 15:27:17,689 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at 
the time of the last shut-down.
  | 15:27:17,689 INFO  [JobStoreCMT] Recovery complete.
  | 15:27:17,689 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
  | 15:27:17,689 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
  | 15:27:17,689 INFO  [QuartzScheduler] Scheduler 
JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
  | 15:27:19,497 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, 
vfsUrl=http-invoker.sar/invoker.war
  | 15:27:21,541 INFO  [NativeServerConfig] JBoss Web Services - Native
  | 15:27:21,557 INFO  [NativeServerConfig] jbossws-native-2.0.3.GA 
(build=200801241020)
  | 15:27:22,547 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, 
vfsUrl=jbossws.sar/jbossws-context.war
  | 

[jboss-user] [Beginners Corner] - Re: How can I find out from command line if JBoss is current

2008-04-11 Thread PeterJ
That is the expected response if the server is not running. Twiddle connects to 
the jbossas server and queries an bean and returns a response. Thus, if the 
server is running, you get

Started=true

But if jbossas is not running, twiddle cannot connect to the server and thus 
you get an exception. It is impossible to get Started=false.

If yoo need a yes or no response, you need to wrap twiddle within a script 
that examines the response and then replies with yes or no.

My caveat was more about the timing window. In other words, what do you mean by 
if JBoss is crrently running? Here is a hypothetical timeline for starting 
jbossas:

1 - not yet running
2 - you enter run.bat, and java.exe starts
3 - various services are initialized
4 - JNDI port is opened and JMX is usable
5 - more services and applications start up
6 - ready to accept outside input (e.g. HTTP requests)

By jbossas is running, do you mean states 2-6, or just state 6?  Either way, 
the twiddle solution yields a incorrect result for a certain period of time. 
For example, if jbossas is running means state 6, them you have a false 
positive all during states 4 and 5. The question is, can you live with that 
timing window?


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

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


[jboss-user] [Messaging, JMS JBossMQ] - ClientID - already connected to the serve -durable subscribe

2008-04-11 Thread arvind_agg
Hi,

I am using Jboss 4.2.2 GA and trying to use durablesubscritpion to topic. 
Infirst try it goes on well. Next time if I undeploy the process and redeploy, 
I start receiving below mentioned error.

javax.jms.JMSSecurityException: The login id has an assigned client id 
'DurableSubscriberExample', that is already connected to the server!

A restart of the server fixes this but we cannot keep doing it again and again. 
Also this being Dev env.  there will be lot of redeployments. So kindly please 
help me in fixing this issue. Tried to look on internet and nothing is helping.

-AA

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Referenced datasource not found with JBoss 5.0 (Beta4)

2008-04-11 Thread PeterJ
Let me see if I understand this correctly. You have a data source named 
java:/app/datasource, and the code to open the data source thinks that it is 
named java:comp/env/app-specific/datasource?

Maybe the person who wrote the *-ds.xml file should get together with the 
person who wrote the Java code and agree to use the same name. ;-)

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

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


[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-11 Thread salaboy21
Sorry for my response... 
i don't understand what are you trying to say with
anonymous wrote : 
  | In my opinion: salaboy you must response a question if you will follow the 
thread. That is, if you know the problem in deep. 

I have no deep knowledge about this. I only remember have a similar problem  
with PostgreSQL, so i answer your question based in my little experience..

I wish i have guide you to your solution... 

Thanks you!

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JNDIView cant be found

2008-04-11 Thread gjeudy
Actually I checked for JNDIView string in the whole file and I only found it 
uncommented in the following fragment:

mbean code=org.jboss.management.j2ee.LocalJBossServerDomain
  |   name=jboss.management.local:j2eeType=J2EEDomain,name=Manager
  |   attribute 
name=MainDeployerjboss.system:service=MainDeployer/attribute
  |   attribute 
name=SARDeployerjboss.system:service=ServiceDeployer/attribute
  |   attribute 
name=EARDeployerjboss.j2ee:service=EARDeployer/attribute
  |   attribute 
name=EJBDeployerjboss.ejb:service=EJBDeployer/attribute
  |   attribute 
name=RARDeployerjboss.jca:service=RARDeployer/attribute
  |   attribute 
name=CMDeployerjboss.jca:service=ConnectionFactoryDeployer/attribute
  |   attribute name=WARDeployerjboss.web:service=WebServer/attribute
  |   attribute 
name=CARDeployerjboss.j2ee:service=ClientDeployer/attribute
  |   attribute name=MailServicejboss:service=Mail/attribute
  |   attribute 
name=JMSServicejboss.messaging:service=ServerPeer/attribute
  | attribute name=JNDIServicejboss:service=Naming/attribute
  |   attribute 
name=JTAServicejboss:service=TransactionManager/attribute
  |   attribute 
name=UserTransactionServicejboss:service=ClientUserTransaction/attribute
  |   attribute name=RMI_IIOPServicejboss:service=CorbaORB/attribute
  |/mbean

What could this mean ?


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

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


[jboss-user] [Management, JMX/JBoss] - Re: JNDIView cant be found

2008-04-11 Thread gjeudy
Sorry the fragment above contains only JNDIService. I didnt find anything such 
as JNDIView anywhere. Should I add the fragment you posted? 

Its quite strange that it is not present by default in my jboss 4.2.2 default 
installation ...

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread [EMAIL PROTECTED]
anonymous wrote : However when I changed the project to deploy outside of 
eclipse, it still didn't work. 

redbird:  What exactly do you mean by deploy outside of eclipse?  This 
confuses me. 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
I probably should say running JBoss outside of Eclipse (deploy only).  That's 
what I meant by deploying outside of Eclipse.  When I run JBoss within Eclipse, 
it seems to deploy the files correctly (after I deleted all the jar module 
statements in the application.xml).  But when I run JBoss outside of Eclipse, 
nothing is deployed when I build it or try and run it.

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

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


[jboss-user] [JBoss jBPM] - newbie - how to set parent state from child fork flow

2008-04-11 Thread nathancoast
Hi, I've been playing with various permutations of a workflow but can't seem to 
model one that solves my problem.  Basically newbie doesn't know how to model 
properly.

Basic approve or reject workflow with multiple approvers.  Each approval occurs 
in parallel in a forked wokflow.  If any approver rejects, the parent should 
move to a rejected state.  If all of the approvers approve then the parent 
moves to an approved join state.  

The approved join works as expected, however the reject flow isn't working as 
I'd expect.  

Will I have to do this programmatically or can this be done declaratively from 
process.xml?

thanks in advance,
Nathan

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

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


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

2008-04-11 Thread yyovkov
Hi Salaboy, 

thank you for the information about test application. 
Unfortunately I did not succeed.
As I am very beginner in Java at all can you introduce me how does the settings 
must look like when the LDAP is setup to store the passwords in MD5 hash?

Thank you in advance!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-11 Thread redbird
It now seems that, even running JBoss within Eclipse, it only deploys the 
application the first time I build it and do a Run As/Run on Server.  If I 
change code, it does not redeploy.  I have to shut down JBoss, and redo the 
whole procedure to get the new code to be picked up.

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

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


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

2008-04-11 Thread salaboy21
If you are use Fedora DS and it only save the password in a MD5, try to 
configurate it to store it in Plain format...
Today, i´m doing the integration with openDS and I found a bug with hashed 
passwords in a crossdomain test...

If you are trying only to sign up in one domain your configuration in the test 
application will be something like this:

login-module code=org.jboss.security.idm.UsernameAndPasswordLoginModule 
flag=sufficient
  | 
  | module-option 
name=unauthenticatedIdentityguest/module-option
  | 
  | module-option 
name=password-stackinguseFirstPass/module-option   
  | 
  | !--module-option name=hashAlgorithmMD5/module-option--
  | 
  | module-option name=hashUserPasswordtrue/module-option
  | module-option name=hashStorePasswordfalse/module-option
  | 
  | module-option 
name=authenticatedRolesAuthenticated,RegisteredUsers/module-option 

  | 
  |  /login-module

Note the value of hashUserPassword(true) , that cause if you in the form enter 
the password in plain text the LoginModule hash this password with the 
specified algorithm and then compare it with the Fedora DS stored password.

Let me know if this configuration work for you! 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143556

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


[jboss-user] [Management, JMX/JBoss] - Re: JNDIView cant be found

2008-04-11 Thread csaldanh
hmm that's weird, I guess you could put it in.

Try rebuilding it :)


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

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


[jboss-user] [Management, JMX/JBoss] - Re: JNDIView cant be found

2008-04-11 Thread csaldanh
csaldanh wrote : hmm that's weird, I guess you could put it in.
  | 
  | Try rebuilding it :)  
  | 

Ignore the rebuilding part :P

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

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


[jboss-user] [JBoss jBPM] - Re: newbie - how to set parent state from child fork flow

2008-04-11 Thread salaboy21
do you look at 
http://wiki.jboss.org/wiki/en/MultiChoiceForkAH?action=ewindowstate=normalmode=view

I think this may be what are you looking for
Let me know if it works for you..
Note the Notice part at the end..

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss AS 4.2.2 Exception in thread ajp-127.0.0.1-8009-1 Ou

2008-04-11 Thread larryl
I deployed several applications to JBoss AS 4.2.2, the applications can run ok 
for several days until sometime the applications will not respond and I have to 
restart JBoss. My machine environments are: windows 2003, JBoss AS 4.2.2, 
struts, hibernate, Sun JDK1.6.0 and run.bat with parameter -XX:MaxPermSize=640m

It seems the problem happens sometime when serveral internet exploers access 
the several deployed applications on JBoss at the same time. Would somebody 
shed a light or refer to JBoss/Redhat tech support? Thanks.

Following are the sever.log messages:

2008-03-20 15:43:00,971 ERROR [STDERR] Exception in thread 
ajp-127.0.0.1-8009-2 
2008-03-20 15:43:00,971 ERROR [STDERR] 
java.lang.reflect.UndeclaredThrowableException
2008-03-20 15:43:00,971 ERROR [STDERR]  at 
org.apache.commons.logging.impl.Log4jProxy.log(Log4jProxy.java:309)
2008-03-20 15:43:00,971 ERROR [STDERR]  at 
org.apache.commons.logging.impl.Log4jProxy.error(Log4jProxy.java:283)
2008-03-20 15:43:00,971 ERROR [STDERR]  at 
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:208)
2008-03-20 15:43:00,971 ERROR [STDERR]  at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:401)
2008-03-20 15:43:00,971 ERROR [STDERR]  at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2008-03-20 15:43:00,971 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:619)
2008-03-20 15:43:02,206 ERROR [STDERR] Caused by: java.lang.OutOfMemoryError: 
PermGen space
2008-03-20 15:43:03,705 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - first pass Thu, 20 Mar 2008 15:43:03
2008-03-20 15:43:03,705 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
StatusModule: first pass 
2008-03-20 15:43:03,705 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] 
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - 
first pass
2008-03-20 15:43:03,705 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - 
first pass
2008-03-20 15:43:10,627 INFO  [STDOUT] Hibernate: select this_.config_id as 
config1_0_, this_.top_banner_graphic as top2_18_0_, this_.copyright as 
copyright18_0_, this_.welcome as welcome18_0_, this_.company_name as 
company5_18_0_, this_.product_name as product6_18_0_, this_.admin_email as 
admin7_18_0_, this_.billing_system_name as billing8_18_0_, 
this_.medicare_provider_number as medicare9_18_0_, 
this_.medicaid_provider_number as medicaid10_18_0_, this_.branch_state as 
branch11_18_0_, this_.branch_id as branch12_18_0_, this_.companyAddress as 
company13_18_0_, this_.companyCity as company14_18_0_, this_.companyZipCode as 
company15_18_0_, this_.companyPhone as company16_18_0_, this_.auto_populate_moo 
as auto17_18_0_, this_.ipAddress as ipAddress18_0_, this_.importDir as 
importDir18_0_ from config this_
2008-03-20 15:43:12,877 INFO  [STDOUT] Hibernate: select this_.config_id as 
config1_0_, this_.top_banner_graphic as top2_18_0_, this_.copyright as 
copyright18_0_, this_.welcome as welcome18_0_, this_.company_name as 
company5_18_0_, this_.product_name as product6_18_0_, this_.admin_email as 
admin7_18_0_, this_.billing_system_name as billing8_18_0_, 
this_.medicare_provider_number as medicare9_18_0_, 
this_.medicaid_provider_number as medicaid10_18_0_, this_.branch_state as 
branch11_18_0_, this_.branch_id as branch12_18_0_, this_.companyAddress as 
company13_18_0_, this_.companyCity as company14_18_0_, this_.companyZipCode as 
company15_18_0_, this_.companyPhone as company16_18_0_, this_.auto_populate_moo 
as auto17_18_0_, this_.ipAddress as ipAddress18_0_, this_.importDir as 
importDir18_0_ from config this_
2008-03-20 15:43:13,986 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - second pass Thu, 20 Mar 2008 15:43:13
2008-03-20 15:43:13,986 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
AtomicActionRecoveryModule: Second pass 
2008-03-20 15:43:13,986 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] 
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - 
second pass
2008-03-20 15:43:13,986 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - 
second pass
2008-03-20 15:43:15,111 INFO  [STDOUT] Hibernate: select this_.config_id as 
config1_0_, this_.top_banner_graphic as top2_18_0_, this_.copyright as 
copyright18_0_, this_.welcome as welcome18_0_, this_.company_name as 
company5_18_0_, this_.product_name as product6_18_0_, this_.admin_email as 
admin7_18_0_, this_.billing_system_name as billing8_18_0_, 
this_.medicare_provider_number as medicare9_18_0_, 
this_.medicaid_provider_number as medicaid10_18_0_, this_.branch_state as 
branch11_18_0_, this_.branch_id as branch12_18_0_, this_.companyAddress as 
company13_18_0_, this_.companyCity as company14_18_0_, this_.companyZipCode as 
company15_18_0_, this_.companyPhone as company16_18_0_, 

[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities

2008-04-11 Thread IcarusDB
I have the same problem with oracle9i , this is my persistence.xml generated 
file

  | ?xml version=1.0 encoding=UTF-8?
  | !-- Persistence deployment descriptor for dev profile --
  | persistence xmlns=http://java.sun.com/xml/ns/persistence; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
  |  version=1.0
  |  
  |persistence-unit name=Arami-Seam
  |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   jta-data-sourcejava:/Arami-SeamDatasource/jta-data-source
  |   properties
  |  property name=hibernate.dialect 
value=org.hibernate.dialect.Oracle9iDialect/
  |  property name=hibernate.hbm2ddl.auto value=create-drop/
  |  property name=hibernate.show_sql value=true/
  |  property name=hibernate.format_sql value=true/
  |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/Arami-SeamEntityManagerFactory/
  |  property name=hibernate.default_catalog value=ra/
  |  property name=hibernate.default_schema value=ra/
  |   /properties
  |/persistence-unit
  | 
  | /persistence
  | 
and this is the hibernate-console.properties generated file

  | #File used by hibernate tools to override datasource and other container 
specific settings in persistence.xml
  | hibernate.connection.password=ra
  | hibernate.connection.username=ra
  | hibernate.connection.driver_class=oracle.jdbc.OracleDriver
  | hibernate.dialect=org.hibernate.dialect.Oracle9iDialect
  | hibernate.connection.url=jdbc:oracle:thin:@develop:1521:sofia
  | 
  | 
hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
  | hibernate.datasource=
  | hibernate.transaction.manager_lookup_class=
  | 

my eclipse is 3.3 with jboss 4.2 and jboss-tools 2.0.1GA
the oracle version is
0.2.1.0 - 64bit production with partitioning, olap and data mining options
jserver relaease 9.2.0.1.0 production
with jdbc 10.1.0

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

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


[jboss-user] [EJB/JBoss] - Re: Whatà ‚Â´s this? -

2008-04-11 Thread lavh
FrankTheTank wrote : Are the classes used by both still the same?
  | 
  | The naming of the ear should not be an issue. The contents are important.
  | 
  | The error looks to happen here:
  | 
  |   |  at $Proxy120.notifyPaymentFailed(Unknown Source) 
  |   | 
  | Did anything change here?
  | And by that I do not only mean the method but the classes used in the 
method.

No, I didn´t change the method notifyPaymentFailed. This is a EJB method of my 
application A. The proxy is used because I am using a JMX to call the EJB 
method.

I didn´t change nothing in application A, and the application A has only the 
client of application B.

The classes aren´t the same.

Tkz Frank!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143563

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


  1   2   >