[JBoss-user] [Security & JAAS/JBoss] - PKI Example

2004-03-21 Thread blakeyu
Does anybody know pki related information? 
I want to build up a PKI server to generate, manage public key, digital certificate, 
does anybody recommend the PKI server for me? 
Does anybody recommend any examples to demo?



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem redeploying EJB's in Jboss

2004-03-21 Thread jdwn
Is there nobody having this problem? It's even getting worse, because now I'm having 
two jar's. So each time I make a change I've to restart my JBoss server. Can somebody 
help?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS provider failure detected:javax.jms.JMSException: Error

2004-03-21 Thread arbalu
Hi,
I am getting the following error when deploying my application on JBoss 4. Anyone 
who has overcome this situation, please let me know the solution to this problem... I 
m not able to find any resources regarding this problem too...

thanx in advance...

13:02:38,531 WARN  [JMSContainerInvoker$ExceptionListenerImpl] JMS provider failure 
detected:
  | javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not 
bound
  | at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
  | at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:198)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.connect(JMSContainerInvoker.java:400)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:600)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:233)
  | at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:152)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:233)
  | at org.jboss.ejb.Container.invoke(Container.java:1134)
  | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:72)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
  | at $Proxy13.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:401)
  | at org.jboss.system.ServiceController.start(ServiceController.java:426)
  | 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
  | at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
  | at $Proxy32.start(Unknown Source)
  | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:479)
  | at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:254)
  | at sun.reflect.GeneratedMethodAccessor25.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:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
  | at $Proxy13.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:401)
  | 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:798)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:558)
  | at sun.reflect.GeneratedMethodAccessor30.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:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
  | at org.jboss.mx.server.M

[JBoss-user] [Persistence & CMP/JBoss] - Re: Initializing bean access Error

2004-03-21 Thread blakeyu
When I used JBoss DR2, cause this error,
But I used JBoss 3.2.3, no error.

I hope you could help me.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: SINGLE ejb jar deploy gives NoClassDefFoundError!

2004-03-21 Thread zeron
Hi

All the methods in AAA.class and AAABean.class throw the exception AAAException.
Very simple, no?

Am I missing something really basic here???

Thanx
zeron





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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - PreparedStatementCache

2004-03-21 Thread cherold
Hi

Does anybody know if there is a runnning preparedStatementCache in Jboss 3.2.x ?
I use JBoss 3.2.3 with JDK 1.4.2 and DB2 8.1 in Linux.
I saw there is a property for the Datasource:
100
but setting this (with different values) didn't change anything.
On the DB side, it doesn't seem to cache client request for Prepare.

What I understood is, when caching is enabled the prepare call can be cacheched in the 
client Pool to avoid a network call (well the DB also caches the prepare internal to 
avoid recalculating thing each call).

When enabling the Trace for jboss... resource I couldn't see any hints about caching. 

In the JMX-Console the "JBoss LocalTransaction JDBC Wrapper" has an attribute 
"PreparedStatementCacheSize" with value null.

So how does it work , does it work and how to configure?

I could't find any documentation about it (only in the JCA docs the parameter).

Thanks



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Initializing bean access Error

2004-03-21 Thread blakeyu
I created a Entity Bean, and deployed on the JBoss Server, I created a test client to 
call the entity bean, but it failed.

I got the following error, can anybody help me?

-- Initializing bean access.java.lang.NoClassDefFoundError: 
org/jboss/system/ServiceMBeanSupportat 
java.lang.ClassLoader.defineClass0(Native Method)at 
java.lang.ClassLoader.defineClass(ClassLoader.java:537)  at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)  at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at 
java.net.URLClassLoader.access$100(URLClassLoader.java:55)   at 
java.net.URLClassLoader$1.run(URLClassLoader.java:194)   at 
java.security.AccessController.doPrivileged(Native Method)   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:187)   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:289)at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)at 
java.lang.ClassLoader.loadClass(ClassLoader.java:235)at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)at 
java.lang.ClassLoader.defineClass0(Native Method)at 
java.lang.ClassLoader.defineClass(ClassLoader.java:537)  at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)  at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at 
java.net.URLClassLoader.access$100(URLClassLoader.java:55)   at 
java.net.URLClassLoader$1.run(URLClassLoader.java:194)   at 
java.security.AccessController.doPrivileged(Native Method)   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:187)   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:289)at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)at 
java.lang.ClassLoader.loadClass(ClassLoader.java:235)at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)at 
java.lang.Class.forName0(Native Method)  at 
java.lang.Class.forName(Class.java:219)  at 
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:154)   at 
java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)  at 
java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)  at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)  at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)   at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at 
java.util.HashMap.readObject(HashMap.java:1006)  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:324) at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)   at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)   at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)   at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at 
org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:113)   at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)  at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)   at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)   at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at 
java.rmi.MarshalledObject.get(MarshalledObject.java:135) at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:522)  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:479)  at 
javax.naming.InitialContext.lookup(InitialContext.java:347)  at 
com.ste.test.client.ProductsTestClient.initialize(ProductsTestClient.java:35)
at com.ste.test.client.ProductsTestClient.(ProductsTestClient.java:20)  at 
com.ste.test.client.ProductsTestCl

[JBoss-user] [Security & JAAS/JBoss] - Re: Signed Jars

2004-03-21 Thread feldgen
Hi scott,

I will try jboss-3.2.3 but this will take some time...I'll post
the results of this test.

Btw, I am using Gentoo-Linux with sun-jdk-1.4.1_05

Regards,

Lutz Feldgen

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss Starting Problem : Cause: Incomplete Deployment li

2004-03-21 Thread blakeyu
Does anybody have the same problem?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - problem deploying CMP Roster Example with mySQL

2004-03-21 Thread wayofdragon
Hi all,

  I changed my database to mySQL as per the tutorial's intructions.  However, I get 
the following error when I tried to deploy it:

2004-03-22 00:06:22,811 INFO  [org.jboss.deployment.MainDeployer] Starting deployment 
of package: file:/C:/jboss-3.2.3/server/default/deploy/RosterApp.ear
2004-03-22 00:06:22,851 INFO  [org.jboss.deployment.EARDeployer] Init J2EE 
application: file:/C:/jboss-3.2.3/server/default/deploy/RosterApp.ear
2004-03-22 00:06:25,254 INFO  [org.jboss.ejb.EjbModule] Deploying RosterEJB
2004-03-22 00:06:27,648 INFO  [org.jboss.ejb.EjbModule] Deploying PlayerEJB
2004-03-22 00:06:27,888 INFO  [org.jboss.ejb.EjbModule] Deploying TeamEJB
2004-03-22 00:06:27,938 INFO  [org.jboss.ejb.EjbModule] Deploying LeagueEJB
2004-03-22 00:06:28,429 INFO  [org.jboss.ejb.plugins.StatefulSessionInstancePool] 
Started jboss.j2ee:jndiName=RosterEJB,plugin=pool,service=EJB
2004-03-22 00:06:28,429 INFO  
[org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Started null
2004-03-22 00:06:28,429 INFO  [org.jboss.ejb.StatefulSessionContainer] Started 
jboss.j2ee:jndiName=RosterEJB,service=EJB
2004-03-22 00:06:28,429 INFO  [org.jboss.ejb.EjbModule] Started 
jboss.j2ee:module=roster-ejb.jar,service=EjbModule
2004-03-22 00:06:28,429 INFO  [org.jboss.ejb.EJBDeployer] Deployed: 
file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp21041RosterApp.ear-contents/roster-ejb.jar
2004-03-22 00:06:33,606 INFO  [org.jboss.ejb.plugins.EntityInstancePool] Started 
jboss.j2ee:jndiName=local/PlayerEJB,plugin=pool,service=EJB
2004-03-22 00:06:33,606 INFO  [org.jboss.ejb.EntityContainer] Started 
jboss.j2ee:jndiName=local/PlayerEJB,service=EJB
2004-03-22 00:06:33,776 INFO  [org.jboss.ejb.plugins.EntityInstancePool] Started 
jboss.j2ee:jndiName=local/TeamEJB,plugin=pool,service=EJB
2004-03-22 00:06:33,776 INFO  [org.jboss.ejb.EntityContainer] Started 
jboss.j2ee:jndiName=local/TeamEJB,service=EJB
2004-03-22 00:06:38,583 ERROR [org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error while creating table TeamEJB; - nested 
throwable: (java.sql.SQLException: Invalid argument value,  message from server: "Too 
big column length for column 'name' (max = 255). Use BLOB instead")
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:232)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:93)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:484)

I can't figure out what this means?  Has anyone experienced this problem?
Any help is much appreciated!  Thanks!

P

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss Starting Problem : Cause: Incomplete Deployment listin

2004-03-21 Thread blakeyu
I used the jboss-4.0.0DR2, the defualt server can started, but it cause some error as 
following:

Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[{ 'ejb-management.jar' URL: 
'file:/E:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 
'file:/E:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/61.ejb-management.jar'
 watching: 'file:/E:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' 
SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 
'file:/E:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 
'file:/E:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/66.jmx-ejb-adaptor.jar'
 watching: 'file:/E:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' 
SubDeployer: null }]
Incompletely deployed packages:
[{ 'ejb-management.jar' URL: 
'file:/E:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 
'file:/E:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/61.ejb-management.jar'
 watching: 'file:/E:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' 
SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 
'file:/E:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 
'file:/E:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/66.jmx-ejb-adaptor.jar'
 watching: 'file:/E:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' 
SubDeployer: null }]
MBeans waiting for classes:
  
MBeans waiting for other MBeans:

{ objectName: jboss.system:service=DeploymentInfoURIResolver
  state: CREATED
  Waiting for me:
  jboss.net:service=WS4EEDeployer state: CREATED
} [EMAIL PROTECTED],


{ objectName: jboss.net:service=WS4EEDeployer
  state: CREATED
  I am waiting for:
  jboss.net:service=WebServiceEntityResolver state: RUNNING,
  jboss.system:service=DeploymentInfoURIResolver state: CREATED,
  jboss.net:service=Axis state: RUNNING
  Waiting for me:
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED],


{ objectName: jboss.ejb:service=EJBDeployer
  state: CREATED
  I am waiting for:
  jboss.net:service=WS4EEDeployer state: CREATED,
  jboss:service=WebService state: RUNNING,
  jboss.tm:service=TransactionManagerService state: RUNNING
  Waiting for me:
  jboss.ejb:service=ActivationSpecDeployer state: CREATED
} [EMAIL PROTECTED],


{ objectName: jboss.ejb:service=ActivationSpecDeployer
  state: CREATED
  I am waiting for:
  jboss.ejb:service=EJBEntityResolver state: RUNNING,
  jboss.jca:service=RaURIResolver state: RUNNING,
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED],

Can anybody help me to resolve the problem?



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Need Advice

2004-03-21 Thread allanpogi
Dear Members,

   I am new to JBoss. Can anyone provide me with the simplest example of an BMP 
Entity bean and how to deploy it? I am using SQL Server as a back-end. I will be more 
than glad if your could email it to [EMAIL PROTECTED]


 Regards,

Edgar Allan Potenciano

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: possible memory leak in long lived transaction ?

2004-03-21 Thread scoy
I've always assumed that the memory is being consumed by the transaction manager.

I think that you will find that no actual database updates are performed until the the 
transaction is committed.

It might be possible to use XA Transactions to get the database to assume this 
overhead - I did not investigate this before because I only just thought of it.

Steve


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: can't find data source: TestDS

2004-03-21 Thread scoy
It doesn't help when the forum gobbles the XML tags!


  | 
  | 
  |
  |  java:TestDS
  |  Oracle9i
  |
  |...
  | 
  | 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Getting message on JBoss4.0.0 : Could not resolve uncomm

2004-03-21 Thread arbalu
I am replacing the DefaultDS with my MSSqlServer configuration. My mssql-ds.xml looks 
something like this


  | 
  |   
  | SQLServerPool
  | 
jdbc:inetdae7://localhost:1433?database=latest_release
  | com.inet.tds.TdsDriver
  | test
  | test
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 

hav i got to do anything with any other files so that i shall put them in par with 
this file
I think i m missing something very small here... please lemme know...

Thanx,
balu.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Problem in relative path references

2004-03-21 Thread vineetchopra
Hello there,

We are trying to migrate our application onto JBoss. 

We were able to successfully deploy and launch the application.

The current problem is that the external file references to Cascading Style Sheet and 
JavaScript are not being reflected in the JSP pages. There is no problem with the 
relative path references to these files since the localhost_access.log file logs the 
correct file path reference for serving its requests for these external resources. 

Does the file size hold a constraint in JBoss ? or 
There is some configuration settings to enable relative path references.

Unable to guess the reason for the same.

Regards

Vineet.




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: can't find data source: TestDS

2004-03-21 Thread scoy

   
 java:TestDS
 Oracle9i
   

...

Steve Coy


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Not able to debug in JBosss

2004-03-21 Thread ltcmelo
Hi, beginner's problem.
When I start debuging jboss from eclipse, if i use F6 ( "step into" ) and the app is 
going from a cliente method to a method on the local or remote interface, for example, 
eclipse displays a message for the

Class File Editor

Source not found
The source atachment does not contain
You can change the source attachment by clicking

Change Attached Source   //.. This is the button i'm supplied to click
  //   and when I click...


A dialog opens and asks me for a file (jar or zip) containig the source for 
'jboss.jar' ( sometimes it asks me for another file like rt.jar).
If i browse and select server/default/lib/jboss.jar as the file, does not work.

What shoud I do to debug correctly ( as i'm getting an error in between procedure 
call, one "return..." from one method everything is ok, but in the first line of the 
other method i get a nullpointerexception)

If anyone help i'd appreciate so much!


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Does anybody know how to do EJB-QL successfully?

2004-03-21 Thread scoy
Your customer ejb is called CustomerEJB, therefore that is how it must be referenced 
in the ejb-ql.

ie. SELECT OBJECT (c) FROM CustomerEJB AS c ...

Steve Coy


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: problem due to caching of roles in JaasSecurityManager,

2004-03-21 Thread [EMAIL PROTECTED]
See this thread which eventually gets it right. Search for flush on this topic for 
variations of the same thing.

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45932

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: can't find data source: TestDS

2004-03-21 Thread blakeyu
Can anybody help me?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - problem due to caching of roles in JaasSecurityManager, Dat

2004-03-21 Thread dev2gosoft


Hi,

We have an application that allows users to register account with an associated 
service plan (which maps to a specific role). The app uses a Form based 
authentication. 
The user is logged and authenticated/authorized against the infomration stored in 
tables which are populated from the account registration process. 

Jaas / DatabaseServerLoginModule is configured / set to make this work.

Everything works perfect. 

However once the user is logged in, he can edit his account and upgrade 
his service plan and hence changes his role. 

We recommend the user to logout and relogin so that he can be authorized against his 
new role. 

The logoutAction is very simple. 
Just invalidate session...
HttpSession ses = request.getSession(false);
ses.invalidate();

.When the user tries to login , every thing appears to be correct. except that he 
still inherits the old role (the role that existed when the server was started). 

This problem has an unacceptable workaround. Restart Jboss server. and the 
JaasSecurityManager cache is refreshed and everything works ok. 


IS there anyway that we can refresh the cache in JaasSecurityManager or invoke 
loginModule.logout() without restarting the server

I don't think that writing a custom Login Module helps. The cache seems to be deep in 
the container/server in JaasSecurityManager.

Scott??? 
Anyhelp will be deeply appreciated.

Thanks in advance.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - can't find data source: TestDS

2004-03-21 Thread blakeyu
I create entity ejb, create data source name is "TestDS", 

jbosscmp-jdbc.xml file as below.


http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>

  
TestDS
Oracle9i
  
  

  TEtyuser
  T_ETYUSER
  
name
NAME
  
  
userid
USERID
  

  


oracle-ds.xml as below:


  
TestDS
jdbc:oracle:thin:@192.168.0.221:1521:test  
oracle.jdbc.driver.OracleDriver
test
test
  



I can see the datasource on jboss console,but when I deploy it, i always get the error 
as following:
10:01:37,014 INFO  [MainDeployer] Starting deployment of package: 
file:/E:/jboss-4.0.0DR2/server/default/deploy/JBossEJB.jar
10:01:39,488 INFO  [EjbModule] Deploying TEtyuser
10:01:41,130 INFO  [EJBDeployer] DEPLOYED (create) GENERATED MBEANS
10:01:41,130 INFO  [EjbModule] Started jboss.j2ee:module=JBossEJB.jar,service=EjbModule
10:01:41,140 INFO  [TxInterceptorCMT] Setting TxSupport map for container: [EMAIL 
PROTECTED]
10:01:41,270 INFO  [EntityInstancePool] Started null
10:01:43,934 ERROR [EntityContainer] Starting failed: 
org.jboss.deployment.DeploymentException: Error: can't find data source: TestDS; - 
nested throwable: (javax.naming.NameNotFoundException: TestDS not bound)
10:01:43,934 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=TEtyuserRemote,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: TestDS; - 
nested throwable: (javax.naming.NameNotFoundException: TestDS not bound)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:113)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:513)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:428)
at org.jboss.ejb.entity.CMPInterceptor.start(CMPInterceptor.java:57)
at 
org.jboss.ejb.entity.SimplePersistenceManager.start(SimplePersistenceManager.java:79)
at org.jboss.ejb.EntityContainer.typeSpecificStart(EntityContainer.java:324)
at org.jboss.ejb.Container.startService(Container.java:1004)




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Does anybody know how to do EJB-QL successfully?

2004-03-21 Thread pouncil
Wassup guys!
 
I am using JBoss3.2.3 on windowsXP.  I am having a problems with the ejb-ql.  I guess 
Jboss is saying it can't find my method  "findByName"described in my ejb-jar.xml.
Any suggestion would be greatly appreciated.
 
Thnanks!
 
 
Here is what my ebj-jar.xml file looks like
 

  CustomerEJB
  
com.standardLib.ejb.entityBeans.customer.CustomerHomeLocal
  com.standardLib.ejb.entityBeans.customer.CustomerLocal
  com.standardLib.ejb.entityBeans.customer.CustomerBean
  Container
  java.lang.Integer
  False
  2.x
  CUSTOMER
  id
  firstName
  middleName
  lastName
  email
  userName
  password
  type
  id
  
 
  

  findByName
  
java.lang.String
java.lang.String
  


  SELECT OBJECT(C) FROM CUSTOMER AS c
  WHERE c.firstName = ?1 AND c.lastName = ?2

  
  

  ejbSelectCustomers
  


  SELECT OBJECT(c) FROM CUSTOMER AS c

  

 
Heres is my CustomerHomeLocal Bean:
 
package com.standardLib.ejb.entityBeans.customer;
 
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import java.util.Collection;
 
public interface CustomerHomeLocal extends javax.ejb.EJBLocalHome{
  public CustomerLocal create(CustomerDO user) throws CreateException;
  public CustomerLocal findByPrimaryKey(Integer pk) throws FinderException;
  public CustomerLocal findByName(String firstName, String lastName) throws 
FinderException;
 
  // query wrappers for ejbSelects
  public Collection queryCustomers() throws FinderException;
 
}
 
Here is my error message when I deploy:
 
 
22:21:30,234 INFO  [MainDeployer] Starting deployment of package: file:/C:/webpl
atform/servers/JBoss/jboss-3.2.3/server/default/deploy/customerAppEJBs1.0.jar
22:21:33,729 INFO  [EjbModule] Deploying UserEJB
22:21:33,789 INFO  [EjbModule] Deploying CustomerEJB
22:21:33,839 INFO  [EjbModule] Deploying AddressEJB
22:21:33,919 INFO  [EjbModule] Deploying PhoneEJB
22:21:33,969 INFO  [EjbModule] Deploying CreateAccountEJB
22:21:35,922 INFO  [EntityInstancePool] Started jboss.j2ee:jndiName=UserHomeRemo
te,plugin=pool,service=EJB
22:21:35,952 INFO  [EntityContainer] Started jboss.j2ee:jndiName=UserHomeRemote,
service=EJB
22:21:36,052 INFO  [EntityInstancePool] Started jboss.j2ee:jndiName=CustomerHome
Local,plugin=pool,service=EJB
22:21:36,082 INFO  [EntityContainer] Started jboss.j2ee:jndiName=CustomerHomeLoc
al,service=EJB
22:21:36,172 INFO  [EntityInstancePool] Started jboss.j2ee:jndiName=AddressHomeL
ocal,plugin=pool,service=EJB
22:21:36,202 INFO  [EntityContainer] Started jboss.j2ee:jndiName=AddressHomeLoca
l,service=EJB
22:21:36,402 INFO  [AddressEJB] Table 'ADDRESS' already exists
22:21:36,533 INFO  [PhoneEJB] Table 'PHONE' already exists
22:21:36,653 INFO  [CustomerEJB] Table 'CUSTOMER' already exists
22:21:36,683 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELE
CT OBJECT(C) FROM CUSTOMER AS c
  WHERE c.firstName = ?1 AND c.lastName = ?2'; - nested throwable: (java
.lang.NoSuchMethodError)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.j
ava:50)

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: CorbaNamingService IOR at Runtime

2004-03-21 Thread bwallis42
Wouldn't it be possible to use a corbaloc IOR? I think that jacorb supports
these but I haven't actually tried it. I've used them with mico and jacorb
clients to an Orbix 2000 server.

All you need is the hostname and port number for the server ORB (The port
number is set in your jacorb.properties file, find OAPort), ie: for your
example of the naming service, assuming your hostname is fred.cat.com
and using the default IIOP port number you can use an IOR like the
following to get an object reference to the NameService:

corbaloc:iiop:[EMAIL PROTECTED]:3528/NameService

so you just string_to_object and narrow from this.

   String nsior = "corbaloc:iiop:[EMAIL PROTECTED]:3528/NameService";
   org.omg.CORBA.ORB orb = ORB.init(args, props);
   org.omg.CORBA.Object obj = orb.string_to_object(nsior);
   NamingContextExt ns = NamingContextExtHelper.narrow(obj);

If you are then just going to look up a name and narrow it to the real object
you want, you can use a corbaname IOR instead, so to lookup "myobject" in
the "mycontext" naming context you can use:

corbaname:iiop:[EMAIL PROTECTED]:3528/NameService#mycontext/myobject

and do it all in one go.

There is a good article on these IORs at:
http://www.iona.com/devcenter/corba/corbaloc.pdf

brian wallis...

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: custom login module using AbstractServerLoginModule

2004-03-21 Thread ahardy66
Basically I am trying to establish whether this is a bug in the class, a deficiency in 
the documentation, or a bug in my code. 


To summarise: 

AbstractServerLoginModule.createGroup() creates Roles that tomcat cannot handle, 
leading to no roles being loaded for the user. 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - J2EE Component Wizard 1.4 is available

2004-03-21 Thread m1609
The J2EE Component Wizard is a Java Swing application, that supports the creation of 
J2EE Components (EJBs, Servlets, JSPs, Filter, Test Clients) and the required 
deployment descriptors.

The tool is freeware. The wizard is optimized for JBoss, but with your own template 
files, all application servers will be supported.

Have a look at:
http://www.j2eeguru.net/html/j2ee_component_wizard.html

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: apache 2 and mod_jk2, no sticky sessions

2004-03-21 Thread JonDenly
Thanks for the help - it's all working fine now!

Regards,

Jon

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Does any one know how to do EJB-QL in JBoss3.2.3

2004-03-21 Thread Tonté Pouncil



Thanks but that didn't work I still get the same 
error msg.  Have you successfully deployed ejbs that uses ejb-ql in 
JBoss3.2.3?  Do you know why I am getting this error msg?  


  - Original Message - 
  From: 
  Rafal 
  Kedziorski 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, March 21, 2004 4:48 
PM
  Subject: Re: [JBoss-user] Does any one 
  know how to do EJB-QL in JBoss3.2.3
  At 23:08 21.03.2004, you wrote:
  Wassup 
guys! I am using JBoss3.2.3 on 
windowsXP.  I am having a problems with the ejb-ql.  I guess Jboss 
is saying it can't find my method  "findByName".Any suggestion 
would be greatly appreciated. Thnanks!  Here is what my ebj-jar.xml file looks 
like   
CustomerEJB  
com.standardLib.ejb.entityBeans.customer.CustomerHomeLocal  
com.standardLib.ejb.entityBeans.customer.CustomerLocal  
com.standardLib.ejb.entityBeans.customer.CustomerBean  
Container  
java.lang.Integer  
False  
2.x  
CUSTOMER  
id  
firstName  
middleName  
lastName  
email  
userName  
password  
type  
id  
   
    
  
findByName  
    
java.lang.String    
java.lang.String  
    
    
  
SELECT OBJECT(C) FROM CUSTOMER AS 
c  WHERE 
c.firstName = ?1 AND c.lastName = ?2try 
  this:SELECT OBJECT(C) FROM CUSTOMER c WHERE 
  c.firstName = ?1 AND c.lastName = ?2Rafal 



Re: [JBoss-user] Does any one know how to do EJB-QL in JBoss3.2.3

2004-03-21 Thread Rafal Kedziorski


At 23:08 21.03.2004, you wrote:
Wassup
guys!
 
I am using JBoss3.2.3 on windowsXP.  I am
having a problems with the ejb-ql.  I guess Jboss is saying it can't
find my method  "findByName".
Any suggestion would be greatly appreciated.
 
Thnanks!
 
 
Here is what my ebj-jar.xml file looks
like
 

 
CustomerEJB
 
com.standardLib.ejb.entityBeans.customer.CustomerHomeLocal
 
com.standardLib.ejb.entityBeans.customer.CustomerLocal
 
com.standardLib.ejb.entityBeans.customer.CustomerBean
 
Container
 
java.lang.Integer
 
False
 
2.x
 
CUSTOMER
 
id
 
firstName
 
middleName
 
lastName
 
email
 
userName
 
password
 
type
 
id
 

 
 

    
 
findByName
 

   
java.lang.String
   
java.lang.String
 

    
    
  SELECT OBJECT(C)
FROM CUSTOMER AS c
  WHERE c.firstName
= ?1 AND c.lastName = ?2
try this:
SELECT OBJECT(C) FROM CUSTOMER c  WHERE
c.firstName = ?1 AND c.lastName = ?2

Rafal



[JBoss-user] Does any one know how to do EJB-QL in JBoss3.2.3

2004-03-21 Thread Tonté Pouncil




Wassup guys!
 
I am using JBoss3.2.3 on windowsXP.  I am 
having a problems with the ejb-ql.  I guess Jboss is saying it can't 
find my method  "findByName".
Any suggestion would be greatly 
appreciated.
 
Thnanks!
 
 
Here is what my ebj-jar.xml file looks 
like
 
  
CustomerEJB  
com.standardLib.ejb.entityBeans.customer.CustomerHomeLocal  
com.standardLib.ejb.entityBeans.customer.CustomerLocal  
com.standardLib.ejb.entityBeans.customer.CustomerBean  
Container  
java.lang.Integer  
False  
2.x  
CUSTOMER  
id  
firstName  
middleName  
lastName  
email  
userName  
password  
type  
id  

 
  
    
  
findByName  
    
java.lang.String    
java.lang.String  
    
    
  SELECT 
OBJECT(C) FROM CUSTOMER AS 
c  WHERE c.firstName = 
?1 AND c.lastName = ?2    
  
  
    
  
ejbSelectCustomers  
    
    
  SELECT 
OBJECT(c) FROM CUSTOMER AS c    
  
    
 
Heres is my CustomerHomeLocal 
Bean:
 
package 
com.standardLib.ejb.entityBeans.customer;
 
import javax.ejb.CreateException;import 
javax.ejb.FinderException;import java.util.Collection;
 
public interface CustomerHomeLocal extends 
javax.ejb.EJBLocalHome{  public CustomerLocal create(CustomerDO user) 
throws CreateException;  public CustomerLocal findByPrimaryKey(Integer 
pk) throws FinderException;  public CustomerLocal findByName(String 
firstName, String lastName) throws FinderException;
 
  // query wrappers for ejbSelects  
public Collection queryCustomers() throws FinderException;
 
}
 
Here is my error message when I 
deploy:
 
 
22:21:30,234 INFO  [MainDeployer] Starting 
deployment of package: 
file:/C:/webplatform/servers/JBoss/jboss-3.2.3/server/default/deploy/customerAppEJBs1.0.jar22:21:33,729 
INFO  [EjbModule] Deploying UserEJB22:21:33,789 INFO  [EjbModule] 
Deploying CustomerEJB22:21:33,839 INFO  [EjbModule] Deploying 
AddressEJB22:21:33,919 INFO  [EjbModule] Deploying 
PhoneEJB22:21:33,969 INFO  [EjbModule] Deploying 
CreateAccountEJB22:21:35,922 INFO  [EntityInstancePool] Started 
jboss.j2ee:jndiName=UserHomeRemote,plugin=pool,service=EJB22:21:35,952 
INFO  [EntityContainer] Started 
jboss.j2ee:jndiName=UserHomeRemote,service=EJB22:21:36,052 INFO  
[EntityInstancePool] Started 
jboss.j2ee:jndiName=CustomerHomeLocal,plugin=pool,service=EJB22:21:36,082 
INFO  [EntityContainer] Started 
jboss.j2ee:jndiName=CustomerHomeLocal,service=EJB22:21:36,172 INFO  
[EntityInstancePool] Started 
jboss.j2ee:jndiName=AddressHomeLocal,plugin=pool,service=EJB22:21:36,202 
INFO  [EntityContainer] Started 
jboss.j2ee:jndiName=AddressHomeLocal,service=EJB22:21:36,402 INFO  
[AddressEJB] Table 'ADDRESS' already exists22:21:36,533 INFO  
[PhoneEJB] Table 'PHONE' already exists22:21:36,653 INFO  [CustomerEJB] 
Table 'CUSTOMER' already exists22:21:36,683 ERROR [EntityContainer] Starting 
failedorg.jboss.deployment.DeploymentException: Error compiling EJB-QL 
statement 'SELECT OBJECT(C) FROM CUSTOMER AS 
c  WHERE c.firstName = 
?1 AND c.lastName = ?2'; - nested throwable: 
(java.lang.NoSuchMethodError)    
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:50)


[JBoss-user] [JCA/JBoss] - Ingres XA Datasource problems

2004-03-21 Thread tysmeister
Hi,

CA-Ingres comes bundled with a JDBC driver that supports XA connections. There is an 
informational site that provides explicit instructions for setting up 
an  using JBoss 3.2.x and their JDBC driver.

http://support.ca.com/techbases/ingres/TEC317590.html

When I try and set this up however I get an exception thrown whenever I try and get a 
new connection from the the datasource handle. Please see the top of the exception 
stack below;

org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (org.jboss.resource.JBossResourceException: Could not find accessor on 
XADataSource: ; - nested throwable: (java.lang.NoSuchMethodException: 
ca.edbc.jdbcx.EdbcXADataSource.setAutoCommitMode(java.lang.String)))
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:145)

Where does the setAutoCommit() method come from? Looking at the signature for the 
javax.sql.XADatasource interface from the J2SE 1.4.2 API this method is not part of 
the XADatasource interface.

I have no problems setting up a  using the same driver.

Thanks and regards,
Andrew

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Minimal JBoss configuration

2004-03-21 Thread shortpasta
finally got it to work. thanks scott for the idea to just deploy the html adaptor 
classes!

1. download jmx 1.2.1
2. put jmxtools.jar in server/minimal/lib
3. add this to server/minimal/deploy/user-service.xml:

  | 
  | 8090
  |   
  | 


to figure out what the problem was, i deployed a sar that looks like this:

  | my-jmx-console.sar
  |   META-INF
  | jboss-service.xml
  |   jmxtools.jar
  |   my-commons.jar
  | 

jboss-service.xml includes
1. my custom mbean MBeanManager
2. the sun html adaptor

my MBeanManager mbean makes sure that an MBeanServer exists, and as it turns out, when 
it was started, there was no MBeanServer, so my mbean ended up creating it.
the code looks something like this, and the only question left to answer is why was 
the MBeanServer missing.

  | final List mBeanServerList = MBeanServerFactory.findMBeanServer (null);
  | if (mBeanServerList == null || mBeanServerList.size () == 0) {
  | MBeanServerFactory.createMBeanServer ()
  | }
  | 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Compliance] - run-as role in ejbCreate

2004-03-21 Thread edstorm
Hi,

I originally posted this question in another forum, but thought it might do a bit 
better here.  I have two session beans, TestSession and InternalSession.  TestSession 
is stateful, InternalSession is  stateless.  TestSession has the run-as role set to 
"internal", and all of the methods for InternalSession require the "internal" role.  
Everthing runs fine, until ejbActivate is invoked on TestSession.  I get the following 
exception:


  | 12:08:13,801 ERROR [SecurityInterceptor] Insufficient method permissions, 
principal=null, method=create, interface=LOCALHOME, requiredRoles=[internal], 
principalRoles=[]
  | 12:08:13,804 ERROR [LogInterceptor] EJBException, causedBy:
  | java.lang.SecurityException: Insufficient method permissions, principal=null, 
method=create, interface=LOCALHOME, requiredRoles=[internal], principalRoles=[]
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:229)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
  | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  | at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:562)
  | at org.jboss.ejb.Container.invoke(Container.java:909)
  | at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:293)
  | at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
  | at $Proxy51.create(Unknown Source)
  | at test.TestSessionBean.getInternalSessionLocal(TestSessionBean.java:73)
  | at test.TestSessionBean.checkRoles(TestSessionBean.java:210)
  | at test.TestSessionBean.checkLocal(TestSessionBean.java:187)
  | at test.TestSessionBean.ejbActivate(TestSessionBean.java:127)
  | at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:331)
  | at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulSessionInstanceCache.java:90)
  | at 
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:107)
  | at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:211)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:314)
  | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
  | 
  | 
  | 
  | 
  | The bit of code where the exception occurs is where create() is called on the 
InternalSession ( which requires "internal" role ) below:
  | 
  | 
  |   |  private InternalSessionLocal getInternalSessionLocal()
  |   | throws EJBException {
  |   | 
  |   | try {
  |   | 
  |   | InitialContext initCtx = new InitialContext();
  |   | InternalSessionLocalHome ilocalhome = 
(InternalSessionLocalHome)initCtx.lookup( 
  |   |"java:comp/env/ejb/test/InternalSession"
  |   |);
  |   | return ilocalhome.create();
  |   | 
  |   | } catch (Exception e ) {
  |   | log.error( "Exception getting internal session.",e);
  |   | throw new EJBException( "exception getting internal session",e);
  |   | }
  |   | 
  |   | }
  |   | 
  |   | 
  | 
  | I have tested this on jboss-3.2.3 and jboss-4.0.0DR3, and the results are the 
same.   So the question is: Should jboss be applying the run-as role when ejbActivate 
is invoked?  My reading of the 2.0 spec suggests that is should, but I am not by any 
means an expert.
  | 
  | Thanks,
  | Ed

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Minimal JBoss configuration

2004-03-21 Thread shortpasta
I tried what you suggested and now I get the exception.


  | 11:39:34,843 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-3.2.4-RC1-watchdog-minimal/server/watchdog/deploy/syncvoice-jmx-con
  | sole.sar/
  | org.jboss.deployment.DeploymentException: create operation failed for package 
file:/C:/jboss-3.2.4-RC1-watchdog-minimal/server/watchdog/deploy/sy
  | ncvoice-jmx-console.sar/; - nested throwable: 
(org.jboss.deployment.DeploymentException: name is not a valid java type (or is a 
reserved word): c
  | lass name; - nested throwable: (java.lang.IllegalArgumentException: name is not a 
valid java type (or is a reserved word): class name))
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:226)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:787)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:606)
  | at java.lang.reflect.Method.invoke(Native Method)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | 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 java.lang.reflect.Method.invoke(Native Method)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:825)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:360)
  | at java.lang.reflect.Method.invoke(Native Method)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:250)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:833)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:643)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:606)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:590)
  | at java.lang.reflect.Method.invoke(Native Method)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | at $Proxy5.deploy(Unknown Source)
  | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:404)
  | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
  | at org.jboss.Main.boot(Main.java:144)
  | at org.jboss.Main$1.run(Main.java:389)
  | at java.lang.Thread.run(Thread.java:484)
  | 

The only 'name' I can guess this exception is related to is the attribute of 
mbean/attribute elements in jboss-service.xml.

I'll try a few more things today

I'd like to clarify, I said 6Mb and not 64Mb can you imagine? =)

http

[JBoss-user] [Management, JMX/JBoss] - adding datasources through JMX

2004-03-21 Thread svet
Hello, 

I want to add datasources to JBOSS dynamically through JMX during runtime, the same 
info as in "...-ds.xml" files. Could somebody referr 
me to code example. 

Thank you,
Svet

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread remrick
I need a "centralized" cache and access to it.  I was thinking of using a Singleton at 
first that could be accessed by all clients.   The singleton would be the manager of 
the cache and would be the only entry point to read and write it.  This isn't as 
simple as I thought for a myriad of reasons including the fact that all clients would 
need to "keep track" of which node was the master.

Then I thought the DistributedState service would be a good way to go.  This didn't 
pan out either for the simple fact that the DistributedState service isn't 
transactional.

I'm now off investigating the JBossCache because, again, I would like to have a shared 
data cache that all clients can access easily and not have to worry about managing 
which node is the master as well as being able to have the state managed 
transactionally.From everything I know and have read so far, it appears the 
JBossCache is the answer.  Sound right?

In the end, what I need is a transactional cache (or gateway) for clients to access.  
The clients need to acquire a "global" lock from this cache (i.e. a counter is 
decremented), do some work and then release the lock (i.e. the counter is 
incremented).  Simple algorithm, not as simple in a clustered environment where I'd 
like to take advantage of load-balancing and fault tolerance.

Thanks,
-Ron

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Messages going missing

2004-03-21 Thread sahumx
I have que to which I send messages through a session bean:
Configuration given below:
X

jms/QueueConnectionFactory

ConnectionFactory


jms/AsyncSenderQueue
queue/jms/opc/OrderQueue

The log seem to say that it is getting send to the queue
Duke Express


JETBLACK
JB-2
JB-2-1
0
1
145.0



}
}
2004-03-21 18:24:21,578 TRACE [org.jboss.mq.SpyXAResourceManager] [EMAIL PROTECTED] 
txState=0, sendMessages=[], ackedMessages=[] }
2004-03-21 18:24:21,578 TRACE [org.jboss.mq.Connection] Closing sessions, 
ClientID=ID:10
2004-03-21 18:24:21,578 DEBUG [org.jboss.mq.SpySession] Session closing.
2004-03-21 18:24:21,578 TRACE [org.jboss.mq.Connection] PING
2004-03-21 18:24:21,578 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : ping
2004-03-21 18:24:21,578 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: 
1079893461578
2004-03-21 18:24:21,578 DEBUG [org.jboss.mq.il.oil.OILClientIL] 
ConnectionReceiverOILClient is connecting to: 81.101.228.236:1790
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.SpyXAResourceManager] Ending 
xid=-9223372036854775808, success=true
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.SpyXAResourceManager] Rolling back 
xid=-9223372036854775808
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.Connection] PONG, [EMAIL PROTECTED]
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : ping
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : 
transact
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: [EMAIL 
PROTECTED]
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : 
transact
2004-03-21 18:24:21,593 TRACE [org.jboss.mq.SpyXAResourceManager] Starting tx with new 
xid=-9223372036854775807
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.SpySession] Current transaction id: 
-9223372036854775807
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.Connection] Closed sessions
2004-03-21 18:24:21,609 DEBUG [org.jboss.mq.Connection] Notifiying the server of close
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : 
connectionClosing
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.il.oil.OILClientIL] Closing OILClientIL
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : 
connectionClosing
2004-03-21 18:24:21,609 TRACE [org.jboss.mq.Connection] Stoping the ClientIL 
service.

But Nothing seems to be appearing...
The MDB does not seem to pickup the message and also I do not see any messages in the 
queue depth..
I do not know what is going wrong..
Please do inform what can be the reason...


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Minimal JBoss configuration

2004-03-21 Thread [EMAIL PROTECTED]
Undoubtedly a conflict between the two jmx implementations. The ri html adaptor should 
be runable without any jmx api jars so try extracting just the needed html adaptor 
classes. If its coupled to the ri jmx implementation then its not going to work. A 
minimal config for the jmx-console.war is not close to 64Mb so I don't know how your 
pulling that figure out of the air.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Duplicates in web-console webapp object list.

2004-03-21 Thread cvandyck
Thanks Adrian!

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Jboss cache is always empty - why?

2004-03-21 Thread cvandyck
How are you getting the FK ids?  When you get your entity X, say through:

EntityLocal x = xHome.findByPrimaryKey(xId);

Do you then get your FKs through

x.getId2()
x.getId3()

?  If so, I don't understand then.  The CMR I am familiar with makes that unecessary, 
unpossible.  The container will make sure that ID exists, correct?  

CMRs would allow you to say 

EntityYLocal y = x.getY();
EntityZLocal z = x.getZ();

Either way, I'd think if you were using x.getId2() and x.getId3() as above that would 
enlist X in the cache.



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Applets in JBOSS

2004-03-21 Thread teklord
Thanks! It worked this way... Is there another place where I can put the applet.jar 
file or the only place is within webmod.war?

Thanks

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Signed Jars

2004-03-21 Thread [EMAIL PROTECTED]
I don't have jboss-3.0.6 laying around so I tried using jboss-3.2.3 and signed the 
default/lib/{jbossha.jar,jboss.jar} and renamed them signed-jboss.jar
signed-jbossha.jar so that they are not being loaded first and this starts up fine.

I also tried renaming the jboss-3.2.3 dist as jboss-3.0.6-bfa and this did not show 
any different behavior so either its an issue with 3.0.6 or I'm not reproducing the 
issue. Can you try jboss-3.2.3?

This is on a winxp pro system running:
[EMAIL PROTECTED] bin]$ java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread nextstepsolutions
Thanks for the replies.
Very impressive on a Sunday and Mothers Day (in UK) too, should you not be at your 
Mums with a bunch of flowers?
Come to that, shouldn't I

Andy 
;)

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread [EMAIL PROTECTED]
Its available by touching the war file, or using the MainDeployer.redeploy operation. 
The web-console may have some additional entry points but I don't use it much.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: jboss-4.0.0DR2 and FirebirdJDBC1.5.0Beta3 config, parse

2004-03-21 Thread triathlon98
I would suggest using the prefixdploymentsorter to make sure that the rar is loaded 
before the -ds.xml file. This caused problems in earlier versions of JBoss/JayBird. It 
definately works for me...

Joachim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread nextstepsolutions
Ok, thats cool.
I've looked at the Web and JMX Consoles, but can't see how I can restart the webapps 
that are deployed in the embedded Tomcat server.
Is this functionality available?
If not, I can always run Tomcat as a standalone app, its not a showstopper.

All the best,
Andy
:)

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread starksm
You would have to get them from the tomcat download. We have our own jmx admin console 
so we don't use these and I don't even know if they will work.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread nextstepsolutions
I'm using JBoss (with Tomcat) on OS X but cannot access the Tomcat Manager or Admin 
webapps.
Do I have to add these from a seperate Tomcat download?

Thanks in advance,
Andy

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Tomcat SSL does not work on Windows but fine on Unix/Lin

2004-03-21 Thread starksm
Validate that the keystore file is valid on windows using the keytool to print the 
server cert. If its valid, enable debugging of the jsse layer by adding the 
-Djavax.net.debug=all system property to the run.bat command line or by setting the 
JAVA_OPTS="-Djavax.net.debug=all" env variable.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-21 Thread starksm
The descriptors won't be of any help. You have to post the full stack trace of the 
security exception to see what invocation layers are involved. If you have an example 
ear that demonstrates the problem create bug report on sourceforge and attach the ear 
to the report.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: which keystore certificate for ssl

2004-03-21 Thread starksm
You can specify a keyAlias attribute on the connector to choose a specific key, else 
the key will be choosen based on the first key that matches the ssl handshake 
parameters.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Applets in JBOSS

2004-03-21 Thread starksm
Put the applet classes in a jar under webmod.war and do not use a codebase. Specify 
the jar via the archive attribute. This is how the web-console.war applet is deployed:


  | 
  | ...
  | 
  | 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread starksm
JBossCache supports clustering, although its not clear how this is an approriate 
replacement for a singleton.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Clustering (HAILConnectionFactory) Problem

2004-03-21 Thread ivelin
The HAJMS code was checked in past 3.2.4RC1. Either build from CVS or wait another 
week or so for the next RC.

There is more information about it on the wiki:
http://jboss.org/wiki/Wiki.jsp?page=JBossMQHA

Ivelin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread remrick
Thanks Scott for the quick reply.  I thought as much... I may be better served using 
the JBossCache.

Just to be sure, the JBossCache is well suited for a clustered environment, correct?

Thanks again,
-Ron

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread starksm
Yes, you will have to track this, or your singleton service can create a link to the 
RMIAdaptor under a unqiue JNDI name such that when a client looks this up through 
HA-JNDI, it finds the RMIAdaptor on the same node as the singleton.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JasperException to view Jsp pages by web access

2004-03-21 Thread starksm
This also occurs if the javac compiler is not on the jboss server classpath. This is 
typically found in the jre/lib/tools.jar.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Problem when including the datasource xml file in ear

2004-03-21 Thread neva
Hello,

I have an application that works fine when I put the datasource xml file in the 
deployment folder of JBoss. However, I tried to remove that DS xml file from there and 
included it into the application.ear file. This is where I get a deployment error.
I get the following:


org.jboss.deployment.DeploymentException: Error: can't find data source: 
java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException: MySqlDS not 
bound)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:115)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:438)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
. 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
Caused by: javax.naming.NameNotFoundException: MySqlDS not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:112)


does that mean that I MUST have the datasource xml file in the deployment folder
of xml before I can deploy my application? if not, then how can I do it. I need to
have all my application wrapped up in the ear file only.. 
Thanks in advance...bye

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Client Access of Master Singleton Node

2004-03-21 Thread remrick
I've deployed a singleton MBean (using the Singleton Service) in a clustered (2 node) 
environment.  I'd like to have my clients always connect via the RMIAdaptor to the 
master singleton only.  Is there a way to do this easily?  Do the clients have to 
"listen" to who the master is and detect changes?

It seems now in simple tests that my client (using HA-JNDI) does not discern which 
singleton MBean is the master.  It uses the HA-JNDI to find the RMIAdapter and then it 
appears that whichever node I get connected to with the RMIAdapter is the singleton 
instance that gets invoked (I use a simple dummy method to see the results of which 
instance is called).

Thanks,
-Ron

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Applets in JBOSS

2004-03-21 Thread teklord
Hi, 
I'm tring to run an Applet from one of my files deployed in webmod.war.
I have a very simple applet(that does nothing except makes a red sqare), and a jsp 
file (AppletTest.jsp) in which i have this code:

  | 
  | 
  | 
Which directory should I put on the codebase="..." attribute so that my jsp can find 
the .class to open the applet.

I have also tried with a simple html file in webmod.war but I have the same problem... 
I don't know which directory to put under codebase...

MyApplet.class file in in webmod.war unde the directory WEB-INF/classes.

If anyone has another solution of how can I run an Applet from a jsp or html in web 
module please post a reply.

Thanks
Teo

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Accessing the Singleton Servic MBean

2004-03-21 Thread remrick
Hi Michael,

After experimenting and working with the DistributedState it appears it will not suite 
all my needs.  For one it is not transactional and modifying the state is a problem in 
a clustered environment.

I am currently looking at the JBossCache and it appears that it may suite my needs 
much better.  It's transactional which is something I definitely need.

Thanks for help and validating some of the thoughts I was having.

-Ron

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Configure basic security. SecurityException.

2004-03-21 Thread [EMAIL PROTECTED]
Have you seen the wiki?

In particular this topic? 
http://jboss.org/wiki/Wiki.jsp?page=SecureJBoss
which explains has to configure the jmx console for Basic Authentication

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - HA JMS improvements in JBoss 3.2.4

2004-03-21 Thread ivelin
http://jboss.org/wiki/Wiki.jsp?page=JBossMQHA

Ivelin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - FYI: deploy-hasingleton in JBoss 3.2.4

2004-03-21 Thread ivelin
http://jboss.org/wiki/Wiki.jsp?page=HASingletonDeployer

Ivelin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Connection Refused on EAR Deployment

2004-03-21 Thread [EMAIL PROTECTED]
No, there's a local resolver for the DTDs.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Control deployment through custom configuration mechanis

2004-03-21 Thread [EMAIL PROTECTED]
You need to create your own deployer for the legacy config API.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - "Certificate authertication" Question

2004-03-21 Thread vincentchun
I have read the "JAAS Howto: README FIRST" and I run the example successfully.

How can I run the example with "Certificate authertication"?
and how to set the jboss to use secure socket layer (SSL)?

Thank a lot!

Best Regards,
Vincent Chun


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Multiple ejb jars with common ejbs

2004-03-21 Thread sahumx
I am having problem in deploying multiple ejb jars with common ejb component.
The issue is I have three ejb jar file, which have inside them common ejbs(in the 
relation)..
1st ejb containing contact ejb
2nd ejb containing contact ejb 
and similarly
The problem is the first gets deployed fine..
but the second jar and later fails saying contact ejb already deployed..
This results in few of the component not getting deployed..
Is there a way in JBOSS to ignore this deployment failure and continue with the 
deployment on the ejb jar

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: A deploy error

2004-03-21 Thread peter_y_wang
Found out my problem was because IÂm running both nukes and portlet on my JBoss. 
There are some conflict in configuration. When I removed portlets and reinstalled 
JBoss3.2.3 the problem disappeared.

Maybe there was an incompatible version of JBoss EJB that come with my portlet. Now I 
decided to run them separately.



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Crazy problem

2004-03-21 Thread luigifonti
Could you please be more explicit ?
How can I check the _reverse_ ns-lookup ?


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user