[JBoss-user] [Beginners Corner] - Some problems and question from newbie

2004-10-26 Thread Bastie
Deutschsprachige Antworten sind gern' gesehen
Hello,

I try JBoss 4.0.0 to use these at critical position in my company.

I installed JBoss 4.0.0 under Win 2000. First I need to change the run.bat because 
some paths are false < grummel >.

Now JBoss is running but not at all (?!). I try the link to web-console server path 
and get a ClassNotFoundException "org.jbos.aop.AspectManager. Ok I am a win(doof) user 
and hope a installation package are complete. Is it right - I need to download the aop 
package and install it (how?)? < grummel 2 >

Apache are (among other things) used to create load balancing between some tomcat 
installations. May JBoss the same? How?

thanx for answer



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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-26 Thread poojac20
Thanx robisz. 

Understood this connector thing now. 

But about using HttpURLConnection, in my case, this will not be possible - my client 
is a pos terminal which dials on to a modem and which then passes on to some server's 
specific port. Including a URL is not possible in this scenario. 

I am trying this out - do u think if I extend GenericServlet and write something on my 
own, that may help - will i still need to access the servlet through some URL? Or I 
can then expect an automatic call to my process function? 

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-26 Thread tkrug0210
Hi,

I don't think using the PrefixDeploymentSorter would be the best way since SAR's are 
the first to be deployed when using the default DeploymentSorter.

What kind of application (SAR, EAR, JAR) are you using. Does it work if you move 
your package from the /deploy folder and back after JBoss started up?

Thomas

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - How to run a Message Driven bean in Jboss

2004-10-26 Thread vanan
Hi all,

I am new to EJb & JBoss. I was trying to run a code sample for Message driven bean, 
but it is giving me inintial context Error.

pls help me out.

Thanks & regards
vanan

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - java.net.NoRouteToHostException when there's no network cabl

2004-10-26 Thread tkmetta
hi All,

I've an application connected to local MySql - even though the setting is 
jdbc:mysql://localhost:3306/mydb, I get java.net.NoRouteToHostException error when the 
network cable is unplugged.  Everything is working fine once I plug in the network 
cable.  I've searched the forum (think I found one ques on this) but I haven't found 
any answer.

FYI, I'm using jboss3.2.4 & MySql5.01 - application in java.

All help will be greatly appreciated.
Thanks in advance for your kind assistance.

tk

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-10-26 Thread alvlim1982
I have another question here. 
Let say we have a modified class in JVM A, so if we are to pass the modified class to 
JVM B through RMI, will it cause any problem? 
Or maybe you have any better suggestion to do this?

Thanks in advance

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - javax.jms.JMSSecurityException: User: Null is NOT authentica

2004-10-26 Thread [EMAIL PROTECTED]
I'm using JBoss 4.0 and Oracle 9i.
when I'm using default server(hypersonic) for jms it is working but when I'm shifting 
to Oracle it is giving the following error.

javax.jms.JMSSecurityException: User: Null is NOT authenticated
at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:781)
at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:287)
at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:301)
at org.jboss.mq.Connection.authenticate(Connection.java:1153)
at org.jboss.mq.Connection.(Connection.java:248)
at org.jboss.mq.SpyConnection.(SpyConnection.java:55)
at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:108)
at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:129)
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:154)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:545)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:767)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1272)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:779)

The things that which I have done is :
Copied Oracle's JDBC driver .zip file /jdbc/lib/classes12.zip to the 
server/default/lib directory.

modifed the oracle-ds.xml configuration file, the  and 
 settings.

Next, modified the standardjbosscmp-jdbc.xml and copied into 
jboss_home/server/default/deploy directoy by setting the  and  
elements to use Oracle:


   
  java:/OracleDS
  Oracle8
   
 


Next modified login-config.xml to use Oracle. Added the following  
element to login-config.xml:

 

   
 sa 
 sa 
  
   
   jboss.jca:service=LocalTxCM,name=OracleDS 
  
   




next changed the state manager oracle-jdbc-state-service.xml 


jboss.jca:service=LocalTxCM,name=OracleDS

Additionally, In conf/login-config.xml changed dsJndiName. 




   
  
 guest
 java:/OracleDS
 SELECT PASSWD FROM JMS_USERS 
WHERE USERID=?
 SELECT ROLEID, 'Roles' FROM JMS_ROLES 
WHERE USERID=?
  
   


and finally in MDB, jboss.xml the following is written

jboss>
   
  
 SampleMDB
 queue/testQueue
  
   

   
   



But I'm getting the error as mentioned aboue. 
Should I need to add something elsewhere.
Thank  in advance,

Regards,
Hari

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - trimspace of tomcat5 in jboss-3.2.5

2004-10-26 Thread mccha2
We have read the documentation of tomcat5 and found that we can trim the spaces 
between tag by adding the following line in web.xml


trimSpaces
true


However, it won't work after we have restart the jboss. 
But it work prefectly in a standalone jakarta tomcat5. 

Do i miss something?? Thanks.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss 4.0: can't get CMP and Oracle JDBC working

2004-10-26 Thread aironyiu
Hi:
I am running the JBoss 4.0 (binary dist) on HP-UX 11i.  I was able to run various 
examples in the 'Getting started JBoss 4.0' document  until chapter 7 and 8. 

Here are the details:

(1) Trying CMP (as in Chapter 7 of Getting Started document) is OK until running the 
client. 

There errors are:

(jboss)/app_server/src/j2eetutorial14/examples/ejb/cmproster$ant -f jboss-build.xml 
run-cmp
Buildfile: jboss-build.xml

run-cmp:
 [java] Caught an exception:
 [java] java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is: 
 [java] java.rmi.ServerException: EJBException:; nested exception is: 
 [java] javax.ejb.EJBException: createBeanClassInstanceCommand == null; 
CausedByException is:
 [java] createBeanClassInstanceCommand == null
 [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
 [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 [java] at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 [java] at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
 [java] at java.lang.Thread.run(Thread.java:534)
 [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
 [java] at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
 [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
 [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
 [java] at 
org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:73)
 [java] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
 [java] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
 [java] at 
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
 [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
 [java] at $Proxy2.createLeague(Unknown Source)
 [java] at client.RosterClient.insertInfo(RosterClient.java:156)
 [java] at client.RosterClient.main(RosterClient.java:51)
 [java] Caused by: java.rmi.ServerException: EJBException:; nested exception is: 
 [java] javax.ejb.EJBException: createBeanClassInstanceCommand == null; 
CausedByException is:
 [java] createBeanClassInstanceCommand == null
 [java] at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:347)
 [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
 [java] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
 [java] at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
 [java] at org.jboss.ejb.Container.invoke(Container.java:854)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:324)
 [java] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
 [java] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
 [java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
 [java] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
 [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
 [java] at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
 [java] at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:324)
 [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
 [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 [java] at 
sun.rmi.transport.tcp.TCPTransport.handleMessage

[JBoss-user] [Beginners Corner] - Re: build the ejb jar file

2004-10-26 Thread Raist_Majere
You must set cmpversion="2.0" property on ejbjar task in order to make Ant look for 
jbosscmp-jdbc.xml file instead of jaws.xml, the one used with CMP version 1 in JBoss.


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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS error

2004-10-26 Thread wikey
Hi,

I'm getting this error after change my hypersonic db connection to MS SQL. And i'm 
using jboss 4.0.0

I've search the forum for hours but no luck found. Pls help

MS SQL data source Snipet
=

  
MSSQLDS

jdbc:microsoft:sqlserver://192.168.0.11:1433;SelectMethod=cursor;DatabaseName=JMS_MESSAGES
com.microsoft.jdbc.sqlserver.SQLServerDriver
sa
boogiewoogiedd




  
  
 MS SQLSERVER2000
  
  




Error
===
 10:42:06,203 ERROR [StdServerSession] failed to commit/rollback
org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImp
l[FormatId=257, GlobalId=n2nalliancetest/18, BranchQual=, localId=18] status=STA
TUS_NO_TRANSACTION; - nested throwable: (org.jboss.mq.SpyXAException: - nested t
hrowable: (org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolle
d back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not mark the m
essage as deleted in the database: update affected 0 rows)))
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344)
at org.jboss.tm.TxManager.commit(TxManager.java:200)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:34
1)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
ageConsumer.java:877)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:15
9)
at org.jboss.mq.SpySession.run(SpySession.java:351)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:743)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyTra
nsactionRolledBackException: Transaction was rolled back.; - nested throwable: (
org.jboss.mq.SpyJMSException: Could not mark the message as deleted in the datab
ase: update affected 0 rows))
at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:135)
at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:21
00)
at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:15
52)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:319)
... 8 more
Caused by: org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolle
d back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not mark the m
essage as deleted in the database: update affected 0 rows)
at org.jboss.mq.server.JMSDestinationManager.transact(JMSDestinationMana
ger.java:478)
at org.jboss.mq.server.JMSServerInterceptorSupport.transact(JMSServerInt
erceptorSupport.java:186)
at org.jboss.mq.security.ServerSecurityInterceptor.transact(ServerSecuri
tyInterceptor.java:182)
at org.jboss.mq.server.TracingInterceptor.transact(TracingInterceptor.ja
va:438)
at org.jboss.mq.server.JMSServerInvoker.transact(JMSServerInvoker.java:1
86)
at org.jboss.mq.il.jvm.JVMServerIL.transact(JVMServerIL.java:327)
at org.jboss.mq.Connection.send(Connection.java:1213)
at org.jboss.mq.SpyXAResourceManager.prepare(SpyXAResourceManager.java:2
08)
at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:131)
... 11 more
Caused by: org.jboss.mq.SpyJMSException: Could not mark the message as deleted i
n the database: update affected 0 rows
at org.jboss.mq.pm.jdbc2.PersistenceManager.remove(PersistenceManager.ja
va:1062)
at org.jboss.mq.server.BasicQueue.acknowledge(BasicQueue.java:536)
at org.jboss.mq.server.JMSTopic.acknowledge(JMSTopic.java:290)
at org.jboss.mq.server.ClientConsumer.acknowledge(ClientConsumer.java:32
2)
at org.jboss.mq.server.JMSDestinationManager.acknowledge(JMSDestinationM
anager.java:524)
at org.jboss.mq.server.JMSDestinationManager.transact(JMSDestinationMana
ger.java:469)
... 19 more
10:42:09,171 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[For
matId=257, GlobalId=n2nalliancetest/17, BranchQual=, localId=17] errorCode=XAER_
RMERR
org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyTransactionRol
ledBackException: Transaction was rolled back.; - nested throwable: (org.jboss.m
q.SpyJMSException: Could not mark the message as deleted in the database: update
 affected 0 rows))
at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:135)
at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:21
00)
at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:15
52)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:319)
at org.jboss.tm.TxManager.commit(TxManager.java:200)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:34
1)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
ageConsumer.java:877)
at org.jboss.mq.SpyMessageC

[JBoss-user] [Installation & Configuration] - Re: Service Deployment Configuration

2004-10-26 Thread kalyan120
I got it!! I can give specify each and every service separately in the 
conf/jboss-service.xml file of each server instance. That will solve my problem.

Thanks,
Kalyan

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Attribute Stats can't retrieve

2004-10-26 Thread diripu
Thanks,

   i tried for all MBeans, But couldn't able to retrieve only the Stats attribute in 
all MBeans.
In printStackTrace() showing the following exception. 

java.lang.reflect.UndeclaredThrowableException
at $Proxy0.getAttribute(Unknown Source)
at GetMBeanStats.main(GetMBeanStats.java:69)
Caused by: java.lang.ClassNotFoundException: org.jboss.management.j2ee.statistic
s.ServletStatsImpl (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
kerProxy.java:136)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
a:96)
at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientIntercepto
r.invoke(InvokerAdaptorClientInterceptor.java:58)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
3)
at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodIntercepto
r.java:55)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
... 2 more

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - TemporaryTopic Leak or Hung Client with HTTPIL

2004-10-26 Thread TRosenbaum
Environment: JBoss 3.2.6/JDK 1.4_05/Win2K Server/JMS using HTTPIL

Scenario: A client creates and subscribes to a temporary topic. The
client then exits without deleting the temporary topic.

Problem: The temporary topic still exists on the server (leaked) along
with any unclaimed messages and any future messages posted to that topic.

Investigation Details:

Due to the asynchronous nature of the HTTPIL connection, there is no way for
the server to directly detect demise of a client and clean up temporary
destinations created by that client. Any temporary destinations left behind
by a client upon exit are leaked (along with any messages left on those
destinations).  

One can plug in a ClientMonitorInterceptor to time out inactive connections,
which will effect cleanup of temporary destinations, but this is not without
its own problems.

Timing out a connection by this means does invoke the asynchClose() method on
the Connection bject on the client. But, that method does nothing. So, there
is no way for the HTTPClientILService.run() method to detect that the connection
has been closed (in the case where the connection is closed but the client is
still receiving on it). Further, the HTTPClientILService.run() method does not
check to see if the Connection has closed anyway. The HTTPClientILService.run()
continues looping making calls to the HttpILServerServlet to pick up any waiting
messages even after the ClientConnectionMonitor has closed the connection. The
result is that the client is unable to detect closure of the connection and
does not receive a failure notification from the receive call as might be
expected.

Another issue is that the HTTPIL does not implement pings so there is no
automatic way to keep the connection alive if there is no traffic on
the connection (on a dormant connection, the ClientMonitorInterceptor
would eventually close the connection). Setting the PingPeriod in the
jboss-service.xml service descriptor is ineffective due to the following
overriding code in HTTPServerILService.startService() :

   public void startService() throws Exception
   {
  super.startService();
  this.pingPeriod = 0;// We don't do pings.
//...
   }

Comments:

If a "ping" of some sort is to be performed, it becomes the responsibility
of the client application.

Perhaps more desirable beahvior would be:

1) Connection-managed pinging to be supported for HTTPIL
2) Some means of notifying a listening consumer that the connection has timed
out - why should a consumer be allowed to invoke the HTTPIlServerServlet and
wait for messages that will never come (because the connection has been closed)

Questions:

Is this behavior to be considered a bug in the HTTPIL implementation, or
merely an inconvenience that I should be able to devise a workaround for?

Any suggestions on how best to handle this problem?



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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - logging on jboss 4.0

2004-10-26 Thread mboulatian
We hava been using jboss 3.2.3 for some time. I tried to migrate to jboss 4.0. One 
thing I notice that logging does not work in jboss 4.0. I cannot get logging to work 
from our applications. All appenders are setup properly but things that worked in 
3.2.3 don't work under jboss 4.0. We use jakarta commons logging as a wrapper to the 
jboss log4j service. I have commons-logging.jar file in the server/[server name]/lib 
directory. Here is my log4j.xml file in the conf directory.

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://jakarta.apache.org/log4j/"; debug="false">
  | 
  |
  |
  |
  | 
  |
  |
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |  
  |  
  | 
  |  
  |   
  |
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |   
  | 
  |   
  |  
  |  
  |   
  | 
  | 
  |   
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  |  
  | 
  | 
  | 
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Category "com.vantra.volts" never gets logged to VoltsAppender.
I appreciate the response.
Misak

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Hot Method Replace Support in Eclipse

2004-10-26 Thread sbuster
Does anyone if Hot Method Replace is support in any version of JBoss/Eclipse/JBossIDE 
or if I can deploy in a certain way?  I find it very cumbersome to redeploy/restart 
server every time I change a line of code.

Thanks in advance.


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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Struts + DatabaseServerLoginModule + JBOSS4.0

2004-10-26 Thread vvangara
Hello there,

Here is what i am doing

My login-config.xml is,

 

 
java:/mtswebportal 
SELECT PASS FROM users WHERE 
LOGIN=? 
SELECT ROLE, 'Roles' FROM users WHERE 
LOGIN=? 
anonymouse 
 




2. My web.xml is,


http://java.sun.com/dtd/web-app_2_3.dtd";>


Hello World Login Test Application

action

org.apache.struts.action.ActionServlet


config
/WEB-INF/struts-config.xml


debug
3


detail
3

1



action
*.do



index.jsp



Server Configuration Security Constraint


Secure Resources
Security constraint for all resources

/*

POST
GET



Only allow those users that are in the following role
user



NONE




 
FORM 
mtswebportal 
 
/LoginFormDetails.jsp 
/LoginFormDetails.jsp 
 
 


/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld



/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld




3. My jboss-web.xml is...


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

 
 
java:/jaas/mtswebportal 


4. My jboss.xml is...


http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> 

 
 
java:/jaas/mtswebportal 


5. My LoginFormDetails.jsp is

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page language="java" %>


Hello VIJAY

<% 
response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
response.setHeader("Pragma","no-cache"); // HTTP 1.0
response.setDateHeader ("Expires", -1); // Prevents caching at 
the proxy server
%>
 
function submitForm() {
var frm = document. logonForm;
// Check if all the required fields have been entered by the 
user before
// submitting the form
if( frm.j_username.value == "" ) { 
alert("blank");
frm.j_username.focus();
return ;
}

if( frm.j_password.value == "" ) { 
alert("blank");
frm.j_password.focus();
return ;
} 
frm.submit();
}




 


 





 
 



   
 

  
 



 






6. My mssql-ds.xml is...


  
mtswebportal

jdbc:microsoft:sqlserver://ausblqa1:1433;DatabaseName=webportal
com.microsoft.jdbc.sqlserver.SQLServerDriver
jboss
ijboss#1
50
5
50
15
false





  
  
 MS SQLSERVER2000
  
  



What should be my ActionForm and Action ?
What i need to do ??
Do i have to handle the login in my action ?
or JBOSS will automatically authenticate the user by the time the control gets to 
Action.

Please help me.

Thanks.
VV.





View the or

[JBoss-user] [Performance Tuning] - 15000 connections

2004-10-26 Thread riko
I'd like to know if JBoss is capable of handling 15000 simultaneous connections? What 
is the maximum JBoss can support?

If  so, how much memory/processors would you recommend for this kind of problem? I 
mean, which hardware/machine do you recommend, or has anyone any experience with that?

Thanks in advance!

Riko


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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - use n times a class created

2004-10-26 Thread mcifuentes
hi,

I need to create a class and execute it n times, and i get this error "duplicate 
class definition: linkage Error", and really i don't know that is wrong.



  |  public static ArrayList MacTestScript(String inputTextScript, Mensaje inMsg) 
throws NotFoundException, IOException, CannotCompileException{
  | String nameScript = "testConsole";
  | ArrayList msg2 = null;
  | try{
  | ClassPool pool;
  | 
  | pool = ClassPool.getDefault();
  | 
  | pool.appendClassPath(classPath);
  | CtClass newClass=null;
  | 
  | try{
  | newClass = pool.get( packageName + nameScript + 
suffixClass);
  | newClass.defrost();
  | newClass.detach();
  | newClass = null;
  | 
  | }
  | catch(NotFoundException e){
  | System.out.println("no esta creada la clase aun");
  | newClass = pool.makeClass( packageName + nameScript + 
suffixClass );
  | newClass.stopPruning(true);
  | 
  | }
  | 
  | System.out.println("buscando super" + packageName + 
suffixClass);
  | CtClass superClass = null;
  | superClass = pool.get( packageName + suffixClass );
  | System.out.println("super encontrada");
  | 
  | 
  | newClass.setSuperclass(superClass);
  | System.out.println("seteando super");
  | 
  | 
newClass.addConstructor(CtNewConstructor.defaultConstructor(newClass));
  | String executeBody = "";
  | 
  | java.util.List list = new java.util.ArrayList();
  | executeBody = executeBody + "public java.util.ArrayList 
execute(){";
  | executeBody = executeBody + "java.util.ArrayList list = new 
java.util.ArrayList();";
  | executeBody = executeBody + inputTextScript ;
  | executeBody = executeBody + "return list;";
  | executeBody = executeBody + "}";
  | 
  | newClass.addMethod(CtNewMethod.make(executeBody, newClass));
  | 
  |  System.out.println("Clase creada");
  | 
  | Class  testObject = newClass.toClass();
  | System.out.println("Nombre Clase: " + testObject.getName());   
 
  | 
  | Method m[] = testObject.getDeclaredMethods();
  | System.out.println("Metodos =" + m.length);
  | for (int i = 0; i < m.length; i++)
  | System.out.println("Metodos =<" + m.toString() + ">");
  | 
  | Constructor c[] = testObject.getDeclaredConstructors();
  | for (int i = 0; i < c.length; i++)
  | System.out.println("Constructor =<" + c.toString() + 
">");  
  |
  | //Object testConstructed = con.newInstance(arguments);
  | System.out.println("Constr...");
  | Object testConstructed = testObject.newInstance();
  | System.out.println("Cast");
  | Script testInstance = (Script) testConstructed;
  | System.out.println("setMessage");
  | testInstance.setMsg(inMsg);
  | System.out.println("Execute");
  | msg2 = testInstance.execute();
  | 
  | newClass.detach();
  | 
  | 
  | }
  | catch (NotFoundException e ){
  | throw e;
  | 
  | }
  | catch (CannotCompileException e ){
  | throw e;
  | }
  | catch (InstantiationException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | } catch (IllegalAccessException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | return msg2;
  | }


Thanks
marÃa de los Angeles

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ad

[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-26 Thread kalyan120
You could probably use URLDeploymentSorter in your conf/jboss-service.xml file and 
make your jboss-jca.sar file get deployed before anyother services are deployed. 

For example:

  | org.jboss.deployment.scanner.PrefixDeploymentSorter
  | 
  | 
  | 1.deploy/jboss-jca.sar
  | 
  | 

HTH,
Kalyan.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Class loaders problem

2004-10-26 Thread mcifuentes
hello, i resolved my problem changed the file application.xml with a touch , and  that 
do the deployment of mdb and this recharged the classes needed.


thanks for all

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - error of deploy EJB

2004-10-26 Thread carlosgyn
Hi,
I am using JBoss-4.0.0.
Why when I make deploy of my EJBs the error happens?

18:40:20,378 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp17828sibnc.ear-contents/sibnc.jar
org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in method-permission: 
An unchecked element or one or more role-name elements must be specified in 
method-permission
at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:520)

Tanks...

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - AbstractDynamicMBean dependency on ejb container?

2004-10-26 Thread craigdberry
I have an mbean which is a child of  mx4j.AbstractDynamicMBean which depends on a 
session bean.  The deployment descriptor fragment below should cause it to not deploy 
until the EJB container deploys:


  | 
  | jboss.j2ee:module=portblue.jar,service=EjbModule 
  | 
  | 

But the SweeperManager mbean's constructor is called before the ejb container is 
completely deployed, which is not my understanding of what should be happening.

I have guessed that rather than the constructor, it is the start() lifecycle method 
that gets called when dependencies are ready.  Is this the case, rather than the ctor? 
 If it is the start() method, is there an easier way to hook into the JBoss JMX 
lifecycle methods than implementing the raw ServiceSupport interface?  I notice there 
are abstract helper classes documented for ServiceMBeans, and that there is a similar 
helper for dynamic mbeans not documented anywhere, and which does not appear to do 
anything (org.jboss.mx.util.DynamicMBeanSupport).

All of this is on JBoss 3.2.6.  Any clues would be greatly appreciated.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering across sub-nets?

2004-10-26 Thread lokki
Thanks for the pointer. I knew JBoss used JGroups, but I didn't realize how much was 
at your site.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Configuring a DB2 XA connection

2004-10-26 Thread hostetlerm
I'm trying to get a DB2 XA connection.

I copied the db2-xa-ds.xml file into server/default/deploy. I also copied db2jcc.jar 
into server/default/lib (I'm using DB2 UDB 8.1, so I can't use db2java.zip).  I edited 
my db2-xa-ds.xml file to look like this:


  |
  |  jdbc/WPDS
  | 
  |  com.ibm.db2.jcc.DB2XADataSource
  | 
  |  jdbc:db2://acio-wpdbs:5/mh331b13
  |  db2inst1
  |  db2inst1
  |
  | 

When I try to use the connection, I get the following error:

  |  SQLException occurred: Could not create connection; - nested throwable: 
  | (com.ibm.db2.jcc.b.SQLException: Driver type 2 not enabled for XA 
  | connections); - nested throwable: 
  | (org.jboss.resource.JBossResourceException: Could not create connection;
  |  - nested throwable: (com.ibm.db2.jcc.b.SQLException: Driver type 2 not 
  | enabled for XA connections))
  | 

So it defaulted to a Type 2 connection.  DB2 Type 4 connections have XA ( I think) but 
I don't know how to set it.  I've tried:
4
  | 

But I got the same error.

Anyone have this working??

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Deployment Order

2004-10-26 Thread sheckler
Hi,
I would like to deploy an mbean "Scheduler" to the deploy-ha-singleton directory, 
which is dependent from a queue "jms/scheduler/Timer ", which is deployed in 
deploy/jms directory.

At the end of jboss (3.2.6) startup I get the following error:

anonymous wrote : MBeans waiting for other MBeans:
  | ObjectName: cmd.scheduler:service=Scheduler
  |  state: CONFIGURED
  |  I Depend On:  jboss.mq.destination:service=Queue,name=jms/scheduler/Timer
  | 
  |  Depends On Me:
  | 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: jboss.mq.destination:service=Queue,name=jms/scheduler/Timer
  |  state: NOTYETINSTALLED
  |  I Depend On:
  |  Depends On Me:  cmd.scheduler:service=Scheduler
  | 
  | 
How can I configure the ha-singleton directory to be deployed a f t e r the deploy 
directory? The queue must not be deployes  to the ha-singleton/jms directory, because 
the queue is needed on every jboss node within the cluster, the scheduler mbean has to 
be a cluster singleton.

Thanks 
Stefan



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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Announcement: JBOSS Chicago User Group

2004-10-26 Thread sxzi
Anyone living in the Chicago metropolitan area is welcome to join the JBOSS Chicago 
User Group.

The group has been designed as a mutual support network to provide free on and off 
site assistance amongst members in an effort to provide a more thourough understanding 
of JBOSS in a multitude of environments.

http://groups.yahoo.com/group/jbosschicago/




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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Two Machines - One Gets Class Not Found on TagAttributeInfo

2004-10-26 Thread sengsational
I tried running a jsp with taglibs on another machine, and it fails when the jsp 
attempts to run with the following:

14:58:35,463 ERROR [Engine] ApplicationDispatcher[/myapp] Servlet.service()
  |  for servlet jsp threw exception
  | java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Lj
  | ava/lang/String;ZLjava/lang/String;ZZ)V

I was able to find that the TagAttributeInfo class resides in jsp-api.jar (that comes 
with the JBoss install) as well as j2ee.jar, that comes with Sun's j2ee.  I think 
what's happening is that on one machine, it's finding the one from Sun first, and on 
the failing machine, it's finding the one from JBoss first.

How can I determine which one gets found first?  How can I make sure one is found 
before the other?

--Dale--

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - mod_jk.so for Linux and worker.list limitation to 1024 chara

2004-10-26 Thread DH2000
Hi all,

We have development environments running with multiple app. servers in 
jboss-3.0.6_tomcat-4.1.18 and mod_jk.so on Redhat AS 2.1. If the 
worker.list=appsrv20,appsrv19,,appsrv02,appsrv01's line in the workers.properties, 
mod_jk's configuration file, reaches the limitation of 1024 characters, the app. 
servers in the end of this lines which touched by this limitation will cannot work 
with mod_jk.

I tried to overcome this limitation in replacing the mod_jk v1.2.1 with v1.2.5 but 
still cannot fix this problem

Is anyone see this problem before?

Thanks in advance for any help.

DH

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - mod_jk.so for Linux and workers.list limitation of 1024 char

2004-10-26 Thread DH2000
Hi all,

We have development environments running with multiple app. servers in 
jboss-3.0.6_tomcat-4.1.18 and mod_jk.so on Redhat AS 2.1. If the 
worker.list=appsrv20,appsrv19,,appsrv02,appsrv01's line in the workers.properties, 
mod_jk's configuration file, reaches the limitation of 1024 characters, the app. 
servers in the end of this lines which touched by this limitation will cannot work 
with mod_jk.

I tried to overcome this limitation in replacing the mod_jk v1.2.1 with v1.2.5 but 
still cannot fix this problem

Is anyone see this problem before?

Thanks in advance for any help.

DH

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to test Oracle JDBC persistence

2004-10-26 Thread rvbatchu
Got it! I had to increase the timetolive value and also did not start my subscriber. I 
could see that it is working.   

I am just testing to see how the jdbc persistence is working. I stopped my MDB from 
the console and did see that the message are not reached to the MDB but they are in my 
JMS_MESSAGES table.  Now, when i tried to restart my MDB i get the following exception 
- 

WARN JMSContainerInvoker Create Recovery Thread 
org.jboss.ejb.plugins.jms.JMSContainerInvoker - JMS provider failure detected: 
javax.jms.IllegalStateException: The durable subscription is already in use. 
DurableSubscription[clientId=DurableSubscriberExample name=RedialMessageEJB 
selector=null]

So, now i tried the create operation on the MDB, i could see this in my logs - 
DEBUG http-0.0.0.0-8080-Processor24 org.jboss.system.ServiceController - Creating 
service 
jboss.j2ee:binding=message-driven-bean,jndiName=local/RedialMessageEJB,plugin=invoker,service=EJB
DEBUG http-0.0.0.0-8080-Processor24 org.jboss.system.ServiceController - Ignoring 
create request for service: 
jboss.j2ee:binding=message-driven-bean,jndiName=local/RedialMessageEJB,plugin=invoker,service=EJB
INFO Thread-17 STDOUT - Returning Instance

Now, what should i do so that my MDB receives messages again.  Restart jboss is the 
only workaround? Or am I doing something wrong?

Thanks!




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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: multiple ear file in same instance of jboss server

2004-10-26 Thread kalyan120
You can deploy your 2 instances of the EAR files in a single instance of JBoss. The 
required configuration depends on what specific things you are doing within your EAR 
files. (Like JDBC, JMS, etc.). 

For a simple test of whether they are getting deployed or not, place them under the 
JBOSS_HOME/servers/all/deploy directory and run the server using : run -c all

~Kalyan

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Service Deployment Configuration

2004-10-26 Thread kalyan120
Hi, 

we require two jboss servers running with different beans deployed in each of them. 
One of the servers require JMS / Mail services and the other doesn't require them. We 
have configured JBoss in such a way that, we'll have the same root bin, lib, and 
deploy directories for both the servers and each server can simply make use of it's 
own conf/jboss-service.xml file to specify whether the running instance requires the 
services like JMS / Mail or not. 

But we figured out that the mail service is being picked up from the 
deploy/mail-service.xml (I couldn't figure out where JMS Service is getting deployed 
from , if it's not from the deploy/jms directory). So, this would require that, we 
maintain separate deploy/ directories for each server instance. 

What I am looking for is, if there is some way (using jboss-service.xml) in which I 
can say, I need this service to be deployed and not this one. This just requires me to 
have single installation of JBoss and separate conf/jboss-service.xml files for each 
server insance that has to run. Is this possible?

Thanks,
Kalyan.



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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: multiple ear file in same instance of jboss server

2004-10-26 Thread srinivasbv_gowda
Both ear file App1.ear and App2.ear file are interdependent and there will remote ejb 
calls across them.
Both ear file have their own set of VM parameters.
We have in production in websphere, where each application server will have 
application(App1.ear and App2.ear on 2 different application server) and each own 
could be configured to their VM param and also possible to make remote ejb calls.

1. Is it possible to have both ear file in the same instance( we identified it is 
possible from the Forum) in that case what is the configuration that is required.

2. If it is on different instance of Jboss what are the setup and configuration 
changes to be made

if you could provide the possible solution to overcome this that will be great

Thanks
Srinivas

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Entity Beans for DatabaseLoginModule

2004-10-26 Thread big_main
  Scott, I thank you very much for your help on this issue!!  Your responses on this 
forum are one of the main reasons I have been able to create a successful jboss 
application.  I'm sure many others are in this boat too...

  Security was so easy to set up this way, I almost feel dirty. :)  

  In case anyone wants to know, I'm running only two security entity beans: "Role" and 
"Principal".  I'm using CMR to set up a many to many relationship between them, so 
there is a "Role_Principal" table in the middle.  

The principalQuery runs off of the "Principal" table.
The rolesQuery runs off of the middle "Role_Principal" table.

  I just set up a simple session bean to allow creation/changing of users and roles, 
and everything is working sweetly.  Initially, as Scott mentioned, you have to create 
an administrative account manually.  I just set up a quick SQL query to create a 
password changer account that my users can run on install.

Thanks again!
Bobby

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss-3.0.6 fails to start

2004-10-26 Thread kalyan120
Curious to know. Why did j2ee.jar cause the problem?

Thanks,
Kalyan.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Listing 20, 50 or 100 JBoss forum postings per page ??

2004-10-26 Thread davidakoontz
I think that is a feature of the forum phpBB that they are using - but it appears to 
be turned off - I think if it were on you'd see an option in your profile. 

I also would like  to see more than 10 items in the list :( no luck!

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Does data get flushed to the DB on commit when in Commit Opt

2004-10-26 Thread PaulSmith001
When using commit option A, I guess there is no need for a container to flush data to 
the DB after a commit - after all, in commit option A the container has sole access to 
the DB.
In my tests however (using JBoss), I notice that the data does appear to be flushed to 
the DB. Can I rely on this behaviour? Is it in the spec or is it up to the 
implementation to decide what to do?

Thanks,
Paul

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Does data get flushed to the DB on commit when in Commit Opt

2004-10-26 Thread PaulSmith001
When using commit option A, I guess there is no need for a container to flush data to 
the DB after a commit - after all, in commit option A the container has sole access to 
the DB.
In my tests however (using JBoss), I notice that the data does appear to be flushed to 
the DB. Can I rely on this behaviour? Is it in the spec or is it up to the 
implementation to decide what to do?

Thanks,
Paul

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - ejb-ref question in web service's ejb-jar.xml

2004-10-26 Thread auser
In chapter 5 J2ee web services, the ejb-jar.xml has the code like:


TellerBean
com.jboss.ebank.TellerEndpoint
com.jboss.ebank.TellerBean
Stateless
Container

ejb/account
Session
com.sun.ebank.ejb.customer.CustomerHome
com.sun.ebank.ejb.customer.Customer
 


The program runs smoothly. But, I am confused by the definitions within the :
1. ejb/account is defined as ejb-ref-name, I assume that it refers to AccountBean. But 
it is an entity bean, not a session bean.

2. CustomerHome and Customer are local interfaces for customer entity bean, how could 
they be put in the  tag? Should  and  tags for remote interfaces?

My EJB knowledge is limited, could some one help explain this to me?



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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Out of Memory Error

2004-10-26 Thread GIATES
We've seen the same problem some time ago (the problem also reported a too many open 
files...).

We solved the problem with this settings:

Edit the file /etc/security/limits.conf (as root user) and insert the rows:

* soft nofile 16384
* hard nofile 16384
* soft nproc 32768
* hard nproc 32768

Edit the file /etc/rc.d/rc.local and insert the row:

echo "30" > /proc/sys/fs/file-max

Reboot the server...

Good luck !

(Tex)

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-26 Thread monocongo
Try this link: http://www.theserverside.com/patterns/thread.tss?thread_id=20819

--James

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Curious: Looking for PostNuke Credits in JBossNuke

2004-10-26 Thread cooper
what do you call by credit files ?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml

2004-10-26 Thread atillman
Here is some more information.

Here is my login-config.xml


http://www.jboss.org/j2ee/dtd/security_config.dtd";>
















guest
java:/jdbc/JMSPool
SELECT PASSWD FROM JMS_USERS 
WHERE USERID=?
SELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?








sa
sa

jboss.jca:service=LocalTxCM,name=DefaultDS







sysdba
sysdba
masterkey
jboss.jca:service=XaTxCM,name=FirebirdDS







guest
guest
guest
jboss.jca:service=TxCM,name=JmsXA








jmx-console-users.properties
jmx-console-roles.properties
















And here is my jboss-web for jmx-console.


  java:/jaas/jmx-console


Now, I have changed the username and password in "jmx-console-users.properties" but 
not in the "user.properties" file in the conf directory.  If I use the username and 
password in "jmx-console-users.properties" the login fails, but if I use the one in 
"user.properties" it succeeds.  Furthermore, if I remove the "other" configuration 
from login-config.xml and go back to jmx-console, and error is logged with the message 
"No LoginModules configured for jboss.web".  It seems that it cannot find the 
configuration "jmx-console".  In this case you cannot login at all.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: multiple ear file in same instance of jboss server

2004-10-26 Thread gpnewton
Unless I'm misunderstanding your question, I don't think you can do what you want to 
do.  Each JBoss server is running it its own virtual machine, and the VM startup 
parameters (memory, etc) apply to the whole server instance.  If you have two EARs 
which you want running in separate virtual machines, then I think you need to have two 
separate server instances.

What makes you want to have the EARs in separate virtual machines?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml

2004-10-26 Thread atillman
"UncleSam" wrote : Hi,
  | 
  | in my webapp I am using JAAS for security. It references to the entry in 
login-config.xml and corresponds to the same name.
  | When I start my application and try to login JBoss doesn't find the application 
policy and takes the policy "other". So I did an dirty fix and comment the "other"-tag 
and rename my application policy-tag to "other". 
  | 
  | Now it works, but is this a bug in JBoss4.0? In JBoss3.2.5 ist works fine!
  | 
  | Thanks for replies!
  | 
  | Markus
  | 
  | anonymous wrote : 
  |   | jboss-web.xml:
  |   | anonymous wrote : 
  |   |   | < jboss-web >
  |   |   |< security-domain >java:/jaas/DbRealm< /security-domain >
  |   |   | < /jboss-web >
  |   |   | 
  |   | login-config.xml
  |   | anonymous wrote : 
  |   |   | 
  |   |   | < application-policy name = "other" >
  |   |   |< authentication >
  |   |   |   < login-module code = 
"org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required" >
  |   |   |  < module-option name = "dsJndiName" >java:/psfDS< 
/module-option >
  |   |   |  < module-option name = "principalsQuery">select passwd from 
users where username=?< /module-option >
  |   |   |  < module-option name = "rolesQuery">select role, 'Roles' from 
userroles where username=?< /module-option > 
  |   |   |   < /login-module >
  |   |   |< /authentication >
  |   |   | < /application-policy >
  |   |   | 
  |   | 

I am getting the same problem in 3.2.6 on Linux (works fine of Windows).  It is 
happening for all web apps on my box including jmx-console.  If I activate security on 
jmx-console it is using the "other" login config and not the "jmx-console" config.  

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread rimmeraj
import net.sf.hibernate.Session;
import net.sf.hibernate.SessionFactory;
import javax.naming.InitialContext;


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread beyarecords
Hi rimmeraj,
what are the java package names for the classes:

1. InitialContext ?
2. SessionFactory ?

e.g import .org.x.x.x.InitialContext


many thanks for all your help so far

Uzo



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - multiple ear file in same instance of jboss server

2004-10-26 Thread srinivasbv_gowda
Hi,

we have 2 ear files both of them should have their own JVM and they should use single 
instance Jboss server. 
Also each ear file should be configured to have thier own VM parameter.

Could any one help us what configuration that are required to obtain this 
functionality working

Thanks
Srinivas

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - JBoss kills

2004-10-26 Thread ThReCa
I'm using jboss-3.2.6 with its jbossweb-tomcat50.sar.

Now i'm testing gzip-compression of http-requests...

Using this web.xml:

  | http://java.sun.com/dtd/web-app_2_3.dtd";>
  | 
  | 
  |
  |   action
  |   org.apache.struts.action.ActionServlet
  |   
  |  config
  |  /WEB-INF/struts-config.xml
  |   
  |   
  |  debug
  |  3
  |   
  |   
  |  detail
  |  3
  |   
  |   0
  |
  | 
  | 
  |
  |   action
  |   *.do
  |
  | 
  | 
  | Compress
  | com.jspbook.GZIPFilter
  |   
  | 
  |   
  | Compress
  | *.jsp
  |   
  |   
  | Compress
  | *.html
  |   
  |   
  |   
  |   
  | /WEB-INF/struts-bean.tld
  | /WEB-INF/struts-bean.tld
  |   
  | 
  |   
  | /WEB-INF/struts-html.tld
  | /WEB-INF/struts-html.tld
  |   
  | 
  |   
  | /WEB-INF/struts-logic.tld
  | /WEB-INF/struts-logic.tld
  |   
  | 
  | 
  | 

this is my com.jspbook.GZIPFilter:
/*
  |  * Copyright 2003 Jayson Falkner ([EMAIL PROTECTED])
  |  * This code is from "Servlets and JavaServer pages; the J2EE Web Tier",
  |  * http://www.jspbook.com. You may freely use the code both commercially
  |  * and non-commercially. If you like the code, please pick up a copy of
  |  * the book and help support the authors, development of more free code,
  |  * and the JSP/Servlet/J2EE community.
  |  */
  | package com.jspbook;
  | 
  | import java.io.*;
  | import java.util.Enumeration;
  | 
  | import javax.servlet.*;
  | import javax.servlet.http.*;
  | 
  | public class GZIPFilter implements Filter {
  | 
  |   public void doFilter(ServletRequest req, ServletResponse res,
  |   FilterChain chain) throws IOException, ServletException {
  | if (req instanceof HttpServletRequest) {
  |   HttpServletRequest request = (HttpServletRequest) req;
  |   HttpServletResponse response = (HttpServletResponse) res;
  |   
  |   
System.out.println("-");
  |   System.out.println("Http-Request: "+ request.getRequestURI());
  |   
  |   for (Enumeration e = request.getHeaderNames(); e.hasMoreElements(); )
  |   {
  |   String headerName = (String)e.nextElement();
  |   System.out.println("Header '" + headerName + "': '" + 
request.getHeader(headerName) + "'");
  |   }
  |   
  |   for (Enumeration e = request.getAttributeNames(); e.hasMoreElements(); )
  |   {
  |   String attributeName = (String)e.nextElement();
  |   System.out.println("Attributes '" + attributeName + "': '" + 
request.getHeader(attributeName) + "'");
  |   }
  |   
  |   System.out.println("AuthTyp: " + request.getAuthType());
  |   System.out.println("CharacterEncoding: " + request.getCharacterEncoding());
  |   System.out.println("Method: " + request.getMethod());
  |   System.out.println("Protocol: " + request.getProtocol());
  |   System.out.println("QueryString: " + request.getQueryString());
  |   System.out.println("Scheme: " + request.getScheme());
  |   
  |   String ae = request.getHeader("accept-encoding");
  |   if (ae != null && ae.indexOf("gzip") != -1) {
  | System.out.println("GZIP supported, compressing.");
  | GZIPResponseWrapper wrappedResponse =
  |   new GZIPResponseWrapper(response);
  | chain.doFilter(req, wrappedResponse);
  | wrappedResponse.finishResponse();
  | return;
  |   }
  |   chain.doFilter(req, res);
  | }
  |   }
  | 
  |   public void init(FilterConfig filterConfig) {
  | // noop
  |   }
  | 
  |   public void destroy() {
  | // noop
  |   }
  | }
  | 

Now, if I use jboss with tomcat I get this sysout-logs:

  | 17:07:35,186 INFO  [STDOUT] Http-Request: /ImageBrowser/TestGZIP.jsp
  | 17:07:35,186 INFO  [STDOUT] Header 'accept': 'image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, 
application/vnd.ms-powerpoint, application/msword, */*'
  | 17:07:35,186 INFO  [STDOUT] Header 'referer': 
'http://localhost:8080/ImageBrowser/TestGZIP.jsp'
  | 17:07:35,186 INFO  [STDOUT] Header 'accept-language': 'de'
  | 17:07:35,206 INFO  [STDOUT] Header 'content-type': 
'application/x-www-form-urlencoded'
  | 17:07:35,206 INFO  [STDOUT] Header '---': '- ---'
  | 17:07:35,206 INFO  [STDOUT] Header 'user-agent': 'Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.1; .NET CLR 1.1.4322)'
  | 17:07:35,206 INFO  [STDOUT] Header 'host': 'localhost:8080'
  | 17:07:35,206 INFO  [STDOUT] Header 'content-length': '60'
  | 17:07:35,206 INFO  [STDOUT] Header 'connection': 'Keep-Alive'
  | 17:07:35,206 INFO  [STDOUT] Header 'cache-control': 'no-cache'
  | 17:07:35,206 INFO  [STDOUT] Header 'cookie': 
'JSESSIONID=F966E4735EDF169F90FA45F9FB7F8A1B; 
JSESSIONID=BB1A785FCD8C58DCF2E2AFF9CED4FD

[JBoss-user] [Installation & Configuration] - [JBOSS]NoClassDefFoundError XMLResourceProvider

2004-10-26 Thread cosmos38240
Hi,

I launch JBOSS 3.2.6 from eclipse and i get the following error message :


  | java.lang.NoClassDefFoundError: org/jboss/net/axis/XMLResourceProvider
  | 

How can i get the class file ???

Thank you


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Evaluating JBoss Application Server on Windows and Linux

2004-10-26 Thread wdfink
Hi Richard,
IMO the O'Reilly Book Enterprise Java Bean from Richard Monson-Haefel ist a good book 
to start with.
Maybe http://docs.jboss.org/ejb3/tutorial can help with examples.
I dont't know how good it is for beginners. I have begun with JBoss 2.2.2 and older 
EJB's 1.0/1.1 tutorials from JBoss

cu
Wolf

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - javax.jms.JMSSecurityException: User: null is NOT authentica

2004-10-26 Thread [EMAIL PROTECTED]
hi I'm getting this error when I'm deploying MDB. here I'm using Oracle database.

javax.jms.JMSSecurityException: User: null is NOT authenticated
at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java
at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:781)
at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:287)
at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:301)
at org.jboss.mq.Connection.authenticate(Connection.java:1153)
at org.jboss.mq.Connection.(Connection.java:248)
at org.jboss.mq.Connection.(Connection.java:325)
at org.jboss.mq.SpyConnection.(SpyConnection.java:66)
at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:152)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:545)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:767)
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:230)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
at $Proxy52.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:369)
at sun.reflect.GeneratedMethodAccessor8.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:230)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:170)
at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:251)
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:230)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:369)
at sun.reflect.GeneratedMethodAccessor8.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:230)
at org.jboss.mx.se

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence

2004-10-26 Thread wdfink
Hi guyug,
here is my code that works fine in my client

  | private void deleteQueueEntry(String jmsMessageID) throws 
JMSException,NamingException {
  | QueueConnection 
qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection();
  | Queue 
jmsq=de.intermoves.pbseasyzds.admin.Session.getJMSQueue((String)this.queue.getSelectedKey());
  | QueueSession session = 
qc.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
  | QueueReceiver recv = 
session.createReceiver(jmsq,"JMSMessageID='"+jmsMessageID+"'");
  | session.setMessageListener(new MessageListener() {
  | public void onMessage(Message msg) {
  | if(log4j.isDebugEnabled()) log4j.debug("Loesche JMS 
Message "+msg);
  | }
  | });
  | qc.start();
  | recv.receive(1000); // Message aus der Queue lesen wenn noch 
vorhanden
  | qc.stop();
  | session.close();
  | qc.close();
  | }
  | 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Transaction problems moving from JBoss3.2 to JBoss4.0

2004-10-26 Thread patrickvankann
I had an application that deployed and functioned in JBoss 3.2.x. After migrating to 
JBoss4.0 any calls to my StatelessSession EJB using CMT result in the following 
exception.
==Stacktrace #1==
2004-10-26 13:25:40,484 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException in method: public abstract java.util.Collection 
com.fc.timesheet.TimesheetBO.findClients(java.lang.String,int) throws 
com.fc.utils.DataObjectException,java.rmi.RemoteException, causedBy:
org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=socks/15, BranchQual=, localId=15] 
status=STATUS_NO_TRANSACTION
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:457)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:325)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:854)
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 
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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at 
org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:55)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy54.findClients(Unknown Source)
at 
com.fc.timesheet.struts.admin.GetClientsAction.execute(GetClientsAction.java:68)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.SecurityAssociation

[JBoss-user] [JCA/JBoss] - Datasource failover with MySQL?

2004-10-26 Thread terry
Hi,

I am trying to set my datasource up so that if my primary database server goes down, 
the datasource will use the backup server. I am using:

jboss-3.2.5 (default config)
j2sdk1.4.2_04
mysql-max-3.23.55
red hat ews 3.0
mysql-connector-java-3.0.15

Here is the snippet from my datasource config file (mysql-ds.xml):
 

   
  MySqlDS
  
jdbc:mysql://10.1.1.3:3306,10.1.1.4:3306/mydatabase?autoReconnect=true
  com.mysql.jdbc.Driver
  5
  20
  10
  false
  myusername
  mypassword
  
  100
  TRANSACTION_READ_COMMITTED
   


I have tried using different connection-url parameter values (with and without the 
port numbers, etc) and some of the available options such as autoReconnect=true on the 
url. I have even tried the latest "development" version of the mysql connector which 
is supposed to have an autoReconnect for connection pools. But, still no luck.

For my test, I start with the two database servers running. I start using my jboss 
app, then shutdown the localhost instance of mysql. When jboss goes for another 
connection, I get the following exception:

Communication link failure: java.io.EOFException, underlying cause: null

It looks to me that the connection pool is holding these closed connections. As a 
test, I pulled up the ManagedConnectionPool for my datasource using the jmx-console 
and invoked the flush() method. After doing this, jboss rebuilt the connection pool 
with connections from the other (back-up) server and everything was cool.

My questions are:

1. I am missing something on the failover settings at the datasource level? 
2. Assuming #1 just won't work the way I expected, is there a way to get a JNDI 
reference to the ManagedConnectionPool for my datasource so that I can trap the 
exception in my connection manager class and invoke the flush() method so the pool 
will be rebuilt?

Any help is appreciated. Much thanks.

Terry


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-26 Thread jiwils
"lac_raz" wrote : Have tou read the singleton discussion on TheServerSide.com ?

"monocongo" wrote : Thanks for making me aware of this discussion.

Could either of you provide a link to the aforementioned discussion?  Many referenced 
discussions come up when searching for "singletons" on the ServiceSide site.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-26 Thread monocongo
"lac_raz" wrote : Have tou read the singleton discussion on TheServerSide.com ?

Thanks for making me aware of this discussion.  I *really* wish I had seen it before 
going down this path with Singletons.  My original idea was to use an EntityBean 
instead of a Singleton, and from looking at this discussion that looks to be the 
concensus.  Unfortunately as a new employee (and relative newbie to EJBs and JBoss) I 
didn't have the authority to make the design decision.  And now that I've coded my 
application around Singletons I need to make them work, or somehow convince my manager 
to let me have the time to change course, which is not likely.

I do (finally) have my application working well using Singletons, but it seems that a 
failure of the master node of my cluster will cause the Singletons to be created fresh 
on the new server, thereby losing the data needed by the application.  Hopefully I can 
work this out, but really it seems that an Entity Bean approach is a much better idea.


--James

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence

2004-10-26 Thread guyug
I used receiveNoWait().
When I tried QueueBrowser it worked! Thanks!

Since receiveNoWait() doesnt work for me, do you know how I can delete a message from 
the DLQ?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - log4j:ERROR Could not instantiate class [org.apache.log4j.xm

2004-10-26 Thread normanfung
Hi, I got this following error message when I started JBoss server - it doesn't seems 
to affect anything though... should I be concerned about this? If so, how can I fix it?

[EMAIL PROTECTED] bin]# ls
  | classpath.sh  jboss_init_suse.sh  run.shspy.log
  | deployer.bat  run.bat shutdown.bat  twiddle.bat
  | deployer.sh   run.confshutdown.jar  twiddle.jar
  | jboss_init_redhat.sh  run.jar shutdown.sh   twiddle.sh
  | [EMAIL PROTECTED] bin]# ./run.sh
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /usr/local/jboss-4.0.0RC1
  | 
  |   JAVA: /usr/java/j2sdk1.4.2_05/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
  | 
  |   CLASSPATH: /usr/local/jboss-4.0.0RC1/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/t 
ools.jar:/usr/local/jboss-4.0.0RC1/server/default/conf
  | 
  | =
  | 
  | log4j:ERROR Could not instantiate class [org.apache.log4j.xml.DOMConfigurator].
  | java.lang.ClassNotFoundException: org.apache.log4j.xml.DOMConfigurator
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
  | 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:141)
  | at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
  | at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio 
nConverter.java:309)
  | at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon 
verter.java:449)
  | at org.apache.log4j.LogManager.(LogManager.java:113)
  | at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
  | at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
  | at org.jboss.logging.Logger.(Logger.java:78)
  | at org.jboss.logging.Logger.getLogger(Logger.java:291)
  | at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:152)
  | at org.jboss.system.server.ServerImpl.init(ServerImpl.java:126)
  | at org.jboss.Main.boot(Main.java:146)
  | at org.jboss.Main$1.run(Main.java:405)
  | at java.lang.Thread.run(Thread.java:534)
  | log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigur 
ator].
  | 

Thanks in advance.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - problem with classloader isolation in jboss 4.0 GA

2004-10-26 Thread gpnewton
Here's the scenario: 

I've got a logging package that is a wrapper around log4j.  This package has its own 
configurator which talks to a centralized server to retrieve logging configuration 
information for the server instance.

I never ran into a problem when running in Weblogic (they don't use log4j internally), 
but I've had some issues while porting to JBoss 4.0.

The Wiki page on classloader configuration 
(http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration) seemed to offer 
the perfect solution, but I haven't been able to make it work completely.

My test application is an EJB with a web service endpoint.  The EJB jar is packaged 
inside an EAR, and the log4j jar is also packaged inside that EAR.  Here's my 
jboss-app.xml:


  | 
  | 
  |sipstorm.com:loader=webserviceTest.ear
  |
  |   java2ParentDelegation=false
  |
  | 
  | 
  | 

Logging is lazily instantiated upon the first application logging call.  In debug 
mode, the first thing the logging package does is retrieve the log4j LoggerRepository 
and iterate through all loggers in the repository, printing out information about the 
loggers and what appenders are configured.

When I run in Weblogic, the repository is empty on the first call, as expected.  When 
running in JBoss (without isolating the classloader), all of the loggers configured by 
JBoss show up, which is also as expected.

If I've done the classloader isolation correctly, my EAR should be using its own 
instance of the log4j classes, and therefore I should see a completely empty 
LoggerRepository.  Unfortunately, I see all the same loggers already configured in the 
repository.

Is there something I'm missing?  Did I configure the classloader behavior incorrectly?



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Are jars in the

2004-10-26 Thread lepe
Only when you start your JBoss with the 'all' configuration :)

run.sh -c all ---> All configuration and server/all/deploy
run.sh -c minimal ---> Minimal configuration and server/minimal/deploy
run.sh -c default   ---> Default configuration and server/default/deploy
run.sh ---> Default configuration and server/default/deploy

/L


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Classloader issue with hibernate deployment

2004-10-26 Thread jdestef
Hi,

I'm using JBoss 4.0 on Windows 2000 with JDK 1.4.2. I'm tring to deploy a web 
application that uses hibernate. This application has the hibernate 2.1 jar in it's 
web-inf/lib directory. The deployment is going to the standard server on Jboss. In the 
standard servers jbossweb-tomcat50.sar directory I have set the in the 
jboss-server.xml file the following parameters:

Java2ClassLoadingCompliance to true
UseJBossWebLoader to false

I have also added a jboss-web.xml file to the web-inf directory of the deployment as 
follows:


xplanner


  xplanner:loader=xplanner.war
java2ParentDelegation=false




In the standard server there is a hibernate.jar file in the lib directory. What I 
thought would happen with this configuration is that the hibernate.jar file in the web 
app's lib directory would be used as opposed to the one in the standard servers lib 
directory. This is not happening. The hibernate.jar from the standard servers lib 
directory is being used. This is causing other class loading issues (NoClassdefFound).

Is this the correct configuartion? 

Thanks


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence

2004-10-26 Thread wdfink
hi,
I use a Client with the QueueBrowse function to read the DLQ.
And I have no Problems, her a pice of my code (from a swing client):

  | try {
  | QueueConnection 
qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection();
  | Queue 
jmsq=de.intermoves.pbseasyzds.admin.Session.getJMSQueue(queueName);
  | QueueSession session = 
qc.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
  | 
  | DefaultListModel model=new DefaultListModel();
  | for(Enumeration 
e=session.createBrowser(jmsq).getEnumeration();e.hasMoreElements();){
  | Message msg=(Message)e.nextElement();
  | model.addElement(msg);
  | }
  | this.queueEntries.setModel(model);
  | 
  | session.close();
  | qc.close();
  | }catch(JMSException e) {
  | log4j.error("Fehler JMS",e);
  | }catch(NamingException e) {
  | log4j.error("Fehler JNDI",e);
  | }
  | 

in which way you read the DLQ entries?

Wolf

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase IDENTITY columns

2004-10-26 Thread pablojavierpy
I will post relevant part of jbosscmp-jdbc.xml. But first of all, Sybase does not have 
"" template configured. Shoul I add it manually? Or there is another 
way to use IDENTITY columns in SYBASE?

Thanks in advance.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is Hypersonic DB the default storage for JBoss JMS ?

2004-10-26 Thread wdfink
Hi,
I think yes, if you using JBoss 3.2.x in the directory ./server/default/deploy/jms the 
file hsqldb-jdbc2-service.xml sets the persistance to a HSQLDB named 'DefaultDS' witch 
is configured in ./sever/default/deploy/hsqldb-ds.xml.

If you want to use other persistance some examples are in the ./docs/examples/jms 
directory.

with kind regardsWolf

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Are jars in the "all" deploy dir available in the "default"

2004-10-26 Thread thoste
Normally I learned that I should deploy my jar and war files to the deploy
dir under server/default/deploy.

But what is with the jars which are located in the 
server/all/deploy directory ?
Are they available  as well?

Thomas

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - The requested resource (/jboss-net/servlet/AxisServlet ) is

2004-10-26 Thread thoste
As far as I understand it I can check if all necessary WebService components are up 
and accessible by typing into the browser the following URL: 

http://localhost:8080/jboss-net/servlet/AxisServlet 

This should work even if I did not deploy a real webservice. 

However when I tried to call this URL I got (from JBoss 3.2.5) 
the following response page: 

HTTP Status 404 - /jboss-net/servlet/AxisServlet 
type Status report 
message /jboss-net/servlet/AxisServlet 
description The requested resource (/jboss-net/servlet/AxisServlet) is not available. 

Why? 

This happens when I deploy a hello world webservice too. 

http://localhost:8080/jboss-net

shows the same error.

JBoss runs fine for JSPs and EJBs. 
I observed that axis.jar is located in the "all" subdirectory. 
In the past I deployed jars and wars for JSPs and EJBs into 
the "default" subdirectory". 

Do I have to pass a parameter to JBoss during the start in order to enable the 
Webservice feature inside? 

Thomas 



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Attribute Stats can't retrieve

2004-10-26 Thread [EMAIL PROTECTED]
Yes, but what's the exception you're getting?

It could also be for that specific MBean to not support statistics

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Start JBOSS 3.2.6 with Hypersonic database

2004-10-26 Thread cosmos38240
Hi all,

I started JBOSS and i get this error message :


  | 15:27:18,573 ERROR [HypersonicDatabase] Starting failed 
jboss:service=Hypersonic,database=localDB
  | java.sql.SQLException: User not found: SA
  | 

Ok he don't find sa but how can i correct that 

Thank you

Regards,
MichaÃl

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Is Hypersonic DB the default storage for JBoss JMS ?

2004-10-26 Thread thoste
Is the built in Hypersonic DB the default storage for JMS messages?

Or is the default storage the memory resp. a normal file?

Ok, a memory-only storage would offer only session scope
persistence but it would be sufficient for testing purposes.
The same applies to file storage.

If Hypersonic DB is not the default storage:
How can I make it the default storage?

Thomas

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Message delivering during shutdown JBoss 3.2.4

2004-10-26 Thread wdfink
We are using JBossMQ in catalog management project and during our load tests we have 
observed the following behaviour.

On a shutdown of JBoss with JBossMQ a queue message is delivered more than ONCE.


For reproduction we use the following szenario:
One JBoss, no cluster
One sender, many listeners are attached to the queue
JBoss 3.2.6 downloaded zip unpack... and start (with default configuration)

If I send a message and one listener executes the onMessage method while I start the 
JBoss shutdown then 
ALL listeners receive this message with a new message redelivered count.

Is that a programmers fault or a bug ?


thanks for reply 

Wolf


The JBoss logging message was:

  | 14:54:31,089 WARN  [org.jboss.mq.server.BasicQueue] Error during stop - removing 
subscriber Subscription[subId=-2147483648connection=Connect
  | ionToken:ID:5/0cc260fa86d1fa11b7396a035c117fa7 destination=QUEUE.testQueue 
messageSelector=null Local Create]
  | javax.jms.InvalidDestinationException: The subscription was registered with a 
destination that does not exist !
  | at 
org.jboss.mq.server.ClientConsumer.removeSubscription(ClientConsumer.java:246)
  | at org.jboss.mq.server.BasicQueue.stop(BasicQueue.java:640)
  | at org.jboss.mq.server.JMSQueue.close(JMSQueue.java:152)
  | at 
org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:806)
  | at 
org.jboss.mq.server.jmx.DestinationMBeanSupport.stopService(DestinationMBeanSupport.java:138)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:319)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:223)
  | at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
  | at $Proxy18.stop(Unknown Source)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:449)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:440)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:440)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:440)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:440)
  | at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.stop(Unknown Source)
  | at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:285)
  | at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:492)
  | at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:475)
  | at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:362)
  | 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 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(M

[JBoss-user] [JBoss.NET] - Reading soap body as a string in a Document style ws.

2004-10-26 Thread gsarno
Hi,
I don't know this might be an AXIS specific question,
but you might have come across this.

I would like to deploy a Document style web service and on the Server side I would 
like to read the Soap Body (payload: in my case a XML document) as a string and not as 
a DOM document/element.
Of Course I could convert the DOM document in a String, but I would like to avoid the 
DOM parsing as my back end system provides parsing capability and I don't want to 
parse twice the same XML message.

Is there a way I can do this or RPC is the only chance ?

cheers.
Giuseppe.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Listing 20, 50 or 100 JBoss forum postings per page ??

2004-10-26 Thread thoste
Is there a way of listing 20, 50 or even 100 postings in the JBoss
forums at the same time ?

Currently I have to scroll for every 10 postings.

Thomas

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread rimmeraj
But you are not using it within the cope of an EJB. There fore there is no open 
transaction to bind it to.


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Cannot read from DLQ with JDBC persistence

2004-10-26 Thread guyug
Hi,

I have configured jboss 3.2.1 to use JDBC2 PersistenceManager with MySQL. I want to 
read messages from DLQ.
The problem is that even though there are messages in the DLQ (I also see them in the 
JMS_MESSAGES table), when I try to receive them I get that the queue is empty. Does 
anyone know what the problem might be?

Thanks,
Guy.

The (relevant) jbossmq-service.xml configuration:


  | = -->
  |   
  |   
  |   
  | jboss.mq:service=Invoker
  | java:/ConnectionFactory
  | java:/XAConnectionFactory
  | 0
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  | jboss.mq:service=TracingInterceptor
  |   
  | 
  |   
  | org.jboss.mq.server.TracingInterceptor
  | jboss.mq:service=SecurityManager
  |   
  | 
  |   
  | jboss.mq:service=DestinationManager
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | jboss.mq:service=PersistenceManager
  | jboss.mq:service=StateManager
  |   
  | 
  |   
  |   
  | 900
  | 1000
  | jboss.mq:service=PersistenceManager
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | jbossmq-state.xml
  |   
  | 
  |   
  |  
  | 
  |   
  |   
  | jboss.mq:service=MessageCache
  | jboss.jca:service=LocalTxCM,name=DefaultDS
  | 
  | BLOB_TYPE=BYTES_BLOB
  |   INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
  |   INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, 
MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
  |   SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
  |   SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
  |   SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES 
WHERE DESTINATION=?
  |   SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE 
MESSAGEID=? AND DESTINATION=?
  |   MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND 
DESTINATION=?
  |   UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND 
DESTINATION=?
  |   UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
  |   UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  |   UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND 
DESTINATION=?
  |   UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
  |   UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  |   DELETE_MARKED_MESSAGES_WITH_TX = DELETE JMS_MESSAGES FROM JMS_MESSAGES, 
JMS_TRANSACTIONS WHERE JMS_MESSAGES.TXID = JMS_TRANSACTIONS.TXID AND 
JMS_MESSAGES.TXOP=?
  |   DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
  |   DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
  |   DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
  |   DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
  |   CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT 
NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB BLOB, 
PRIMARY KEY (MESSAGEID, DESTINATION))
  |   CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS (TXID INTEGER)
  |   CREATE_TABLES_ON_STARTUP = TRUE
  | 
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  | jboss.mq:service=DestinationManager
  | jboss.mq:service=SecurityManager
  | queue/DLQ
  |   
  | 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: where to add global application classes in the EAR ?

2004-10-26 Thread 760613
Well I must have missed something I tried again as 
putting it in the application.xml, in a module tag and it worked (very-very strange).

I must have missed something earlier, close the tag or something.

But your answer helped Robisz while it made me to double check and it worked... 

See my earlier thread...

Thanks alot!

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread beyarecords
Hi rimmeraj,
I was under the impression that the getSession method of HibernateContext took in as a 
parameter a sessionfactory name and then passed back a session? In 
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate

Session management it says:

'The central piece of the Hibernate Session management component in JBoss is the 
org.jboss.hibernate.HibernateContext class. HibernateContext exposes a static method 
named getSession() taking a String parameter which represents the jndi name of a 
SessionFactory?. If there is already a session bound to the "current context" for the 
given session factory name, then that session is returned; otherwise, a new session is 
generated, bound to the "current context", and then returned.'

Is the information above incorrect, as I specifically want to pass a session back via 
hibernate and not ejb?

many thanks


Uzo


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Evaluating JBoss Application Server on Windows and Linux

2004-10-26 Thread Koudry
I am new to JBoss and would like to eveluate JBoss as Application Server.  

I would like to be able to install JBoss on a Windows and Linux platform and use it to 
develop a  J2EE application with EJBs, JavaBeans, Servlets and JSPs.

I don't know where to start and which books I need.

Can you help please.

Regards,

Richard.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Attribute Stats can't retrieve

2004-10-26 Thread diripu
 Couldn't retrieve the Attribute of type "javax.management.j2ee.statistics.Stats" . 
But could able to retrieve other attributes through a Remote Client.

 Could any one help me in retrieving the Stats Attribute.My code is like this.
--
MBeanInfo mbInfo = server.getMBeanInfo(MBeanObName);
MBeanAttributeInfo[] attrInfo = mbInfo.getAttributes();
for (int jj=0; jjhttp://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852749#3852749

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread rimmeraj
The JNDI lookup returns a SessionFactory not a sesison. So it should look like...

SessionFactory sf = (SessionFactory)ctx.lookup("java:/hibernate/SessionFactory")
Session ses = sf.openSession();
do work here ...

ses.close();



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - ejb jar build file

2004-10-26 Thread adini

 
hello , 

I have got some difficulties in trying to build my ejb jar file 
I use ant and the ejbjar task provided with it 
but each time a build I have got the following error : 


anonymous wrote : 
  | C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeapi>ant 
  | Buildfile: build.xml 
  | 
  | clean: 
  | [delete] Deleting directory C:\Java\Workspace\JFDF\com\iratensolutions\api\or 
  | iadeapi\classes 
  | 
  | init: 
  | [mkdir] Created dir: C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeap 
  | i\classes 
  | 
  | compile: 
  | [javac] Compiling 10 source files to C:\Java\Workspace\JFDF\com\iratensoluti 
  | ons\api\oriadeapi\classes 
  | [javac] Compiling 1 source file to C:\Java\Workspace\JFDF\com\iratensolution 
  | s\api\oriadeapi\classes 
  | 
  | oriadeapijar: 
  | [ejbjar] Unable to locate jboss cmp descriptor. It was expected to be in C:\J 
  | ava\Workspace\JFDF\com\iratensolutions\api\oriadeapi\jaws.xml 
  | [ejbjar] building oriadeapi.jar with 12 files 
  | 
  | BUILD FAILED 
  | java.lang.NullPointerException 
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.writ 
  | eJar(GenericDeploymentTool.java:788) 
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc 
  | essDescriptor(GenericDeploymentTool.java:479) 
  | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java 
  | :640) 
  | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306) 
  | at org.apache.tools.ant.Task.perform(Task.java:401) 
  | at org.apache.tools.ant.Target.execute(Target.java:338) 
  | at org.apache.tools.ant.Target.performTasks(Target.java:365) 
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1237) 
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1094) 
  | at org.apache.tools.ant.Main.runBuild(Main.java:669) 
  | at org.apache.tools.ant.Main.startAnt(Main.java:220) 
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215) 
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) 
  | 
  | Total time: 4 seconds 
  | java.lang.NullPointerException 
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.writ 
  | eJar(GenericDeploymentTool.java:788) 
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc 
  | essDescriptor(GenericDeploymentTool.java:479) 
  | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java 
  | :640) 
  | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306) 
  | at org.apache.tools.ant.Task.perform(Task.java:401) 
  | at org.apache.tools.ant.Target.execute(Target.java:338) 
  | at org.apache.tools.ant.Target.performTasks(Target.java:365) 
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1237) 
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1094) 
  | at org.apache.tools.ant.Main.runBuild(Main.java:669) 
  | at org.apache.tools.ant.Main.startAnt(Main.java:220) 
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215) 
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) 
  | C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeapi> 
  | 

here is my build.xml file

  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  |  
  | 
  |   
  |  
  | 
  |   
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  |
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
the problem seems to come from the oriadeapijar target with the jboss ejbjar task but 
I can't figure it out alone 
if someone can help 

Thanks in advance

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module -> JDK1.5 compiler error on super.initia

2004-10-26 Thread wcrosman
...
public class RMROracleJBossLoginModule
extends UsernamePasswordLoginModule {

...
public void initialize(Subject arg0, CallbackHandler arg1, Map arg2,
Map arg3) {
super.initialize(arg0, arg1, arg2, arg3);
...
}

}


[javac] 
C:\code\weblib\src\java\gov\wapa\rmr\web\security\OracleJBossLoginModule.java:406: 
abstract method 
initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map,java.util.Map)
 in javax.security.auth.spi.LoginModule cannot be accessed directly
[javac] super.initialize(arg0, arg1, arg2, arg3);


Note: even though I extend UserNameLoginModule the error indicates I can't directly 
access javax.security.auth.spi.LoginModule.  

This code compiles correctly under jdk1.4.2_05.  Any thoughts?
Did the signature change for 1.5?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - build the ejb jar file

2004-10-26 Thread adini
hello ,

I have got some difficulties in trying to build my ejb jar file 
I use ant and the ejbjar task provided with it 
but each time a build I have got the following error :
anonymous wrote : C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeapi>ant
  | Buildfile: build.xml
  | 
  | clean:
  |[delete] Deleting directory C:\Java\Workspace\JFDF\com\iratensolutions\api\or
  | iadeapi\classes
  | 
  | init:
  | [mkdir] Created dir: C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeap
  | i\classes
  | 
  | compile:
  | [javac] Compiling 10 source files to C:\Java\Workspace\JFDF\com\iratensoluti
  | ons\api\oriadeapi\classes
  | [javac] Compiling 1 source file to C:\Java\Workspace\JFDF\com\iratensolution
  | s\api\oriadeapi\classes
  | 
  | oriadeapijar:
  |[ejbjar] Unable to locate jboss cmp descriptor. It was expected to be in C:\J
  | ava\Workspace\JFDF\com\iratensolutions\api\oriadeapi\jaws.xml
  |[ejbjar] building oriadeapi.jar with 12 files
  | 
  | BUILD FAILED
  | java.lang.NullPointerException
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.writ
  | eJar(GenericDeploymentTool.java:788)
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
  | essDescriptor(GenericDeploymentTool.java:479)
  | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
  | :640)
  | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
  | at org.apache.tools.ant.Task.perform(Task.java:401)
  | at org.apache.tools.ant.Target.execute(Target.java:338)
  | at org.apache.tools.ant.Target.performTasks(Target.java:365)
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
  | at org.apache.tools.ant.Main.runBuild(Main.java:669)
  | at org.apache.tools.ant.Main.startAnt(Main.java:220)
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
  | 
  | Total time: 4 seconds
  | java.lang.NullPointerException
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.writ
  | eJar(GenericDeploymentTool.java:788)
  | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
  | essDescriptor(GenericDeploymentTool.java:479)
  | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
  | :640)
  | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
  | at org.apache.tools.ant.Task.perform(Task.java:401)
  | at org.apache.tools.ant.Target.execute(Target.java:338)
  | at org.apache.tools.ant.Target.performTasks(Target.java:365)
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
  | at org.apache.tools.ant.Main.runBuild(Main.java:669)
  | at org.apache.tools.ant.Main.startAnt(Main.java:220)
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
  | C:\Java\Workspace\JFDF\com\iratensolutions\api\oriadeapi>
  | 

here is my build.xml 

  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  |  
  | 
  |   
  |  
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  |
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 

the problem seems to come from the oriadeapijar target with the jboss ejbjar task but 
I can't figure it out alone
if someone can help

Thanks in advance

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_

[JBoss-user] [EJB/JBoss] - Creating tables at startup

2004-10-26 Thread aibo
Hello everybody,

I have a problem with JBoss 4.0 and the configuration of two databases. I use hsql for 
JBoss specific things like jms,etc. and
as second database I have informix (for EJB-Access, etc.).
I know that in the file /server/deploy/ebxmlrr-service.sar/META-INF/jboss-service.xml 
one can specify, if
JBoss creates and drops tables during startup and shutdown. But only for one (default) 
datasource.
At the moment, JBoss doesn't create tables in the hsql database, but creates tables 
that are named according to my
EJBs in the informix database. How can I prevent JBoss from creating these tables?

Thanks in advance.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Urgent! - session.HibernateContext.getSession not working...

2004-10-26 Thread beyarecords
Hi,
I am having a serious problem getting data to returned to me from postgreSQL 7.4.1 via 
jndi(JBoss 3.2.6) using session.HibernateContext.getSession().  It seems that a 
session is being returned but nothing is happening after that. Can anybody tell me wht 
I am not doing correctly here? Is my java code specified incorrectly? I have specified 
my 

hibernate-service.xml doc as:


jboss.jca:service=LocalTxCM,name=PostgreSQL
java:/hibernate/SessionFactory
java:/PostgreSQL
net.sf.hibernate.dialect.PostgreSQLDialect
net.sf.ehcache.hibernate.Provider


postgres-ds.xml:

  
PostgreSQL
jdbc:postgresql://localhost:5432/beyarecords
org.postgresql.Driver
x
y
5
100
5000
15
  

standardjbosscmp-jdbc.xml:

   
  java:/PostgreSQL
  postgreSQL
  
 postgreSQL
 .
 
  

java code:

import net.sf.hibernate.HibernateException; 
import net.sf.hibernate.Session; 
import net.sf.hibernate.Transaction; 
import net.sf.hibernate.Query; 
import org.jboss.hibernate.session.HibernateContext;

 try { 
  HibernateContext session = 
org.jboss.hibernate.session.HibernateContext.getSession("java:/hibernate/SessionFactory");
 //transaction = session.beginTransaction();
 //Get User details 
 Query query = session.createQuery("from test.User as user 
where user.UserName=:username and user.UserPassword=:password") 
 .setString("username",username) 
 .setString("password",password); 
 user = (User) query.uniqueResult(); 

 //transaction.commit(); 
 //session.close(); 

 } catch (HibernateException e) { 

throw new RuntimeException("Exception in Hibernate:: " + 
e.getMessage(), e); 
 } 

server.log output:

2004-10-26 13:10:24,445 DEBUG [net.sf.hibernate.impl.SessionFactoryObjectFactory] JNDI 
lookup: hibernate/SessionFactory
2004-10-26 13:10:24,446 DEBUG [net.sf.hibernate.impl.SessionFactoryObjectFactory] 
lookup: uid=d1e22501ffd5242300ffd52426a8
2004-10-26 13:10:24,569 DEBUG [net.sf.hibernate.impl.SessionImpl] opened session
2004-10-26 13:10:24,784 INFO  [org.apache.jk.server.JkCoyoteHandler] Response already 
commited 


many thanks


Uzo

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss-3.0.6 fails to start

2004-10-26 Thread pavellus
It is working! 
I have remove j2ee from JAVA_HOME/jre/lib/ext folder and it resolve problem with 
security.properties and ejb.properties

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Update: Error open jmx-console on 3.2.3

2004-10-26 Thread BDV
Win2000 server jboss3.2.3
fresh installation-->jmx-console working fine

deployment of an ear --> jmx-console giving following error
http://my_server/jmx-console/index.jsp gives

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: index_jsp)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
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.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:534)


root cause 

java.lang.NoClassDefFoundError: org/apache/jsp/index_jsp (wrong name: index_jsp)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.la

[JBoss-user] [Nukes User] - Re: Installation of standalone 1.1 version

2004-10-26 Thread o10526
Forgot to indicate that this is running on a SuSE Linux server (SLES8).

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Is JBoss able to deal with other JBoss versions?

2004-10-26 Thread frank_montoya
Is a JBoss application server able to communicate with other JBoss application server 
with different versions within a cluster? Does the remote clients also have to use the 
JBoss jars with the same version as the JBoss application server? 

Frank

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: jboss 4 and PostgreSQL

2004-10-26 Thread jotsetung
thanks a lot! 
in the future i will describe my problems better, promised! ;) 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase IDENTITY columns

2004-10-26 Thread robisz
Please post the relevant part of your bean's jbosscmp-jdbc.xml file.

Have you put unknown-pk and entity-command elements to your
descriptor?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Questions about Custom Login Modules

2004-10-26 Thread leathurman
Hi Minmay.

I too noticed the discrepency regarding super.login. I actually made this the first 
call in my login module (subclass of abstractServerLoginModule). I notice that the 
UsernamePasswordLogin module also calls it first.

As far as my understyanding goes (which is not very far as we dont support this yet) 
the shared state map is for password stacking i.e when you have multiple modules and 
you want the username/password to be passed through. I guess the useFirstPass mean use 
the username and password from the first login module. 

I currently dont stack them so its not a problem for me.

Regards
Lea.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase IDENTITY columns

2004-10-26 Thread pablojavierpy
I emailed about this issue to Jeremy Bones (jeremy at boynes dot com). He seems to be 
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSybaseCreateCommand's author. Got no reply 
at all. Any body knows if his email address changed?

Thanks in advance.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Do I need to amend the ClientLoginModule?

2004-10-26 Thread leathurman
Hi All,

I have written my own custom login module which is working fine. This returns a custom 
principal instead of the SimplePrincipal which has an additional organisation 
attribute.

However I was thinking in my EJB  I could cast down to my custom principal and access 
the organisation accessor. e.g 

CustomPrincipal caller = (CustomPrincipal)(this.sessionContext.getCallerPrincipal());

Logger.info(caller.getOrganisation());

However I am getting a classcast exception as it appears I am still using 
SimplePrincipal.

I think I I need to amend the ClientLoginModule to return this as well. Is this what 
everyone would expect? 

I have looked at the code for the ClientLoginModule and I assume I need to create a 
new callback to gather the organisation, construct my custom principal and provide 
this in the SecurityAssociation.setPrincipal call. 

However I am unsure if I need to invoke SecurityAssociation.setCredential(password) 
why is this used?

Any help is much appreciated.

Regards
Lea.


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-26 Thread robisz
You can configure a connector on port 7001.
Check your_jboss_conf/deploy/jbossweb-tomcat50.sar/server.xml.

But if you want to use HttpServlet you must access it through
http protocol, of course. But it can't be a problem. See URL and 
HttpURLConnection classes in J2SE API documentation.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP - failed to retrieve data from database - but NO exc

2004-10-26 Thread normanfung
"Raist_Majere" wrote : I've seen an error in your code: you try to retrieve a local 
home interface in the same way you retrieve a remote home interface.
  | Your code is:
  | 
  |   | context = new InitialContext();
  |   | Object ref = context.lookup(groupJNDI); 
  |   | home = (GroupLocalHome)PortableRemoteObject.narrow(ref, groupLocalHome.class);
  |   | 
  | When you use Local Interfaces, you don't need to narrow the references, just cast 
them directly, like this:
  | 
  |   | context = new InitialContext(); 
  |   | GroupLocalHome home = (GroupLocalHome) context.lookup(groupJNDI); 
  |   | 
  | 
  | I don't know why aren't you getting any exception about this, but I think that 
this was the reason your app is not working.
  | 

I've just tried correcting my code as suggested, but:


  | Collection groups=null;
  | GroupLocalHome home=null;
  | ...
  | ...
  | try {
  | ...
  | context = new InitialContext();
  | home = (GroupLocalHome) context.lookup(groupJNDI);
  | groups=home.findAllGroups();  //STILL NOTHING RETRIEVED 
  | ...
  | } catch(Exception e) {
  |//AND NOTHING CAUGHT HERE!?
  | }
  | 

According to www.p6spy.com, nothing (SQL queries) was sent to database. Help! I'm 
deparate!

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2004-10-26 Thread craig1980
Hi All; do you know if this problem is still present in JBoss 3.2.6?
Have you found a solution, a patch in order to avoid this problem?
Thanks

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP - failed to retrieve data from database - but NO exc

2004-10-26 Thread normanfung
"darranl" wrote : Is the finder method returning you an empty collection?
  | 
  | If there is no data to be returned returning an empty collection is a valid 
response as it says that there are no entities.

No, there's data in the table. I created it by submitting SQL to target MySQL Instance 
using MySQL Control Center SQL editor panel. I have also tried to intercept SQL to 
database using http://www.p6spy.com/ - which tells me my CMP isn't sending anything to 
database.

Anyway, I'm going first try what anonymous wrote : Raist suggested.[/url]

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP - failed to retrieve data from database - but NO exc

2004-10-26 Thread normanfung
Thanks guys! I didn't get any notification (email) from your reply (Didnt set the 
message option - silly me). Sorry for the late response and thanks a lot for the help.

I'm going to try fix it now, will let update the post as soon as I'm done, probably in 
a few hours.


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >