[JBoss-user] [Management, JMX/JBoss] - Re: MMB's AttributeChangeNotifaction not received by Listene

2004-10-16 Thread gunterze
I am using jboss-3.2.5.

I was wondering, why you have declare in the service descriptor as code 
attribute of the mbean element. the resource class and not the MMB class.  
Thinking, that could be a reason, why server.addNotifiactionListener() add the 
handler into the listener registry of the resource instead of the MMB, I tried

mbean code= org.jboss.mx.modelmbean.XMBean ..

but that did not work.

Ok, I will file a bug report with a code sample @ sourceforge.

Regards,
gunter

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851636#3851636

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851636


---
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: Is it Valid to Cast Down the Principal

2004-10-16 Thread [EMAIL PROTECTED]
JBoss allows for a login module to install a custom principal that can be cast 
to the custom type. This is complete undefined by any spec though, so if you 
want portablity the extended security information would have to be part of the 
ejb call data.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851637#3851637

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851637


---
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: JMX-Console Security in Jboss 4.0

2004-10-16 Thread [EMAIL PROTECTED]
Both the standard and default configurations have the JBossSecurityMgrRealm 
defined in the jbossweb-tomcat50.sar/server.xml. The only way your default 
config does not have this is if you removed it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851638#3851638

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851638


---
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: Accessing an ejb with multiple client threads

2004-10-16 Thread [EMAIL PROTECTED]
The synchronization behavior could be encapsulated within the stateful session 
proxy via a custom client side interceptor if all users are doing so through 
the same instance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851639#3851639

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851639


---
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: Multi-threaded Client JBOSS applications and JAAS

2004-10-16 Thread [EMAIL PROTECTED]
Subject.doAs support can be added via a custom interceptor in the client proxy 
to propagate the security context from the AccessControlContext in the same way 
that the current SecurityInteceptor propgates the security context established 
by the ClientLoginModule.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851640#3851640

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851640


---
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: Form based auth + EJB Auth working, How to use form-auth

2004-10-16 Thread [EMAIL PROTECTED]
If you are using the embedded tomcat in jboss there will be automatic 
propagation of the security context required to access the servlet to the ejb 
tier.  If the servlet accessing the ejb is not under a restricted context there 
is no security context to propagate however.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851641#3851641

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851641


---
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: J2EE Client Authenticated but Subject has no Principals

2004-10-16 Thread [EMAIL PROTECTED]
The content of the Subject depends on the login modules. The ClientLoginModule 
only started doing this as of jboss-3.2.4. Prior to that it only passed the 
security context to the internal thread local store.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851642#3851642

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851642


---
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 Getting Started Documentation] - can't run jboss4.0.0

2004-10-16 Thread sugelahao
Hi, 
can't run jboss4.0.0
information is:
--
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-4.0.0\bin\\..
.
  JAVA: C:\j2sdk1.4.2_05\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
.
  CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\jboss-4.0.0\bin\\run.jar
.
===
.
java.lang.NoClassDefFoundError: com/sun/jmx/mbeanserver/GetPropertyAction
at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:36)

at org.jboss.system.server.ServerImpl.(ServerImpl.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:2
74)
at org.jboss.system.server.ServerLoader.load(ServerLoader.java:253)
at org.jboss.Main.boot(Main.java:143)
at org.jboss.Main$1.run(Main.java:405)
at java.lang.Thread.run(Thread.java:534)
Press any key to continue . . .

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851612#3851612

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851612


---
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: JMS send() slow JBoss 3.2.3

2004-10-16 Thread tysmeister
Hi Adrian,

Thanks for your response. I am still using the default Hypersonic persistent store, as 
evidenced by the very large files in $JBOSS_HOME/server/default/data/hypersonic. This 
is a surprise to me though because I explicitly set the delivery mode in the header of 
the JMS message to NON_PERSISTENT, which apparently is being ignored by the sender.

The thing that surprises me most is the apparent link between the time taken for the 
sender.send() to return, and the time it takes for the MDB to process the message 
consumed as a result of the send. When the individual MDBs processing is quick, then 
the whole thing works very efficiently, and I can see that by configuring a arbitary 
number of parallel instances on an SMP host that I get better throughput.

I will try setting up our RDBMS as the persistent store if get better mileage.

Thanks and regards,
Andrew

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851613#3851613

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851613


---
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: integrating IIS with JBoss

2004-10-16 Thread keanthian
hi smitra,
did you find any solution for this?? can you please share with us?

thanks...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851370#3851370

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851370


---
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: InvalidClassException when passing obj to session bean.

2004-10-16 Thread rgc3679
Update

The problem is solved. It was due to the server using a version of JRE 1.3.1 to check 
the serial version number of JComponent where the client was using a JRE 1.4.2 to 
check.

Even though JBoss was running under JVM 1.4.2, and so was the client, it's the JRE 
that is used for checking the serial version. Once I removed the 1.3.1 JRE from the 
path the class comparisons worked.

To track it down I found all rt.jar files on my server, and then ran the java app 
serialver using each one in turn as the classpath until I found the one that 
returned the serialVersionUID = -5353880800724033550 for javax.swing.JComponent. It 
turned out to be an old JRE that was loading first in the PATH.

Here's the command used to check the serial version numbers:

$serialver -classpath rt.jar javax.swing.JComponent

--BobC

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851614#3851614

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851614


---
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] - Problem with storing a value into session object

2004-10-16 Thread thoste
When I call a JavaServerPage with the following simple code I got a 
NullPointerException.
I just want to store the current date into a variable inside the session object.

...
%@ page import=java.util.* %
  
  % session = request.getSession(true); 

 String firstVisit = (String) session.getAttribute(firstVisit);
 if (firstVisit.equals()) {
session.setAttribute(firstVisit,(new Date()).toString()); 
firstVisit = new session; }

  %
  First Visit: %= firstVisit %
...
I don't believe that the error is because of the new Date() code. It seems to be a 
more general problem.
Do I have to add some more page import statements ?

Thomas

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851616#3851616

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851616


---
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] - EJB/Database access

2004-10-16 Thread pedrojosemartins
I am trying to develop a module which collects information about enterprises and 
stores them in the database (i am using Mysql). I use a form which has three fields: 
name, url and description. In order to send the entered data to the database, i've 
figured out that i must use an EJB. My question is: should i implement 
javax.ejb.EntityBean, org.jboss.nukes.core.ejb.EJBBase, another one or none at all?

Thanks,
Pedro Martins

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851617#3851617

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851617


---
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: Display module to all users

2004-10-16 Thread pedrojosemartins
No, i still can't see it. I've undeployed it, redeployed it and it still doesn't show 
up. Strangely enough, i can access it through the url

http://localhost:8080/index.html?module=empresas

Any ideas on how to break this one? Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851618#3851618

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851618


---
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: Display module to all users

2004-10-16 Thread pedrojosemartins
As i said before, i can only see it as administrator. If i'm not logged in or logged 
as a regular user, it does not show up in the modules menu, BUT i can access them via 
url.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851619#3851619

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851619


---
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] [Performance Tuning] - Re: prepared-statement-cache-size problem

2004-10-16 Thread lafr
dsldsl wrote : whats the DTD URL for oracle-ds.xml?

It's

  | !DOCTYPE datasources 
  | PUBLIC -//JBoss//DTD JBOSS JCA Config 1.0//EN^M
  | http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd;
  | 
for JBoss 3.x.x and it's

  | !DOCTYPE datasources PUBLIC -//JBoss//DTD JBOSS JCA Config 1.5//EN 
  | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd;
  | 
for JBoss 4.0.x.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851620#3851620

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851620


---
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: EAR scoping

2004-10-16 Thread Frito
...but I need my WARs to see the EAR...
What do you need in your WAR out of your EAR?
 
Just calling EJBs? Then isolate the EAR and the WARs and deploy all the needed 
resources in the apropriate unit (e.g. the bean interfaces in both units). 
Do you want to share classes? Then configure your WARs and your EAR with different 
repositories and deploy the shared resources without its own repository. Use the 
attribute Java2ParentDelegation to configure where to look first before delegating 
up/down.

Java2ClassLoadingCompliance for WARs is not the same kind of isolation as can be done 
with the LoaderRepositories.

I recommend the for pay doko ;-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851621#3851621

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851621


---
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: InvalidClassException when passing obj to session bean.

2004-10-16 Thread Frito
Set SerialVersionUID is calculated over the signature of your class. Provide you own 
ID when you want to change the signature and keep it compatible to older versions.
You don't have to use the save JRE on client and server. But they should be compatible.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851622#3851622

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851622


---
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] - Oracle JMS PersistenceManager issues JBoss 3.2.3 - Exception

2004-10-16 Thread tysmeister
Hi,

I have the following setup; JBoss 3.2.3, JVM 1.4.2_04-b05 SPARC, Oracle 9.2.0.1.0. I 
have configured the JMS PersistenceManager to use Oracle for persisting JMS messages 
by removing the Hypersonic config file and replacing it with the Oracle one located in 
the docs/exampls/jms/oracle-jdbc2-service.xml.

When the server starts up it is creating the JMS_MESSAGES, and JMS_TRANSACTIONS tables 
ok (hence the Oracle thin client JCA DS is good). However as soon as a message is 
queued I get the  following Exception stack;

Caused by: java.sql.SQLException: No more data to read from socket
  | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
  | at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
  | at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java)
  | at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java)
  | at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
  | at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
  | at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java)
  | at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
  | at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
  | at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:324)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:783)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:730)
  | ... 95 more
  | 23:14:32,996 ERROR [STDERR] java.rmi.ServerException: EJBException:; nested 
exception is: 
  | javax.ejb.EJBException: null; CausedByException is:
  | Could not store message: 1 msg=0 hard NOT_STORED PERSISTENT 
queue=QUEUE.reportDataEngine priority=4 hashCode=26560238; - nested throwable: 
(java.sql.SQLException: No more data to read from socket)
  | 

Has anyone else encountered this issue, and if so how do I go about rectifying the 
problem?

BTW - I have enabled TRACE level diagnostics via the log4j.xml as per the 'READ THIS 
FIRST' in the forum. The only JMS related stuff that I get is the following though

bash-2.05$ grep TRACE ../server/default/log/server.log
  | 2004-10-16 23:10:25,823 TRACE [org.jboss.jms.jndi.JMSProviderLoader] Constructing
  | 2004-10-16 23:10:25,839 TRACE [org.jboss.jms.asf.ServerSessionPoolLoader] 
Constructing
  | 2004-10-16 23:12:58,557 TRACE [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Constructing
  | 2004-10-16 23:13:02,768 TRACE [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Constructing
  | 2004-10-16 23:13:05,549 TRACE [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Constructing
  | 2004-10-16 23:13:10,587 TRACE [org.jboss.ejb.plugins.jms.DLQHandler] Constructing
  | 2004-10-16 23:13:11,458 TRACE [org.jboss.ejb.plugins.jms.DLQHandler] Constructing
  | 2004-10-16 23:13:11,838 TRACE [org.jboss.ejb.plugins.jms.DLQHandler] Constructing
  | 

Thanks and regards,
Andrew

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851623#3851623

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851623


---
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: How to access currently used Session Beans?

2004-10-16 Thread Frito
These are things the client shouldn't be aware of. You can configure the server 
(session bean) for the maximum number of instances. Pooling and caching is done by the 
server. When no instance is available for another user, an exception is thrown. Catch 
it and try again later on.

The web console (http://host:8080/web-console) provides some information about the 
beans. You can use the same JBoss interface. Must be some kind of MBean

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851624#3851624

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851624


---
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: EAR scoping

2004-10-16 Thread hoguester
Thanks for the reply - I actually do have the 'for pay' documentation, but I have not 
found it helpful in this instance.  

I do want to share resources from my EAR - and that is working well.  Currently my 
WAR's WEB-INF is isolated and the contents of the EAR is available to the other WARS.  
My problem is that the jars in the the jbossweb-tomcat50.sar are conflicting with the 
jakarta-commons jars I have in my EAR.  The ones in the tomcat SAR are older.  I dont 
want to simply replace the ones in the SAR with the newer versions - as this could 
have unexpected consequences.  There should be a way to tell the EAR to use what it 
has vs. what's on its parent classpath without totally isolating it.  BTW - I'm on 
3.2.5

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851625#3851625

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851625


---
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: security-domain and JBoss 3.2.6

2004-10-16 Thread bbeloff
Fixed it!

The file 
deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml 
had been over-written with the equivalent file from JBoss 3.2.5.

With the correct file restored, the application-policy is found correctly.

Bruno.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851626#3851626

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851626


---
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] - MMB's AttributeChangeNotifaction not received by Listener re

2004-10-16 Thread gunterze
What's wrong with this code:

public class MyXMBeanImpl extends ServiceMBeanSupport
  |  implements NotificationListener {
  | 
  | public void handleNotification(Notification notif, Object handback) {
  | log.info(handleNotification, event: +notif);
  | }
  | 
  | protected void startService() throws Exception {
  |  server.addNotificationListener(super.serviceName, this, null, null);
  | }
  | 
  | protected void stopService() throws Exception {
  | server.removeNotificationListener(super.serviceName, this);
  | }
  | 
  | // 
  | // gettes  setter of service attributes, referenced in
  | // conf/xmdesc/MyXMBean-mbean.xml 
  | }

handleNotification does not receive AttributChangeNotifications triggered by attribute 
modifications by the JMX console (emitted by  ModelMBeanInvoker.sendNotification()) - 
but it receives the AttributChangeNotifications emitted by 
ServiceMBeanSupport.jbossInternalStart and ServiceMBeanSupport.jbossInternalStop.

The problem may be, that there are two NotificationBroadcasterSupport objects: 
1. class ServiceMBeanSupport extends NotificationBroadcasterSupport  {..}
2. ModelMBeanInvoker.notifer = new NotificationBroadcasterSupport();

which each has its own ListenerRegistry: 
NotificationBroadcasterSupport.registry = new ListenerRegistry();

And 
 server.addNotificationListener(super.serviceName, this, null, null);
seems to add the listener only in the registry of 1. , but  
ModelMBeanInvoker.sendNotification() only emits notification to listeners registered 
in 2.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851628#3851628

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851628


---
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] [Javassist user questions] - Re: How to write new operator in function body ?

2004-10-16 Thread chiba
I tested it but I could not cause the problem.
Can you tell me details of Type type in your
example?  Is it a really top-level type?  Is there
Type.class? etc...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851629#3851629

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851629


---
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: EJB/Database access

2004-10-16 Thread jae77
it's really up to you. i believe that EJBBase provides default implementations for 
some of the methods required for the interface, so if you want to leverage that, go 
right ahead, otherwise, you have to provide the default impls yourself. 

pls make sure you normalize any fields that may link into the core tables, etc (you 
may not have this, but if you do). the wiki pages should document how to use the 
existing ejbs from the core so you don't  have to duplicate that functionality. 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851630#3851630

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851630


---
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: EJB/Database access

2004-10-16 Thread theute
The persistence of your module is defined by you.

You can use anything you want EJB, JDBC, Hibernate...

You can look at the existing modules they use org.jboss.nukes.core.ejb.EJBBase but you 
don't have to.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851631#3851631

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851631


---
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: MMB's AttributeChangeNotifaction not received by Listene

2004-10-16 Thread [EMAIL PROTECTED]
I believe you right!

Looking inside the code, with XMBeans when the target resource implements 
NotificationBroadcaster, then the 1st registry of the XMBean is never updated with 
listeners.

Thinking of possible solutions, ideally the XMBean would forward notification 
emitions to the 2nd registry, but there is no interface to do this (other that 
trying to cast to NotificationBroadcasterSupport, but there is no guarantee for this).

So the only way is to have both registries updated with listeners.

Could you please, file a bug-report at sourceforge and possibly submit a simplified 
version of your MBean code, so we can add a test to the JBoss testsuite and I'll fix 
the bug.

Which JBoss version are you using?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851634#3851634

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851634


---
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: using Oracle8i as the default DS

2004-10-16 Thread bassie
Hello Chester,
could you please let me know if you have got the answer. I have exactly same problem. 
It works fine on jboss-4.0.0RC1 but not in jboss-4.0.0

thanks in advance.

Bassie

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851645#3851645

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851645


---
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] - servlet.jar ?

2004-10-16 Thread kcarey
i've just installed jboss 4.0. I'm trying to compile a servlet. there doesn't appear 
to be a servlet.jar anywhere in the jboss directories. What has it been replaced with 
? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851647#3851647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851647


---
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] [Javassist user questions] - Re: problem with xml parser

2004-10-16 Thread ksclarke
I had this same problem and came to the same conclusion.  Is there a reason why 
org.xml. is not passed to the parent classloader like the rest of the jre classes?


dex wrote : dex wrote : dex wrote : i fix problem with patch in Loader
  |   |   |  patch
  |   |   ||| name.startsWith(com.altova.)|| 
name.startsWith(org.apache.)
  |   |   | || name.startsWith(org.w3c.)|| 
name.startsWith(org.xml.)
  |   |   |  patch

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851648#3851648

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851648


---
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