[JBoss-user] [Messaging, JMS & JBossMQ] - Rollback problem when sending to multiple queues.

2005-03-30 Thread mariovvl
Hi,

when sending a message to 2 queue destinations (using the same session) I want 
to rollback both sends when either of the 2 queues is down. To test this, I 
issued a stop() (using MBean method) on queue A at points (1) and (2) in my 
code (see below). The mpt.send(message) call doesn't fail, however when the 
commit is executed, I get a SpyTransactionRolledBackException which is what I 
would expect. It seems though that queue/testQueue did receive the message 
regardless of the rollback.

Is this expected behaviour? If so, how can I make sure my scenario issues a 
rollback on both queues? 

Thanks,
   Mario


  | ctx = new InitialContext();
  | cf = (QueueConnectionFactory)ctx.lookup("ConnectionFactory");
  | Connection c = cf.createConnection();
  | Session s = c.createSession(true, Session.SESSION_TRANSACTED);
  |
  | destination1 = (Queue)ctx.lookup("queue/testQueue");
  | message = s.createTextMessage();
  | message.setText("***mymessage**"); 
  | MessageProducer mpq = s.createProducer(destination1);
  | mpq.send(message);
  | 
  | destination2 = (Queue)ctx.lookup("queue/A");
  | //(1)
  | MessageProducer mpt = s.createProducer(destination2);
  | //(2)
  | mpt.send(message);
  | 
  | s.commit();
  | 

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to distribute linearized PDF files in JBoss?

2005-03-30 Thread dinggf
I have some linearized PDF files, I want to distribute them with JBoss 4.0 .
I installed JBoss 4.0 by default, and deploy my web appliaction.
When I visited a pdf file link in my web application, the pdf file download 
totally.
I don't know what's the matter, there are MIME-MAPPING in web.xml.
So I redistiribute these PDF file in IIS server and Apache, all of them work 
right.
Does JBoss support linearized pdf file? For these file are very large, I don't 
want my user to download total file .

Who can give me some advices?
Thanks in advance.

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: The best JVM

2005-03-30 Thread chrisdutz
Our benchmarks allways were about 30% better when using one of the JRockit VMs 
instead of the corresponding Sun VM (with just a few performance tweaks) ... 
unfortunately there seem to be some problems with the 1.5VM and JBoss. 

Okok ... now don't flame me for this comment. It was just a thing we mesured.

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - JBoss 3.2.6 build error, could any one help me please!

2005-03-30 Thread afuture
the error is as below:

generate-parsers:
   [javacc] Java Compiler Compiler Version 2.0 (Parser Generator)
   [javacc] Copyright (c) 1996-2000 Sun Microsystems, Inc.
   [javacc] Copyright (c) 1997-2000 Metamata, Inc.
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
G:\JBossStudy\jboss-3.2.6-src\server\output\parsers\org\jboss\ejb\plugins\cmp\ejbql\JBossQLParser.jj
 . . .
   [javacc] COM.sun.labs.javacc.ParseException: Encountered "{" at line 273, 
column 31.
   [javacc] Was expecting:
   [javacc] ")" ...
   [javacc] 
   [javacc] Detected 1 errors and 0 warnings.

BUILD FAILED

G:\JBossStudy\jboss-3.2.6-src\server\build.xml:225: 
E:\j2sdk1.4.2_01\jre\bin\java.exe failed with return code 1
at org.apache.tools.ant.taskdefs.Execute.runCommand(Execute.java:647)
at 
org.apache.tools.ant.taskdefs.optional.javacc.JavaCC.execute(JavaCC.java:322)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at 
org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
at 
org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
at 
org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
at 
org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deploying files

2005-03-30 Thread rkogulan
Raja,

when I make the war file, I put everything like keystore, *.class files right 
and what else needed ?

When I launched the jsp, It still shows it cannot find the servelet page.
But I do not see any errors pertain to this in the server.log file.

what should I do? Any guidance is appreciated.

Thanks
Raj


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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss JMS and IBM MQ

2005-03-30 Thread dfrolov
Hi All,
I'm not sure if this questions has been asked already, but here it comes.
Is it possible to have jboss read messages of IBM MQ?  If so, what are 
everybodies thoughts on this topic? How reliable is it? Is it a practical 
solution?

Thanks,
Dmitriy Frolov

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JBoss manage an MBean on remote JVM - PLEASE Help

2005-03-30 Thread [EMAIL PROTECTED]
This is in the FAQJBossJMX now:

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

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

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Array Class Literals

2005-03-30 Thread hlovatt
First two appologies: I don't seem to be able to watch this thread so I missed 
your post and secondly my test class is a little long :( . Take a look at lines 
75 to 90 which demonstrate the problem I am having with array class literals 
and also with testing for null on primitive arrays (see seperate post to this 
forum for null problems).


  | package examples.javassisttests.poolget;
  | 
  | import javassist.*;
  | import pec.compile.*;
  | import java.io.*;
  | import java.lang.reflect.*;
  | 
  | public class Test {
  | static class Y {}
  | static class X extends Y {}
  | public static void main( final String[] notUsed ) throws Exception {
  | // Test of assignment compatability
  | final X[] xs = new X[ 1 ];
  | final Y[] ys = xs;
  | ys[ 0 ] = new X(); // OK
  | // ys[ 0 ] = new Y(); // ArrayStoreException
  | final ClassPool pool = ClassPool.getDefault();
  | final CtClass intClass = pool.get( "int" );
  | final CtClass longClass = pool.get( "long" );
  | System.out.println( "Class: " + long.class.isAssignableFrom( 
int.class ) );
  | System.out.println( "CtClass: " + longClass.subtypeOf( intClass ) );
  | 
  | // get classes
  | System.out.println( "int = " +  intClass );
  | final CtClass intArrayClass = pool.get( "int[]" );
  | System.out.println( "int[] = " +  intArrayClass );
  | final CtClass objectArrayClass = pool.get( "java.lang.Object[]" );
  | System.out.println( "Object[] = " +  objectArrayClass );
  | 
  | // class definition (AbstractTest)
  | final CtClass clazz = pool.makeClass( 
"examples.javassisttests.poolget.AbstractTest" );
  | clazz.setModifiers( javassist.Modifier.ABSTRACT );
  | clazz.setModifiers( javassist.Modifier.PUBLIC );
  | 
  | // protected constructor definition
  | final CtConstructor constructor = 
CtNewConstructor.defaultConstructor( 
  |   clazz );
  | constructor.setModifiers( javassist.Modifier.PROTECTED );
  | clazz.addConstructor( constructor );
  | 
  | // abstract method definition
  | final CtClass[] arguments = new CtClass[] { intClass, 
intArrayClass, objectArrayClass };
  | final CtMethod method = CtNewMethod.abstractMethod( 
  | intClass, 
  | "f", 
  | arguments, 
  | null, 
  | clazz );
  | clazz.addMethod( method );
  | 
  | // write the abstract class
  | clazz.writeFile( "C:\\Personal\\Java" );
  | 
  | // print the abstract class
  | final Class classOfClazz = Class.forName( 
"examples.javassisttests.poolget.AbstractTest" );
  | System.out.println();
  | Utilities.printSignature( classOfClazz, null );
  | 
  | // class definition (DerivedTest)
  | final CtClass derivedClass = pool.makeClass( 
  |  
"examples.javassisttests.poolget.DerivedTest", clazz );
  | derivedClass.setModifiers( javassist.Modifier.PUBLIC );
  | 
  | // public constructor definition
  | final CtConstructor derivedConstructor = 
CtNewConstructor.defaultConstructor( 
  |   derivedClass );
  | derivedClass.addConstructor( derivedConstructor );
  | 
  | // method definition
  | final CtMethod derivedMethod = CtNewMethod.make( 
  | intClass, 
  | "f", 
  | arguments, 
  | null, 
  | /*"{\n" +
  | "if ( $2 != null )\n" +
  | "return $2.length;\n" +
  | "if ( $3 instanceof 
Object[].class )\n" +
  | "return $3.length;\n" +
  | "return $1;\n" +
  | "}",*/
  | "{\n" +
  | "if ( System.identityHashCode( 
$2 ) != 0 )\n" +
  | "return $2.length;\n" +
  | "Class array = 
java.lang.reflect.Array.newInstance( Object.class, 0 ).getClass();\n" +
  | "if ( array.isInstance( $3 ) 
)\n" +
  | "return $3.length;\n" +
  | "return 

[JBoss-user] [HTTPD, Servlets & JSP] - Re: crossContext does not work on jboss4.02-rc1-tomcat-5.5.8

2005-03-30 Thread kblythe
I too experienced this problem.

My workaround was to copy jbossweb-tomcat55.sar/context.xml to the WEB-INF 
directory for all webapps that need crossContext=true.


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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Problem deploying DukeBank example

2005-03-30 Thread 4WoofGrrrr
I downloaded the DukesBank example from the Sun web site, as directed in the 
Getting Started Guide.  I added the JBoss-specific stuff as directed.  I built 
the Web Application as directed.  But when I use the deply target I get:
15:50:48,124 INFO  [EARDeployer] Init J2EE application: 
file:/C:/Programs/JBoss/4.0.1/server/default/deploy/JBossDukesBa
nk.ear
15:50:49,901 INFO  [EjbModule] Deploying CustomerBean
15:50:50,181 INFO  [EjbModule] Deploying AccountBean
15:50:50,212 INFO  [EjbModule] Deploying TxBean
15:50:50,228 INFO  [EjbModule] Deploying NextIdBean
15:50:50,244 INFO  [EjbModule] Deploying AccountControllerBean
15:50:50,290 INFO  [EjbModule] Deploying CustomerControllerBean
15:50:50,306 INFO  [EjbModule] Deploying TxControllerBean
15:50:51,303 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=ebankNextId,service=EJB
java.lang.NoSuchMethodError: 
org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/generic/Type;S)L
org/apache/bcel/generic/Instruction;
at 
org.jboss.proxy.compiler.ProxyImplementationFactory.createProxyMethod(ProxyImplementationFactory.java:319)
at 
org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:167)
at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:69)
at org.jboss.proxy.compiler.ProxyCompiler.(ProxyCompiler.java:76)
at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:603)
at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:78)
at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.(JDBCCreateBeanClassInstanceCommand.j
ava:56)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.jav
a:124)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:463)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy47.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContr

[JBoss-user] [Management, JMX/JBoss] - Re: where to define jndi-name for mbean in SAR?

2005-03-30 Thread [EMAIL PROTECTED]
You can't use jboss.xml with mbeans. You need to treat this case as if you were 
writing a stand alone JMS client. You should probably lookup

"java:/ConnectionFactory"

for the in-VM factory. Some resources:

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

http://docs.jboss.org/admin-devel/Chap6.html#0_pgfId-913324

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: unexpected shutdown of JBoss

2005-03-30 Thread mikek753
I have almost the same with JBoss 4.0.0 and 4.0.1SP1 on Solaris 8
and Linux.

any solution for that issue?
Does jboss account is required? I'm running jboss as root as
./run.sh&

thanks

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Maping a custom Array (Person[]) in java-wsdl-mapping

2005-03-30 Thread jasong
"eykatz" wrote : Hi Jason,
  | 1.
  | why do I need ws4ee-deployment.xml ? 
  | 

I should update the wiki on that, you most likely won't need it. Try it without 
it first.

anonymous wrote : 
  | 2.
  | this file is not J2EE 1.4 mandatory (and JBoss 4 is J2EE 1.4 compilant)
  | 

Containers are free to require container specific deployment artifactss. This 
is used all over the place by many different containers (an example would be 
jndi mapping)

anonymous wrote : 
  | 
  | 3.
  | shouldnt it be enough to supply webservices.xml with a 
 tag which points to the appropriate mapping scheme?
  | 

Yes, and it most cases it will work without it. The ws4ee-deployment descriptor 
is purely a workaround component due to a combination of factors (i.e. problems 
with jax-rpc 1.1 & axis (used internally in the current ws4ee implementation)). 
The next release of JBossWS is a complete rewrite, and will not have the 
problems that require this file.

anonymous wrote : 
  | 4.
  | where do I put ws4ee-deployment.xml ? under META-INF ?
  | can you provide a link where we can read about it?
  | 

WEB-INF if its a JSE 
META-INF if its a web service endpoint

-Jason


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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - How to Acess JBOSS Naming Server (JNDI)/JBOSSMQ behind Firew

2005-03-30 Thread arunchaks
I would like to send & receive mesages to JBOSSMQ (jboss 3.2.5) over internet. 
The server is behind NAT & Firewall plus DNS. The JNDI lookup keeps on failing. 
I traced out the reason being RMI protocol issue. please refer 
http://forum.java.sun.com/thread.jspa?threadID=289869&messageID=1242288 Also 
tried with HTTP tunneling enabled for JNDI. Below is the stack trace and code 
snippet.


Error Trace
javax.naming.NamingException: Failed to retrieve Naming interface.  Root 
exception is java.net.UnknownHostException: arunp
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
  at java.net.Socket.connect(Socket.java:434)
  at java.net.Socket.connect(Socket.java:384)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
  at sun.net.www.http.HttpClient.(HttpClient.java:303)
  at sun.net.www.http.HttpClient.(HttpClient.java:264)
  at sun.net.www.http.HttpClient.New(HttpClient.java:336)
  at sun.net.www.http.HttpClient.New(HttpClient.java:317)
  at sun.net.www.http.HttpClient.New(HttpClient.java:312)
  at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
  at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
  at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
  at 
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1178)
  at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
  at java.net.URLConnection.getContentLength(URLConnection.java:370)
  at 
org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:112)
  at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:65)
  at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
  at javax.naming.InitialContext.init(InitialContext.java:219)
  at javax.naming.InitialContext.(InitialContext.java:195)
  at JMSTest.doSend(JMSTest.java:28)
  at com.dialup.test.JMSTest.main(JMSTest.java:53)


Test Case.

import java.util.Properties;

import javax.jms.Message;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;
import javax.jms.QueueReceiver;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.naming.Context;
import javax.naming.InitialContext;

public class JMSTest
{

   public void doSend()throws Exception

   {   
   Properties properties = new Properties();
   properties.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.naming.HttpNamingContextFactory");
   properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
   properties.put(Context.PROVIDER_URL,  
"http://hostname/invoker/JNDIFactory";);
   InitialContext ctx = new InitialContext(properties);

   Queue queue = (Queue) ctx.lookup("queue/TestQueue");
   QueueConnectionFactory qcf = (QueueConnectionFactory) 
ctx.lookup("UIL2ConnectionFactory");
   QueueConnection qc = qcf.createQueueConnection("arun","arun");

   try
   {
  QueueSession qs = qc.createQueueSession(false, 
Session.AUTO_ACKNOWLEDGE);
  QueueSender sender = qs.createSender(queue);
  TextMessage message = qs.createTextMessage("testMessage @ " + 
System.currentTimeMillis());

  sender.send(message);
   }
   finally
   {
  qc.close();
   }
   }


  public static void main(String[] args) throws Exception
  {
 try
 {

 JMSTest sender = new JMSTest();
 sender.doSend();
 }
 catch(Exception e)
 {
 e.printStackTrace();
 }
  }
}



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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - where to define jndi-name for mbean in SAR?

2005-03-30 Thread mikek753
Hello all,

My mbean calls class that connects to JMS.
But, in that class ConnectionFactory can not be bound.
I don't have any EJB (MDB) no EAR just SAR.

How I can define and where that my mbean can get  context  of JMS factory?

in my code:

// Get the initial context
Context context = new InitialContext();
// Get the connection factory
TopicConnectionFactory topicFactory =
 
(TopicConnectionFactory)context.lookup("ConnectionFactory");

in jboss-services.xml:



   
  jms/TCF
  ConnectionFactory
  javax.jms.TopicConnectionFactory
   

  
MyServer
jboss.mq.destination:service=Topic,name=MyTopic
  
  



My mbean doesn't see that ConnectionFactory :-(

In case of EJB there is jboss.xml where I can define that jndi mapping, but I 
can't find any info about how to use jboss.xml with SAR.

Thanks for your help.



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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to isolate clusters ? Modifying mcast_addr isn't wo

2005-03-30 Thread [EMAIL PROTECTED]
what was the dumb mistake ?

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - how to keep web app active

2005-03-30 Thread jingc3
Hi there,

I have a java.util.TimerTask scheduled inside of a web app.  But when the app 
is not accessed by any user for couple hours, and it is time to run the task, 
it throw NullpointerException on loading class at the line:

  | SomeClass some = new SomeClass();
  | 
The stack trace is:
  | 10:06:28,218 ERROR [STDERR] java.lang.NullPointerException
  | 10:06:28,265 ERROR [STDERR] at 
org.jboss.mx.loading.LoadMgr3.beginLoadTask(L
  | oadMgr3.java:119)
  | 10:06:28,515 ERROR [STDERR] at 
org.jboss.mx.loading.UnifiedClassLoader3.load
  | ClassImpl(UnifiedClassLoader3.java:169)
  | 10:06:28,515 ERROR [STDERR] at 
org.jboss.mx.loading.UnifiedClassLoader3.load
  | Class(UnifiedClassLoader3.java:123)
  | 10:06:28,515 ERROR [STDERR] at 
java.lang.ClassLoader.loadClass(ClassLoader.j
  | ava:235)
  | 10:06:28,859 ERROR [STDERR] at 
java.lang.ClassLoader.loadClassInternal(Class
  | Loader.java:302)
  | 

Does anybody have the same problem before and how do you resolve it?

It looks to me that when the web app not being accessed for a while, JBoss set 
it to an inactive mode (but not unload it.  If unloaded, the code will gurantee 
to cancel the task).

So my question is how to keep the web app active even there is nobody access it?

Thanks

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JBoss manage an MBean on remote JVM - PLEASE Help

2005-03-30 Thread slehavi
Hi All, 

I have the following setup:
1) A clustered JBoss 4.0.1 environment running on Linux servers. 
2) A java client that delegates calls to an OCX running on a separate Windows 
box. This client is written as an MBean and is invoked by a JMX Agent. I would 
like to have the MBeanServer on the JBoss cluster register this remote MBean.

During the migration from 3.2.7 to 4.0.1 I lost the ability to have the JBoss 
MBeanServer on the Linux box, control the MBean exposed on the remote Windows 
box. This was due to the fact that RemoteMBeanServer was removed and replaced 
by MBeanServerConnection, and the latter does not expose the registerMBean 
method. 

In JBoss 4.0.x, how would you go about registering a remote object (MBean) with 
the JBoss MBeanServer? Any ideas or suggestions?

Thanks in advance, 

Shuki

Here is a sample of the code I used in 3.2.7

  | // this code was running on the Windows pc/ server
  | // get the context to lookup the JNDI of the remote JBoss running on Linux
  | Context ctx = new InitialContext(env);
  | // Use RemoteMBeanServer to get a handle to the MBeanServer:
  | RMIAdaptor adaptor = (RMIAdaptor) 
ctx.lookup(dataProps.getProperty(JBOSS_RMI_ADAPTOR_JNDI_NAME));
  | RemoteMBeanServer server = new RMIConnectorImpl(adaptor);
  | 
  | // Start an instance of the MBean localy (i.e. on the Windows PC JVM)
  | JMSThreadPool pool = new JMSThreadPool();
  | // Register the local MBean to be managed by the remote JBoss cluster :
  | server.registerMBean(pool, jmsThreadPoolBeanObjectName);
  | 

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Migration show stopper: Sticky database connections ?

2005-03-30 Thread [EMAIL PROTECTED]
OK, I relented and added it to the FAQ, along with the other common error.
I doubt this will stop people still posting the question to the forums :-(

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

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Authentication using JAAS through LDAP

2005-03-30 Thread miojo
Hello... I'm trying to specify a SecurityManager using JAAS Authentication, but 
I'm having problems whily deploying. Here is my appmq-service.xml (I've put 
everything together in the same file, and preffixed services name with 
different string from 'jboss.mq:') :


  | 
  |   
  |   
  | jboss.jca:service=DataSourceBinding,name=OracleDS
  | 
  |   CREATE_TABLES_ON_STARTUP = TRUE
  |   CREATE_USER_TABLE = CREATE TABLE ACSTOOL_USERS (USERID VARCHAR(32) 
NOT NULL, PASSWD VARCHAR(32) NOT NULL, \
  |  CLIENTID VARCHAR(128), 
PRIMARY KEY(USERID))
  |   CREATE_SUBSCRIPTION_TABLE = CREATE TABLE ACSTOOL_SUBSCRIPTIONS 
(CLIENTID VARCHAR(128) NOT NULL, \
  |  SUBNAME VARCHAR(128) NOT 
NULL, TOPIC VARCHAR(255) NOT NULL, \
  |  SELECTOR VARCHAR(255), 
PRIMARY KEY(CLIENTID, SUBNAME))
  |   GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM ACSTOOL_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |   LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM ACSTOOL_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |   GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM 
ACSTOOL_SUBSCRIPTIONS WHERE TOPIC=?
  |   INSERT_SUBSCRIPTION = INSERT INTO ACSTOOL_SUBSCRIPTIONS (CLIENTID, 
SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
  |   UPDATE_SUBSCRIPTION = UPDATE ACSTOOL_SUBSCRIPTIONS SET TOPIC=?, 
SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
  |   REMOVE_SUBSCRIPTION = DELETE FROM ACSTOOL_SUBSCRIPTIONS WHERE 
CLIENTID=? AND SUBNAME=?
  | 
  |   
  |   
  | 
  |   
  | 20
  | 25
  | acstool.mq:service=PersistenceManager
  |   
  |   
  | 
  |   
  | jboss.jca:service=DataSourceBinding,name=OracleDS
  | 
  |   ... hidded sql commands ...

  

  
  
acstool.mq:service=MessageCache
acstool.mq:service=PersistenceManager
acstool.mq:service=StateManager
  
  






java:/jaas/chaodefabrica

acstool.mq:service=DestinationManager

  







acstool.mq:service=TracingInterceptor




org.jboss.mq.server.TracingInterceptor

acstool.mq:service=SecurityManager

  




acstool.mq:service=DestinationManager
acstool:service=SecurityManager









And I'm getting this error when I try to deploy this file:

  | 14:59:23,234 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | MBeans waiting for other MBeans:
  | ObjectName: acstool.mq.destination:service=Topic,name=acsTopic
  |  state: CONFIGURED
  |  I Depend On:  acstool.mq:service=DestinationManager
  |  acstool:service=SecurityManager
  | 
  |  Depends On Me: 
  | 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: acstool:service=SecurityManager
  |  state: NOTYETINSTALLED
  |  I Depend On: 
  |  Depends On Me:  acstool.mq.destination:service=Topic,name=acsTopic
  | 

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

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


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


[JBoss-user] [JCA/JBoss] - Re: Migration show stopper: Sticky database connections ?

2005-03-30 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : File a bug report in jira with the datasource 
configurations and example usage of the datasource where the data gets mixed up.
  | http://jira.jboss.com/jira/browse/JBAS
  | 
  | Enable trace level logging on the org.jboss.resource category in the 
conf/log4j.xml to determine what is going on in the jca layer:
  | 
  |
  |  
  |

NO. HE SHOULD USE SEARCH OR READ THE DOCUMENTATION ABOUT JCA
SECURITY CONFIGURATION.

I answered this question earlier this month. I'm not going to repeat myself.
The purpose of this forum is not to repeatedly provide the same answers to lazy 
users.

Where's my "move redundant post to lazy users forum" button I have been asking 
for? :-)

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

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


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


[JBoss-user] [Beginners Corner] - Re: Problem deploying EJB's to JBoss 4.x

2005-03-30 Thread davout
Please ignore... found the problem... the classes were not being included in 
the JAR file.


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

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


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


[JBoss-user] [JBossWS] - Re: Cannot deploy a document style webservice on JBoss 4.0.2

2005-03-30 Thread acxsjones
You will need to download jwsdp 1.5 to get my examples to work.  It contains 
some examples with it.

http://java.sun.com/webservices/jwsdp/index.jsp
Sun?s main page for jwsdp.  Should be able to get to the download from this page

Also look at the wiki and the examples
http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS[/url]

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Threads stuck in

2005-03-30 Thread danielsmolenaars
Hi, I am having the same problem with Jboss 4.0.1, the msg is sent to the 
Queue, the msg is executed, but It create some kind of thread zombies even if 
the msg is processed with success. 

And the threads never desapear until we reboot the server.

What should I do?

Thanks.

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

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


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


[JBoss-user] [JBossWS] - Re: Cannot deploy a document style webservice on JBoss 4.0.2

2005-03-30 Thread mingweiwu
Scott Jones:
 Do you have some example to use wscompile? Does that mean I need to have a 
wsdl first before I can run wscompile? Can I just use the wsdl created by 
Java2WSDL?

Thanks!

Ming-wei


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

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


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


[JBoss-user] [Clustering/JBoss] - Re: How to isolate clusters ? Modifying mcast_addr isn't wo

2005-03-30 Thread monocongo
Thanks for the responses.  A dumb mistake on my part was the problem, and now 
that I've corrected it the multiple clusters configuration is working as 
advertised.

--James

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-03-30 Thread jmorgalis
I finally gave up and realized that that HARDeployer must be 2.x specific.  So 
I just created a hibernate3 SAR and deleted the old har deployer from my 
install.  Seems to work fine right now.

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

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


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


[JBoss-user] [Beginners Corner] - Problem deploying EJB's to JBoss 4.x

2005-03-30 Thread davout
I'm getting the following error on every EJB bean when i deploy my JAR file.

16:52:23,515 WARN  [verifier] EJB spec violation: 
Bean   : SubscriptionOrderLine
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business methods in the  
element.
Info   : Class not found on 
'com.eis.tm.subscription.order.SubscriptionOrderLineBean': No ClassLoaders 
found for: com.eis.tm.subscription.order.SubscriptionOrderLineBean

Any ideas?

The 'ejb-jar.xml' extract for the bean shown above is...


  SubscriptionOrderLine
  
com.eis.tm.subscription.order.SubscriptionOrderLineHome
  com.eis.tm.subscription.order.SubscriptionOrderLine
  
com.eis.tm.subscription.order.SubscriptionOrderLineBean
  Container
  java.lang.Integer
  false
  2.x
  SubscriptionOrderLine
  
iD
  
  
orderID
  
  
productID
  
  
desc
  
  
priceNet
  
  
quantity
  
  
totalNet
  
  
salesTaxCategoryID
  
  
salesTax
  
  
totalGross
  
  iD




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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Custom CallbackHandler

2005-03-30 Thread sheckler
I wrote a custom CallbackHandler, which is handling nameCallback, 
passwordCallback and an additional mandantCallback.

The CallbackHandler is used as a paramenter for  the LoginContext and the 
ClientLoginModule (configured by JAAS configuration file on the client side) is 
initialized with this callbackHandler, but the DatabaseLogonModule configured 
within login-config.xml on the serverside is not! The DatabaseLogonModule is 
initialized with a SecurityAssociationHandler, which does not handle the 
mandantCallback.

How can  the ServerLogonModule use the same CallbackHandler  as the 
ClientLoginModul?

Thanks 


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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Dynamic Query

2005-03-30 Thread haninaguib
Hi, 

In my application I use dynamic QL in several of my CMPs and it is working 
fine. 

I am now trying to get my application to deploy both on JBoss and Websphere, 
but websphere complains about the ejbSelectGeneric during deployment time:

Error generating ejbSelectGeneric(java.lang.String,java.lang.Object[]) query 
for bean TrigpublisherSetting (Abstract schema name=TrigpublisherSetting). 
Error=unknown EJB or ASN name: java.lang.Object[] 


I know this is more of a websphere question, but I was wondering if anyone here 
has an application that uses dynamic QL and is also able
to deploy it on websphere and jboss.

Note: This is a deployment time problem, not runtime. The ejbSelectGeneric is 
specific to JBoss, when running on websphere my code uses a different approach 
to executing dynamic queries. 

Thanks, 
Hani

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

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


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


[JBoss-user] [JCA/JBoss] - Re: Migration show stopper: Sticky database connections ?

2005-03-30 Thread ckokotsis
quick suggestion that may be way off the mark but such behavior would occur as 
a result of ejb instances not having their member values re-initialised when 
retrieved from the instance pool. 

eg> 

1. retrieve instance of company bean from pool and populate with company A data.

2. passivate and return bean to instance pool

3. retrieve instance of company bean (previously populated with company A data) 
and populate with company B data.

if company B data partial, and subject to incorrect ejb coding, company bean B 
will have old values still populated from previous company A population. This 
will be seen after some time as bean instances within the pool are re-used.

Why u wouldn't see this b4 under web logic don't know. If this is the fix let 
me know. 




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

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


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


[JBoss-user] [Beginners Corner] - Re: Table not found sql exception while executing servlet i

2005-03-30 Thread shanker
Thankyou very much. I will try. thanks again.

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

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


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


[JBoss-user] [JCA/JBoss] - Re: Migration show stopper: Sticky database connections ?

2005-03-30 Thread [EMAIL PROTECTED]
File a bug report in jira with the datasource configurations and example usage 
of the datasource where the data gets mixed up.
http://jira.jboss.com/jira/browse/JBAS

Enable trace level logging on the org.jboss.resource category in the 
conf/log4j.xml to determine what is going on in the jca layer:

   
 
   

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

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


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


[JBoss-user] [The Lizzard's corner] - IllegalStateException in jboss.org forum

2005-03-30 Thread nlmarco
To whom it may concern.

I just got the following IllegalStateException while I clicked on the link 
"Watch this topic for replies" and it seems reproduceable. What is really 
interesting, is that it only happens with this posting: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61981
I just tested it with another thread in the same forum and this worked.

...hmmm... I just removed the test topic from my list and tried to re-add it 
again and now I got the exception with the other topic, too...

java.lang.IllegalStateException
at 
org.apache.coyote.tomcat4.CoyoteResponseFacade.setBufferSize(CoyoteResponseFacade.java:202)
at 
org.jboss.nukes.servlet.CompressFilter.doFilter(CompressFilter.java:143)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.jboss.nukes.servlet.ParameterEncodingFilter.doFilter(ParameterEncodingFilter.java:60)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.jboss.nukes.servlet.DatabasePollerFilter.doFilter(DatabasePollerFilter.java:88)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja

[JBoss-user] [JBossWS] - Re: Need example of EJB Endpoint Doc/Lit and Standalone Clie

2005-03-30 Thread acxsjones
By the way,
I received a reply to one of my other posts that fixed most of my issues.  
There is a bug that has been fixed in JBoss 4.0.2 RC1 the reply of a document 
literal web service.

I have been able to get a standalone J2SE client working with my document 
literal web service running under 4.0.2 

I was able to generate client stubs using wscompile and axis.  Both work!!

The link to the other post with the answer is below

Thanks to all for the help

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871854#3871854

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

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


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


[JBoss-user] [Beginners Corner] - Re: javax.jms.JMSSecurityException

2005-03-30 Thread nlmarco
Hello Raja,

thanks a lot for your help!

"raja05" wrote : You have not specified create access for _LocalQueueReader_. 
that might be the problem.I've added 'create="true"', but unfortunately it had 
no effect.

BTW: I had 'create="false"' in the "guest" role, before, and this worked if I 
don't use authentication in the MDB. Additionally the log message tells me that 
the user is not authenticated - it doesn't say anything about 
authorization/permissions. IMHO authorization happens after authentication and 
hence, my login module should be asked. Right?

...any other idea? I still wonder whether the problem might come from the 
security domain. Is my configuration in jboss.xml correct with which I set the 
security domain for "Standard Message Driven Bean"?

"raja05" wrote : PS: I think this belongs to the JMS forum but anyway 
;-)Unfortunately, people there didn't react at all first (to a previous 
posting) and after re-asking told me I should read the documentation (which I 
did already before). So I thought, I might be luckier here in the beginner's 
forum and in fact I was right :-) Seems, the people in the JMS forum are too 
busy actually programming at JBoss 5 and don't like to answer questions from 
confused users...

Best regards, Marco :-)

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

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


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


[JBoss-user] [Beginners Corner] - Re: Table not found sql exception while executing servlet i

2005-03-30 Thread sasoj
The names of the objects in the database are case sensitive. 

If you specify quotes arround the names, then the case is preserved, otherwise 
the names are converted to uppercase.

Example:
this two statements will create two different tables, "test" and "TEST" 
respectively

create table "test" (x int)
create table test (x int)

To solve your problem, enclose the name of the table in your select statement 
in quotes:

statement.executeUpdate("INSERT INTO \"Employee\" values(" + values + ");"); 


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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Commit Option B or C

2005-03-30 Thread rafcio
Hi,

our application is running with JBoss 3.2.5 on two linux servers. We do not use 
clustering, but Commit Option C with row-locking for much of our entity beans:


  | 
  | Standard CMP 2.x EntityBean with Commit Option 
C
  | C
  | 
  | 

The database could (sometimes) be changed by other application.

Without


  | Instance Per Transaction CMP 2.x EntityBean
  | 

we get Deadlock on big load. Why?

Now I'm thinking about change the container configuration to commit option B. 
Will it be better for my application?


Best Regards,
Rafal

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

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


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


[JBoss-user] [EJB/JBoss] - Re: What sort of a bean, if any sort of bean, for a custom d

2005-03-30 Thread bmargulies
The resource has to be accessible to an application that is built as a pile of 
stateless session beans. They need to query this thing. Adding an extra 
protocol hop to another server is undesirable.

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

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


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


[JBoss-user] [EJB/JBoss] - Re: What sort of a bean, if any sort of bean, for a custom d

2005-03-30 Thread milowe
Why would you put the read-only resource in a EJB container?
The tomcat setup works just fine.

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

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


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


[JBoss-user] [Beginners Corner] - ChannelException: java.lang.Exception: exception caused by U

2005-03-30 Thread kalai_cn
Hi all,
I got the below error when i start the jboss4.0.0 or jboss3.2.5 in all mode .
My system configuration is Linux fedora 2.4.22-1.2115.nptl.
I got no error when i run in default mode.

16:45:53,927 INFO  [DefaultPartition] Initializing
16:45:56,358 ERROR [ClusterPartition] Starting failed 
jboss:service=DefaultPartition
ChannelException: java.lang.Exception: exception caused by UDP.start(): 
java.lang.Exception: UDP.createSockets(): cannot list on any port in range 0-1
at org.jgroups.JChannel.connect(JChannel.java:328)
at 
org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:297)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImp

[JBoss-user] [Installation & Configuration] - Re: max-pool-size and min-pool-size default values

2005-03-30 Thread [EMAIL PROTECTED]
After you start your server go to JMX-Console and apply filter jboss.jca:*. 
Look for ManagedConnectionPool MBean, this MBean will give you all the 
information about connection pool.

JBossManagedConnectionPool is java class responsible to setup the connection 
pool.

Amit.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: service offered in default configuration

2005-03-30 Thread [EMAIL PROTECTED]
Go through this.

http://docs.jboss.org/jbossas/getting_started/startguide40/tour.html

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

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


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


[JBoss-user] [Installation & Configuration] - Re: max-pool-size and min-pool-size default values

2005-03-30 Thread RMZERO
Is there a way of outputting these values or seeing them ? Where is 
JBossManagedConnectionPool set up ?

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

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


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


[JBoss-user] [Installation & Configuration] - Re: max-pool-size and min-pool-size default values

2005-03-30 Thread [EMAIL PROTECTED]
Default values are min-pool-size=0 and max-pool-size=10. These are configured 
in JBossManagedConnectionPool and overwritten by your *-ds.xml.

Have a look at http://www.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources

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

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


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


[JBoss-user] [Installation & Configuration] - max-pool-size and min-pool-size default values

2005-03-30 Thread RMZERO

I don't have max-pool-size and min-pool-size values set in my oracle-ds.xml 
file. How do I tell what the default values are ?

Is there any documentation available on how these work and how to make a 
judement on best settings.


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

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


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


[JBoss-user] [Clustering/JBoss] - Re: jvmRoute attribute not getting appended to session id

2005-03-30 Thread t_kishore
Thanks a lot David. It worked perfectly fine after I changed UseJK attribute in 
jboss-service.xml vaue to true. 

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

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


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


[JBoss-user] [JCA/JBoss] - Migration show stopper: Sticky database connections ?

2005-03-30 Thread [EMAIL PROTECTED]
We are migrating from Weblogic to JBoss 4.01 SP1.  The DBMS is MS SQL 2000.  We 
would have almost cutover it to production but we are blocked by a show stopper.

Our applicatin supports users from different companies.  Each company has its 
separate datasource.  The sign-in userid contains the name of the company, and 
the application will use it to get a database connection from the right 
datasource.

The symptom is: after running the application for a few hours, suddenly, userA 
of companyA will see data from companyB.  This is of course very scary!

We try to diagnose this and can think of 3 possible problems:

1) JDBC driver has bugs - we have been using jTDS 0.71 but we also downloaded 
and tried jNetDirect's JSQLDirect.  We were able to repeat the problem with 
both drivers, so we can rule out JDBC driver bugs.

2) Our code has bugs - but this is the same code we ran on weblogic for the 
last two years.  The only thing I changed to migrate to JBoss in order to get 
datasource was to add "java:" as a prefix to the datasource JNDI string.  The 
chance is slim for bugs on our side.

3) Is there any possibility that connection objects in JBoss can be sticky 
about the datasource they are associated with?  It seemed to us that when we 
try to obtain a connection associated with datasource for companyA, we were 
given a connection associated with datasource for companyB.

Can someone think of any bugs or configuration that we should know of?

Appreciate the help because our migration is hanging in the balance...

Thanks

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Dynamic class loading, SPI? advice please

2005-03-30 Thread [EMAIL PROTECTED]
All right, this question comes up every so often, so I wrote an FAQ:

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

as part of the FAQJBossJMX:

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

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Problems with jmx-console on linux

2005-03-30 Thread agrisk
Having problems with configuring cron expressions for scheduled beans in 
jmx-console on jboss 3.2.7 under linux. The beans run using hardcoded default 
cron expression values no matter what changes are made in jmx-console. 
Furthermore the jmx-console doesn't reflect actual status of the beans. 
When tried the same actions on jboss 3.2.7 under windows platform, everything 
worked just fine: the changes were taken into accoount and jmx-console showed 
beans' actual status. Could be some environment or configuration issue but no 
idea where to start.
Any help will be appreciated.

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

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


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


[JBoss-user] [Beginners Corner] - Problem with 2 Mail Services

2005-03-30 Thread samfra
I try to deploy 2 Mail Services (to use several pop3 and smtp accounts)

I have no problem to run one in mail-service.xml



but the second can not start...

2005-03-30 11:28:19,296 ERROR [org.jboss.mail.MailService] Starting failed 
jboss:service=Mail3
  | java.lang.ClassCastException
  | at org.jboss.mail.MailService.bind(MailService.java:319)
  | at org.jboss.mail.MailService.startService(MailService.java:221)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
  | at $Proxy13.start(Unknown Source)


  | 
  |   
  | java:/Mail
  | ...
  |   
  | java:/Mail2
  | ...
  | 

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - How to create secured SessionBean from MessageDrivenBean ?

2005-03-30 Thread Annegret
Hello,

I use Jboss 3.2.3 and want to create a secured SessionBean from inside a 
MessageDrivenBean. I have set the run-as element in the deploymentdescriptor 
for the MDB but my JAAS loginmodule is called and results in a 
FailedLoginException because of a missing password.

Do I have to implement a client login from inside the MDB ?
Is it possible to configure anything to avoid coding a login ?
Any idea ?

Annegret

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

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


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


[JBoss-user] [Installation & Configuration] - Re: log4j.xml wil not be hotdeployed

2005-03-30 Thread rmk
I have not configured the wrong file. After I have added the refresh-attribute 
and set it to 30 s, the server recognized the changes and it works fine. Must I 
set the refresh-attribute in JBoss-Versions < 3.2.6?

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

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


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