[JBoss-user] [Security & JAAS/JBoss] - Re: password in custom LoginModule

2004-12-23 Thread ashields
Sorry this was all down to me being stupid

I was doing password.toString() rather than new String(password), what I 
thought was an encrypted password was just the object reference

Time for some alcohol I think

Merry Christmas
 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - how to realize message routing?

2004-12-23 Thread zhangjs
how to config message routing on more jboss server

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Symlinks in the deploy directory?

2004-12-23 Thread wiley173
I moved the .war outside of my "jboss" user directory wiley173 and it went away 
...


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - spurious error

2004-12-23 Thread wiley173
So this error should just be ignored, is there a way to get rid of it ?

I edited the jboss-service.xml instead of symlinks...


  |   
  |  deploy/,
  | file:/home/wiley173/
  |   
  | 

my hellowWorld.war  seems to work fine but this error ???


  | 13:12:32,386 WARN  [JARDeployer] Failed to add deployable jar: 
file:/home/wiley173/jboss-3.2.6/server/default/tmp/deploy/tmp62289jboss-3.2.6.tar.gz
  | java.util.zip.ZipException: error in opening zip file
  | at java.util.zip.ZipFile.open(Native Method)
  | at java.util.zip.ZipFile.(ZipFile.java:112)
  | at java.util.jar.JarFile.(JarFile.java:127)
  | at java.util.jar.JarFile.(JarFile.java:65)
  | at 
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:241)
  | at 
org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:139)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
  | at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
  | 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.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
  | 
  | ...
  | 
  | 

Is this just an error with how I set up my .war file?



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - NLS Charecter set issue

2004-12-23 Thread svdath
I am using a Oracle 8i Database and Jboss3.2.1. I have put the classes12.zip in 
my application lib folder. But still i am getting the same problem. 
The same classes.zip with the same application works fine on a Weblogic 7.0 
SP2. 

Is there any specific driver change that i need to make. 

The error message is : 


java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv 
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) 
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) 
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:775) 
at oracle.jdbc.dbaccess.DBConversion.failUTF8Conv(DBConversion.java:1746) 
at 
oracle.jdbc.dbaccess.DBConversion.utf8BytesToJavaChars(DBConversion.java:1585) 
at oracle.jdbc.dbaccess.DBConversion.utf8BytesToString(DBConversion.java:1445) 
at oracle.jdbc.dbaccess.DBConversion.CharBytesToString(DBConversion.java:384) 
at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:2466) 
at 
oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:285) 
at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageCacheResult(CommonCacheDbPeer.java:2975)
 
at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageCacheResult(CommonCacheDbPeer.java:2926)
 
at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageComboCache(CommonCacheDbPeer.java:2882)
 
at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setComboCache(CommonCacheDbPeer.java:1574)
 
at 
com.itsp.ecrm.infrastructure.web.eCRMSuiteDocProxyServlet.createComboCache(eCRMSuiteDocProxyServlet.java:3289)
 
at 
com.itsp.ecrm.infrastructure.web.eCRMSuiteDocProxyServlet.init(eCRMSuiteDocProxyServlet.java:273)
 
at javax.servlet.GenericServlet.init(GenericServlet.java:256) 
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) 
at 
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436)
 
at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
 
at 
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
 

-Vinay

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - NLS Charecter set issue

2004-12-23 Thread svdath
I am using a Oracle 8i Database and Jboss3.2.1. I have put the classes12.zip in 
my application lib folder. But still i am getting the same problem. 
The same classes.zip with the same application works fine on a Weblogic 7.0 
SP2. 

Is there any specific driver change that i need to make. 

The error message is :


 java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
 at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:775)
 at oracle.jdbc.dbaccess.DBConversion.failUTF8Conv(DBConversion.java:1746)
 at 
oracle.jdbc.dbaccess.DBConversion.utf8BytesToJavaChars(DBConversion.java:1585)
 at 
oracle.jdbc.dbaccess.DBConversion.utf8BytesToString(DBConversion.java:1445)
 at 
oracle.jdbc.dbaccess.DBConversion.CharBytesToString(DBConversion.java:384)
 at 
oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:2466)
 at 
oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:285)
 at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageCacheResult(CommonCacheDbPeer.java:2975)
 at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageCacheResult(CommonCacheDbPeer.java:2926)
 at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setMessageComboCache(CommonCacheDbPeer.java:2882)
 at 
com.itsp.ecrm.infrastructure.persist.CommonCacheDbPeer.setComboCache(CommonCacheDbPeer.java:1574)
 at 
com.itsp.ecrm.infrastructure.web.eCRMSuiteDocProxyServlet.createComboCache(eCRMSuiteDocProxyServlet.java:3289)
 at 
com.itsp.ecrm.infrastructure.web.eCRMSuiteDocProxyServlet.init(eCRMSuiteDocProxyServlet.java:273)
 at javax.servlet.GenericServlet.init(GenericServlet.java:256)
 at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
 at 
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436)
 at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
 at 
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)

-Vinay

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: UTF Conversion issue

2004-12-23 Thread svdath
Hi Adrian,
 I am using a Oracle 8i Database and Jboss3.2.1. I ahve put the classes12.zip 
in my application lib folder. But still i am getting the same problem. 
 The same classes.zip with the same application works fine on a Weblogic 7.0 
SP2.

Is there any specific driver change that i need to make.

-Vinay

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Cannot lookup after restart server

2004-12-23 Thread lvhuyen
Please help me resolve this problem.
Thank you very much!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Cannot lookup after restart server

2004-12-23 Thread lvhuyen
I have 2 jboss servers: serverA and serverB. On serverA, I have a SLSB beanA. 
This SLSB has to call some method of SLSB beanB deployed on serverB.
I can successfully lookup beanB from beanA, and do my business. But, when I 
restart serverB, I cannot lookup beanB again from beanA.
The code segment in beanA that re-lookup beanB is:

  | try
  | {
  | env = new Hashtable();
  | env.put(Context.PROVIDER_URL, serverUrl);
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | env.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  | Context ctx = new InitialContext(env);
  | Object ref = ctx.lookup(beanBJndiName);
  | if (ref == null)
  | System.out.println("Got ref object");
  | else
  | System.out.println("ref is null");
  | Object curHome = PortableRemoteObject.narrow(ref, homeClass);
  | }
  | catch (Exception ex)
  | {
  | ex.printStackTrace();
  | }
  | 

and here is what I got on serverA's screen


  | 10:20:22,546 INFO  [STDOUT] ref is null
  | 10:20:22,546 ERROR [STDERR] java.lang.ClassCastException
  | 10:20:22,546 ERROR [STDERR] at 
com.sun.corba.se.internal.javax.rmi.PortableR
  | emoteObject.narrow(PortableRemoteObject.java:293)
  | 10:20:22,546 ERROR [STDERR] at 
javax.rmi.PortableRemoteObject.narrow(Portabl
  | eRemoteObject.java:134)
  | 10:20:22,546 ERROR [STDERR] at 
infogate.payment.business.ConnectorSSBBean.Re
  | connect(ConnectorSSBBean.java:286)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(
  | Native Method)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(N
  | ativeMethodAccessorImpl.java:39)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 10:20:22,546 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:3
  | 24)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer$Conta
  | inerInterceptor.invoke(StatelessSessionContainer.java:660)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedCo
  | nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.StatelessSessionInstanc
  | eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.i
  | nvokeNext(AbstractTxInterceptor.java:107)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWit
  | hTransactions(TxInterceptorCMT.java:178)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke
  | (TxInterceptorCMT.java:60)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.SecurityInterceptor.inv
  | oke(SecurityInterceptor.java:130)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(L
  | ogInterceptor.java:204)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer.invok
  | e(StatelessSessionContainer.java:313)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.local.BaseLocalContaine
  | rInvoker.invoke(BaseLocalContainerInvoker.java:301)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.local.StatelessSessionP
  | roxy.invoke(StatelessSessionProxy.java:81)
  | 10:20:22,546 ERROR [STDERR] at $Proxy80.Reconnect(Unknown Source)
  | 10:20:22,546 ERROR [STDERR] at 
infogate.payment.business.ConnectorMDBBean.on
  | Message(ConnectorMDBBean.java:51)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(
  | Native Method)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(N
  | ativeMethodAccessorImpl.java:39)
  | 10:20:22,546 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 10:20:22,546 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:3
  | 24)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.MessageDrivenContainer$Containe
  | rInterceptor.invoke(MessageDrivenContainer.java:391)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedCo
  | nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.i
  | nvokeNext(AbstractTxInterceptor.java:107)
  | 10:20:22,546 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptorBM
  | T.invokeNext(AbstractTxInterceptorBMT.java:144)
  | 10:20:22,562 ERROR [STDERR] at 
org.jboss.ejb.plugins.MessageDrivenTxIntercep
  | torBMT.invoke(MessageDrivenTxInterceptorBMT.java:33)
  | 10:20:22,562 ERROR [STDERR] at 
org.jboss.ejb.plugins.MessageDrivenInstanceIn
  | terceptor.invoke(MessageDrivenInstanceInterceptor.java:88)
  | 10:20:22,562 ERROR [STDERR]

[JBoss-user] [Installation & Configuration] - Why does JBoss 3.2.6 embedded tomcat set jsp compiler fork f

2004-12-23 Thread lairdwd
THe tomcat documentation indicates this should be set to true by default, so 
jboss group is changing it to false. If this is so, why is this? Is there some 
technical feature that is not working?

I'm particularly interested what the recommended setting is for production 
servers. Thanks! Happy holidays. 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Minor typo error on 4.0.1

2004-12-23 Thread nusa
Hi,

This is just a minor typo error, harmless ( "depenent" ) :

  | 23:20:53,913 DEBUG [org.jboss.system.ServiceController] destroying 
dependent services for: jboss.web.deployment:war=web-console.war,id=1666200400 
depenent services are: []
  | 

Thanks,
nusa.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot deploy dukes bank application

2004-12-23 Thread verbunro
And thank you for solving my problem too.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: password in custom LoginModule

2004-12-23 Thread tcherel
This is strange.
Youa re using the standard JBoss client login module in your client. As far as 
I know this guy does not encrypt anything.
I have a custom JAAS login module with JBoss 3.2.6 and the client aslo uses the 
standard JBoss client login module and I have no problem getting the password.
Might be a JBoss 4.0.0 specific problem, I am not sure. I looked at quickly the 
JBoss 4.0.0 sources, and it does not seem that the password gets encrypted 
either.

Thomas

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Using JAAS to secure EJBs

2004-12-23 Thread [EMAIL PROTECTED]
Start with the JAAS Howto.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46370


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: password in custom LoginModule

2004-12-23 Thread [EMAIL PROTECTED]
There is no default encryption so if its showing up, its been configured 
somewhere. Trace level logging on the org.jboss.security category and 
eliminating unused login module configs are the way to debug what is happening.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-12-23 Thread kookywon
Okay got this working on my workstation (Windows, java 1.4.1.03, jboss 3.2.6) 
and can talk to the webservice from another workstation.

However, when I move the webservice to the dev server (Linux, java 1.4.1.03, 
jboss 3.2.6) I get this error:

(401)Cannot authenticate with the provided credentials

I copied over my config files to linux directly from my windows configuration 
after setting up a new server keystore.  What gives?


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: password in custom LoginModule

2004-12-23 Thread ashields
here's my client


  | package client;
  | 
  | import java.io.IOException;
  | import java.util.Hashtable;
  | import java.util.Properties;
  | 
  | import javax.naming.InitialContext;
  | import javax.rmi.PortableRemoteObject;
  | import javax.security.auth.Subject;
  | import javax.security.auth.callback.Callback;
  | import javax.security.auth.callback.CallbackHandler;
  | import javax.security.auth.callback.NameCallback;
  | import javax.security.auth.callback.PasswordCallback;
  | import javax.security.auth.callback.UnsupportedCallbackException;
  | import javax.security.auth.login.AppConfigurationEntry;
  | import javax.security.auth.login.Configuration;
  | import javax.security.auth.login.LoginContext;
  | import org.jboss.security.SimplePrincipal;
  | 
  | public class TestClient {
  | 
  | 
  | static InitialContext ctx;
  | 
  | public static void main( String args[]) {
  |   try{
  |   
  | // jaas login
  |   Configuration.setConfiguration(new PasswordConfig());
  |   LoginContext c=new LoginContext("",new TestCallbackHandler());
  | c.login();
  | Subject s=c.getSubject();
  | System.out.println("subject is "+s);
  | 
  | // the following gives the same results
  | /*
  | org.jboss.security.SecurityAssociation.setPrincipal(new 
SimplePrincipal("ALAN"));
  | org.jboss.security.SecurityAssociation.setCredential(new 
SimplePrincipal("PASSWORD"));
  | */
  | 
  | Properties j = new Properties();
  | 
  |   
j.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
  |   j.setProperty("java.naming.provider.url","jnp://localhost:1099");
  |   
j.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
  |   j.setProperty("DISCOVERY_TIMEOUT","1000");
  | 
  | 
  | System.out.println("get context");
  | 
  | ctx = new InitialContext( j );
  | 
  | System.out.println("lookup");
  | Object obj = ctx.lookup("Test");
  | 
  | testing.remote.TestHome testHome = (testing.remote.TestHome)
  | PortableRemoteObject.narrow(obj,testing.remote.TestHome.class);
  | System.out.println("create ");
  |
  | testing.remote.Test test=testHome.create();
  | System.out.println("call ");
  | 
  | System.out.println(test.getWard("K6"));
  |   
  | System.out.println("Done ");
  | 
  |   } catch (Exception e){
  | e.printStackTrace();
  |   }
  | }
  | 
  | 
  | public static class PasswordConfig extends Configuration {
  | 
  | public PasswordConfig() {
  | }
  | 
  | public AppConfigurationEntry[] getAppConfigurationEntry(String 
applicationName) {
  | AppConfigurationEntry[] loginModules=new 
AppConfigurationEntry[1];
  | Hashtable options=new Hashtable();
  |   loginModules[0]=new 
AppConfigurationEntry("org.jboss.security.ClientLoginModule",AppConfigurationEntry.LoginModuleControlFlag.REQUIRED,options);
  | return loginModules;
  | }
  | 
  | public void refresh() {
  | }
  | 
  | }
  | 
  | private static class TestCallbackHandler implements CallbackHandler {
  | 
  | public void handle(Callback[] callbacks) throws IOException, 
UnsupportedCallbackException {
  | for(int i1=0;i1http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859774#3859774

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: javax.ejb package

2004-12-23 Thread darranl
Within your JBoss installation there is a client folder, this contains a jar 
file called jbossall-client.jar, the classes / interface if the javax.ejb 
package are in that jar.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Messages not consumed by MDB until restart of server

2004-12-23 Thread kalyanmulampaka
Hi,
I have Server A which sends messages to a queue-X. these messages are persisted 
in an oracle database (using JDBC2PM).
And I have a MDB which is deployed on another Server B which is configured to 
listen to the messages on queue-X. 
Server A runs jboss3.2.1 and Server B runs jboss4.0
When I send messages to the queue they are not consumed by the MDB until I 
restart the jboss instance on Server B. After restart they are consumed and any 
new messages in the queue are not consumed.

Thanks for your help,
Kal

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBOSS 3.2.7 & 4.0.0 on ISeries V5R2M0

2004-12-23 Thread fbiaggi
...missing...
and check that all PTF are installed (already see that some java PTF do not 
install automatically).

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBOSS 3.2.7 & 4.0.0 on ISeries V5R2M0

2004-12-23 Thread fbiaggi
I think you should try to install tha latest cumulative PTF package for java.
Ciao

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss AOP best practice

2004-12-23 Thread [EMAIL PROTECTED]
An Aspect is a class containing several advice methods. The advice methods have 
to be of the form:


  | public class MyAspect
  | {
  |Object  (Invocation inv) throws Throwable
  |{
  |   ...
  |}
  | 
  |Object  (Invocation inv) throws Throwable
  |{
  |   ...
  |}
  | 
  | }
  | 

The Invocation parameter can be either Invocation or one of its subclasses, eg 
FieldInvocation, ConstructorInvocation, FieldReadInvocation, 
FieldWriteInvocation, MethodInvocation, 
ConstructorCalledByConstructorInvocation etc.

So you can have:


  | public class MyAspect
  | {
  |Object myAdvice (FieldInvocation inv) throws Throwable
  |{
  |   ...
  |}
  | 
  |Object myAdvice (FieldInvocation inv) throws Throwable
  |{
  |   ...
  |}
  | 
  |Object myAdvice (ConstructorInvocation inv) throws Throwable
  |{
  |   ...
  |}
  | 
  | }
  | 

So in the above if you had the following xml declaration

  | 
  |
  |   
  |  
  |   
  | 
  | 

All calls to fields in parameters in POJO would go to the MyAspect.myAdvice() 
method taking a FieldInvocation parameter, all calls to methods to the advice 
taking a MethodInvocation parameter etc.

An "interceptor" is a an aspect class that only contains one advice method, and 
its signature is dictated by the definition in the 
org.jboss.aop.advice.Interceptor interface.

Another feature of Aspects over interceptors (again due to the ability to 
define several advice methods in the aspect) is that you can share state (the 
aspects member variables) between the different  advices.

If you want to use dynamic aop you are currently stuck using interceptors.




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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - 4.0.1 Release Available

2004-12-23 Thread [EMAIL PROTECTED]
The 4.0.1 release is available from sourceforge here:
https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=280264

The release notes are available here:

   Changes between 4.0.1 and 4.0.1RC2
Changes between 4.0.1RC2 and 4.0.1RC1
Changes between 4.0.1RC1 and 4.0.0


Issue and feature requests for JBossAS can be entered on the jira project page 
at:
http://jira.jboss.com/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:roadmap-panel


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - javax.ejb package

2004-12-23 Thread ter_d
Does any of you know where i can download javax.ejb package? If so, would you 
mind telling me?
Thanks.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot deploy dukes bank application

2004-12-23 Thread wegorkie
Oh yes, that's it.
Now it is working.

Thanks a lot.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking using Modified Strategy JBoss 3.2.3

2004-12-23 Thread jeeads
Thanks,
 I had looked at your post and you are right the transaction must be 
atomized for JBoss optimistic locking to work.  My application writers are 
adverse to handling their own transactions.  I am going to have to 
declaratively setup which field in a table is to be checked for concurrency so 
I can roll my own optimistic locking for the clients.  I will use the JBoss 
mechanism for middle tier transactions and use my own for remote invokations.

Jerry

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss AOP best practice

2004-12-23 Thread suding1
Hi,

1. Why there are both Aspect and Interceptor classes?
2. What are the issues to consider while taking the decision which of those 
should be used?

Thanks
SuDing


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Deploying 2 MDB with same EJB Name into different EJB Jars f

2004-12-23 Thread gquintana
Hello,

In my JBoss 4.0.1RC2, I have set up 2 applications (2 EARs). Both of them have 
their own EJBs. Both of them contains an MDB which is differently implemented 
and located in a different packages but has the same ejb-name ExempleMessage in 
the ejb-jar.xml.

On deploy time, I get the following error:anonymous wrote : Initialization 
failed jboss.j2ee:module=MyrabelCommunication.jar,service=EjbModule
  | javax.management.InstanceAlreadyExistsException: 
jboss.j2ee:jndiName=local/ExempleMessage,service=EJB already registered.

JBoss wants to bind both MDBs with a default JNDI name local/ExempleMessage and 
this is bad.

I had to change the EJB name in one of the EARs.

I this a bug or feature?
Gerald

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot deploy dukes bank application

2004-12-23 Thread [EMAIL PROTECTED]
Sun released update 4 just a couple of days ago that updated those examples 
from BMP to CMP.   The getting started is written against update 3, but update 
2 should also work fine. 


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: password in custom LoginModule

2004-12-23 Thread tcherel

I believe that if the password is encrypted it is the "client" who did it.

The next question is what is your client? Standalone EJB client application, 
servlet, others?

You need to determine the JAAS configuration of this client in order to figure 
out who/how the password is encrypted.

If coming through a servlet, it could be that it is simply base64 encoded 
(default for HTTP basic authentication).

Thomas

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - password in custom LoginModule

2004-12-23 Thread ashields
I'm writing a custom login module,

When I get the value from the password callback it appears to have been 
encrypted in some way.

Is there any way I can get hold of what the user actually typed?

I'm trying to compare the password with an existing value in a db that was 
encrypted with a simple one way hash, Ideally I need the users entered password 
so that I can run that through the same routine before comparing with the db.

Failing that does anybody know how the password is being encrypted? I thought 
it might be MessageDigest MD5 but that does not appear to be the case.

I'm calling an ejb from a remote client and using jboss 4.0.0, my LoginModule 
is wrapped up in a ProxyLoginModule.

Cheers


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Using JAAS to secure EJBs

2004-12-23 Thread Legga
Good day to All,
I'm relatively new to J2EE. I've allready developed a number of EJBs and pages 
and now I'm trying to implement security to control access to EJBs.
I've read all possible manuals I found on the net, but still there are some 
questions not quite clear for me...

Everything is deployed into the single EAR archive and inside the JSP code I 
access my EJB in the following manner:

LoginContext lc = new LoginContext("MyAuthDomain", new 
myCallback("login","pass"));
lc.login();
// At this point everything is perfect, I can retrieve the subject by 
lc.getSubject() and see that authentication was OK, i.e. Roles are populated 
properly, principal is the right one.
...
// But then I create my EJB by 
myEJBsHomeIface.create()
// This raises an exception:
// EJBException:; nested exception is: 
// javax.ejb.EJBException: 
// checkSecurityAssociation; 
// CausedByException is: Authentication exception, principal=null

---
The create() method of EJB is marked as  in ejb-jar.xml,  
tag.
What else I did:
1) Configured [server]/default/config/login-config.xml (specified the 
security-policy "MyAuthDomain" mentioned in new LoginContext())
2) In ejb-jar.xml I created  section where I list roles 
and grant method permissions to them
3) In jboss.xml I created the  entry linking the EJB to 
MyAuthDomain entry in login-config.xml.
4) I created also auth.conf file in [server]/default/conf with MyAuthDomain 
section like: 
--
MyAuthDomain{
org.jboss.security.ClientLoginModule required;
org.jboss.security.auth.spi.DatabaseServerLoginModule 
required

}
--
(but JSP passes authentication even without it)

When I switch on the declarative authentication for this JSP in it's deployment 
descriptors (and remove all the authentication code from it's text), everything 
works perfectly. So, it doesn't only when I try to perform authentication 
programmatically. I obviously missed something in configuration.

Please, help me to find it out or give me an URL where I can read about it in 
details.

At least, do I understand right that between lc.login() and lc.logout() my code 
can call EJB in it's usual manner like myEJB.getData() and I shouldn't wrap 
this calls in something like executeAsPrivilegedUser(..., subject)?

Many thanks in advance!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Override jboss-jmx.jar in 3.2.5?

2004-12-23 Thread [EMAIL PROTECTED]
I added another -B|-bootlib option to prepend jars to the bootclasspath. The 
3.2 branch code diff against 3.2.5 is shown below.


  | [EMAIL PROTECTED] jboss]$ cvs diff -r JBoss_3_2_5 Main.java 
  | Index: Main.java
  | ===
  | RCS file: /cvsroot/jboss/jboss-system/src/main/org/jboss/Main.java,v
  | retrieving revision 1.17.2.13
  | retrieving revision 1.17.2.16
  | diff -r1.17.2.13 -r1.17.2.16
  | 12a13
  | > import java.lang.reflect.Method;
  | 13a15
  | > import java.net.URLDecoder;
  | 25d26
  | < import org.jboss.system.server.ServerLoader;
  | 26a28
  | > import org.jboss.system.server.ServerLoader;
  | 44c46
  | <  * @version $Revision: 1.17.2.13 $
  | ---
  | >  * @version $Revision: 1.17.2.16 $
  | 52c54
  | private String jmxLibs = 
"jboss-jmx.jar,dom4j.jar,jaxen.jar,gnu-regexp.jar";
  | 55a58,62
  | >/** Extra jars added to the start of the boot classpath. This can be 
used
  | > to override jboss /lib boot classes
  | > */
  | >private List bootLibraries = new LinkedList();
  | > 
  | 98c105
  | <  path = java.net.URLDecoder.decode(path);
  | ---
  | >  path = urlDecode(path); 
  | 116a124,129
  | >   // Add any extra libraries
  | >   for (int i = 0; i < bootLibraries.size(); i++)
  | >   {
  | >  loader.addLibrary((String)bootLibraries.get(i));
  | >   }
  | > 
  | 194a208
  | >  new LongOpt("bootlib", LongOpt.REQUIRED_ARGUMENT, null, 'B'),
  | 236a251
  | >System.out.println("-B, --bootlib=  Add 
an extra library to the front bootclasspth");
  | 340a356,360
  | > case 'B':
  | >arg = getopt.getOptarg();
  | >bootLibraries.add(arg);
  | >break;
  | > 
  | 383a404,424
  | > * Decode the path depending upon whether we have java1.4 or java1.3 
installed
  | > *
  | > * @param path the path to decode
  | > * @return the decoded path
  | > * @throws Exception for any error
  | > */
  | >private String urlDecode(String path) throws Exception
  | >{
  | >   Method decode;
  | >   try
  | >   {
  | >  decode = URLDecoder.class.getMethod("decode", new Class[] { 
String.class, String.class });
  | >  return (String) decode.invoke(null, new Object[] { path, "UTF-8" 
});
  | >   }
  | >   catch (NoSuchMethodException e)
  | >   {
  | >  return URLDecoder.decode(path);
  | >   }
  | >}
  | > 
  | >/**
  | 


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Cannot deploy dukes bank application

2004-12-23 Thread wegorkie
anonymous wrote : 
  | 15:54:42,550 INFO  [EARDeployer] Init J2EE application: 
file:/C:/java/jboss/serv
  | er/default/deploy/JBossDukesBank.ear
  | 15:54:43,331 WARN  [verifier] EJB spec violation:
  | Bean   : CustomerBean
  | Section: 12.2.2
  | Warning: The class must be defined as public and must not be abstract.
  | 
  | 15:54:43,331 WARN  [verifier] EJB spec violation:
  | Bean   : CustomerBean
  | Section: 12.2.5
  | Warning: Every entity bean must define the ejbFindByPrimaryKey method.
  | 

and so on... many other warnings and then error.

What is wrong - all ants from tutorial passed ok.
JBoss4 and the newest J2EE tutorial.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Problem with j_security_check using JBoss 3.2.5

2004-12-23 Thread kazouta
We're using j_security_check method on Webapps deployed on jboss-3.2.5 to 
authenticate users. Common timeout sessions is set in web.xml file of 
jbossweb-tomcat50.sar service.

When a user need to access a protected page he is redirected normally to login 
form. If he try with accessable username and password after session timeout 
expire, he will get a 404 HTTP error : "The requested resource 
(/j_security_check) is not available".

How to register the protected page URL beyond the user session ?
It would be so great if someone could help !


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: apache and jboss configuration

2004-12-23 Thread arsh_01
Never mind it is up and running. Configuring JBOSS is much easier than tomcat 
since all the settings are there by default.



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deploying of Adobe FormManager

2004-12-23 Thread Mittelbach
Hallo

I hope somebody can help me solving a very big problem with JBoss.
We bought the J2EE Application Adobe Form Manager 6 to
deploy eForms to the Acrobat Reader clients in our enterprise
to reduce the costs of paper and printing.

The installation manual says the application is runable on IBM
WebSphere Application Server V 5.1 and JBoss 3.2.2 Application
Server. But there are only instructions for WebSphere and we
are not able to deploy it on JBoss.

Maybe it helps I explain the procedure on WebSphere.

We make a Installation with the adobe-FormManager.exe. It decompress
many files

C:\programs\adobe\idp

\lib

-url-Provider.jar
-clientURLProxy.jar
-DocumentServiceLibrary.jar

\deploy

-FormManagerService.war
-xmlforms.war
-DocumentServices.war
-formManager.ear

\deploy\binaries

- many *.dll  and one *.bsl

After we have installed WebSphere we have to change into
C:\programs\WebSphere\AppServer\installedApps and
have to create a folder "svcNatives" and copy all the *.dll
into it. After that we have to copy all the *.war and the *.ear
into the folder AppServer\installableApps. At the end we have
to copy the *.jar from \idp\lib into AppServer\lib.

Then we start WebSphere and log into the admin-console.
There is a menu "Install new Enterprise Applications" we choose.
Then you only have to select the local path of one *.war and click
deploy and so on. At last we make this with the *.ear.

That was all. It works fine. 

We have no experience with JBoss and are not able to deploy the
application.

Can anybody help me?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Where can I found the Jboss implementation for the sun Troub

2004-12-23 Thread miguelito
I'm looking for the port of this API (Trouble Ticket api) to work with Jonas, I 
know that this port exists, but I can't find anything related to it.

best regards


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Can javassist make a CtClass from a serialized object?

2004-12-23 Thread rezahay
I'm sorry if this question has already been asked. I need at runtime to 
serialize a running object (I have to keep the state of the object) and make a 
CtClass from the serialized object and make some changes to it and load the new 
modified class.

Is this possible with javassist?

Thanks in advance

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Is Virtual Directory mapping supported in JBoss?

2004-12-23 Thread irajava
I tried the above suggested solution on JBoss 3.2.4 without success. I tried it 
also with 3.2.6 and after removing one of the steps in the above suggested 
solution it worked. I expected though this to be a one line configuration issue 
and not to put same/diferent elements in three different files.

Do not put the following in the file 
{$JBOSS_HOME}/server/default/conf/jboss-service.xml file

  
  | 
  |   deploy/cmpe275, file:///C:/images/
  | 
  | 



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - MDB extends base class: Verification of Enterprise Beans fai

2004-12-23 Thread barba005
Hi,

I have a MDB which extends a base class. This base class implements the 
MessageListener and MessageDrivenBean interfaces and (among others) the 
onMessage method. When I try to deploy this to JBoss 3.2.6 it gives an error:

11:51:54,934 WARN  [verifier] EJB spec violation:
Bean   : VeprRekenServiceMDB
Section: 15.7.4
Warning: The message driven bean must declare one onMessage() method.

11:51:54,934 ERROR [MainDeployer] could not create deployment: 
file:/D:/java/jboss-3.2.6/server/default/tmp/deploy/tmp26985VeprEAR.ear-contents/VeprRe
kenEJB.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.

It seems to me that JBoss expects the onMessage method in the MDB, and doesn't 
look at the base class.  Does anybody have an idea on how to fix this?

Signature MDB:
public class VeprRekenServiceMDBBean extends CIBaseMDBBean {
  | ...
  | }

Signature base class:
public abstract class CIBaseMDBBean implements MessageListener, 
MessageDrivenBean {
  | ...
  | public void onMessage(javax.jms.Message msg) { ... }
  | ...
  | }
  | 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Timer interval duration not respected

2004-12-23 Thread gquintana
Well this is a known bug in JBoss 4.0 see:
http://jira.jboss.com/jira/browse/JBAS-30
Sorry I didn't see it before.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBOSS

2004-12-23 Thread jagdishmane
Hi Kalyan,

You were absolutely right. The jbossmq.jar file was missing. After adding it, 
the problem has been solved.

Thanks a lot !!

Jagdish Mane

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Using principal for context passing

2004-12-23 Thread tcherel
Thanks for the feedback.

I agree, it does not seem that JSR 149 is going anywhere (not sure why).
The only details that I have on the webSphere implementation is their 
documentation 
(http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/rprf_workareatune.html
 for an overview and 
http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/rprf_workareatune.html
 for an example).

I agree that it sounds weird to add this to the security context although, from 
a pure JAAS point of view, the session id of an authenticated user can fit the 
profile of a Subject principal, I think.
I am just working around the fact that the full Subject is not available in my 
EJB code, unless I write my own security interceptor to do a doAs call and use 
the Subject.getSubject method. But I am not sure how well that will work across 
EARs and class loaders and I am not sure I want to enable the full blown Java 2 
security in my environment.

I am also looking for a portable (WebSphere, WebLogic and JBoss) way to make 
this work. I did not find enough hooks in WebLogic (yet) to implement the 

Thomas

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: ClassCircularityError - scheduler-service.xml

2004-12-23 Thread sheeho
Encoded scheduler-service.xml


  | 
  | 
  | 
  | 
  |   
  |   
  |   
  | 
  |   
  | 
  |   
  | true
  | schedclient.SchedulerClient
  | 
  | 
  | NOW
  | 360
  | -1
  | 
jboss.j2ee:jndiName=comp/env/ejb/availabilityEngine,service=EJB
  |   
  | 
  |   
  | 
  |   
  | 
  | 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - ClassCircularityError

2004-12-23 Thread sheeho
Hello,

We are experiencing an intermittent ClassCircularityError. I am pretty new to 
JBoss and would appreciate any help in diagnosing or resolving the problem.

The error occurs at the point of connecting to a JMS queue.  The class creating 
the queue connection is invoked from a Scheduled Task which is started/run at 
JBoss startup.  The error occurs at a frequency of approximately 1 in 8 starts.

We are running with the following versions of software:
JBoss 3.2.5
Java 1.4.2_06
Red Hat Linux release 7.3 / Red Hat Enterprise Linux ES release 3

Included are:
a) Example output of the error
b) scheduler-service.xml
c) Source code of class being invoked.

2004-12-23 08:29:12,837 55946 DEBUG [schedclient.SchedulerClient] 
(ThreadPoolWorker[1]:) Executed Availability Killer At: Thu Dec 23 08:29:11 GMT 
2004
2004-12-23 08:29:13,166 56275 DEBUG [schedclient.SchedulerClient] 
(ThreadPoolWorker[1]:) Creating Queue Connection
2004-12-23 08:29:13,276 56385 ERROR [STDERR] (UILServerILService Accept 
Thread:) java.lang.ClassCircularityError: 
org/jboss/mq/il/uil2/SocketManager$ReadTask
2004-12-23 08:29:13,278 56387 ERROR [STDERR] (UILServerILService Accept 
Thread:)at 
org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:115)
2004-12-23 08:29:13,278 56387 ERROR [STDERR] (UILServerILService Accept 
Thread:)at 
org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:127)
2004-12-23 08:29:13,279 56388 ERROR [STDERR] (UILServerILService Accept 
Thread:)at java.lang.Thread.run(Thread.java:534)
2004-12-23 08:29:13,824 56933 INFO  [org.jboss.ejb.EJBDeployer] (main:) 
Deployed: 
file:/opt/jboss-3.2.5/server/default/tmp/deploy/tmp18048BookingEngine.ear-contents/BookingEngine.jar
2004-12-23 08:29:14,632 57741 INFO  [org.jboss.deployment.EARDeployer] (main:) 
Started J2EE application: 
file:/opt/jboss-3.2.5/server/default/deploy/BookingEngine.ear
2004-12-23 08:29:14,855 57964 INFO  [org.jboss.system.server.Server] (main:) 
JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] 
Started in 57s:942ms
2004-12-23 08:30:13,784 116893 ERROR [schedclient.SchedulerClient] 
(ThreadPoolWorker[1]:) Availability Killer Failed At: Thu Dec 23 08:29:11 GMT 
2004
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.net.SocketException: Connection reset)
at org.jboss.mq.Connection.authenticate(Connection.java:1161)
at org.jboss.mq.Connection.(Connection.java:248)
at org.jboss.mq.Connection.(Connection.java:325)
at org.jboss.mq.SpyConnection.(SpyConnection.java:66)
at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
at schedclient.SchedulerClient.perform(SchedulerClient.java:30)
at 
org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.java:1263)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
at $Proxy8.handleNotification(Unknown Source)
at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98)
at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:83)
at javax.management.timer.Timer.sendNotifications(Timer.java:441)
at javax.management.timer.Timer.access$000(Timer.java:31)
at 
javax.management.timer.Timer$RegisteredNotification.doRun(Timer.java:612)
at 
org.jboss.mx.util.SchedulableRunnable.run(SchedulableRunnable.java:164)
at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:240)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:77)
at 
java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2150)
at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2163)
at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.(ObjectInputStream.java:253)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:266)
at java.lang.Thread.run(Thread.java:534)







  
  
  


[JBoss-user] [Installation & Configuration] - Enabling clustering and session replication in standard mode

2004-12-23 Thread rahulkausale
Hello all,

I have joined this forum today itself.

I am a system administrator ( and not a java developer, but can get help from a 
developer to understand the replies which i will get from this forum) 

Currently we are trying to create our customized mode by copying everything 
from "server/standard" directory of jboss-4.0.0. Now we need to  enable 
clustering in it especially the session replication stuff.

I don't want to use "all" mode of jboss-4.0.0. 

if somebody has already done this in past. Please let me know.

thanks a lot

Rahul

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Timer interval duration not respected

2004-12-23 Thread gquintana
I forgot to tell I was using JBoss 4.0.1RC2

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Timer interval duration not respected

2004-12-23 Thread gquintana
Dear JBoss 4.0 users,

I have created 2 Timer session beans. They should be executed every minute 
(inteval duration = 6). But when I look at the logs, these timers are 
executed twice per minute! Here are the logs:
anonymous wrote : 09:57:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement 
utilisateurs online
  | 09:58:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:58:33,390 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:58:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:58:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:59:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:59:33,421 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:59:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:59:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 10:00:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 10:00:36,015 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 10:00:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 10:00:37,203 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 

 I have checked the Timers table in the HSQL database, there are 2 rows 
anonymous wrote : 1 
[target=jboss.j2ee:jndiName=ejb/evenements/EvenementsPrevTimer,service=EJB] 
2004-12-01 00:00:00.0   6   [EMAIL PROTECTED]
  | 1   
[target=jboss.j2ee:jndiName=ejb/gestionUtilisateurs/UtilisateursOnlineTimer,service=EJB]
2004-12-01 00:00:00.0   6   [EMAIL PROTECTED]
You can see that interval is properly set to 6.  They have both the same ID 
set to 1, is it normal?

I noticed that when I stopped JBoss, I got the following warning:
anonymous wrote : 10:19:17,546 WARN  [GeneralPurposeDatabasePersistencePlugin] 
Unable to remove timer for: 1
  | 
What is this?

Can you explain me what's happening please?
Thanks for your help,
Gerald

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: [JMSContainerInvoker] JMS provider failure detected:

2004-12-23 Thread craig1980
No ideas about this problem?
Thanks

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with timer persistence

2004-12-23 Thread gquintana
This table schema works for me with Oracle 9.2:
create table TIMERS(
  | TIMERID varchar2(80) not null ,
  | TARGETID varchar2(80) not null ,
  | INITIALDATE timestamp not null , 
  | TIMERINTERVAL number(20) ,
  | INSTANCEPK raw(2000) ,
  | INFO raw(2000) ,
  | constraint TIMERS_PK primary key (TIMERID,TARGETID)
  | )
  | 

It can be improved!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Upgrade from JBoss 2.4.10 to new version

2004-12-23 Thread elmtheolm
Hello,

I want to upgrade our appserver (jboss 2.4.10) to a new version (It's time 
;-)). Should we directly upgrade to jboss 4.0.0? Is this version ready and 
stable enough for production, or should we upgrade to 3.2.6 (7)? 

thanx elm

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Naming issue

2004-12-23 Thread darranl
The name you want to look up from the external client is 'ConcurroSession'

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: java.lang.reflect.UndeclaredThrowableException???

2004-12-23 Thread oghs
I had the same problem. Actually I was using Log4J on an own exception class, 
so I had a class field called like this:

private Logger log = null;

Actually, besides being implementing the serializable interface, Logger is not 
serializable so the class couldn't be serialized at all. You can solve it then 
just by adding the word transient after private, something like:

private transient Logger log = null;

Doing this, you tell the VM it has not to serialize that field, and everything 
works fine. I hope this helps you.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user