[jboss-user] Re: Using @Resource causes NPE at org.jboss.ejb3.JndiUtil.lookup

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

I have had a similar problem with MDBs. 
My problem was that the resource is was referring to via the mapped name was 
not infact a QueueConnectionFactory but infact something completely 
different... the provider adapter.
By correcting the mapped name, the problem was fixed.
The exception / stack trace provided no guidance to solving this problem... 
only through trial and error did I realise the cause.

In Response To: 

Hello,

In a stateless EJB im using:


  | @Resource(name = mail/localMail, mappedName = Mail, shareable = true, 
type = Session.class)
  | private Session m_mailSession;
  | 

Trying to connect the Bean from a Client I got an NullPointerException.

Im using JBoss-4.2.2.GA default installation without any changes
Windows XP

Any hints?

Regards,

Georg


  | Exception in thread main java.lang.NullPointerException
  | at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:49)
  | at 
org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:87)
  | at 
org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:112)
  | at 
org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:107)
  | at 
org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:65)
  | at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:111)
  | at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:49)
  | at org.jboss.ejb3.ThreadlocalPool.create(ThreadlocalPool.java:50)
  | at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:90)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
  | at org.jboss.remoting.Client.invoke(Client.java:1634)
  | at org.jboss.remoting.Client.invoke(Client.java:548)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
  | at $Proxy0.registration(Unknown Source)
  | at gse.client.Client.main(Client.java:13)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 

[jboss-user] [JBoss Portal] - Re: portlet window preferences and transactions

2008-04-16 Thread erezharari
well, i'm using JSF portlets with the portlet bridge. i don't cnage the 
properties from the default jsr 168 methods. does that make any change?

so there is no requirement to configure in jboss-portlet.xml:
transaction
  | trans-attributeRequired/trans-attribute
  | /transaction
?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: @postconstruct problem

2008-04-16 Thread jaikiran
Can you post the bean code which contains the @PostConstruct annotation and 
also the error logs that you see when you deploy this bean? 

While posting the logs or code or xml content, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted



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

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


[jboss-user] [JNDI/Naming/Network] - Re: binding the TodoDao stateless session bean in jsfejb3

2008-04-16 Thread jaikiran
I personally haven't used jsfejb3 example. 
anonymous wrote : 
  |  return (TodoDaoInt) ctx.lookup(jsfejb3/TodoDao/local);
  | 
  | However none of the configuration files specity this binding in JNDI

Going by the pattern of the jndi-name (EARNAME/BEANNAME/local), it looks to be 
the default jndi-name that gets assigned by JBoss.

anonymous wrote : 
  | Does anyone know how to bind this name in the JNDI java:comp context. 

The java:comp is per component. Each component like web component or EJB 
component have their own java:comp/env namespace. Where does the client class 
(TodoBean.java) belong? Is it part of the web component?


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

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


[jboss-user] [JBossWS] - Can not find truststore url

2008-04-16 Thread gothmog
Hi,

Just got first web service working but I get the following error:

13:35:04,155 ERROR [HTTPClientInvoker] Error creating SSL Socket Factory for 
client invoker.
java.io.IOException: Error initializing socket factory SSL context: Can not 
find truststore url.

The service call still happens, but I guess this has something to do with SSL 
configuration on the server? given my url is: 
https://www.paymentexpress.com/WS/PXWS.asmx?WSDL

Jboss: 4.2.2.GA
JbossWS: 3.0.1-native-2.0.4.GA

Any help appreciated

Thanks

Troy

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

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


[jboss-user] [EJB 3.0] - Re: problems with @Idclass

2008-04-16 Thread jaikiran
Can you post some more logs, especially a few lines above this error message? 
The SQLGrammarException usually prints out very meaningful messages which might 
help in identifying the issue. Btw, which version of JBoss do you use?

While posting the logs or code or xml content, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

  

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

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


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

2008-04-16 Thread [EMAIL PROTECTED]
1) Yes, Hibernate JPA had an issue with spaces thus we recommend putting your 
workspace in a non-space path. Yes,  I know it sucks and MyEclipse would have 
the same problem if they supported JPA queries - the bug is fixed in later 
versions of Hibernate JPA, we just need to get those fixes integrated.

2) Did you try out the AS adapter we actually told you would work or are you 
using the one we confirmed has a bug ?



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

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


[jboss-user] [JBoss jBPM] - Re: About assignement

2008-04-16 Thread aalbizu
Hi, I'm having the same problem. I'm not really too much into programming, I 
just want to develop someting simple with usefull for an NGO. So, is there any 
informaton regarding how to adapt the jbpm console? Otherwise I could donwload 
the fixed versión from CVS but how I'm supossed to do that? wich are the files 
I should download, I see there are so many folders and I don't really know what 
to do. Thanks in advance.

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

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

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


[jboss-user] [JBossWS] - Cannot extract schema definition?

2008-04-16 Thread bsheward
Hi,

I developed a very simple web service, using wsconsume against a URL for WSDL 
to create a set of objects, and then the following code:


  |public void runQuery( String username, String password, String query) {
  |   RemoteService service = new RemoteService ();
  |   RemotePortType rem= service.getRemotePort();
  |   System.out.println(Server said:  + rem.getRemoteResult( query, 
username, password));
  |}
  | 

I get an Exception when instantiating the RemoteService:


  | Caused by: org.jboss.ws.metadata.wsdl.WSDLException: 
javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract 
schema definition: java.io.IOException: The file
  | name, directory name, or volume label syntax is incorrect
  | at 
org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
  | at 
org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
  | at 
org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)
  | at 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.init(ServiceDelegateImpl.java:131)
  | at 
org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
  | at javax.xml.ws.Service.init(Service.java:83)
  | at 
com.mycom.platforms.bf.webclient.RemoteService.init(RelevanceService.java:40)
  | at 
com.mycom.platforms.bf.BFRemoteServiceClient.runQuery(BigFixRelevanceServiceClient.java:27)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | ... 39 more
  | Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: 
Cannot extract schema definition: java.io.IOException: The filename, directory 
name, or volume label synt
  | ax is incorrect
  | at 
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:384)
  | at 
org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
  | at 
org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
  | ... 59 more
  | Caused by: java.io.IOException: The filename, directory name, or volume 
label syntax is incorrect
  | at java.io.WinNTFileSystem.createFileExclusively(Native Method)
  | at java.io.File.checkAndCreate(File.java:1704)
  | at java.io.File.createTempFile(File.java:1793)
  | at 
org.jboss.ws.metadata.wsdl.xsd.SchemaUtils.getSchemaTempFile(SchemaUtils.java:535)
  | at 
org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:529)
  | at 
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:375)
  | ... 61 more
  | 

One potential issue I can think of is that I am calling this web service while 
in a Session Bean exposed as a web service.

Could anyone give me any other pointers?

Thanks,

Barry


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

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


[jboss-user] [JBossWS] - Re: Using (Hash)Map in wrapper class

2008-04-16 Thread jttjunk
Currently I'm not using Java let alone JBoss. I'm afraid I can't help you. Good 
luck!

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

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


[jboss-user] [JBossWS] - Re: Using (Hash)Map in wrapper class

2008-04-16 Thread asouza_2000
It still doesn't work for me... even using a wrapper class.

Any other idea ?
I'm using JAX-WS 2.0.1

Tks.

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

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


[jboss-user] [JBossWS] - Can't use Map or HashMap in JAX-WS

2008-04-16 Thread asouza_2000
I can't use Map or HashMap as a return parameter in my Web Service even if I 
wrap it in another class.

It keeps raising:
javax.xml.bind.JAXBException: class java.util.HashMap nor any of its super 
class is known to this context

Isn't Map supposed to be supported by default ?

Can anyone provide me a working example to use Map and HashMap in Web Services 
(JAX-WS).

Thanks in advance.

Antonio Souza.

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

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


[jboss-user] [Beginners Corner] - Re: how to create new user for durable topic subscriber lik

2008-04-16 Thread sudasudheer
Thanks for your response peter johnson.

I Tried to solve using your post, but I am not able to execute the fallowing 
program using different user name and password (user name : jmsuser password: 
durable).

I found one file with name null-persistence-service.xml, under 
C:\jboss-4.2.2.GA\server\default\conf,
I have to add new user details in any xml file? 
where and how to give sql commands ?   

Can you give me the STEPS to create a new user(for example user name : jmsuser 
password: durable) , 

Can you please execute the fallowing program using username : jmsuser and  
password : durable

I am able to execute the fallowing program by 
1) Giving john and needle as user name and password and 
2) Entry in 
C:\jboss-4.2.2.GA\server\default\deploy\jms\jbossmq-destinations-service.xml 
file as fallows. 


jbossmq-destinations-service.xml
--

  | mbean code=org.jboss.mq.server.jmx.Topic
  | name=jboss.mq.destination:service=Topic,name=example
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  | depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  | attribute name=SecurityConf
  | security
  | role name=durpublisher read=true write=true create=true/
  | /security
  | /attribute
  | /mbean
  | 
  | 



// source code

package pubsub;

import java.util.Enumeration;
import java.util.Properties;

import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.Topic;
import javax.jms.TopicConnection;
import javax.jms.TopicConnectionFactory;
import javax.jms.TopicPublisher;
import javax.jms.TopicSubscriber;
import javax.jms.TopicSession;
import javax.jms.TextMessage;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

 
public class DurableTopicRecvClient {
TopicConnection conn = null;

TopicSession session = null;

Topic topic = null;

public void setupPubSub() throws JMSException, NamingException {

Properties props = new Properties();
props.setProperty(java.naming.factory.initial,
org.jnp.interfaces.NamingContextFactory);
props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming);
props.setProperty(java.naming.provider.url, localhost:1099);
Context ic = new InitialContext(props);
Object tmp = ic.lookup(ConnectionFactory);
TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;

//conn = tcf.createTopicConnection(john,needle); 

conn = tcf.createTopicConnection(jmsuser,durable); // I want to pass these 
details , how can I do this ?


topic = (Topic) ic.lookup(topic/example);
session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);
conn.start();
}

public void recvSync() throws JMSException, NamingException {
System.out.println(Begin recvSync);
// Set up the pub/sub connection, session
setupPubSub();
// Wait up to 8 seconds for the message
TopicSubscriber recv = session.createDurableSubscriber(topic,
This is DurableSubscriber );

Message msg = recv.receive(17000);

if (msg == null) {
System.out.println(Timed out waiting for msg);
} else {
System.out.println(DurableTopicRecvClient.recv, msgt= + msg);
}

}

public void stop() throws JMSException {
conn.stop();
session.close();
conn.close();
}

public static void main(String args[]) throws Exception {
System.out.println(Begin DurableTopicRecvClient, now=
+ System.currentTimeMillis());
DurableTopicRecvClient client = new DurableTopicRecvClient();

client.recvSync();

client.stop();
System.out.println(End DurableTopicRecvClient);
System.exit(0);
}
}

Sudheer 

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

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


[jboss-user] [EJB 3.0] - Configuring external jms datasource with MQSeries

2008-04-16 Thread jamesworourke
I'm posting here after much research into this matter.

Currently, we are using wmq.jmsra.rar resource adapter with jboss 4.2.2 
successfully. Essentially, all the configuration we have is in EJB 3.0 
annotations, as follows:

@MessageDriven(mappedName = FilmMDB   activationConfig = {
  | // Note: the values inside strings here with @@ pattern are 
replaced by the build
  | // script
  | @ActivationConfigProperty(propertyName = destinationType, 
propertyValue = javax.jms.Topic),
  | @ActivationConfigProperty(propertyName = destination, 
propertyValue = FundTransactionTopic),
  | @ActivationConfigProperty(propertyName = channel, propertyValue = 
@MDBChannel@),
  | @ActivationConfigProperty(propertyName = hostName, propertyValue 
= @MDBHostName@),
  | @ActivationConfigProperty(propertyName = queueManager, 
propertyValue = @MDBQueueManager@),
  | @ActivationConfigProperty(propertyName = port, propertyValue = 
@MDBPort@),
  | @ActivationConfigProperty(propertyName = transportType, 
propertyValue = CLIENT),
  | @ActivationConfigProperty(propertyName = useJNDI, propertyValue = 
false),
  | @ActivationConfigProperty(propertyName = subscriptionDurability, 
propertyValue = @MDBDurable@),
  | @ActivationConfigProperty(propertyName = subscriptionName, 
propertyValue = FilmSub),
  | @ActivationConfigProperty(propertyName = clientID, propertyValue 
= MyId) })
  | @ResourceAdapter(value = wmq.jmsra.rar)
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | @TransactionManagement(TransactionManagementType.BEAN)
  | public class FilmMDB implements MessageListener {}

This works for now however, the problem is, I would like to have the 
configuration for the queue/topic be external to the code and to the 
application configuration. I realize we could use a deployment descriptor, 
however, that would still require packaging with the ear. Ultimately, what is 
desirable is to configure the MDB to use a connection factory in a similar way 
to a datasource for db connections. I have attempted to follow the instructions 
here:

http://wiki.jboss.org/wiki/UsingWebSphereMQSeriesWithJBossASPart4

but with limited success. It seems that the connection factory setup is for 
clients and there is no way to attached a connection factory to an MDB. Is this 
true? Any suggestions would be greatly appreciated.

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

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


[jboss-user] [JBoss Portal] - Re: own portlet's table is not build in oracle

2008-04-16 Thread fab52
I hope, my explanation is good enough. 

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

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


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

2008-04-16 Thread p-nat
salaboy21 wrote : i'm running with JBoss 4.2.2.GA and works fine...
  | did you try to log in both http://node1.jboss.com:8080/test and
  | http://node1.jboss.org:8080/test separately?
  | 
  | 

Yes. Log in separately OK.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Removing of unncessary services from jboss server

2008-04-16 Thread crr
Hi there,

Iam using jboss4.0.2 , i want to improve my app performance by removing of 
unused built in services in the jboss server.

Can any body please tell me how to unplug the unused services from the jboss .

Any help appriciated ..


Thanks,

crr

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4144430
___
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-16 Thread AJanz
the only way i see so long is modifying the sources. especially the Class 
IdentitySession

Is this the right way???

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Distrubuted cache without replication, please help neede

2008-04-16 Thread [EMAIL PROTECTED]
What do you mean by clustered without replication?  You could try setting 
your CacheMode to LOCAL, which is not clustered, and there won't be any 
replication.  Otherwise you could try setting it to INVALIDATION_SYNC or 
INVALIDATION_ASYNC in which case the cache is cluster-aware and will 
invalidate state on remote caches when local state changes.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Removing of unncessary services from jboss server

2008-04-16 Thread crr
Hi there,

Iam using jboss4.0.2 , i want to improve my app performance by removing of un 
used built in services in the jboss server.

Can any body please tell me how to unplug the unused services from the jboss .

Any help appriciated ..


Thanks,

crr

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

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


[jboss-user] [EJB 3.0] - Re: problems with @Idclass

2008-04-16 Thread jaikiran
anonymous wrote : Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 
Driver for JDBC][SQLServer]El nombre de columna 'numeroLinea' no es 
válido.

This seems to be the root-cause of the exception. I don't understand that 
language, but you might probably be able to understand what it's trying to say. 
Btw, do you see any SQL that's generated, somewhere before this exception 
stacktrace? If yes, can you post it?


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

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

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


[jboss-user] [EJB 3.0] - Re: problems with @Idclass

2008-04-16 Thread jaikiran
lastra wrote : 
  | 
  | 
  | it say, the name of the field numeroLinea not is correct, but i dont 
understand coz is the same field as my datebase table.
  | 
  | 

I dont think you have a column named numeroLinea in your table. I guess, you 
have a column named NUMERO_LINEA. Looking back at the code that you posted, i 
guess you will have to move the @Column annotations to the PK class. Something 
like this:

Entity class (remove the @Column annotation from this class for the Ids):
@Entity
  | @Table(name=APUNTES)
  | @IdClass(ApuntesPK.class)
  | public class Apuntes implements Serializable{
  | //Claves
  | @Id
  | private Integer empresa;
  | 
  | @Id
  | private Integer numeroAsiento;
  | 
  | @Id
  | private Integer numeroLinea;
  | 
  | private String modificado;
  | ...
  | others fields and methods get/set
  | 
  | }

The PK class (introduce the @Column annotation on the id columns):

  | public class ApuntesPK implements Serializable {
  | 
  | @Column(name=EMPRESA)
  | private Integer empresa;
  | 
  | @Column(name=NUMERO_ASIENTO)
  | private Integer numeroLinea;
  | 
  | @Column(name=NUMERO_LINEA)
  | private Integer numeroAsiento;
  | 
  | //private static final long serialVersionUID = 1L;
  | 
  | public ApuntesPK() {
  | 
  | }


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Jboss MQ ConnectionFactory being returned null

2008-04-16 Thread PrashantSehgal
Also, if I try to retrieve the default ConnectionFactory from my standalone 
client, it throws the following exception:


  | javax.naming.NameNotFoundException: ConnectionFactory not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  | at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
  | at java.lang.Thread.run(Thread.java:595)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | 
  | at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at TestReceiver.main(TestReceiver.java:22)
  | 

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

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


[jboss-user] [EJB 3.0] - Re: problems with @Idclass

2008-04-16 Thread lastra
JBoss 4.2.2, Full message of the error:

javax.ejb.EJBException: javax.persistence.PersistenceException: 
org.hibernate.exception.SQLGrammarException: could not load an entity: 
[com.recargaexpress.gestionpro.entity.Apuntes#component[empresa,numeroLinea,numeroAsiento]{numeroLinea=1,
 numeroAsiento=86, empresa=1}]
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
  | Caused by: javax.persistence.PersistenceException: 
org.hibernate.exception.SQLGrammarException: could not load an entity: 
[com.recargaexpress.gestionpro.entity.Apuntes#component[empresa,numeroLinea,numeroAsiento]{numeroLinea=1,
 numeroAsiento=86, empresa=1}]
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:194)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.find(TransactionScopedEntityManager.java:171)
  | at 
com.recargaexpress.gestionpro.session.ContabilidadBalancesBean.buscarApunte(ContabilidadBalancesBean.java:75)
  | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 

[jboss-user] [JBossWS] - Re: problem with calling ssl web service

2008-04-16 Thread rouvas
Place a transport-guarantee element in your web.xml, thus:


  | security-constraint
  |   web-resource-collection
  | web-resource-nameAll resources/web-resource-name
  | url-pattern/YOUR_PATH/url-pattern
  |   /web-resource-collection
  |   user-data-constraint
  | transport-guaranteeCONFIDENTIAL/transport-guarantee
  |   /user-data-constraint
  | /security-constraint
  | 

in the above replace YOUR_PATH with the appropriate value for your case.

-Stathis

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Web pages are not running on mozilla

2008-04-16 Thread xps2nini2000
Hii
 I have made a application using jboss 4.0.2 + jdk1.5 + ant 1.6.5. I am 
using a login servlet which will get a request from user through login.html 
page.When login name and password is verified it will call ejb.this thing is 
working fine on windows and internet explorer.But when i tried to run it on 
suse10.1 .jar and war files are deployed and server also get notified.But when 
i access that page i enterd password and username .It doesnt go to next 
page.Please tell me where i am wrong .Thanx in advance

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

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


[jboss-user] [JCA/JBoss] - Re: Resource adaptor and clustered connection factories (wit

2008-04-16 Thread sameuh
Yes but the problem is that the connections in the pool are reused. 

For example, if I open and close a connection 3 times in my bean code. The same 
connection will be reused the 3 times and then not roundrobined ... 

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

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


[jboss-user] [JBossWS] - Re: problem with calling ssl web service

2008-04-16 Thread rapowder
Thank you for your quick answer!

However I am not sure to understand what to put in the url-pattern parameter. 
All my interfaces are accessible through:

https://myserver.com:8443/interfaces/InterfaceBean

I tried just to test with 

url-pattern/interfaces/*/url-pattern

and also specifically with

url-pattern/interfaces/InterfaceBean1/url-pattern

leaving the jboss-beans.xml file as I posted before, but with no success..
what is it that I have to put in the url-pattern?

Thank you


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Removing of unncessary services from jboss server

2008-04-16 Thread [EMAIL PROTECTED]
Hi - this has nothing to do with JBoss Cache.  Please post on a relevant JBoss 
AS forum.

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

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


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

2008-04-16 Thread sudasudheer
i also got the same error , but some how now i am not getting this error, 
please check you'r entries in necessary xml files , see my post for more 
details ... 

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

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


[jboss-user] [EJB 3.0] - Re: problems with @Idclass

2008-04-16 Thread lastra
jaikiran wrote : anonymous wrote : Caused by: java.sql.SQLException: 
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]El nombre de columna 
'numeroLinea' no es 
vÃÂÃÂÃÂ!
 
‚ƒÃƒÂ‚‚ƒÃƒÂ‚ÂÃÃ!
 ƒÂ‚ƒÃ‚ƒÃÂ
�
�‚‚‚¡lido.
  | 
  | This seems to be the root-cause of the exception. I don't understand that 
language, but you might probably be able to understand what it's trying to say. 
Btw, do you see any SQL that's generated, somewhere before this exception 
stacktrace? If yes, can you post it?
  | 

it say, the name of the field numeroLinea not is correct, but i dont 
understand coz is the same field as my datebase table.

That is my database table:

http://img291.imageshack.us/img291/5455/dibujohl9.jpg

Before that exception i didnt saw any SQL...

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

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

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


[jboss-user] [JBossWS] - Re: problem with calling ssl web service

2008-04-16 Thread rapowder
hugo_th02 how did you manage to configure an ssl webservice?
I tried to edit the jboss-beans.xml file at the following lines

property name=webServiceHost${jboss.bind.address}/property
  | property name=alwaysModifySOAPAddresstrue/property
  | property name=webServiceSecurePort8443/property
  | property name=webServicePort8080/property

in any way, but my WSDL file always generates a sop:adress in http

service name=MyWebServiceBeanService
  |   port binding=tns:MyWebServiceBeanBinding name=MyWebServiceBeanPort
  |  soap:address location=http://my_host_name:8080/MyWebServiceBean/
  |/port
  | /service

I'd actually like to have 


  | soap:address location=https://www.myserver.com:8443/MyWebServiceBean/

I can hardcode www.myserver.com in the webServiceHost parameter, but no way to 
set https as protocol and port 8443

Any ideas? Please help, it's urgent!

Cheers,
Andrea

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Jboss MQ ConnectionFactory being returned null

2008-04-16 Thread PrashantSehgal
Hi,

My connection factory is setup in my Jboss 4.0.4 server like this:



  | tx-connection-factory
  | jndi-namejms/queue/ControlConnectionFactory/jndi-name
  | use-java-contextfalse/use-java-context
  | 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-size100/max-pool-size  
  | /tx-connection-factory  
  | 


I'm accessing this from outside of Jboss, using a stand alone client with from 
it's main method like so:



  | public void initializeListener () 
  | {   
  |   String url = lonrs03004:1099;
  |   Properties props = new Properties();
  |   
props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
  |   props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming);
  |   props.setProperty(java.naming.provider.url, url);   
  | 
  |   try {
  | Context ctx = new InitialContext(props);
  | QueueConnectionFactory qConFactory = 
  |  (QueueConnectionFactory) 
ctx.lookup(jms/queue/ControlConnectionFactory); 
  | 
  |   if(qConFactory == null) { 
  |  System.out.println(qConFactory is null );
  |  System.exit(0); 
  |   } 
  | } 
  | 


The connection factory is being returned as null. I read somewhere that this 
might be because my connection factory is setup using jboss-ra and in such 
cases standalone clients cant access connection factories. One needs to access 
them from inside the server.

a) Is this correct? 
b) If I want to retain my stand-alone client, how should I setup my connection 
factories?

Thanks,
Prashant.

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

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


[jboss-user] [JBoss Portal] - Problem on cluster mode

2008-04-16 Thread tinico
Hi all,

I had a problem during my cluster tests... I've configure cluster and farming 
on two physical server on RH4. A server have 2 config of JBoss (ports-01 and 
ports-01) and the other server have only one server configuration : ports-01.

When I configure the cluster and the farming, all is ok... All is working 
fine... But when I shuting down all the servers, and I want to restart them, 
I've the following error :


  | 10:27:26,086 WARN  [StatelessSessionContainer] Could not restore ejb timers
  | javax.management.RuntimeMBeanException
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
  | 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.ejb.Container.restoreTimers(Container.java:771)
  | at 
org.jboss.ejb.SessionContainer.startService(SessionContainer.java:410)
  | 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 
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: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 org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy283.start(Unknown Source)
  | at org.jboss.ejb.EjbModule.startService(EjbModule.java:429)
  | 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 
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: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)
  |   

[jboss-user] [Remoting] - Streaming video

2008-04-16 Thread miiisterjim
Hey, I'm looking to stream video to clients where failover replication and 
loadbalancing are integral to my project.  Is remoting the right choice for me 
based on these requirements? 

cheers
James

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

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


[jboss-user] [JBossWS] - Re: problem with calling ssl web service

2008-04-16 Thread rouvas
You posted that your interfaces are accessible through 

  | https://myserver.com:8443/interfaces/InterfaceBean
  | 
but in the url-pattern you stated

  | /interfaces/InterfaceBean1
  | 
see the 1 at the end?

I've managed to get it working using the following settings:

file ${JBOSS_HOME}/server/default/deploy/jboss-web.deployer/server.xml


  | Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
  |maxThreads=150 scheme=https secure=true
  |clientAuth=false sslProtocol=TLS
  |keystoreFile=${jboss.server.home.dir}/server.keystore
  |keystorePass=welcome
  |/
  | 

and in my web.xml


  | ?xml version=1.0 encoding=UTF-8?
  | web-app
  | 
  |   servlet
  | servlet-nameadder/servlet-name
  | servlet-classgr.rouvas.adder/servlet-class
  |   /servlet
  |   servlet-mapping
  | servlet-nameadder/servlet-name
  | url-pattern/adder/url-pattern
  |   /servlet-mapping
  | 
  | security-constraint
  |   web-resource-collection
  | web-resource-nameAll resources/web-resource-name
  | url-pattern/adder/url-pattern
  |   /web-resource-collection
  |   user-data-constraint
  | transport-guaranteeCONFIDENTIAL/transport-guarantee
  |   /user-data-constraint
  | /security-constraint
  | 
  | /web-app
  | 

in my case, it is a POJO web service.

-Stathis

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

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


[jboss-user] [JBoss jBPM] - sources for jbpm-console

2008-04-16 Thread AJanz
hello,

where can i find the sources for jbpm-console?

looked over the internet for a while, but really don't find them.


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

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


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

2008-04-16 Thread p-nat
salaboy21 wrote : i'm running with JBoss 4.2.2.GA and works fine...
  | did you try to log in both http://node1.jboss.com:8080/test and
  | http://node1.jboss.org:8080/test separately?
  | 
  | 

I try start wiht JBoss 4.2.2 and works OK!
Thank You!!! :-)

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

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


[jboss-user] [EJB/JBoss] - jboss transactions query

2008-04-16 Thread vinayh
Hi,

Using JBoss 4.2 GA, MySQL DB 5.0, MySql Connector/J v5.1.5.

Problem:

I am having a client application (POJO) which inserts data into a database and 
then invokes an SLSB method by passing the ID of the inserted data. The SLSB 
tries to retreive the record from the database using JDBC.

The database connection is obtained using the datasource object from the JNDI.

For transaction integrity I am beginning a transaction in the client by getting 
a UserTransaction object from the JNDI and starting the txn using the begin().

I insert the data into the database and invoke the SLSB method. 

The SLSB method tries to retreive the inserted record but does not find the 
same as the transaction is yet to be committed.  The SLSB txn-attribute is set 
to Mandatory.

I am using the MySql driver com.mysql.jdbc.Driver and not the XA driver as I am 
having only a single database.

Please let me know if I begin a transaction in the client (different JVM) will 
the transaction be propogated to the JBoss AS JVM?

If not then please help me in suggesting an alternative solution.

TIA
Vinay

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

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


[jboss-user] [Beginners Corner] - Re: start jboss-5.0.0.Beta4 with error

2008-04-16 Thread [EMAIL PROTECTED]
Hi all
I encounter the same problem and there no spaces at my path definition
also JbossAs is necessary ??

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

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


[jboss-user] [Security JAAS/JBoss] - error when copy my-login-config-service.xml to deploy folder

2008-04-16 Thread duclt2002
I have my-login-config.xml in /server/default/config 
-
?xml version='1.0'?
!DOCTYPE policy PUBLIC
  -//JBoss//DTD JBOSS Security Config 3.0//EN
  http://www.jboss.org/j2ee/dtd/security_config.dtd;

 application-policy name=example2

login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule  flag=required
module-option name=dsJndiNamejava:/Book/module-option
module-option name=principalsQuery
select password from principals principalID where 
principalID=?/module-option
module-option name=rolesQuery
select Role, RoleGroup from Roles where 
PrincipalID=?/module-option
/login-module

/application-policy
-
I need to tell JBoss to load this file at startup time
To do this, I create a JMX MBean defined in a service file 
my-login-config-service.xml 

?xml version=1.0 encoding=UTF-8?

   
  my-login-config.xml
  depends optional-attribute-name=LoginConfigService
 jboss.security:service=XMLLoginConfig
  
  depends optional-attribute-name=SecurityManagerService
 jboss.security:service=JaasSecurityManager
  
   


and I receive error
Encountered \u00ef\u00bb\u00bf?xml at line 1, column 1
Was expecting one of 
 


  



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

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


[jboss-user] [Performance Tuning] - JBoss 4.05 don't release free memory - Out of Memory error

2008-04-16 Thread bakry
Dear All,

I know this is not the first time someone asks about OOME... but I have 
searched all relevant topics with no results...

My problem is with Jboss 4.0.5, I have one application deployed in this server 
with very minimal hits on the server. however the server keeps consuming memory 
by time... the strange thing is that there always free memory not returned to 
the OS... after 3-5 days the server total memory reaches the max allowed 
memory, then the server throws the OOME.

following is my memory settings in the run.cfg

JAVA_OPTS=-Xms128m -Xmx1500m -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360


Following is what the web console is displaying about the server state. you can 
see there is 981MB free memory not returned to the OS. my understanding is that 
Jboss start with the minimum memory configured to 128MB and keeps getting more 
as needed, but when the allocated memory is not used anymore (becomes Free 
memory), Jboss should return this memory to the OS and the total memory figure 
should go down to show the actual currently use memory + the buffered memory in 
Jboss. Please correct me if I am wrong...

JVM Environment
Free Memory: 981 MB
Max Memory: 1333 MB
Total Memory: 1058 MB
#Threads: 78
JVM Version: 1.5.0_07-b03 (Sun Microsystems Inc.)
JVM Name: Java HotSpot(TM) Server VM


I tried every thing from increasing the heap to memory tuning in my application 
but itis not working. 

Regards,
Bakry

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

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


[jboss-user] [JBoss Portal] - Re: page to page communication

2008-04-16 Thread shankarkhanna
Is there a way to access the parameter in all portlets in a page? 

I have a link in PageA and i want to move to pageB with parameter. In pageB, i 
have 4 portlets. I want that the parameter to be accessible in all the 
portlets. what should i do?

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

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


[jboss-user] [EJB/JBoss] - Re: jboss transactions query

2008-04-16 Thread vinayh
Hi,

Some corrections...

The DML statements do not participate in the txn eventhough I have started a 
txn using the UserTransaction().begin() method.


Best Regards,
Vinay



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

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


[jboss-user] [JBoss Messaging] - JBM behind a firewall

2008-04-16 Thread alfred.rsa
Hi guys

We are running JBM behind a firewall and need to know which ports to open. We 
currently have the following open:
 - 1099
 - 1098
 - 3517
 - 4457
 - 4460

Are these ok and will JBM always use these. We did a netstat on a test machine 
to look at the incoming connections to find these.
And secondly, can we specify a range of ports for JBM to use?

Regards
Alfred

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

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


[jboss-user] [EJB 3.0] - TimerService problem

2008-04-16 Thread MasterOfBeans
Hello,

I am using JBOSS 4.2.2 GA and want to use the TimerService

Here is my example code:


  | 
  | @Stateless
  | @Local(ProductionOrderService.class)
  | public class ProductionOrderServiceBean implements ProductionOrderService
  | private @Resource TimerService timerService;
  | private @EJB FileGenerationService fileGenerationService;
  | ...
  | 
  | void doSomething()
  | {
  | ...
  | timerService.createTimer(new Date(System.currentTimeMillis() + 
FILE_GEN_DELAY_VALUE), prodOrder);
  | ...
  | }
  | 
  | @Timeout
  | @PermitAll
  | public void fileGenerationTimeOut(Timer timer) 
  | {
  |   ProductionOrderCreateDTO prodOrder = (ProductionOrderCreateDTO) 
timer.getInfo();
  |   fileGenerationService.generateProductionOrderFile(prodOrder);
  | }

The timer event is fired after the FILE_GEN_DELAY_VALUE. The problem is that I 
always get a javax.ejb.EJBAccessException: Authentication failure.
And YES, I added: 

 module-option name = unauthenticatedIdentityHomer Simpson/module-option

to application login module!

BTW: I even tried to add @PermitAll to the generateProductionOrderFile 
method. But this didn't solved the problem either!

I would appreciate your help!

Thank you in advance!

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

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


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

2008-04-16 Thread salaboy21
Great news! i think JBoss AS 4.2.2.GA has patched.. but i'm not really sure if 
thats the problem...
Let me know if you have some trouble with SSO

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

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


[jboss-user] [Management, JMX/JBoss] - JMX on JBoss Problem

2008-04-16 Thread alexanderb
Hello All
I have couple problem with invocation method via JMX in JBoss. I’m trying to 
access from JBoss application to another (other JVM) application which has JMX 
interface



  | MBEAN_PROXY MBEAN_PROXY getProxy(Class MBEAN_PROXY clazz) throws 
MalformedObjectNameException, NullPointerException, IOException{
  | JMXConnector c = (JMXConnector) JMXConnectorFactory.connect(new 
JMXServiceURL(url));
  | MBEAN_PROXY result = 
MBeanServerInvocationHandler.newProxyInstance(c.getMBeanServerConnection(), new 
ObjectName(beanId), clazz,false); 
  | return result;
  | }
  | 

this code works fine on separate JVM but on jboss this code throws Exception



  | 2008-04-16 15:48:44,667 ERROR [STDERR] 
java.lang.reflect.UndeclaredThrowableException
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
$Proxy129.enumeratePlugins(Unknown Source)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
com.synapsense.registrar.RegistrarSvcImpl.registerComponent(RegistrarSvcImpl.java:76)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,667 ERROR [STDERR]  at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:329)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 
org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:294)
  | 2008-04-16 15:48:44,683 ERROR [STDERR]  at 

[jboss-user] [Management, JMX/JBoss] - Re: JMX on JBoss Problem

2008-04-16 Thread alexanderb
It looks like JBoss do something strange with JMXConnectorFactory because I can 
get all information regarding this MBean but I'm not able to invoke its methods

  | JMXConnector c = (JMXConnector) JMXConnectorFactory.connect(new 
JMXServiceURL(url));
  | 

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

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


[jboss-user] [JBossWS] - Problem consuming .net webservice with jbossws-3.0.1-native-

2008-04-16 Thread claudio_br
Hi,

I created the stubs classes of .net webservice using ant task:

org.jboss.wsf.spi.tools.ant.WSConsumeTask

But when I invoke the .net webservice I got:

javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit 
message
  | Exception in thread main javax.xml.ws.WebServiceException: 
java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
  | at $Proxy15.getToken(Unknown Source)
  | at teste.Teste.getXY(Teste.java:26)
  | at teste.Teste.main(Teste.java:73)
  | Caused by: java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:255)
  | at 
org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:73)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:339)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
  | ... 5 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at org.jboss.remoting.Client.invoke(Client.java:1634)
  | at org.jboss.remoting.Client.invoke(Client.java:548)
  | at 
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:233)
  | ... 8 more
  | Caused by: org.jboss.ws.WSException: Invalid HTTP server response [501] - 
Not Implemented
  | at 
org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:77)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:473)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:305)
  | ... 13 more

With the release jbossws 2.0.0.GA the calls are made successfully.
Please, help me.
Thanks

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

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


[jboss-user] [Messaging, JMS JBossMQ] - configure queue

2008-04-16 Thread vikrant1
Can someone please tell me how I configure a queue on jboss app server with 
JNDI name 'queue/ExA2Queue'

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

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


[jboss-user] [JBoss Cache: Core Edition] - Data Gravitation

2008-04-16 Thread FredrikJ
Hi.
We have been experiencing an issue in our system when enabling buddy 
replication. The issue manifests itself in way that replication seems to be 
completely missing. We can turn the issue on and off by enabling/disabling 
buddy replication so I have focused on isolating the problem in a stand-alone 
test.

In my test scenario I am now able to create something I think is a bug. I am 
using two caches with buddy replication enabled and force data gravitation 
between them. I then fail the secondary cache and examine if the data was 
recoverable on the primary cache. This works like a charm. However, when I do 
this a second time around, i.e. start up a new cache again, the same scenario 
fails. 

The second time, the objects gravitated from the primary cache are not removed 
as they are the first time around and when we inspect the cache for recovered 
data after failing the second secondary cache, we get the wrong data. The 
primary cache has the correct data under its _buddy_backup node but since it 
prefers its own data, it will read the 'wrong' version.

This is pretty complex to explain, so I have posted the complete test code 
here: http://www.cubeia.com/misc/buddyrep/

I've tried to add comments to the code to be as explanatory as possible. The 
test was written for 2.1.0.GA.

I do have an understanding of data affinity and what the concept implies, 
however, I believe that the test do not break or abuse data affinity but rather 
tests fail-over scenarios when using buddy replication. Finally, why should the 
behavior change because the cache had a member in the past?

I hope you can run the test and try it out. Just ask away if the code not 
making any sense to you =)



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

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


[jboss-user] [JNDI/Naming/Network] - Re: UnknownHostException after successful connection to port

2008-04-16 Thread kahzoo
anonymous wrote : Is there any way to bind to all interfaces in 4.2 and 
persuade it to return an IP address instead of a hostname in the Naming object? 

The easiest way to do this is to use system property 'java.rmi.server.hostname'.

For example, on windows:

SET JAVA_OPTS=-Djava.rmi.server.hostname=xx.xx.xx.xx
  | run.bat -b 0.0.0.0

Please note that this will change the rmi server codebase throughout  your 
jboss server.

If you don't like that, and want to have the change to take effect in JBoss 
naming service only, then do the following:

1) open your server's 'conf/jboss-service.xml' file.
2) locate the 'jboss:service=Naming' mbean.
3) set the following 2 attributes.

attribute name=RmiBindAddressxx.xx.xx.xx/attribute
  | attribute 
name=ClientSocketFactoryorg.jboss.net.sockets.DefaultClientSocketFactory/attribute
  | 

4) restart your jboss server with -b 0.0.0.0 option

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

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


[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread chip_schoch
Clearly I have been having some serious misunderstandings on how this works.

1.  My clients use the JCA adapter because we develop on windows machines that 
can run a windows only conversion library, so the ConversionJMSProvider is 
defined to connect to localhost on our machines and to connect to a cluster on 
the deployment environment.  Our deployment environment has only the conversion 
service running on a windows JBoss, which connects to a cluster of linux JBoss 
AS.  I thought this was the way to do that.

2. anonymous wrote : 
java.naming.provider.url=jnp://devapp2.qa.cin.int:1100,jnp://devapp1.qa.cin.int:1100

I was under the (mis) understanding that this was how you specified the servers 
in the cluster.  We were initially having issues with discovery.  I think that 
it was related to firewall settings or something. 

3.  I (mistakenly, apparently) thought that a producer that uses the 
ClusteredConnectionFactory would round robin the messages as they were posted.  
We have a service that runs as a singleton that produces messages and we want 
them to be round-robined to the consumers running on each node.  It seemed 
reasonable to me.

After running a series of tests I see that virtually all of my assumptions were 
ass-backward.  Time to rethink my strategy.

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

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


[jboss-user] [JCA/JBoss] - Performance Cost of valid-connection-checker-class-name / ch

2008-04-16 Thread spoulin
I'm using JBoss 4.0.0 with Oracle 10g.

I'm getting challenged by my DBA for suggesting the use of either 
valid-connection-checker-class-name or check-valid-connection-sql.

With millions of connections daily they fear an impact on general perfomances.

Does anyone ever benchmarked the overhead of this feature?

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

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


[jboss-user] [Remoting] - Re: How to add ConnectionListener in JBoss ?

2008-04-16 Thread Rhodan
Ok, i managed it now to add the listener via a self created jboss-service, 
which adds the listener through the JMX RMIAdaptor (see Jboss 4.0 guide, page 
69) to the configured Remoting-MBean(s) on server startup.

But i'm asking myself, if this is the normal way, to add a connection listener 
in jboss ?



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

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


[jboss-user] [Security JAAS/JBoss] - Re: Calling LoginContext.login successful but SSO cookie no

2008-04-16 Thread chrlon
Waking an old thread...
I've got exactly the same problem, no sso cookie when creating my own login 
contex (as bmcgovern does) but works when using built in form authentication. 
I'm probably missing something but can't figure out what it is.

A solution would be most welcome :)

Bmcgovern...did you find a solution?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - unable to run jboss 4.2.2.GA on windows vista

2008-04-16 Thread rsvedula
I tried to install 4.2.2.GA version on windows vista and the installation went 
smoothly, but when i start it throws a message port 80 in use. Can anyone 
please help me on solving this problem.

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

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


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

2008-04-16 Thread redbird
Thanks Max.  No, I have not tried the other one.  I ran into too many problems 
trying to get it configured.  Perhaps there aren't really that many bugs, but I 
seem to hit all of them.  And I have run out of time now.  I really don't have 
time to be trying this and that hoping it will work.  I did that for 2 weeks.  
I was really hoping for it to work right out of the box.  This may not be your 
issue entirely, but unfortunately it is my reality.  As I said, I'll check back 
in about 6 months (maybe sooner if I have time).  But right now, I need to get 
things done and I really can't mess with these tools anymore.  Thanks for your 
help.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread chip_schoch
By the way.

From the JBoss Messaging Documentation 3.1 
anonymous wrote : A JMS client uses HA JNDI to lookup the connection factory. 
When creating connections using that connection factory a client side load 
balancing policy will automatically chose a node to connect to.

From the Clustering Guide 1.2.2   

anonymous wrote : The JNDI client needs to be aware of the HA-JNDI cluster. You 
can pass a list of JNDI servers (i.e., the nodes in the HA-JNDI cluster) to the 
java.naming.provider.url JNDI setting in the jndi.properties file. Each server 
node is identified by its IP address and the JNDI port number. The server nodes 
are separated by commas (see Section 1.2.3, JBoss configuration on how to 
configure the servers and ports).
  | java.naming.provider.url=server1:1100,server2:1100,server3:1100,server4:1100


My use of the JMSProviderLoader in my client

 // Get local InitialContext and look up the ProviderLoader
  | InitialContext ic   = ConnectionManager.getInitialContext ();
  | JNDIProviderAdapter adapter = (JNDIProviderAdapter) ic.lookup 
(ConversionJMSProvider);
  | 
  | // Get the properties that we need for our target context and
  | // then create the target InitialContext
  | ic= new InitialContext (adapter.getProperties ());
  | 
  | // Use the queue factory ref name from the JMSProviderLoader for the lookup 

  | ConnectionFactory factory = (ConnectionFactory) ic.lookup 
(adapter.getQueueFactoryRef ());
  | 

Doing it this way essentially dereferences which connection factory I use based 
on the environment my service is running in.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: unable to run jboss 4.2.2.GA on windows vista

2008-04-16 Thread jaikiran
Port 80? Or was it some other port? 

There might be some other application which might be using the port. You might 
have to kill that application and start JBoss. See this for more details 
http://wiki.jboss.org/wiki/DebugBindException

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

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


[jboss-user] [JBoss Messaging] - Re: JBM behind a firewall

2008-04-16 Thread [EMAIL PROTECTED]
This page will describe the ports we use:

http://wiki.jboss.org/wiki/UsingJBossBehindAFirewall


Notice that there are two random ports on the config, that you can set to any 
port you like.

Let me know if you still have any issues after reading this.

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread [EMAIL PROTECTED]
Could you post exchanged messages?

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

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


[jboss-user] [JCA/JBoss] - Re: Performance Cost of valid-connection-checker-class-name

2008-04-16 Thread vickyk
spoulin wrote : Does anyone ever benchmarked the overhead of this feature?
No we don't have but it would be interesting to see this with millions of hits .
And don't have it if your DBA guarantees that DB will not be down ever .


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

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


[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread ataylor
take a look at the DistributedQueueExample.

The load balancing is done by the clustered connection factory, on 
createConnection(..) it will return a connection to one of the nodes in the 
cluster in a round robin fashion. From then on all messages are routed through 
this node. You dont need to use ha jndi if you're using a clustered connection 
factory.

If your JMS client is running inside the App Server then you should always 
route to the local queue to save on round trips.

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

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


[jboss-user] [JBoss jBPM] - Re: sources for jbpm-console

2008-04-16 Thread kukeltje
in CVS jbpm.3/console and jbpm4jsf (and there are multiple posts about this in 
forum)


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

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


[jboss-user] [JBoss Portal] - Re: Integration with bea weblogic portal

2008-04-16 Thread emigcrd
Hi, Thanks for your reply!, a last question, using Jboss portal, in both 
side(producer and consumer), exists any procedure to send parameters from the 
consumer to producer, for example an user id?

Thanks a lot for your help!

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

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


[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread [EMAIL PROTECTED]
chip_schoch wrote : By the way.
  | 
  | From the JBoss Messaging Documentation 3.1 
  | 
  | 


There is no such thing as JBoss Messaging Documentation 3.1. Maybe you are from 
the future? :-) (eh eh... just kidding!)


I believe you are confusing JBossMQ with JBossMessaging docs.

The only docs I'm aware for JBossMessaging is the ones deployed at our project 
page. You should be using 1.4.0.SP3 if you are under JBoss 4.2.X, or 1.4.1 if 
you are planning to use JBoss5:


http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html_single/index.html


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

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


[jboss-user] [Management, JMX/JBoss] - Start / stop of application

2008-04-16 Thread [EMAIL PROTECTED]
Hi,

Hoping to post under the correct forum. I have two questions regarding 
applications deployed as ear-files.

1) How can I programatically stop (shutdown) an application?
2) How can I overload the startup behaviour of my application.

What I'm trying to do, is to during application startup, I will poll a license 
server. If license is OK, continue. Otherwise shut down the application.

I have not been able to find this in the documentation.

Thanks,
Mattias

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

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


[jboss-user] [JBoss jBPM] - Process Definition Location in a WAR File

2008-04-16 Thread neilac333
I am attempting to deploy a Seam app that utilizes JBPM. I have a single page 
definition file and a single process definition file. Both are located, for the 
time being, at the root of my WAR file, and both are in my components.xml file 
in the proper places (without slashes or anything).

When I deploy my WAR to WebLogic 9.2, the page definition file is processed 
correctly, but the process definition file is not. I get a 
MalformedURLException when JBPM tries to find it. What can I do to ensure that 
the process definition file is located correctly? Why would one file be 
processed but not the other?

Here is the log:


  | 15 Apr 2008 17:24:14,075: INFO  javax.servlet.ServletContextListener - 
Welcome to Seam 2.0.0.GA
  | 15 Apr 2008 17:24:19,172: WARN  org.jboss.seam.init.Initialization - Did 
not install PojoCache due to NoClassDefFoundError: org/jboss/cache/TreeCache : 
org/jboss/system/ServiceMBeanSupport
  | 15 Apr 2008 17:24:36,057: WARN  org.hibernate.impl.SessionFactoryImpl - 
JTASessionContext being used with JDBCTransactionFactory; auto-flush will not 
operate correctly with getCurrentSession()
  | 15 Apr 2008 17:24:37,739: DEBUG org.jbpm.JbpmConfiguration - creating jbpm 
configuration from resource 'org/jboss/seam/bpm/jbpm.pageflow.cfg.xml'
  | 15 Apr 2008 17:24:37,769: DEBUG org.jbpm.JbpmConfiguration - loading 
defaults in jbpm configuration
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'default.jbpm.context'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.hibernate.cfg.xml'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.business.calendar'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.default.modules'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.converter'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.action.types'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.node.types'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.parsers'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.varmapping'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.mail.templates'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.byte.block.size'
  | 15 Apr 2008 17:24:37,830: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.mail.smtp.host'
  | 15 Apr 2008 17:24:37,840: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.task.instance.factory'
  | 15 Apr 2008 17:24:37,840: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.variable.resolver'
  | 15 Apr 2008 17:24:37,840: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.mail.address.resolver'
  | 15 Apr 2008 17:24:37,840: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpm.job.executor'
  | 15 Apr 2008 17:24:37,840: DEBUG org.jbpm.JbpmConfiguration - loading 
specific configuration...
  | 15 Apr 2008 17:24:37,850: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'default.jbpm.context'
  | 15 Apr 2008 17:24:37,870: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'jbpmConfiguration'
  | 15 Apr 2008 17:24:37,950: INFO  org.jbpm.JbpmConfiguration - using jbpm 
configuration resource 'jbpm.cfg.xml'
  | 15 Apr 2008 17:24:37,950: DEBUG org.jbpm.JbpmConfiguration - loading 
defaults in jbpm configuration
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'default.jbpm.context'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.hibernate.cfg.xml'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.business.calendar'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.default.modules'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.converter'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.action.types'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.node.types'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object info 'resource.parsers'
  | 15 Apr 2008 17:24:37,960: DEBUG org.jbpm.configuration.ObjectFactoryImpl - 
adding object 

[jboss-user] [JBoss jBPM] - Re: sources for jbpm-console

2008-04-16 Thread AJanz
thank you

but when i export jbpm.3/console no java sources are exported.

escpecially i am looking for identitybean.java

jbpm4jsf i got the sources. but not identitybean.java

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
How can I do this?
Please, show me a sample code.
Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Disabling the user registered in portal database in jbos

2008-04-16 Thread darin8809
bump - and ideas on if this should be in jira?

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

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


[jboss-user] [JBoss Portal] - Re: portlet window preferences and transactions

2008-04-16 Thread PeterJ
The preferences are handled entirely by the portlet container - it handles any 
required transactions to save  updated property values.

You need the trans-attribute only if your portlet does its own database work.

(also, earlier I meant PortletPreferences.store(), one of these days I will 
either learn how to type or how to spell...)

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

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


[jboss-user] [JBoss Portal] - Re: Dynamically hide Portlets

2008-04-16 Thread rivetlogic
Take a look at this 

http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html_single/#descriptor_debug

You should be able to hide a window on exception/error through this 
configuration.


Regards,
Shagul

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

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


[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2008-04-16 Thread ljcoomber
Have spent a while on this myself. The problem (for me at least) was that I I 
had enabled JTA transactions in persistence.xml, but in components.xml I had 
configured use of the JPA EntityTransaction API (which is for non-JTA 
environments) with the line:

transaction:entity-transaction entity-manager=#{entityManager} /

Removing this line fixed the problem.

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread [EMAIL PROTECTED]
Use wireshark

http://www.wireshark.org/

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

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


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

2008-04-16 Thread arvind_agg
Thanks for replying !!

I tried to look for your posts but could not find the relevant topic. Can you 
please post the link for it.

-Arvind

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

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


[jboss-user] [Beginners Corner] - Re: how to create new user for durable topic subscriber lik

2008-04-16 Thread arvind_agg
For creating a new user for durable subscriber I had to make some changes in 
'hsqldb-jdbc-state-service.xml' (default/deplo/jms). If you have not made any 
changes for the db to maintian state then you can add a new user by adding 
below mentioned statements.

POPULATE.TABLES.15 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('scott', 
'tiger')
POPULATE.TABLES.16 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('scott','guest')
  POPULATE.TABLES.17 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('subscriber','scott')
  POPULATE.TABLES.18 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('publisher','scott')
POPULATE.TABLES.19 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('durpublisher','scott'

You can substitue scott/tiger with your username and pwd. Atleast this does 
works for me.

-Arvind

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

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


[jboss-user] [Javassist user questions] - Best Practice for 'Wrapping' a Method

2008-04-16 Thread parkinm
Hi, 

Sorry if this question has been answered in another thread - please point me to 
the relevent answer if this has already been answered.

In Section 4 of the java assist tutorial it gives an example where a method is 
'wapped'in another method, i.e.:

void move(int newX, int newY) { x = newX; y = newY; }
  | 
  | void move(int newX, int newY, int newZ) {
  |   // do what you want with newZ.
  |   move(newX, newY);
  | }

What is the best practice to do add the second method to a class in Javassist 
given bytecode containing the first method?

Many thanks,

Michael.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Start / stop of application

2008-04-16 Thread csaldanh
Hi Mattias,

You could try invoking operations of the MainDeployer MBean 
(jboss.system:service=MainDeployer) using JMX. This Mbean exposes operations to 
list all the applications deployed as well as to start/stop applications.

Clive

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

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


[jboss-user] [Beginners Corner] - Using applications on JBoss server with out the front end

2008-04-16 Thread bolivartech
I'm wanting to see if it is possible to use applications hosted on a JBoss 
server with the use of Macromedia Flash Player. Is the flash player doing 
anything that a web browser could not? I am at a point where if I could avoid 
using the flash player but continue to have the same functionality of the 
software that would save me a great deal of time. Any suggestions on how to go 
about this would be appreciated.

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

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


[jboss-user] [Beginners Corner] - Re: how to create new user for durable topic subscriber lik

2008-04-16 Thread PeterJ
Oops, I thought you were using JBoss Messaging, but you are using JBossMQ.

I will assume you are using the Hypersonic database (that is the default). Look 
at server/default/deploy/jms/hsqldb-jdbc-state-service.xml, you will see these 
lines:

  POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) 
VALUES ('john', 'needle', 'DurableSubscriberExample')
  |   POPULATE.TABLES.04 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES 
('nobody', 'nobody')
  |   POPULATE.TABLES.05 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES 
('dynsub', 'dynsub')
  |   POPULATE.TABLES.06 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('guest','guest')
  |   POPULATE.TABLES.07 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('j2ee','guest')
  |   POPULATE.TABLES.08 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('john','guest')
  |   POPULATE.TABLES.09 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('subscriber','john')
  |   POPULATE.TABLES.10 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('publisher','john')
  |   POPULATE.TABLES.11 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('publisher','dynsub')
  |   POPULATE.TABLES.12 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('durpublisher','john')

Note the line that creates the john/needle account, and the line that adds john 
to the durpublisher group. Add the following lines:

  POPULATE.TABLES.15 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES 
('jmsuser', 'durable')
  |   POPULATE.TABLES.16 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES 
('durpublisher','jmsuser')

Then delete the directory server/default/data. Fianlly start the app server.

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

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


[jboss-user] [JBoss jBPM] - Re: When deploying a jBPM, a exception about jsf throwed

2008-04-16 Thread evster
Has anyone figured this out?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Removing of unncessary services from jboss server

2008-04-16 Thread PeterJ
See the Slimming section at http://wiki.jboss.org/wiki/JBossASTuningSliming

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

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


[jboss-user] [Beginners Corner] - Re: start jboss-5.0.0.Beta4 with error

2008-04-16 Thread PeterJ
What do you mean by also JbossAs is necessary ???

What JDK are you using?

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

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


[jboss-user] [Performance Tuning] - Re: JBoss 4.05 don't release free memory - Out of Memory err

2008-04-16 Thread PeterJ
anonymous wrote : my understanding is that Jboss start with the minimum memory 
configured to 128MB and keeps getting more as needed, but when the allocated 
memory is not used anymore (becomes Free memory), Jboss should return this 
memory to the OS

No, that is not correct. The JVM, once it asks the OS for memory, will never 
release that memory back to the OS. If you do not want the JVM to consume 1.5GB 
of memory, do not set -Xmx that high.

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

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


[jboss-user] [Performance Tuning] - Re: JBoss 4.05 don't release free memory - Out of Memory err

2008-04-16 Thread PeterJ
I was wrong. I just talked to my JVM expert and the JVM will give memory back 
to the OS under certain circumstances. It will give back memory only during a 
garbage collection. Taking a snapshot of memory usage is not sufficient to make 
any conclusion about memory. If the JVM is not doing anything it will not just 
suddenly wake up and say oh, I have too much memory, I think I will give some 
back. You need to gather garbage collection data while running the JVM and 
that data will indicate when, or if, the JVM is giving memory back to the OS.

Note that JBossAS has no say whatsoever in this matter.

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

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


[jboss-user] [EJB 3.0] - using JDBC with SFSB

2008-04-16 Thread asookazian
are there any known issues (other than lack of portability) with using JDBC API 
in EJB3 SFSB's with Seam 2.0.0.GA apps in JBoss4.2.1.GA?

I am seeing some exceptions related to passivation (see 
http://www.jboss.com/index.html?module=bbop=viewtopict=97750 )that are 
difficult to analyze and explain and I'm wondering if the following type of 
code may cause troubles and I'm better off refactoring all the JDBC code and 
using EntityManager/DAO instead.

There is no injection of EntityManager happening in this SFSB.  I'm wondering 
if the transactiontype attribute in this case is REQUIRED for the methods which 
is the default for EJB3 session beans?


  | @Stateful
  | //AS 041508 - testing session scope for conversation ended error
  | @Scope(ScopeType.SESSION)
  | @Name(techDeployToUser)
  | public class TechDeployToUserAction implements TechDeployToUserLocal{
  | 
  | @Logger
  | Log log;
  | 
  | @In
  | private FacesMessages facesMessages;
  |
  | @In
  | Identity identity;
  |
  | @In (required=false)
  | UTbUser user;
  |
  | @In 
  | Context sessionContext; 
  | 
  | private ListTbHardwareObject  hardwareTableList   
= new ArrayList();;
  | private ListTbHardwareObject  locationsList   
= new ArrayList();
  | 
  | private ListTbHardwareObject  userLocEquipList
= new ArrayList();
  | private ListTbHardwareObject  newlyAssignedByTechEquipList= new 
ArrayList();
  | private ListTbHardwareObject  removedFromUserEquipList= new 
ArrayList();
  | 
  | Connection con  = null;
  | Statement stmt  = null;
  | PreparedStatement preparedStmt  = null;
  | ResultSet rs= null;
  | StringBuffer sqlStringBuffer= null;
  | 
  | List assignedToTechHardwareList = new ArrayList(); 
  | String locNo;
  | String techLocMsg = ;
  | String userLocMsg = SHIMSConstants.USER_MSG;
  | 
  | String month=, day=, year=, localAssignedDate=;
  | Map params;
  | 
  | String msgConfirm;
  | String compId;
  | String compMsg;
  | String techLocationName;
  | String userLocationName;
  | String networkLogin;
  | 
  | boolean isAssignToTechBtn = true;
  | boolean isSubmitByTechBtn = true;
  | 
  | Date now = new Date();
  | TbLocationEntityDAO tbLocationDAO  = null;
  | TbHardwareObject tbHardwareObject = null;
  | 
  | //@Begin(join=true) 
  | //@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public List getAssignedToTechHardwareList()
  | {
  | params = 
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
  | if (params != null)
  | {   
  | log.info(inputlocno =  + params.get(inputlocno));
  | log.info(isAssignBtnClicked =  + 
params.get(isAssignBtnClicked));
  | log.info(isRemoveBtnClicked =  + 
params.get(isRemoveBtnClicked));
  | //AS 041508 - commenting line below as I'm not sure 
  | //if (params.get(inputlocno) == null  
(params.get(isAssignBtnClicked)== null  params.get(isRemoveBtnClicked) == 
null))
  | if ((params.get(isAssignBtnClicked)== null  
params.get(isRemoveBtnClicked) == null))
  | {   
  | try
  | {
  | if (user != null)
  | {
  | networkLogin = 
user.getNetworkLogin();
  | }   
  | else
  | {
  | networkLogin = 
(((NtlmPasswordAuthentication) sessionContext.get(NtlmHttpAuth)).getDomain() 
+\\+((NtlmPasswordAuthentication) 
sessionContext.get(NtlmHttpAuth)).getUsername());
  | }   
  | try
  | {
  | if (networkLogin != null)
  | {
  | try 
  | {
  | 
log.info(Inside getAssignedToTechHardwareList);
  | con = 
DriverManager.getConnection(SHIMSConstants.URL, SHIMSConstants.USERNAME, 
SHIMSConstants.PASSWORD);
  | 
hardwareTableList = 

[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread chip_schoch
That was Chapter 3.1 and Chapter 1.2.2 respectively.  Here is the link 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/c_overview.html

It looks like it was the 1.3 UserGuide.  I did initially set this stuff up last 
year.  It is only now that I have begun taking a closer look at how the load 
balancing is working.  

To that end I have written a test program based in the distributed queue 
example.  It posts 50 messages to a distributed queue then creates 2 listeners 
and consumes the messages.  I was suprised to see that the message consumption 
was so random.  I would have expected FIFO consumption.  I tried setting 
DefaultPreserveOrdering=true but that caused all the message to be consumed by 
one listener.  Essentially, it defeated load balancing.  Is there a way to get 
FIFO consumption and load balancing?  The Random House Unabridged dictionary 
defines Queue As:

anonymous wrote : 3.Computers. a FIFO-organized sequence of items, as data, 
messages, jobs, or the like, waiting for action.

Below is my test log output.

  | [2008-04-16 11:41:11,249] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_0 
  | [2008-04-16 11:41:11,311] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_1 
  | [2008-04-16 11:41:11,327] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_2 
  | [2008-04-16 11:41:11,343] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_3 
  | [2008-04-16 11:41:11,358] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_4 
  | [2008-04-16 11:41:11,374] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_5 
  | [2008-04-16 11:41:11,390] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_6 
  | [2008-04-16 11:41:11,405] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_7 
  | [2008-04-16 11:41:11,421] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_8 
  | [2008-04-16 11:41:11,436] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_9 
  | [2008-04-16 11:41:11,452] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_10 
  | [2008-04-16 11:41:11,468] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_11 
  | [2008-04-16 11:41:11,483] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_12 
  | [2008-04-16 11:41:11,499] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_13 
  | [2008-04-16 11:41:11,515] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_14 
  | [2008-04-16 11:41:11,530] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_15 
  | [2008-04-16 11:41:11,546] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_16 
  | [2008-04-16 11:41:11,561] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_17 
  | [2008-04-16 11:41:11,577] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_18 
  | [2008-04-16 11:41:11,593] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_19 
  | [2008-04-16 11:41:11,608] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_20 
  | [2008-04-16 11:41:11,624] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_21 
  | [2008-04-16 11:41:11,655] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_22 
  | [2008-04-16 11:41:11,671] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_23 
  | [2008-04-16 11:41:11,686] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_24 
  | [2008-04-16 11:41:11,702] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_25 
  | [2008-04-16 11:41:11,718] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_26 
  | [2008-04-16 11:41:11,733] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_27 
  | [2008-04-16 11:41:11,749] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_28 
  | [2008-04-16 11:41:11,765] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_29 
  | [2008-04-16 11:41:11,780] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_30 
  | [2008-04-16 11:41:11,796] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_31 
  | [2008-04-16 11:41:11,811] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_32 
  | [2008-04-16 11:41:11,811] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_33 
  | [2008-04-16 11:41:11,843] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_34 
  | [2008-04-16 11:41:11,843] INFO  - com.eLynx.Utility.test.JBMTest - Queueing 
message: Test_Message_35 
  | [2008-04-16 11:41:11,874] INFO  - 

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
I added the log4j with DEBUG level:

16/04/2008 13:21:03 
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - START 
buildMetaData: [service={http://webservices.maplink2.com.br}Authentication]
  | 16/04/2008 13:21:03 org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory - parse: 
http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx?WSDL
  | 16/04/2008 13:21:04 org.jboss.wsf.framework.DefaultSPIProvider - provide 
SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
  | 16/04/2008 13:21:04 org.jboss.wsf.framework.DefaultSPIProvider - class 
org.jboss.wsf.spi.management.ServerConfigFactory Implementation: [EMAIL 
PROTECTED]
  | 16/04/2008 13:21:04 org.jboss.ws.tools.JavaToXSD - Load schema: 
http://webservices.maplink2.com.br=file:/C:/DOCUME~1/claudior/CONFIG~1/Temp/JBossWS_webservices.maplink2.com.br52730.xsd
  | 16/04/2008 13:21:04 org.jboss.ws.core.utils.JBossWSEntityResolver - 
resolveEntity: 
[pub=null,sysid=file:/C:/DOCUME~1/claudior/CONFIG~1/Temp/JBossWS_webservices.maplink2.com.br52730.xsd]
  | 16/04/2008 13:21:04 org.jboss.ws.core.utils.JBossWSEntityResolver - 
resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null]
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple 
WSDL bindings referrence the same interface: 
{http://webservices.maplink2.com.br}AuthenticationSoap
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Using 
default parameter style: WRAPPED
  | 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Using 
default parameter style: WRAPPED
  | 16/04/2008 13:21:05 
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - END 
buildMetaData: 
  | UnifiedMetaData: 
  |  implementation: jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
  |  deploymentName: null
  |  securityDomain: null
  | 
  | ServiceMetaData:
  |  qname={http://webservices.maplink2.com.br}Authentication
  |  refName=null
  |  wsdName=null
  |  wsdlFile=null
  |  
wsdlLocation=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx?WSDL
  |  jaxrpcMapping=null
  |  publishLocation=null
  |  securityConfig=null
  |  properties=null
  | 
  | TypesMetaData: 
  | schema targetNamespace='http://webservices.maplink2.com.br' 
xmlns='http://www.w3.org/2001/XMLSchema' 
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
xmlns:tns='http://webservices.maplink2.com.br' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |  element name='getToken'
  |   complexType
  |sequence
  | element maxOccurs='1' minOccurs='0' name='user' type='string'/
  | element maxOccurs='1' minOccurs='0' name='pwd' type='string'/
  |/sequence
  |   /complexType
  |  /element
  |  element name='getTokenResponse'
  |   complexType
  |sequence
  | element maxOccurs='1' minOccurs='0' name='getTokenResult' 
type='string'/
  |/sequence
  |   /complexType
  |  /element
  | /schema
  | 
  | 
  | ClientEndpointMetaData:
  |  type=JAXWS
  |  qname={http://webservices.maplink2.com.br}AuthenticationSoap
  |  
address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
  |  binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
  |  seiName=null
  |  configFile=META-INF/standard-jaxws-client-config.xml
  |  configName=Standard Client
  |  authMethod=null
  |  properties={}
  | 
  | OperationMetaData:
  |  qname={http://webservices.maplink2.com.br}getToken
  |  javaName={http://webservices.maplink2.com.br}getToken
  |  style=document/literal/WRAPPED
  |  oneWay=false
  |  soapAction=http://webservices.maplink2.com.br/getToken
  | ClientEndpointMetaData:
  |  type=JAXWS
  |  qname={http://webservices.maplink2.com.br}AuthenticationSoap12
  |  
address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
  |  binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
  |  seiName=null
  |  configFile=META-INF/standard-jaxws-client-config.xml
  |  configName=Standard Client
  |  authMethod=null
  |  properties={}
  | 
  | 

[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-16 Thread [EMAIL PROTECTED]
Ahhh... *Chapter* 3.1!

First of all.. don't use 1.3.0.. you will find several bugs that we have 
fixed... including the documentation.

Second...  you have FIFO on the cluster, but we aways distribute messages to 
the local queue first.

Say, you have a ClusteredQueue deployed in two servers. When you send a message 
to that queue, any clients connected to that server will receive the message 
first. Look at other threads as we have discussed this recently.
anonymous wrote : 
  | To that end I have written a test program based in the distributed queue 
example. It posts 50 messages to a distributed queue then creates 2 listeners 
and consumes the messages. I was suprised to see that the message consumption 
was so random. I would have expected FIFO consumption. I tried setting 
DefaultPreserveOrdering=true but that caused all the message to be consumed by 
one listener. Essentially, it defeated load balancing. Is there a way to get 
FIFO consumption and load balancing? The Random House Unabridged dictionary 
defines Queue As

You are using 1.3.0... You really should get to use 1.4.0.SP3.

Also... be aware of the local queue behaviors on the clustering. We don't do 
singleton cluster as that would be performance prohibitive.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: grep jboss in linux serevr return many lines

2008-04-16 Thread PeterJ
Most threads represent new http connections - the more simultaneous http 
requests you have the more threads get run (and thus the more processes you 
will see). This is not a problem, it is just the way it works. 

Also, in a recent forum post (which I have not been able to locate) we 
discussed an issue whereby jbossas is not releasing http-related threads after 
they have gone idle. This could be a Tomcat 6.0 issue because the configuration 
options that used to govern this are no longer mentioned in the Tomcat 6.0 docs.

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread [EMAIL PROTECTED]
This is our code:

public class SOAPMessageUnMarshallerHTTP implements UnMarshaller
  | {
  |private static List validResponseCodes = new ArrayList();
  |static
  |{
  |   validResponseCodes.add(HttpServletResponse.SC_OK); // 200
  |   validResponseCodes.add(HttpServletResponse.SC_ACCEPTED);
  |   validResponseCodes.add(HttpServletResponse.SC_NO_CONTENT);
  |   validResponseCodes.add(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
  |}
  | 
  |public Object read(InputStream inputStream, Map metadata)
  |throws IOException, ClassNotFoundException
  |{
  |...
  |if (validResponseCodes.contains(resCode) == false)
  |   throw new WSException(Invalid HTTP server response [ + resCode + ] 
-  + resMessage);
  |...
  | }

That means we are able to process correctly the following HTTP codes:
200, 202, 204 and 500

Your response contains 501 HTTP code thus you are receiving the above exception 
:(
Anyway could you post me the response message body? I mean the one that 
contains 501 HTTP code.

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : 
  | Anyway could you post me the response message body? I mean the one that 
contains 501 HTTP code.

I'd like to see if it's correct SOAP fault message or not.

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

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


[jboss-user] [JBoss jBPM] - Referencing JSF components from Javascript in JPDL forms

2008-04-16 Thread luiseterc
Hi,

I have modified a xhtml task form generated by the Graphical designer plugin in 
order to add a combobox component:


  |   h:selectOneMenu onchange=updateTopic(this); id=topicCombo 
value=#{ChooseTopicBean.value} styleClass=combobox
  |value=#{ChooseTopicBean.items}/
  |   /h:selectOneMenu
  | /jbpm:datacell
  | 

and defined apart a JS function called updateTopic(ref) which try to change 
the value of another jsf component when select any of the combobox's options, 
that is:


  | h:inputText id=inputTopic value=#{var['topic']} /
  | 

I don't know how to reference the inputText from my JavaScript function since 
I've seen from the generated HTML page parsed by the browser that the 
components/forms IDs are generated dynamically:


  | input id=j_id197:inputTopic type=text name=j_id197:inputTopic /
  | 

So, I'll get an error if I try to reference as 
document.getComponentById('inputTopic').

Where is the j_id197 id name coming from? Is there any other way to reference 
jsf components from Javascript?

Thanks in advance.

Cheers. 

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

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


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

2008-04-16 Thread aamonten
Ok, I will comment that on the jira, this should not be a priority to fix then.

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
With wireshark I got:

GET /webservices/v3/Authentication/Authentication.asmx?WSDL HTTP/1.1
  | 
  | User-Agent: Java/1.5.0_06
  | 
  | Host: webservices.maplink2.com.br
  | 
  | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
  | 
  | Connection: keep-alive
  | 
  | Content-type: application/x-www-form-urlencoded
  | 
  | 
  | 
  | HTTP/1.0 200 OK
  | 
  | Date: Wed, 16 Apr 2008 17:08:56 GMT
  | 
  | Server: Microsoft-IIS/6.0
  | 
  | X-Powered-By: ASP.NET
  | 
  | X-AspNet-Version: 2.0.50727
  | 
  | Cache-Control: private, max-age=0
  | 
  | Content-Type: text/xml; charset=utf-8
  | 
  | Content-Length: 3399
  | 
  | X-Cache: MISS from fw0-sp.buscape-local.com.br
  | 
  | Via: 1.0 fw0-sp.buscape-local.com.br:3128 (squid/2.6.STABLE16)
  | 
  | Connection: keep-alive
  | 
  | 
  | 
  | ?xml version=1.0 encoding=utf-8?
  | 
  | wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/; 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; 
xmlns:tns=http://webservices.maplink2.com.br; 
xmlns:s=http://www.w3.org/2001/XMLSchema; 
xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; 
xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; 
targetNamespace=http://webservices.maplink2.com.br; 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
  | 
  |   wsdl:types
  | 
  | s:schema elementFormDefault=qualified 
targetNamespace=http://webservices.maplink2.com.br;
  | 
  |   s:element name=getToken
  | 
  | s:complexType
  | 
  |   s:sequence
  | 
  | s:element minOccurs=0 maxOccurs=1 name=user 
type=s:string /
  | 
  | s:element minOccurs=0 maxOccurs=1 name=pwd 
type=s:string /
  | 
  |   /s:sequence
  | 
  | /s:complexType
  | 
  |   /s:element
  | 
  |   s:element name=getTokenResponse
  | 
  | s:complexType
  | 
  |   s:sequence
  | 
  | s:element minOccurs=0 maxOccurs=1 name=getTokenResult 
type=s:string /
  | 
  |   /s:sequence
  | 
  | /s:complexType
  | 
  |   /s:element
  | 
  | /s:schema
  | 
  |   /wsdl:types
  | 
  |   wsdl:message name=getTokenSoapIn
  | 
  | wsdl:part name=parameters element=tns:getToken /
  | 
  |   /wsdl:message
  | 
  |   wsdl:message name=getTokenSoapOut
  | 
  | wsdl:part name=parameters element=tns:getTokenResponse /
  | 
  |   /wsdl:message
  | 
  |   wsdl:portType name=AuthenticationSoap
  | 
  | wsdl:operation name=getToken
  | 
  |   wsdl:documentation 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;Cria token para autenticao do 
usu..rio/wsdl:documentation
  | 
  |   wsdl:input message=tns:getTokenSoapIn /
  | 
  |   wsdl:output message=tns:getTokenSoapOut /
  | 
  | /wsdl:operation
  | 
  |   /wsdl:portType
  | 
  |   wsdl:binding name=AuthenticationSoap type=tns:AuthenticationSoap
  | 
  | soap:binding transport=http://schemas.xmlsoap.org/soap/http; /
  | 
  | wsdl:operation name=getToken
  | 
  |   soap:operation 
soapAction=http://webservices.maplink2.com.br/getToken; style=document /
  | 
  |   wsdl:input
  | 
  | soap:body use=literal /
  | 
  |   /wsdl:input
  | 
  |   wsdl:output
  | 
  | soap:body use=literal /
  | 
  |   /wsdl:output
  | 
  | /wsdl:operation
  | 
  |   /wsdl:binding
  | 
  |   wsdl:binding name=AuthenticationSoap12 type=tns:AuthenticationSoap
  | 
  | soap12:binding transport=http://schemas.xmlsoap.org/soap/http; /
  | 
  | wsdl:operation name=getToken
  | 
  |   soap12:operation 
soapAction=http://webservices.maplink2.com.br/getToken; style=document /
  | 
  |   wsdl:input
  | 
  | soap12:body use=literal /
  | 
  |   /wsdl:input
  | 
  |   wsdl:output
  | 
  | soap12:body use=literal /
  | 
  |   /wsdl:output
  | 
  | /wsdl:operation
  | 
  |   /wsdl:binding
  | 
  |   wsdl:service name=Authentication
  | 
  | wsdl:port name=AuthenticationSoap binding=tns:AuthenticationSoap
  | 
  |   soap:address 
location=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx;
 /
  | 
  | /wsdl:port
  | 
  | wsdl:port name=AuthenticationSoap12 
binding=tns:AuthenticationSoap12
  | 
  |   soap12:address 
location=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx;
 /
  | 
  | /wsdl:port
  | 
  |   /wsdl:service
  | 
  | /wsdl:definitionsGET 
/webservices/v3/Authentication/Authentication.asmx?WSDL HTTP/1.1
  | 
  | User-Agent: Java/1.5.0_06
  | 
  | Host: webservices.maplink2.com.br
  | 
  | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
  | 
  | Connection: keep-alive
  | 
  | Content-type: application/x-www-form-urlencoded
  | 
  | 
  | 
  | HTTP/1.0 200 OK
  | 
  | Date: Wed, 16 Apr 2008 17:08:56 GMT
  | 
  | Server: Microsoft-IIS/6.0
  | 
  | X-Powered-By: ASP.NET
  | 
  | X-AspNet-Version: 

[jboss-user] [Management, JMX/JBoss] - Re: Start / stop of application

2008-04-16 Thread [EMAIL PROTECTED]
Hi Clive,

Thanks! I guess I can list all deployed applications with the listDeployed() 
method. However I cannot find any method to stop an application. There is the 
undeploy(DeploymentInfo) method, but I cannot find any method to just stop a 
specific application...

BR,
Mattias

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

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


[jboss-user] [JBossWS] - Reg Installation

2008-04-16 Thread shruthi
H

I am a newbie to jboss web services. I have downloaded jbossws 1.2.1 GA and as 
per the instructions, i tried to install it. But the problem is i am unable to 
find ant.properties file where i can copy ant.properties.example. Could u plzzz 
let me know where this file resides. I searched in the folder where i installed 
ant, but of no use. Any help is appreciated

Thanks in advance
Shruthi

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

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


  1   2   >