[JBoss-user] [Javassist user questions] - Constructor -> Method

2005-09-12 Thread marcinbr
Is it possible to change constructor in method? I tried to change method name 
but unfortunately there was "super()" statement which left in method and that's 
why my class isn't compiling. Is it any other way of changing constructor into 
method?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - ClassNotFoundException when deploying embedded RAR with ear

2005-09-12 Thread ronnc
I have a RAR that is embedded in an EAR. My EAR deployer is set to use isolated 
class loader repository (non sharing). Upon deployment of the EAR, the RAR gets 
picked up but RARDeployment could not find the dependent classes (which reside 
solely in the EAR).

It appears that I need to pull out those classes and put it in the share lib 
directory for RARDeployment to be able to find them. 

Is it possible to specify a EAR class repository for the RARDeployer ? 
Logically, if the RAR is inside an EAR I shouldn't need to pull apart the EAR 
just so that I can have isolated class loading scheme.

Help/comments would be appreciated.


  | 14:01:40,948 ERROR [RARDeployment] Could not find ManagedConnectionFactory 
class: com.savi.common.reports.connector.server.ReportManagedConnectionFactory
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.savi.common.reports.connector.server.ReportManagedConnectionFactory
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  | at 
org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:548)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:418)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:440)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy32.start(Unknown Source)
  | at 
org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
  | at 
org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  | at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy32.start(Unknown Source)
  | at 
org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
  | at 
org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
  | a

[JBoss-user] [Installation, Configuration & Deployment] - Re: sar deployment

2005-09-12 Thread jaikiran
You can have your ear structure as follows:

 MyApp.ear
  |
   MyApp.sar (contains jboss-service.xml)
  |
   MyApp.war
  |
   MyApp.jar

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: clustered jaas login

2005-09-12 Thread brain101
i´m using the all configuration and deploy my application in the farm 
directory. i´m using sticky sessions, but despite that, the apache redirects 
the requests to both jboss instances

the test that i did was manually by pressing the reload button of the browser, 
but the redirect after the j_security_check is done immediately

is there a possibility to set the cached user principal manually or to set a 
lock for the second server, so it has to wait until the principal is replicated?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - sar deployment

2005-09-12 Thread raja5000
I am new to the concept of sar files.
I would like to know if i can pack sar files along with jar files in ear file 
and deploy. 
If it is possible Pl. let me know how to do it.



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du

2005-09-12 Thread jaikiran
Can you post the contents of jboss-service.xml present in server/default/conf 
directory

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: clustered jaas login

2005-09-12 Thread [EMAIL PROTECTED]
Looks like I need to change the log messages so I can distinguish the clustered 
version from the standalone :)

Questions:

Is all this switching between servers because you're not using stick sessions 
in your load balancer?

When you say it takes several seconds, is that based on a controlled test, or 
basically manipulating the browser by hand?  The reason I ask is a delay of 
several seconds is extreme; some hundreds of ms would not surprise me.

By default, the TreeCache used for SSO replication is configured for 
asynchronous replication.  If you use a browser redirect after login, it's 
quite possible the redirect will beat the SSO replication.  For this kind of 
scenario you need to configure the TreeCache to use REPL_SYNC.  This can be 
configured in the tc5-cluster-service.xml file.

BUT, this same tree cache is also used for http session replication, so 
switching to REPL_SYNC can have a significant performance impact if you're 
using HttpSession replication.

It's possible to configure a separate TreeCache for the SSO, although that adds 
overhead to the overall system.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JSP/Servlet .war/.ear example needed.

2005-09-12 Thread Coolerking
Can someone plz post a simple HelloWorld example where a JSP page links to a 
Servlet?

JSP page is always found. Clicking on the Servet link from within the JSP page 
yields nothing.

I'm having a tough time getting the Servlet to work. 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: clustered jaas login

2005-09-12 Thread brain101
hi brian!
thanks for your reply.
i had now a look at the server.xml, the ClusteredSingleSignOn valve ist 
activated:


it now seems, that the principal is replicated some seconds after the login, 
her is the scenario:
login form is delivered from server A
login form is sent to j_security_check to server B (server B is doing the login)
user is redirected to the login success page on server A. but at that moment, 
the user is not logged in on server A. when you wait some seconds an reload the 
login success page on server A, the user is also logged in on server A, and the 
console says:
07:13:21,102 INFO  [Engine] SingleSignOn[localhost]:  Found cached principal 
'wolfuw' with auth type 'FORM'
so it seems, that the relplication has a delay of several seconds, but this is 
too slow for me

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: clustered jaas login

2005-09-12 Thread [EMAIL PROTECTED]
Looks like you're using the non-clustered SingleSignOn valve.  You need to use 
the ClusteredSingleSignOn valve (which can be found and uncommented in the 
standard server.xml file just below the non-clustered version).

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: antlr/RecognitionExcepti

2005-09-12 Thread andrewi
"vlokesh" wrote : Your Query is wrong
  | 
  | Change this 
  | 
  | return (CustomerCMP) em.createQuery("from Customer c where c.Name 
=:Name").getSingleResult()
  | 
  | return em.createQuery("from Customer c").getResultList();
  | 
  | To
  | 
  | return (CustomerCMP) em.createQuery("from CustomerCMP c where c.Name 
=:Name").getSingleResult()
  | 
  | return em.createQuery("from CustomerCMP c").getResultList();
  | 
  | in both method calls.
  | 
  | Regards.
  | 
  | Lokesh.
  | 
  | 
Hi Lokesh,

the getCustomers works great. The getCustomer (code see below) now generates 
the exception below. The server is still running and I can rerun the client 
with the same results.

What did I screw up ?

tia

 exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy0.getCustomer(Unknown Source)
at client.Client.getOneCust(Client.java:47)
at client.Client.main(Client.java:31)
Caused by: java.rmi.ConnectException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is: 
java.net.SocketTimeoutException: Read timed out

private static void getOneCust() 
  |   {
  |   System.out.println("Getting");
  |   CustomerCMP cust1 = cust.getCustomer("Andrew");
  |   System.out.printf("%s %s\r\n", cust1.getName(), 
cust1.getContact());
  |   System.out.println("done");
  |   }
  | 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't save data in database

2005-09-12 Thread vlokesh
Can you post your hibernate.cfg.xml file for reference. 

Regards.

Lokesh.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: antlr/RecognitionExcepti

2005-09-12 Thread vlokesh
Your Query is wrong

Change this 

return (CustomerCMP) em.createQuery("from Customer c where c.Name 
=:Name").getSingleResult()

return em.createQuery("from Customer c").getResultList();

To

return (CustomerCMP) em.createQuery("from CustomerCMP c where c.Name 
=:Name").getSingleResult()

return em.createQuery("from CustomerCMP c").getResultList();

in both method calls.

Regards.

Lokesh.



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to start up multiple hsql database?

2005-09-12 Thread netiskra
Hi, all.

I know that HSQL can serve up to 10 different databases simultaneously in 
1.8.0. 

Does anybody know how to start up multiple hsql database? 

And I want a dbname(alias) each hsql database too.

When I start up JBoss 4.0.2... what I have to do? 


I need your help. thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Getting the HttpSession of a SOAP service?

2005-09-12 Thread sbalmos
Hi all,

I have some POJO classes configured as SOAP services with JAX-RPC. However, I'd 
like to get to the HttpSession object of the context that the SOAP service is 
running under, so that I can maintain session-level data for my service's 
clients (and hopefully have that session data replicated across my cluster with 
JBoss Cache later. :D).

After much Googling around, it seems that I need to use 
ServletEndpointContext.getHttpSession() in server//lib/jboss-jaxrpc.jar . 
However, ServletEndpointContext is an interface, and the type hierarchy in 
Eclipse shows no implementing classes.

Can someone please point me in the right direction as to how to get to the 
attached HttpSession object? Thanks!

--Scott


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: antlr/RecognitionExcepti

2005-09-12 Thread andrewi
"vlokesh" wrote : What configuration are you using for your deployment? default 
or all?  The error says that you dont have antlr.jar in your classpath.  If you 
are deploying the ejb app under all configuration then it will not throw that 
exception.  antlr.jar is used to constructing the queries.
  | 
  | Regards.
  | 
  | Lokesh.

hi,

i am using all but I included antlr-2.7.5.H3.jar and now I get the following 
error. If I can write why not read ?

Exception in thread "main" javax.ejb.EJBException: null; CausedByException is:
Customer is not mapped. [from Customer c]
at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:195)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:69)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:325)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:201)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:259)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:327)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:147)
org.hibernate.hql.ast.QuerySyntaxException: Customer is not mapped. [from 
Customer c]
at 
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:145)
at 
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:86)
at 
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:72)
at 
org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:260)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3019)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2908)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:676)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:532)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:269)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:217)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:211)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:153)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:100)
at 
org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:459)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:904)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:854)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:41)
at com.meerkat.jfr.ejb.CustomerBean.getCustomers(CustomerBean.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:99)
at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.aspects

[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: antlr/RecognitionExcepti

2005-09-12 Thread vlokesh
What configuration are you using for your deployment? default or all?  The 
error says that you dont have antlr.jar in your classpath.  If you are 
deploying the ejb app under all configuration then it will not throw that 
exception.  antlr.jar is used to constructing the queries.

Regards.

Lokesh.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - java.lang.NoClassDefFoundError: antlr/RecognitionException

2005-09-12 Thread andrewi
My bean adds to the DB fine, I can see it in the HSQL DB Manager but whichever 
way I try to retieve the info it comes up with the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: 
antlr/RecognitionException
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredField(Unknown Source)
at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)
at java.io.ObjectStreamClass.access$600(Unknown Source)
at java.io.ObjectStreamClass$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(Unknown Source)
at java.io.ObjectStreamClass.lookup(Unknown Source)
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:72)
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:244)
at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:117)
at org.jboss.remoting.Client.invoke(Client.java:201)
at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:41)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88)
at $Proxy0.getCustomer(Unknown Source)
at client.Client.main(Client.java:34)


package com.meerkat.jfr.ejb;
  | 
  | import java.util.Collection;
  | import java.util.List;
  | 
  | import javax.ejb.Stateful;
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import javax.transaction.Transaction;
  | 
  | import org.jboss.aspects.Current;
  | 
  | import com.meerkat.jfr.par.CustomerCMP;
  | 
  | @Stateless
  | public class CustomerBean implements Customer {
  | 
  | @PersistenceContext(unitName = "cust")
  | private EntityManager em;
  | @Current Transaction tx;
  | 
  | public CustomerCMP addCustomer(String Name, String Contact)
  | {
  | CustomerCMP cust = new CustomerCMP(Name, Contact);
  | em.persist(cust);
  | em.flush();
  | return cust;
  | }
  | public CustomerCMP getCustomer(String Name)
  | {
  | return (CustomerCMP) em.createQuery("from Customer c where 
c.Name =:Name")
  | .setParameter("Name", 
Name)
  | .getSingleResult();
  | }
  | public List getCustomers()
  | {
  | return em.createQuery("from Customer c").getResultList();
  | }
  | 
  | }
  | 
import javax.persistence.*;
  | 
  | @Entity
  | @Table(name = "CUSTOMER")
  | public class CustomerCMP implements java.io.Serializable{
  | 
  | private Long id;
  | private String name;
  | private String contact;
  | //  private Address address;
  | //  private List StoreList;
  | 
  | public CustomerCMP(){} 
  | 
  | public CustomerCMP(String Name, String Contact) 
  | {
  | //  Debug.print("Create", this);
  | this.name = Name;
  | this.contact = Contact;
  | }
  | 
  | @Id(generate = GeneratorType.AUTO)
  | @Column(name = "

[JBoss-user] [Beginners Corner] - Re: Can I use expressions in jboss.xml

2005-09-12 Thread anguyen
I know that this type of variable substitution works in ejb-jar.xml.  From what 
I've seen, you can do this type of thing in any JBoss XML config file.  In 
4.0.2, you can even specify a default value: 
${jboss.partition.name:DefaultPartition}



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: All elements are SOAPElements?

2005-09-12 Thread platinumdragon
Came across a random snippet while googling.  Apparently this is another 
example of JAX-RPC 1.x 's poor error management.  It doesn't support the full 
XML schema (in this case, the 'choice' element), yet charges forward blindly 
and does not report a problem.

I am experimenting with the early release of JAX-RPC 2.0 which is supposed to 
support the full XML schema.  It looks like they put a lot of work into this 
release.  Hopefully the error management has been improved as well.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.2 web deployment module query

2005-09-12 Thread vlokesh
I guess you did something wrong in creating the .war file.  According to me you 
might have created war on example2 folder. Dont do this, go to example2 folder 
and then create the war file.  For example if your folder is under c:\example2 
then do the following.

1) cd c:\example2
2) jar -cvf example2.war *

you might have done as below.

1) c:\> jar -cvf example2.war example2/* or zipped it using tools like winzip.

If you still like to do the way you did then you need to change the servlet 
mapping in the web.xml...you need to specify 

/example2/servlet/HelloWorld

Regards.

Lokesh.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: server.log gets deleted every time jboss server starts u

2005-09-12 Thread vlokesh
Use org.apache.log4j.DailyRollingFileAppender in place of RollingFileAppender.

Example
***
< appender name="File" class="org.jboss.logging.appender.DailyRollingAppender >
  < param name="FILE" value="${jboss.server.home.dir}/log.server.log}/>
  < param name="Append" value="false"/>
  < param name="Threshold" value="INFO"/>
  
  < param name="DatePattern" value="'.'-MM-dd"/>
  
  < param name="DatePattern" value="'.'-MM-dd-HH"/>
  
< /appender>

Regards.

Lokesh.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Using IBM JDK1.4.2 with JBoss App Server

2005-09-12 Thread loveena_k

Hello All,

I have installed Jboss-4.0.2 on RHEL 2.1. Everything works fine when I use Sun 
JDK1.4 but when I try starting Jboss after pointing my JAVA_HOME to IBM 
JDK1.4.2, it fails to start.
Anyone tried using IBM JDK with Jboss ?

Thanks in advance,
Lovina.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread vlokesh
Claudia,

Can you please post the exception stack for my reference.  You can find the 
full stack under /server//log folder.  If you are using  
configuration then replace the  with all.

Regards.

Lokesh. 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How to build Portal

2005-09-12 Thread [EMAIL PROTECTED]
Ignore the Nukes comment, it was left over from our old build structure from 
the Nukes CMS.

We don't recommend you build the modules independently. We do while we are 
developing and testing, however. So to build it all, do build/build main, and 
it will compile all modules.

Otherwise, you are trying to build the server module, and it may be failing as 
it has dependencies with other modules that have not been built.

Commit messages get forwarded to: [EMAIL PROTECTED] You can sign up on this 
page: http://sourceforge.net/mail/?group_id=22866, but you will have to filter 
emails, as ALL JBoss project commits go there.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: All elements are SOAPElements?

2005-09-12 Thread platinumdragon
Actually, what I'm doing is very similar to the venetian blind design at 
http://devresource.hp.com/drc/slide_presentations/schemaWSDL/index.jsp (Figure 
5).  In my case, the CustomerDetails and PartList elements of QuoteRequestType 
are SOAPElements instead of a generated type.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Great but...

2005-09-12 Thread ccsaxton
"[EMAIL PROTECTED]" wrote : 
  | #3 I assume you mean for replication. A new thread is used (but not 
created). Essentially the listener thread which receives the replication 
message. *However*, we use the same global transaction, so the 2PC works.

I was assuming that the cache uses a thread for the eviction policy even if it 
is not a replicated cache...(is that not so...I haven't looked at the code 
yet). This assumption was made on the premise that I have to call startService 
and stopService methods.

#2 is easy to replicate...create a listener and add it to a cache...add a node 
to the cache and then in the listener logic that catches the node add event 
just try and lookup the newly added node from the cache using the passed 
FQN...returns null.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Tree Cache deploymnet in WAS for Network Deploymen

2005-09-12 Thread dnielben
Hi! This looks more like a question for IBM.

However, you can change manually the file on each node!

If this seems to ugly, you can change the cache properties in the program, but 
as you used urgent in your post..maybe this will take u more time.

I think is better to change it manually! (While you test the solution with 
program)

I hope this help you, I am assuming that u are using WAS 5 isn't it? Be 
carefull because the configuration files are read from a different place where 
the ear is expandend.



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Can I use expressions in jboss.xml

2005-09-12 Thread radix_zero
I have an application is deployed in a cluster.

in the jboss.xml can i use,



 ...
True

${jboss.partition.name}

...
 


rather than manually changing the partition name each time i want to deploy to 
a different cluster?


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - how to set Preferences

2005-09-12 Thread sandeeppujar
Hello,

What is the best way to set preferences in portlets. Is there some document I 
can refer to.
I have setup mysql database as the data source to store the preferences.

I am looking to store prefernces 
1. as some key - value pair.
2. Per user.

Other question is can I use PortletPreferences interface from the RenderRequest 
object ?

thanks,
Sandeep


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: server.log gets deleted every time jboss server starts u

2005-09-12 Thread tmcanales
How do you confgure JBoss keep the server.log file after every server startup?  
In separate files, like for example server.log09272005.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - All elements are SOAPElements?

2005-09-12 Thread platinumdragon
Hi,

I have created a WSDL, and generated the server classes using wscompile.  In 
looking at the objects created, all of my subelements are SOAPElements, instead 
of the type I specified.

For instance,

  | 
  | 
  |
  |   
  |
  | 
  | 
  | 

It'll generate a "MyType" class, but it will have a SOAPElement for 
ComplexName.  Why is this?

Thanks,
Mike

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How to build Portal

2005-09-12 Thread jlaskowski
Hi,

Just to make sure I'm doing it properly, does the ant -f build/build.xml 
command build JP? 

The question stroke me right after having noticed that the build/build.xml file 
contains "Nukes (The OpenSource CMS) Build File" whereas server/build.xml does 
"JBoss Portal (The OpenSource Portal) Build File", but keeps failing.

An aside question, what mailing list do the commit messages go?

Jacek

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Great but...

2005-09-12 Thread [EMAIL PROTECTED]
You can't create *Region* (essentially a sub-tree) dynamically now.

-Ben

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: dukebank with HSQL

2005-09-12 Thread garybor
I can't login to the actual  dukebank  log on page.
I created the db tables and the data is there.
But,  when I try to log in,  the message in the server/log is 
DEBUG [org.jboss.security.auth.spi.DatabaseServerLoginModule] Bad password for 
username=200.  also the when the client starts I see a lot of errors in the cmd 
promt  [java] java.rmi.
 nested exception is:.ServerException: RemoteException occurred in server 
thread. Any ideas why it happenes?


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: EJB3 Remote Client JNDI Problem

2005-09-12 Thread ypan
How do you deploy your EJB3 beans (Entity and session ) into ejb3.deployer in 
jboss? can you send me  a detail by email?

Thanks



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't save data in database

2005-09-12 Thread altheaparker
I was having the same problem too, and for a day and a half nearly went out of 
my mind trying to figure out why the data wouldn't save! Then I realized it was 
simple - I forgot to add session.flush() after saving but before closing the 
session. With jboss you use a HAR and put it in an EAR. By putting the 
hibernate classes in a HAR along with hibernate-service.xml as I understand you 
don't configure hibernate anymore with the hibernate.cfg.xml or 
hibernate.properties files. You also don't build the SessionFactory either you 
reference it, and don't need to do the transactions yourself in the method but 
the container will do them for you -of course don't forget to put in the 
ejb-jar.xml that your method has a required container managed transaction :) I 
think jboss also sets up the transaction configuration for you too, so you 
don't need to configure that for hibernate either.

Here is my method:

  public void store(String title, Date theDate) throws EJBException
  {
   System.out.println("EventFacadeBean.store: entered in method");
   Session hsession = null;

   try
   {

 InitialContext ctx  = new InitialContext();
 SessionFactory factory = (SessionFactory) 
ctx.lookup("java:/hibernate/SessionFactory");
 hsession = factory.openSession();

 Event theEvent = new Event();
 theEvent.setTitle(title);
 theEvent.setDate(theDate);

 hsession.save(theEvent);

   } catch(Exception e) {
 System.out.println("Exception found. " + e.getMessage());
   } finally {
 if (hsession!=null){
   hsession.flush();
   hsession.close();
 }
}
System.out.println("EventFacadeBean.store: finished method");
  } 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Using external classes inside a EJB

2005-09-12 Thread darranl
If you package the classes with the message driven bean jar instead of the war 
then both should be able to see the classes.

An EJB tier should not have visibility of the web application so in theory 
different clients could be used.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: DS

2005-09-12 Thread darranl
Please STOP, the original question is three years old.

The user was attempting to access a datasource from outside the JVM which is 
not allowed if the datasource is bound to the 'java:' namespace.  The user was 
also given the correct answer three years ago!

If you read the original question you would see the user can connect to JNDI as 
they can lookup a queue without any problems.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: faqs on each forums

2005-09-12 Thread darranl
The Wiki should be your starting point there are a few FAQs there.

http://www.jboss.com/wiki/Wiki.jsp

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - problem with stop method in org.jboss.mq.SpyConnection

2005-09-12 Thread berkgypsy
It seems like the stop() method on the SpyConnection class in JBoss4.0.1 may 
not be working properly, unless I am doing something wrong.  I have message 
consumer classes that implement MessageListener and register themselves with a 
QueueReceiver, like so:


  | Properties props = getJndiContextProperties();
  | context = new InitialContext(props);
  | this.queueConn = getQueueConnection( context );
  | log.info("queueConn created: " + queueConn.toString());
  | this.queueSession = this.queueConn.createQueueSession(false, 
Session.AUTO_ACKNOWLEDGE);
  | 
  | this.queue = (Queue) context.lookup(getJndiQueueName());
  | this.queueReceiver = queueSession.createReceiver(queue);
  | this.queueReceiver.setMessageListener(this);
  | this.queueConn.start();
  | 

I also have a method on the message consumer class that is accessible from the 
jmx console whose body looks like this:


  | /**
  |  * Stop the QueueConnection
  |  * @jmx.managed-operation
  |  *  description="stop the JMS queue connection for this message 
consumer"
  |  */
  | public void stopJMSConnection()
  | {
  | try{
  | if(queueConn != null)
  | {
  | log.info("stopping JMS Connection on " + 
this.getQueueName());
  | log.info("queueConn instance of: " + 
queueConn.getClass().getName());
  | queueConn.stop();
  | if(queueConn instanceof org.jboss.mq.SpyConnection)
  | log.info("modestop: " + ((org.jboss.mq.SpyConnection) 
queueConn).modeStop);
  | log.info("stop returned, connection: " + 
queueConn.toString());
  | }
  | }catch(Exception e)
  | {
  | log.error("Error stopping JMS Connection: " + e);
  | }
  | }
  | 

If I execute the stopJMSConnection method from the jmx-console and then send a 
message to the queue, the MessageListener still processes it, even though the 
QueueConnection is in a stopped state:

log snippet:
...
12:01:30,249 INFO  [jmx.MessageConsumer 219] queueConn created: [EMAIL 
PROTECTED]:null/82177ec4472b323eccc23111dbe2752f rcvstate=STOPPED]
...
12:01:30,374 INFO  [jmx.MessageConsumer 280] started JMS Connection on 
AbstractMessageConsumer for queue archiveQ2 queueConn: [EMAIL 
PROTECTED]:ID:7/82177ec4472b323eccc23111dbe2752f rcvstate=STARTED]
...
12:01:31,327 INFO  [server.Server 432] JBoss (MX MicroKernel) [4.0.1 (build: 
CVSTag=JBoss_4_0_1 date=200412230944)] Started in 31s:515ms
...
12:01:48,109 INFO  [jmx.MessageConsumer 308] stopping JMS Connection on 
archiveQ2
12:01:48,109 INFO  [jmx.MessageConsumer 309] queueConn instance of: 
org.jboss.mq.SpyConnection
12:01:48,109 INFO  [jmx.MessageConsumer 312] modestop: true
12:01:48,109 INFO  [jmx.MessageConsumer 313] stop returned, connection: [EMAIL 
PROTECTED]:ID:7/82177ec4472b323eccc23111dbe2752f rcvstate=STOPPED]
...
12:01:53,937 INFO  [jmx.QueueManager 583] route participantId 
3fdefefb185baa4a9bf09fbbfc38b2bb to queueNumber 2
12:01:53,937 INFO  [jmx.MessageConsumer 76] received message, connection [EMAIL 
PROTECTED]:ID:7/82177ec4472b323eccc23111dbe2752f rcvstate=STOPPED]
...

Any ideas?

Thx

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Communication between clusters

2005-09-12 Thread comodi
Suppose we have two separated cluster in the same network, is it possible to a 
cluster member to receive informations on the membership of the other cluster? 
How?

Thanks, L.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Hibernate: 1-to-Many, help!

2005-09-12 Thread javatwo
Could someone tell me how to manage the collection of one-to-many mapping?

I have a very simple one-to-many relationship: an Item has many Picture(s). 

ENTITY -- Item 
@... 
public class item { 
private Collection pictures; 
private Integer id; 

// getter/setter for id and @Id(...) 


@OneToMany(cascade = {CascadeType.MERGE}, fetch = FetchType.EAGER, 
mappedBy="item") 
public Collection getPictures() { 
return pictures; 
} 

public void setPictures(Collection pictures) { 
this.pictures = pictures; 
} 

public void addPicture(Picture p) { 

if (pictures == null) 
pictures = new ArrayList(); 
pictures.add(p); 

} 
} 

ENTITY Picture -- 
@  
public class Picture { 
private Item item; 
private Integer id; 

// constructor 
public Picture(Item item, ) { 
this.item = item; 
 
} 
// getter/setter for id and @Id(...) 

@ManyToOne 
@JoinColumn(name="itemId") 
public Item getItem() { 
return item; 
} 

public void setItem(Item item) { 
this.item = item; 
} 
} 

I create an Item in persistence without any pictures. Then use a session bean 
to add pictures to the item. 

Session Bean -- 

@Stateless 
public class ItemManagerBean implements ItemManager { 

public void addPictureToItem(Item item, Picture p) { 
item.addPicture(p); 
em.merge(item); 
} 

} 

The merge() ignores those pictures that are already in persistence. 
Add picture P1: ---> persistence: P1, ( great!) 
Add picture P2 ---> persistence: P1, P1, P2 (P1 duplicated) 
Add picture P3 ---> persistence: P1, P1, P2, P1, P2, P3 

Obviously, the merge() ignored what are already in persistence. All pictures 
has Id. EM.merge() should be able to know P1 is already in persistence when 
adding P2. 

If I do not call merge(), nothing will be persisted. 

I do this from Web GUI. Transaction is thread-based.(default) 

Do I miss anything? or Is this a Hibernate bug ? 


- 

I tried one thing: Create a picture in persistence using another session bean. 
Then use em.refresh(item). First time it works, and I can see the picture from 
item.getPictures(). 
Then I create another picture the same way, and call em.refresh(item) again, 
but this time item.getPictures() does not have the second picture. 
Not that I have changed the Cascade type to REFRESH. 

Basically what is the way to manage the collection in one-to-many mapping? 

I am using JBoss 4.0.3RC1 on XP. 

I am very confused. Please help! Thank you. 

Dave 



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss Eclipse IDE tutorial

2005-09-12 Thread jasperboy
Sorry, just seen the thread below which answers this.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - jbossmq-state.xml contains ClientIDs for same MDB

2005-09-12 Thread pcarrollnf
I am running JBoss 3.2.0.  I have configured JMS so that the messages are 
written to SQL Server as opposed to the default Hypersonic database.  This all 
works correctly.  When I start the application, I notice the jbossmq-state.xml 
has the deployed MDB's written in it in the following example:


  |   ID:3 
  |   MyMDB1
  |   MyTopic
  | 
  | 
  |   ID:9
  |   MyMDB2
  |   MyTopic
  | 

When the application posts a topic, the record is written to the JMS_MESSAGES 
table in the SQL Server database and then consumed.

However, when I restart the application, the jbossmq-state.xml will look like 
the following on occassion:


  |   ID:3
  |   MyMDB1
  |   MyTopic
  | 
  | 
  |   ID:9
  |   MyMDB2
  |   MyTopic
  | 
  | 
  |   ID:11
  |   MyMDB1
  |   MyTopic
  | 
  | 
  |   ID:17
  |   MyMDB2
  |   MyTopic
  | 

When a message is produced and written to the database, the messages with 
ClientID 3 and 9 will not be consumed.  These rows will live in the database 
until someone manually goes in there to delete them.  Does anyone know the 
cause and possible solution as to why this may be occurring?  Thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0

2005-09-12 Thread [EMAIL PROTECTED]
I think the first wise step to do is to look at the document doctype in order 
to deploy only the documents which have the good doctype.

But what do you call migration tool ? something that analiyze the deployment 
descriptor and rewrites it ? Perhaps you have some idea to share about that.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss Eclipse IDE tutorial

2005-09-12 Thread jasperboy
Hello, has anyone tried the tutorial from this site that shows you how to 
create and deply a simple EAR (ejb + servlet) to JBoss via the Eclipse IDE ?

It all seems to work fine for me apart from where the servlet looks up the home 
object for the EJB in the init() method.

I get a ClassCast Exception on the 3rd line below

Context context = new InitialContext();
Object ref = context.lookup("java:comp/env/ejb/Fibo");
home = (FiboHome)PortableRemoteObject.narrow(ref, FiboHome.class);

on the last line above - the entries in the xml deployment desciptors look fine

web.xml...


  
  ejb/Fibo
  Session
  tutorial.interfaces.FiboHome
  tutorial.interfaces.Fibo


jboss-web.xml...


  ejb/Fibo
  ejb/Fibo
 

the JNDI name is ejb/Fibo (from the jboss,xml) so I can't see the problem.

Can anyone help ?








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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - webservices question

2005-09-12 Thread collila
An now... Some services

test.ear/test-service-1.0.jar#TestService/TestEndpointPort (wsdl)

How can I change this display to show only: TestEndpointPort (wsdl)

We are using JBoss 4.0.3RC2

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: DII webservice client works using jdk1.4.2_07 but not wi

2005-09-12 Thread PapaBaugh
"sirwio" wrote : I then realized that this might be an xmp parser thingy and 
included the jboss endorsed xercesImpl.jar to my configuration and voila it 
works.
  | 
  | 

Thank you for this follow up post.  I had this same issue and adding 
xercesImpl.jar to my configuration worked for me as well.  -Ryan

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Starting with not empty Farm dir

2005-09-12 Thread Denisius
I have an application - ear file and a set of queues & topic descriptors - xml 
files. 
If i copy their to the 'deploy' folder - descriptors deploy's first and then 
ear - it OK. But if Farm service was enabled and ear and xml files were copied 
to the 'farm' folder before jboss start - jboss tries to deploy ear first - it 
failes because need topics and queues to be deployed before.
I've read in doc (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFarmDeployment) 
that "...Start the server before updating the farm deployment directory...". 
Does it mean that every time i need first to start jboss and only then to copy 
my app to the farm folder? and what about deployment order? in the last case we 
will have ear file first deployed again :)
thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How to deal with dependencies between JCA adaptors?

2005-09-12 Thread reidmp
Unfortunately, even though each RAR does have its own 
JAR, I am still hitting the IllegalAccessException.  I tried 
also changing names on the class repositories to see if 
that helped, but it didn't.  I'm inclined to think that this
may be a JBoss bug.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Working from WSDL

2005-09-12 Thread pure
I find it really hard to find examples on how to generate
a statless session bean exposed as a webservice from
a custom WSDL file using wscompile.

Letting the container generate the WSDL is not an option
becouse we really need to have control over the 
protocol. Our clients are based on several differen
platforms. .NET , Java anc C++ 

Thanx.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Proper configuration of cluster partitions

2005-09-12 Thread dhannum
Hi,

I am trying to create two separate cluster partitions such that I have SSO 
across apps in both partitions (i.e. across the entire cluster), but I only 
have session replication across one partition or the other. I have read that 
this is possible in JBoss 4. I am using 4.0.2.

My app does not use EJB's but all the docs I have found relate to establishing 
partitions for EJB's in the jboss.xml file. The only configuration I did was 
set the partitionName attribute of the 
org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn valve in Tomcat's 
server.xml. The two machines each have a different partitionName, which I 
thought made them two separate partitions.

Apparently, that's not all I need to do because I have session-scoped Spring 
beans that are being propogated across these machines. (I know because if I 
kill the one I'm on, the other machine still knows my session state)

I wasn't able to find any documentation (even in the Wiki) for how to tell 
JBoss which machines are in which partitions. Could someone please point me 
toward some, or tell me what I need to do?

Thank you
Dan

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0

2005-09-12 Thread bsmithjj
Hopefully you will provide migration tools and/or strategies for those of us 
who are actively using JBoss Portal 2.0 for real web applications.

Thanks

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Error on RAR deployment

2005-09-12 Thread maikyal

I have a problem  when I deploy my resource adapter
First I copy the .rar file to /sever/default/deploy
then i copy the -ds.xml file to the same directory and
I have the next error: 


 WARN  [ServiceController] Problem starting service 
jboss.jca:service=ConnectionFactoryBinding,name=xml-connector
java.lang.NullPointerException
at 
org.jboss.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:161)
at 
org.jboss.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:206)
at 
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.bindConnectionFactory(ConnectionFactoryBindingService.java:195)
at 
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingService.java:67)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:436)
at org.jboss.system.ServiceController.start(ServiceController.java:458)
at org.jboss.system.ServiceController.start(ServiceController.java:458)
at org.jboss.system.ServiceController.start(ServiceController.java:458)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
at $Proxy38.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:229)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
at sun.reflect.GeneratedMethodAccessor50.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - connecting to ms sql

2005-09-12 Thread ihcazt
hi all,

i'm trying to connect to ms sql.
i need your help.
thanks

tz

i got that message:

Buildfile: D:\workspace\tutorial\packaging\build.xml
prepare:
compile:
ejbjar:
run:
 [java] Exception in thread "main" javax.ejb.EJBException: null; 
CausedByException is:
 [java] Cannot open connection
 [java] at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46)
 [java] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70)
 [java] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
 [java] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
 [java] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
 [java] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
 [java] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
 [java] at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:195)
 [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
 [java] at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:69)
 [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:325)
 [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:201)
 [java] at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:259)
 [java] at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:313)
 [java] at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:147)
 [java] org.hibernate.exception.GenericJDBCException: Cannot open connection
 [java] at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82)
 [java] at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70)
 [java] at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
 [java] at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
 [java] at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:301)
 [java] at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110)
 [java] at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:77)
 [java] at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:1810)
 [java] at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2265)
 [java] at 
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:34)
 [java] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
 [java] at 
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:266)
 [java] at 
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:164)
 [java] at 
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
 [java] at 
org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:124)
 [java] at 
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:84)
 [java] at 
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
 [java] at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:532)
 [java] at 
org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:130)
 [java] at 
org.jboss.tutorial.packaging.bean.Session1Bean.create1FromFactory(Session1Bean.java:43)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:585)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:99)
 [java] at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32)
 [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvoca

[JBoss-user] [EJB/JBoss] - Re: Using external classes inside a EJB

2005-09-12 Thread sergiocg80
Sorry, I forgot to say the reason why the classes needed by the MDB are in the 
war file (web-inf/classes) is that the war application also uses that classes.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Using external classes inside a EJB

2005-09-12 Thread sergiocg80
Hi! Here's a simple question about EJB's:

I have an EAR file containing a WAR file (WEB-INF/lib, WEB-INF/classes, and all 
that stuff), and a JAR file. The JAR file contains a MDB. A simple scenary, 
isn't it?

Well, my MDB uses classes contained in the WEB-INF/classes of the WAR file.

This works fine in JBoss 4.0.1 and 4.02RC1, but fails (ClassDefNotFound) in 
4.0.2.

Anyway, I find annoying using external classes inside a MDB, and I suppose that 
I'm doing something pretty bad.

Can anybody suggest a workarond to this problem? What should be the 'elegant' 
way to make this work?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: DS

2005-09-12 Thread mdeichsel
Sorry, I forgot the constants:
public static final String NamingFactory = 
"java.naming.factory.initial";
public static final String ProviderUrl = "java.naming.provider.url";


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Secure Webservice under SSL

2005-09-12 Thread maikyal
Thanks anders, i'm going to try it.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread claudia.pt
Lokesh
I have stopped JBoss AS, deleted all the contents of tmp e restart JBoss. When 
I restart the AS he creates again the same temp files.

Have you followed the tutorial i'm using?

I have an EJB with just one method that returns a string. The EJB is correctly 
deployed but i can not create the jsp Web Client because i get
The server encountered an internal error () that prevented it from fulfilling 
this request.
Can you help me PLEASE???

Thanks a lot

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: DS

2005-09-12 Thread mdeichsel
May be you have to add the following lines into your main infront of the 
InitialContext:

System.setProperty(NamingFactory, "org.jnp.interfaces.NamingContextFactory");
System.setProperty(ProviderUrl, "localhost:1099");

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du

2005-09-12 Thread Alkarim

Thanks for replying.  I tried to specify the path in classpath environment 
variable, but am getting the same error message .  Also log4j.xml is in all 3 
subdirectories.  Please let me know if you have other suggestions.  I have seen 
JBOSS_HOME is being set in run.bat.  I do not know if setting the path in the 
batch file will help?

Thanks

Alkarim
 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0

2005-09-12 Thread [EMAIL PROTECTED]
the deployment descriptors portlet-instances.xml and xxx-portal.xml have 
changed, mostly the instance-ref and component-ref have changed because now it 
supposes that the components that could be referenced are in the same war file.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Loader-repositoy ClassLoading

2005-09-12 Thread darras77
Hello,

I use this code to share classes betweeen two project


  | First.ear
  | 
  | xxx:loader=MyLoader.ear
  | 
  | 
  | Second.ear
  | 
  | xxx:loader=MyLoader.ear
  | 
  | 

I want to know if i can find this function or equivalent on different 
application server (WebSphere, WebLogic) if i need to do a migration of my EAR 
application.

Thks for your help
Franck

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Farming hangs

2005-09-12 Thread trossmy
Hi!
This only happens if on Linux:
Cluster with Debian 1:3.3.5-12 
jboss 4.0.2
If I close down the coordinator all the other nodes leave and join a view 
forever like this:
anonymous wrote : 2005-08-26 18:04:25,956 INFO  [org.jboss.cache.TreeCache] 
viewAccepted(): new members: [mcm3:45360, xxx.xxx.xxx.xxx:33130]
  | 2005-08-26 18:04:25,962 WARN  [org.jgroups.protocols.pbcast.GMS] 
checkSelfInclusion() failed, xxx.xxx.xxx.xxx:33130 is not a member of view 
[mcm3:45360|136] [mcm3:45360]; discarding view
  | 2005-08-26 18:04:25,963 WARN  [org.jgroups.protocols.pbcast.GMS] I 
(xxx.xxx.xxx.xxx:33130) am being shunned, will leave and rejoin group 
(prev_members are [mcm3:45344 mcm3:45360 xxx.xxx.xxx.xxx:33130 ])
  | 
Anybody got a clue?
Also  recently if I redeploy an archive in the farm directory, the application 
in question gets undeployed on all the nodes, but will only be redeployed on 
the coordinator?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Version 4.0.2 Classloader

2005-09-12 Thread heme
And finally...

I'd love to have any links to information concerning the different classloading 
possibilities offered by JBoss.

Thanks for any info,

Chris WHITE
R&D cegedim.com

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Version 4.0.2 Classloader

2005-09-12 Thread heme
Hi,

Looks like i found the answer myself at the following link:

http://docs.jboss.com/jbossas/whatsnew40/html_single/

Any one tried this ?

Chris WHITE
R&D cegedim.com

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0.1RC

2005-09-12 Thread jlaskowski
Hi,

Built JBoss Portal 2.2.0-ALPHA (JP 2.2) from its sources and tried to run a 
portlet that worked well in JP 2.0.1RC1. I know I don't provide much details, 
but perhaps you will figure out what might cause that it doesn't work.

What details would you need to track it down?

Jacek

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Webapp over SSL - step by step tutorial needed

2005-09-12 Thread wciesiel
Hi there - I know this is basics and that's why I ask for simple tutorial 
instead of tens of pages of JAAS specs... How can I force my webapp to 
comunicate over SSL? I don't want (at leas at this moment) to use JAAS based 
authentication - just SSL connection security...

I've added


  |   general SSL security
  |   
  |all pages
  |/*
  |   
  |   
  |CONFIDENTIAL
  |   
  |  
to my web.xml file and uncommented this in 
server/default/deploy/tomcat.../server.xml:



While doing localhost:8080/MyApp I am redirected to 
https://localhost:8443/MyApp but all of this freezes at this point without any 
error or warning (even on DEBUG level in JBoss).

Any assistance?

TIA

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JAX-RPC Mapping DD, what metadata is used by JBoss?

2005-09-12 Thread Ilchen
It is a pity that such an important issue still hasn't been commented on by 
JBoss developers...

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread vlokesh
Generally this should not be the behaviour of JBoss AS.  I am trying to 
understand whats happening in your case.

In the mean time can you do the following steps.

1) Stop JBoss AS.
2) Delete all the folders under /tmp folder manually.
3) Restart the JBoss AS and test your application.

Make sure that you delete everything under /tmp folder.

Thanks & Regards.

Lokesh.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Licensing mechanism

2005-09-12 Thread knasser
I know it is bit weird to ask a question about licensing of a commercial 
application in the forums of an open source product like JBoss :)



We are creating a J2EE application that will be sold to customers bundled with 
JBoss as default J2EE application server, the application is not free, the 
license requirements are like this:

- Hardware based: e.g. MAC address of the NIC.
- Licenses should be issued per server (in a cluster) 
- Licenses should have maximum number of connected clients, we will have rich 
clients running as Webstart application and connected to JBoss via remote EJB 
interfaces.
- Licenses should have validity period (or expiration date)


Challenges:
1- the server will be running continuously (hopefully :)), which means I cannot 
only check for the license in the start of the application but also 
periodically. what is the best approach to do this in JBoss?.
2- How to control the number of connected clients? I think this is not a JEE 
standard, does JBoss supply any API for this?
3- How to Check for Hardware properties Mac address inside JBoss (and in Java 
in general) ?

Any help or suggestions about this are high appreciated


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Re: Licensing

2005-09-12 Thread knasser
sorry guys
I think this is not the correct forum to post this question, 
 I will post it in 'Security & JAAS/JBoss' forum

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: ClassCastException

2005-09-12 Thread eelgueta
Lokesh,

Thank you. I tried that and it worked.

Ed.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - faqs on each forums

2005-09-12 Thread jzahri
hi all,

i'm a newbie on jboss(that's why i'm here..duh..:D)
i wonder if there is an archive of faqs for each forum, so that people would 
refer to them before asking in the related forum(things that are faq in nature 
at least in the related forum)..?

thanks,

johan

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JAX-RPC Web Services in JBoss

2005-09-12 Thread ronak2121
Hello All,

I am trying to port over a Web Service I made in Apache Tomcat to JBoss.
The Web Service is a JAX-RPC service running in Application scope.

I read in the Admin guide that JBoss needs something called a webservices.xml 
file with a JAX-RPC mapping file.

Also, I read on some websites that the wscompile tool doesn't always create the 
JAX-RPC mapping file correctly.

How do I run the wscompile tool? How can I get it to create this mapping file 
correctly? Is there any equivalent to an "Application" scope in JBoss?

Thanks for your help

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - login replication

2005-09-12 Thread brain101
i´m facing a problem when trying to log in to a jboss cluster with 2 instances:
the login page posts the credentials to j_security_check and after the login 
process the browser is forwarded to the login success page. but the login 
itself is replicated very slow on the cluster, a few seconds after the login 
process.
how can i force an immediate replication?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: rmi.NoSuchObjectException

2005-09-12 Thread Kurdt
It's a FreeBSD Server,and YES it works now!

i am ashamed.. Thanks again

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Licensing

2005-09-12 Thread knasser
I know it is bit weird to ask a question about licensing of a commercial 
application in the forums of an open source product like JBoss :)

We are creating a J2EE application that will be sold to customers bundled with 
JBoss as default J2EE application server, the application is not free, the 
license requirements are like this:

- Hardware based: e.g. MAC address of the NIC.
- Licenses should be issued per server (in a cluster) 
- Licenses should have maximum number of connected clients, we will have rich 
clients running as Webstart application and connected to JBoss via remote EJB 
interfaces.
- Licenses should have validity period (or expiration date)


Challenges:
1- the server will be running continuously (hopefully :)), which means I cannot 
only check for the license in the start of the application but also 
periodically.
2- How to control the number of connected clients? I think this is not a JEE 
standard, does JBoss supply any API for this?
3- How to Check for Hardware properties Mac address inside JBoss (and in Java 
in general) an idea is to run ifconfig/ipconfig and capture the output?

Any help or suggestions about this are high appreciated




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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Multiple bindings not supported

2005-09-12 Thread Christy
Thomas, can you please explain where this method is located?
Here is my code:
import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ServiceFactory;
import java.net.URL;

public class RemoteClient {
public static void main(String[] args) {
String nmsp = 
"http://www.neonsys.com/WebServices/CICS";//targetNamespace in WSDL
String qnameService = "CICS";
String qnamePort = "CICSSoap";//http://mkt.neonsys.com/demo/kobsoap?wsdl";;
try {
URL url = new URL(urlstr);
ServiceFactory factory = ServiceFactory.newInstance();
javax.xml.rpc.Service serv = null;
QName qName = null;
try {
qName = new QName(nmsp, qnameService);
serv = factory.createService(url, qName);
} catch (Exception ex) {
System.out.println("qnameService = " + qnameService);
ex.printStackTrace();
}

Call call = serv.createCall(new QName(nmsp, qnamePort), new 
QName(nmsp, "ShowUser"));
String resEl = "";
System.out.println("output before call.invoke:");
System.out.println("call.getTargetEndpointAddress() = " + 
call.getTargetEndpointAddress());
System.out.println("call.getOutputValues().toString() = " + 
call.getOperationName().toString());
System.out.println("output:" + call.invoke(new Object[]{}));
} catch (Exception e) {
e.printStackTrace();
}
}
}

What did you mentioned saying "Try explicitly naming the port"?
Thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: TreeCacheListener in Cluster

2005-09-12 Thread [EMAIL PROTECTED]
NP

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: rmi.NoSuchObjectException

2005-09-12 Thread darranl
Is the machine running JBoss a Linux machine?

You need to edit /etc/hosts so that it contains the IP address of the machine 
instead of 127.0.0.1

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How to deal with dependencies between JCA adaptors?

2005-09-12 Thread khawkins
Each JAR file in each of your RAR files will have its own class loader. If two 
RARs contain a common jar, each has its own copy of the classes in that jar: 
shouldn't be a problem. The IllegalAccessException can occur like this:

RarA contains JarA and JarB.

JarA contains class:

  | package com.mycompany;
  | public class ClassA {
  | int packagePrivateInt = 0;
  | }
  | 

JarB contains class:

  | package com.mycompany;
  | public class ClassB {
  | ClassA classA;
  | ClassB(ClassA a) {
  | classA = a;
  | }
  | void someMethod() {
  | classA.packagePrivateInt = 1; // (il)legal!
  | }
  | }
  | 

The statement in someMethod is generally legal: both classes are in the same 
package and can access each other's default (package private) members.

However, if they are loaded by different class loaders they are no longer 
considered in the same package and the statement in someMethod will throw an 
IllegalAccessException at run time.


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: rmi.NoSuchObjectException

2005-09-12 Thread Kurdt
Ok, i can't edit i want to add this:

This is what i get when i try to telnet 192.168.1.52 1099, i see "127.0.0.1" is 
there something wrong with my jboss setup? 
(I have a web server running with it and is working just fine)

anonymous wrote : 
¼?sr?java.rmi.MarshalledObject|??ù?c?>??I?hashlocBytest?[BobjBytesq~?xp6http://web:83/q~q~uq~??¼?sr 
org.jnp.server.NamingServer_Stub??xrjava.r
  | mi.server.RemoteStubïße?xr?java.rmi.server.RemoteObject?a?æ
  |a3??xpw4
  |
UnicastRe
  | f2  127.0.0.1?J??~?^æÄrÇ?x
  | 
  | Connection to host lost.
  | 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - SecurityException in ejbStore

2005-09-12 Thread sryffel
I have written some CMP-EntityBeans one of which uses ejbStore to save some 
fields in another Datasource. 
Only callers with a certain role are allowed to access the EntityBeans, and all 
define this role as their run-as-identity. 
This works well, except for ejbStore. When I try to read from other 
EntityBeans, I get a SecurityException. 
Is there a possiblility to define some sort of a run-as-role for ejbStore?
I use JBoss-4.0.3RC2.

Thanks

Sebi



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: rmi.NoSuchObjectException

2005-09-12 Thread Kurdt
Jiri:

First, Thanks for answering me ! :)

Second, I tried that and i get this that is Really strange!

anonymous wrote : javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested 
exception is: 
  | java.net.ConnectException: Connection refused: connect]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

127.0.0.1 ? i am not connecting to my computer anymore, why i am getting this ?

this is my code now:

p.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  | p.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  | p.put("java.naming.provider.url","jnp://192.168.1.52:1099");  

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: TreeCacheListener in Cluster

2005-09-12 Thread martinLuene
I added printlns into the very first lines of my listener, and - you're right - 
it is called on all nodes.
They must be lost within my own code.
Thanks for confirmation.
Martin

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Version 4.0.2 Classloader

2005-09-12 Thread heme
Hi,

Can anyone confirm that the following entry in the jboss-app.xml of my ear file 
will cause JBoss 4.0.2 to implement a J2EE compliant classloader?


  
  cegedim.com:loader=oneup-expenses-ear-SNAPSHOT.ear
 
 java2ParentDelegation=false
 
  


I would also like to know I can find information concerning the configuration 
of the  jboss-app.xml file and the different classloading models that it 
proposes ? All that I have found at the present time is the following entry in 
the wiki (which contains errors - at least concerning the APP-INF directory 
which is not implemented in JBoss).

http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

I would be very grateful for any replies !

Thanks in advance,

Chris WHITE
R&D cegedim.com

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - MDB's, DataSource in a cluster

2005-09-12 Thread rsTropi
Hi,
i already checked the cluster and jms-forum for answers to my questions and 
found stuff which confused me more than it helps. Also the docu doesnt't cover 
my issues.

Right now, my application is working on a single jboss instance. 
Multiple MDB's, SSB's and 
I'm happy with that.
Now the next step is to make it cluster aware.
So i changed the deployment descriptors and so on..


As far as i know, jboss cluster (using 3.2.6) is working with a singleton 
JMS-Provider. No problem with this fact.

The first issue comes up, when i fail to deploy my MDB's on each node.
I think the MDB's didn't find the remote JMS-Provider, because some related 
services were only deployed on the master node. Had no problem on the master 
node.
There are a couple of people saying that this is not possible and on the other 
side there are people saying the opposite. If it is possible, what should be 
changed in the descriptors of the MDB's or in config of JBOSS to get it working.

So i decided to deploy the MDB's on the master only using deploy-hasingleton. 
Next issue comes up. Each SSB called by the MDB's is instantiated on the local 
(master) node only. So no load-balancing happenend. The processing was on the 
master only. So for a test i removed these SSB's from the master node with the 
result, that the round-robin dispatching worked in the expected way. But this 
is only an ugly workaround nothing for a productive system. So is there a way 
to get the load-balancing working for MDB's calling SSB's - a way to get rid of 
checking the local JNDI tree before checking the HAJNDI tree , ... ? I tried 
that with different properties to the InitialContext(), without success. 

Final issue:
Maybe I'm also wrong with that - sorry in advance :-) - but my application 
fails to get the registered DataSource via JNDI lookup. I also tested that with 
different props to InitialContext(). I can see the DataSource in the JNDIView, 
but i'm not able to look it up. Please notice, the same code works on a 
"normal" jboss installation. So i think, it's possibly a limitation when 
running in the cluster. Any idea? Any magic flag ?

Thanks for your help.


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Null Primary Key

2005-09-12 Thread rsuffling
Have you specified 

 

against each of your entity beans that require auto-generated primary keys in 
jbosscmp-jdbc.xml?

Roger


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: QueuedPessimistic Locking Mechanism & Deadlock

2005-09-12 Thread johnbien
I too have this problem, and would appreciate it if anyone has any suggestions 
on how to solve these deadlock problems
Thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: TreeCacheListener in Cluster

2005-09-12 Thread [EMAIL PROTECTED]
This should be the case, if I run the TreeCacheView(2) demo on multiple nodes, 
the notification is how the GUI updates itself, and this works.
Can you check CallbackTest and come up with a unit test that show the listener 
is *not* called ?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Login error

2005-09-12 Thread bosak
Solution is very simple, remove 'LEFT' from following code in login-config.xml:

SELECT g.name FROM UserImpl AS u LEFT JOIN 
u.roles AS g WHERE u.userName=:username

The answer is available here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=65157


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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Great but...

2005-09-12 Thread [EMAIL PROTECTED]
#1 I leave this to Ben...

#2 Can you check out the CallbackTest unit tests ?  Please provide us with unit 
tests that show what IYO are incorrect semantics. Note that we will move all 
callback-related logic into its own interceptor in 1.3.

#3 I assume you mean for replication. A new thread is used (but not created). 
Essentially the listener thread which receives the replication message. 
*However*, we use the same global transaction, so the 2PC works.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread claudia.pt
Lokesh, I tried what you said, but the timestamp isn't correct!!
I find the following: it seems that is deploying some temp version of my 
project instead of my project... see the console
But In the folder C:\jboss-4.0.2\server\default\deploy the ZooWebProject has 
the correct date/time
I'm very confused :(
Please help me!!


10:35:49,625 INFO  [EjbModule] Deploying Tiger
10:35:50,734 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-4.0.2/server/default/deploy/ZooBeansProject.jar
10:35:50,968 INFO  [TomcatDeployer] deploy, ctxPath=/WTP-Tutorial-I, 
warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp28871WTP-Tutorial-I-exp.war/
10:35:51,625 INFO  [TomcatDeployer] deploy, ctxPath=/ZooWebProject, 
warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp28872ZooWebProject-exp.war/10:35:51,875
 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jmx-console.war/
10:35:52,140 INFO  [TomcatDeployer] deploy, ctxPath=/test, 
warUrl=file:/C:/jboss-4.0.2/server/default/deploy/test.war/
10:35:52,250 INFO  [ContextConfig] Missing application web.xml, using defaults 
only StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/test]
10:35:52,312 INFO  [TomcatDeployer] deploy, ctxPath=/test2, 
warUrl=file:/C:/jboss-4.0.2/server/default/deploy/test2.war/
10:35:52,421 INFO  [ContextConfig] Missing application web.xml, using defaults 
only StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/test2]
10:35:52,515 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.2/server/default/deploy/WTP-Tutorial-IEAR.ear
10:35:52,750 INFO  [TomcatDeployer] deploy, ctxPath=/Tutorial, 
warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp28873WTP-Tutorial-IEAR.ear-contents/WTP-Tutorial-I-exp.war/
10:35:52,968 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-4.0.2/server/default/deploy/WTP-Tutorial-IEAR.ear
10:35:53,265 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
10:35:53,500 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:35:53,515 INFO  [JkMain] Jk running ID=0 time=0/62  config=null
10:35:53,562 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: 
CVSTag=JBoss_4_0_2 date=200505022023)] Started in 42s:719ms

Thanks,
Claudia

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - TreeCacheListener in Cluster

2005-09-12 Thread martinLuene
On a Cluster, my TreeCacheListener is notified only on the clusterNode, where 
the modification was invoked. On another clusterNode, my listener is not called.
Concrete: On clusterNode A, treeNode 1 is created. The listener A on 
clusterNode A is notified, but not listener B on clusterNode B.
If a treeNode is created on clusterNode B, only listener B is notified.
Replication works fine.

Is there a possibility, to get listeners an all clusterNodes notified (for the 
same modification)?

Thanks,
Martin 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - MDB and IIOP

2005-09-12 Thread dhrubz
Hello All,
Can i access Message Driven Beans using IIOP or do i need to use some 
message-oriented middleware ?

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - String out of bounds while deploying ??:-(:-(

2005-09-12 Thread rhoffmann
Hi, 

While trying to publish my .war file to Jboss 4.0 I get the following error.

10:30:45,396 ERROR [Tomcat5] Problem in init 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:444)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:258)
at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)



Any ideas? Thanx for help.
Robert.



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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBossMQ - Multiple Dead Letter Queues

2005-09-12 Thread Rudi Vankeirsbilck
I was looking at trying to do the same thing and figured out from the docs that 
this was the solution so I would very interested to learn how to associate an 
MDB with a specific .

I have tried:


  |   
  | jboss.mq:service=DestinationManager
  | jboss.mq:service=SecurityManager
  | 
  |   
  | 
  | 
  |   
  | 
  | bluespace-message-driven-bean
  |   
  | 

where "bluespace-message-driven-bean" is a new  i have 
created in standardjboss.xml:


  |   
  |  bluespace-message-driven-bean
  |  default
  |  
org.jboss.ejb.plugins.jms.JMSContainerInvoker
  |  
  | 
DefaultJMSProvider
  | 
StdJMSPool
  | 15
  | 1
  | 
  |10
  |
  |   queue/DLQ
  |   10
  |   0
  |
  | 
  |  
  |   
  | 

but that is giving me the following error:


  | 10:42:35,151 INFO  [ServiceConfigurator] Problem configuring service 
jboss.mq.destination:service=Topic,name=CopyMail
  | org.jboss.deployment.DeploymentException: No Attribute found with name: 
invoker-proxy-binding
  | at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:338)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:176)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:225)
  | at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  | at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:394)
  | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARD

  1   2   >