[JBoss-user] [Installation & Configuration] - Re: Shutdown Jboss server problem

2004-06-28 Thread ryo1986
I try to make a shutdown without halting the JVM
with config.setExitOnShutdown(false);

But the system cannot stop properly the jboss-service.xml and jboss-jca.sar make a 
ConcurrentModificationException (3.0.8 and 3.2.4)

an idea?

regards

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.4 Error that doesn't occur in 3.2.3, may be To

2004-06-28 Thread persabi
Are you using Struts?

If so...

I had a similar exception.  I managed to fix this by adding the following jars from 
the Struts lib to $JBOSS_HOME/server/(your container)/lib:

commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-fileupload.jar
commons-lang.jar
commons-validator.jar
jakarta-oro.jar
struts.jar

PS. I'm now using 3.2.5.

Regards
Vance

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: successive consume of messages

2004-06-28 Thread nort
and the singleton MDB would solve my problem?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-28 Thread cbrettin
Needing a serializable principal is a bad sign; from this I assume that you are using 
the beans through the remote interfaces; If you accessed the beans using local calls 
there would be no need for serialization.

Client-cert authentication relies on the SSL handshake to verify the presented 
certificate so it is only secure in the local context of the connection - any 
extension to thirdparties relies on trust relationships which should be carefully 
examined for security holes (for instance if the remote login is just fowarding the 
principal and credential you must accept connections only from trusted sources as 
otherwise clients can just supply the principal and the certificate (= PUBLIC key) to 
authenticate as anyone they choose.

Also for the least problems the web application and the EJB should be in the same 
security domain (or at least both in a certificate login domain; normally a 
JaasSecurityDomain with appropriate login modules).

Assuming that you are sure that you need the serializable principal, in the 
deploy/jbossweb-tomcat50.sar/server.xml file:



certificatePrincipal is the mapping class name. This class must implement the 
interface org.jboss.security.CertificatePrincipal which has one method:

public java.security.Principal toPrinicipal(java.security.cert.X509Certificate[] 
certs);

The built in JBoss class  SubjectDNMapping in the config above uses the build in 
method to get a Principal:
certs[0].getSubjectDN();

There is another built in class for mapping, SerialNumberIssuerDNMapping, which uses 
the following logic:

BigInteger serialNumber = certs[0].getSerialNumber();
Principal issuer = certs[0].getIssuerDN();
SimplePrincipal principal = new SimplePrincipal(serialNumber+" "+issuer);

SimplePrincipal is serializable, so the get a serializable principal either specify 
this class in the config above, or use you own implementation of the interface.

When the JBossSecurityMgrRealm has created the principal it uses the assigned security 
domain (from the web app config) to login using the created principal with the 
certificate chain as a credential, which is then passed to the configured login 
modules.



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: how could i configue tomcat users

2004-06-28 Thread pnevado
I depends of your security realm (database, file, LDAP server,..). Have a look at the 
Getting Started Document, the last chapter about configuring security realms.
I hope this helps.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Something wrong with manage HTML page in rc2?

2004-06-28 Thread ikant
When I'm on the list pages page and I click any of the pages there is no content in 
the middle and the right side block move towards the middle.  Don't remember this 
happening in 1.0.[/img]

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-28 Thread tfk257
Thanks for the reply


but how to change the subject mapping class?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-28 Thread cbrettin
I'm using JBoss 4.00DR4 and I managed to get CLIENT-CERT to work with a servlet, 
roughtly following the config given in the wiki:
http://www.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule

Except that I've used CertRolesLoginModule in jbosssx from CVS and a dynamically 
loaded login configuration.

I'm not currently using role based security on the EJBs but 
sessionContext.getCallerPrincipal() returns the principal so I assume a compatible 
login is occuring, but then I'm using Local invocations, so that may be the differnece.

JbossSecurityMgrRealm simply interfaces tomcat the the JBoss security architecture (it 
just delegates to a jboss security manager specified in its local JNDI) even the class 
is not hardwired: it is configured via server.xml (Server/Service/Engine/Realm) in the 
tomcat sar (look in the deploy dir).
BUT it is not  a JBoss realm it is a Catalina one, so you probably don't want to 
change it (except possibly the certificate subject mapping class)


Hope this helps


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Topic onMessage()

2004-06-28 Thread [EMAIL PROTECTED]
A training course on java synchronization/threads.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Access to the requested resource has been denied - WHY??

2004-06-28 Thread cbrettin
"snavjot" wrote : 
  | 
  | 
  | select role, "Roles" from CustomerLogin where custCode=?
  | 
  | 



The roles query returns two columns the first one containing the Role name and the 
second the Role Group that this role is being added to.

The default role group is called "Roles" and is the one used for normal EE role based 
security - if the role group is null or empty the default group will be used, so you 
could have used:

select role, "" from CustomerLogin where custCode=?
or
select role, NULL from CustomerLogin where custCode=?

with the same effect.

If you where using an application with role groups other than the default then you 
would need to use this feature; normally, as you have discovered, it is just disabled 
by providing the default as a constant column in the query.

So groups with names other than "Roles" do exist (and are loaded and attached to the 
Subject), but they are not used for the simple roles based security you are using.



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - nukes 1.1RC2 available

2004-06-28 Thread jae77
nukes 1.1RC2 is now available, so get it while it's hot. :)

cvs tag: Nukes_1_1_0_RC2
mysql precompiled zip: http://www.scriptkitty.org/nukes-1.1.0-mysql-RC2.zip

the original RC1 announcement can be found here: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50357

* items still outstanding (to my knowlege) 

- update the "default" index page, this will be done as soon as i can get the binary 
data string out of hsqldb (everyone else is easy b/c they take in a string).

* known issues

- the "view" option on the "manage html" page does not render the character sets 
properly. (this is annoying, but can be worked around by just openning the link in a 
different window).

please let me know if you encounter any issues, especially surrounding table creation 
and adding the unique constraints.

the core tables still need to be created by hand, but everything else is deploy and 
go. 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Topic onMessage()

2004-06-28 Thread msia
then where can i findmy help about this question? thank .

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: mssql-ds.xml vs mssql-xa-ds.xml

2004-06-28 Thread [EMAIL PROTECTED]
Humpty-Dumpty

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot delete temporary queue, it is in use.

2004-06-28 Thread [EMAIL PROTECTED]
Ignored because of lack of information/example.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB deployed with DeliveryActive set to false?

2004-06-28 Thread [EMAIL PROTECTED]
docs/dtd/jboss_3_2.dtd

MDBConfig/DeliveryActive:





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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Use JCA or IL? (java:/JmsXA or java:/XAConnectionFactory

2004-06-28 Thread [EMAIL PROTECTED]
The jms-ds.xml shipped with 3.2.4+ 
makes the relationship explicit as does the FAQ and WIKI.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Topic onMessage()

2004-06-28 Thread [EMAIL PROTECTED]
Your question is not about JMS. It is about synchronizing processing.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: successive consume of messages

2004-06-28 Thread [EMAIL PROTECTED]
FAQ

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - cmp-field and case sensitivity in 3.2.5

2004-06-28 Thread jbone
I noticed in the ejb specification that cmp field names need to start with a lowercase 
letter.  (Doh!)

I have a couple fields that start with capitals (e.g. ID) that seem to work fine in 
3.2.2, but now I'm on 3.2.5 and I'm getting the following error:

"Internal error getting results for field metadata"

Is this because I need to make the first character of the field names lowercase, as 
the spec lays out?

Thanks

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: TopicSelector Exception !

2004-06-28 Thread [EMAIL PROTECTED]
read the javadoc

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB ACTIVE but stops consuming

2004-06-28 Thread [EMAIL PROTECTED]
Nobody should be posting here.
As I said before this is a bug in concurrent.jar.

The "workaround" is in 3.2.4+
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/jms/asf/StdServerSessionPool.java?only_with_tag=JBoss_3_2_4_RC2

THIS THREAD IS CLOSED.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS+HAIL+XA: Pooled Connections Never reconnects on sing

2004-06-28 Thread [EMAIL PROTECTED]
This was all fixed in 3.2.4 for HAJMS
http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java?r1=1.22&r2=1.23

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Re: User Agent

2004-06-28 Thread nehring
Axis is basically a servlet, so you can get to the HTTP header information.   From 
inside your Axis SOAP service, you can get the MessageContext from Axis and then get 
the HttpServletRequest from that context.   From the HttpServletRequest you can ask 
for the User-Agent.

MessageContext msgctx = AxisEngine.getCurrentMessageContext();
  | 
  | HttpServletRequest req = (HttpServletRequest) 
msgctx.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
  | 
  | String userAgent = req.getHeader("User-Agent");
  | 

Best regards,
Lance Nehring
www.newparticles.com

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS+HAIL+XA: Pooled Connections Never reconnects on sing

2004-06-28 Thread arisa
Thanks Ulf for the tip.  It wasn't directly applicable as I am using JMS which doesn't 
have any relations to jdbc and ExceptionSorter.  However, it pointed me in the right 
direction.

I've solved this problem using the following approach:

1. The problem is that the JmsManagedConnection does not register an ExceptionListener 
for the JMS Connection.
2. I extended the JmsManagedConnection class with my own.  My version of setup() sets 
an exception listener on the JMS Connection.
3. I also extended the JmsManagedConnectionFactory so that it instantiates my extended 
version of JmsManagedConnection.
4. I then created a new JMS RAR which defines a new Jms Provider which uses my 
extended JmsManagedConnectionFactory.
5. I then create a new pool of JMS Connections, and use this pool.

It works.  There's one bit that's messy:  How the exception listener removes the 
connection from the pool.  I couldn't figure this one out.  Trying to destroy the 
ManagedConnection doesn't work, because it will only be flushed from the pool after 
one user tries to use it (and gets an error that the ManagedConnection has been 
destroyd).

So, because I was desperate I hacked it so that it calls the flush() method on the 
ManagedConnectionPool MBean.

If anyone knows how a ManagedConnection can remove itself from a ManagedConnectionPool 
cleanly without being used anymore, I'd love to hear it.

Thanks to all who considered this problem,
Aris

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Scoped Ear / EJB Access

2004-06-28 Thread [EMAIL PROTECTED]
I have read through all the suggestions that I could find regarding scoped EARs but am 
still having an issue as I migrate to scoped ears.  I would appreciate your advice.

I have a deployment with 5 EARs.  This gives you an idea of the setup.

Security.ear
META-INF/MANIFEST.MF
Security-ejb.jar
Common.jar
META-INF/jboss-app.xml
META-INF/application.xml

Core.ear 
META-INF/MANIFEST.MF
Core-ejb.jar
Common.jar
Security-client.jar
META-INF/jboss-app.xml
META-INF/application.xml

App.ear
META-INF/MANIFEST.MF
Common.jar
Core-client.jar
Security-client.jar
WebApp.war
META-INF/jboss-app.xml
META-INF/application.xml

Each jboss-app.xml specifies a classloader and I can see invidual ones being created 
as I would expect via the JBoss console.

Problem:
I receive the following error when I try to lookup an ejb.  The deployment descriptors 
work for a non-scoped deployment, but as I have moved to scoped ears I receive this 
error.

javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public blah, blah, blah
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
at org.jboss.ejb.Container.invoke(Container.java:720)


The exception is thrown when the home.create() is invoked.  I have checked its type 
and it is cast correctly.  It just dies on the create.

In my deployment the *-client.jars contain the homes, remotes, vos, exceptions.  The 
*-ejb.jars contain everything for that systems, ie homes, remotes, EJB, vos, 
exceptions, defined MANIFEST.MF.

This deployment only contains stateless session beans, no entity.

I tried the using 
   

true

true
   
for the conf/jboss-service.xml, but was unable to get the server to restart.

Any ideas? 



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Re: Server

2004-06-28 Thread nehring
You can get the MessageContext from Axis and then get the HttpServletRequest from that 
context.

For example, to get the remote host from within a Axis SOAP service, I do something 
like this:

MessageContext msgctx = AxisEngine.getCurrentMessageContext();
  | 
  | HttpServletRequest req = (HttpServletRequest) 
msgctx.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
  | 
  | String remoteHost = req.getRemoteHost();


Best regards,
Lance Nehring
www.newparticles.com

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: external static directories under 3.2.4

2004-06-28 Thread sramkishan
This seems to have been changed in JBoss-3.2.4/T 5.0.26

Copy a default  web.xml from 
\server\\deploy\jbossweb-tomcat50.sar and place it in the 
\server\\conf directory and modify your context code in the 
server.xml to point to that file as follows..

Context docBase="C:/projects/classgrabber/webapp/classgrabber/old/Images" 
path="/images" defaultWebXml="${jboss.server.home.dir}/conf/web.xml"/>

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: SELECT multiple fields solution

2004-06-28 Thread gorano
You can create a BMP.

/Goran

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - RemoteAdaptorInvocationHandler - No Serializer Error

2004-06-28 Thread cbuckley
Hello below is client code I am trying to get to work.

RemoteAdaptor ra = 
RemoteAdaptorInvocationHandler.createRemoteAdaptor(
new 
URL("http://server/jboss-net/services/RemoteAdaptor";));

System.out.println("Default Domain: "+ra.getDefaultDomain());

//This throws "No Serializer..."
System.out.println("Registered? "+
ra.isRegistered(new 
ObjectName("jnms.test:service=Test")));

When I try to run it I get the following exception


java.io.IOException: No serializer found for class javax.management.ObjectName in 
registry [EMAIL PROTECTED]

Has anyone used this?  Can anyone point me in the right direction for solving this 
error, I spent some time looking for doing "Calls" and setting the serializers but 
didn't have much luck there either.

thanks,

Chris Buckley

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - compile failed Duke Bank from javax.swing.JOptionPane

2004-06-28 Thread hillel
Anyone had a similar problem that they resolved?

I've installed j2ee-1_3-doc-tutorial-draft5.zip - the current 1.3 tut from Sun
then I installed jbossj2ee-src.zip and edited build.properties to change 
jboss.home=/usr/local/jboss-3.2.3
The Struts files were already in the bank/jar from the bossj2ee-src.zip

[bank]# ant -f jboss-build.xml compile 

Buildfile: jboss-build.xml 

 
prepare:
 
compile:
[javac] Compiling 55 source files to /home/hillel/jbossdocs/j2eetutorial/bank/build
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$8':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$8.actionPerfor 
med(java.awt.event.ActionEvent)':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java:178: error: Can't find method `showInputDialog(Lcom/sun/ebank/ 
appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'.
[javac]   returned = JOptionPane.showInputDialog(frame, mess);
[javac] ^
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$7':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$7.actionPerfor 
med(java.awt.event.ActionEvent)':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java:162: error: Can't find method `showInputDialog(Lcom/sun/ebank/ 
appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$4':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$4.actionPerfor 
med(java.awt.event.ActionEvent)':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java:122: error: Can't find method `showInputDialog(Lcom/sun/ebank/ 
appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$3':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$3.actionPerfor 
med(java.awt.event.ActionEvent)':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java:106: error: Can't find method `showInputDialog(Lcom/sun/ebank/ 
appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$1':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$1.actionPerfor 
med(java.awt.event.ActionEvent)':
[javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient 
/EventHandle.java:78: error: Can't find method `showInputDialog(Lcom/sun/ebank/a 
ppclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 5 errors
 
BUILD FAILED
file:/home/hillel/jbossdocs/j2eetutorial/bank/jboss-build.xml:49: Compile failed ; see 
the compiler error output for details.
 
Total time: 2 seconds


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - mssql-ds.xml vs mssql-xa-ds.xml

2004-06-28 Thread chalakanth
We are implementing JTA transactions over an SQLServer database.  

I am confused about the name of the file used to define data sources.  Do I have to 
define local-tx-datasources in mssql-ds.xml, and xa-datasources in mssql-xa-ds.xml?

The test we did indicated that the name of the file does not matter - we put 
everything in mssql-ds.   I would really appreciate it if someone confirmed this.  

thanks. 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Failover Server has Old Replicated Session

2004-06-28 Thread gudmundsonsc
Fixed in JBoss 3.2.5.

You will need to modify deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml as 
follows:

false

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Failover Server has Old Replicated Session

2004-06-28 Thread gudmundsonsc
That is set UseLocalCache to false.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBOSS-3.2.1 and LDAP Settings

2004-06-28 Thread julien.dubois
It's just standard Java, here's a nice tutorial for you:
http://java.sun.com/products/jndi/tutorial/ldap/index.html


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem

2004-06-28 Thread julien.dubois
I think I'm having the same issue Oups I shouted after a sysadmin because I 
thought he misconfigured the network...
Anyway, I've another solution:
http://jroller.com/comments/julien.dubois?anchor=unicast_clustering_with_jboss

It's not as good as upgrading JavaGroups IMHO, but it solves the problem, so I thought 
it might interest people in this thread.

HTH.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - ejbSelect within ejbPostCreate in 3.2.5 not working?

2004-06-28 Thread jbone
I am experiencing a problem in 3.2.5 that wasn't there in 3.2.2 as far as I can tell.

I am calling ejbSelect from within ejbPostCreate - according to the spec this should 
be legal, as ejbSelect can be called from a pooled or ready state.  

Based on error log, though, I think the transaction architecture is not allowing this 
possibility - can anyone tell me if you can call ejbSelect from within ejbPostCreate 
on a CMR entity bean?  Please?  I thought this was a simple question, but haven't been 
able to get an answer - a simple YES or NO would allow me to rule this first 
possibility out and investigate deeper into what the problem might be.

Thanks

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Which Bean fits this scenario?

2004-06-28 Thread john_anderson_ii
This is exactly what I looking for.  Thank you very much James.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - How To Explicitly (from Java) Invalidate EJB Cache?

2004-06-28 Thread humandoing
Hi there,

I am running into a situation where, for a certain part of our applicaiton, I need to 
use raw SQL in order to attain the kind of performance we need. Essentially, what this 
means is that I need to insert / update 120,000 rows or so in a couple different 
tables. 

In my case these 120,000 rows map to an Entity bean in my application, and there is a 
VERY good chance that most (or all) of these EJB's will already be in the JBoss EJB 
cache.

What I need (would really really like to be able to do) is to execute a method 
(hopefully somewhere in the JBoss internals) that basically invalidates all of my 
Entity Bean Foo instances from the EJB cache.

If there is a MagicJBossClass.pleaseInvalidateAllEJBsOfType( FooEJB.class ) type 
method, that would really really be awesome.

Can anyone point me in the right direction, I have gone through the 'for-pay' docs, 
and the forums, and have not been able to find any information thus far. I am assuming 
I might need to use the cache-invalidation-service.xml, which I can send JMS messages 
to. Unfortunately, the documentation mentions absolutely nothing about the service or 
how to use it, except that it is disabled by default and you talk to it via JMS.

Thanks a ton.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Classloading issues

2004-06-28 Thread [EMAIL PROTECTED]
Hi all, 
I'm trying to use a 3rd party jar from a class located in my war file 
(WEB-INF/classes). Since the jar is shared with other ear file modules (specifically 
another ejb jar), I've placed it in /lib and pointed to it from the /META-INF/MANIFEST.MF. 
The same mecahnism seems to work for my ejb jar, but in my war class I get 
NoClassDefFoundError. Any ideas / suggestions (is this manifest classpath supposed to 
work for war modules at all)?

Help would be appriciated, 

Uri



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - how could i configue tomcat users

2004-06-28 Thread flyabovesun
For jboss3.2.x, it contains tomcat bundle. now i want to use jakarta slide. that 
requires add some new users and roles for tomcat. how could i add roles and users in 
jboss? in tomcat (not coombined with jboss) i add roles like  and add user like . how 
could i do that in jboss?
thanks a lot.


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Upgrade from 3.2.3 to 3.2.5 - Table creation check fails

2004-06-28 Thread triathlon98
Try updating to the latest JayBird driver.

Joachim

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Install Container Interceptor

2004-06-28 Thread mpitanga
Hi all,

sorry...i cometi

I move my .JAR ( that contain my interceptor)  to the jboss/default/lib and all works 
fine..



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Example CMP or BMP

2004-06-28 Thread kminicki
Hello!

I'm beginner developer. I'm looking for easy example(s) WITH file *.ear  to help me  
write my first entity bean.
It may be BMP or CMP. I use JBoss 3.2.3, Eclipse 2.1.3 with XDoclet and JBoss-IDE, 
Mysql. Side of client may be JSP.

The best example should has complete source files (*.java) with xdoc tags and 
descriptive files (*.xml) with clasess (jar, war, ear). 

Thanks for Ur help!

If you want to send me your entity beans for example,
it's my e-mail: minicki[a_t]poczta[d_o_t]fm

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Javassist byte code rewriting overhead?

2004-06-28 Thread deruelle_jean
Hi,

I would like to know what is the overhead of javassist compared with BCEL for adding 
or modifying some bytcode at runtime ?
Because in BCEL when you add some new bytecode you don't need to recompile while in 
Javassist it seems that you add some source code so do you need to recompile or the 
method ading the bytecode do the transformation of the source code passed in argument 
and so there is no need to recompile ?
if this is not the case is there some benchmarking of this comparison available 
somewhere?

I'm truly sorry if this is a recurrent question or if this is described in the 
documentation, I didn't mean to waste any time

Best regards

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist

2004-06-28 Thread togath
Oops I meant stateful.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - deploy datasource from mbean service

2004-06-28 Thread jcl
In JBoss 3.2.4 what is the best way to create datasources
from with in a custom deployed MBean instead of creating xml files
and placing them into the deploy directory. I would like
to have the datasources managed by my mbean.
I can create the xml files but haven't figued out the best
way to get them deployed programatically.
The datasources will be used only by this mbean.
Thanks for any ideas. 
I did this once in JBoss 2.4 but a lot has changed since then.

Thanks,
jcl.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Clustered MDB

2004-06-28 Thread amdonov
Using 3.2.4, I configured JBossMQ to use Oracle for both state and persistence 
managers in the all configuration.  When I deploy an ear with MDBs that are durable 
subscribers to any node in the cluster it works fine, but if I deploy the same ear to 
multiple nodes, I receive a javax.jms.IllegalStateException: The durable subscription 
is already in use.  Is clustering of durable MDBs supported?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Install Container Interceptor

2004-06-28 Thread mpitanga
Hi all,

anyone can help me?

I created a plugin interceptor for monitoring my EJB...

I update the file standardjboss.xml :


  Standard CMP 2.x EntityBean
  false
  entity-rmi-invoker
  false
  false
  true
  
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
org.jboss.ejb.plugins.LogInterceptor
org.jboss.ejb.plugins.SecurityInterceptor
org.jboss.ejb.plugins.TxInterceptorCMT
org.jboss.ejb.plugins.CallValidationInterceptor
org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.EntityCreationInterceptor
org.jboss.ejb.plugins.EntityLockInterceptor
org.jboss.ejb.plugins.EntityInstanceInterceptor
org.jboss.ejb.plugins.EntityReentranceInterceptor
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
org.jboss.ejb.plugins.EntitySynchronizationInterceptor
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor


middllog.interceptor.EJBInterceptor

  
  org.jboss.ejb.plugins.EntityInstancePool
  
org.jboss.ejb.plugins.InvalidableEntityInstanceCache
  
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager
  
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock
  

org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy

  50
  100
  300
  600
  400
  60
  1
  0.75

  
  
100
  
  B


When i started the Jboss ( version 4.0DR4 ) this error

13:45:43,812 INFO  [EjbModule] Deploying MEJB
13:46:05,796 WARN  [EjbModule] Could not load the middllog.interceptor.EJBInterceptor 
interceptor for this container
java.lang.ClassNotFoundException: No ClassLoaders found for: 
middllog.interceptor.EJBInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:174)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
assLoader.java:466)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
oader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
.

and when go make deploying of the HelloWorld.jar occurs this error:

13:45:43,406 INFO  [EJBDeployer] Deployed: file:/D:/jboss-4.0.0DR4/server/defaul
t/deploy/HelloWorld/HelloWorld.jar
13:45:43,812 INFO  [EjbModule] Deploying MEJB
13:46:05,796 WARN  [EjbModule] Could not load the middllog.interceptor.EJBInterc
eptor interceptor for this container
java.lang.ClassNotFoundException: No ClassLoaders found for: middllog.intercepto
r.EJBInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:174)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
assLoader.java:466)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
oader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClas
sLoader.java:77)
at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepo
sitoryClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClas
sLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:844)
at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:731)
at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.jav
a:535)
at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:490)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:288)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean
Support.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:219)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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:232)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:844)
at $Proxy17.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:285)

at org.jboss.system.ServiceController.create(ServiceController.java:218)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAcc

[JBoss-user] [Beginners Corner] - CMP 2.0 EJB relationship problem

2004-06-28 Thread amarpatel
The relationship between the User entity and UserType etity is as follows:
1 User can only have 1 UserType, but 1 UserType can belong to many Users. Furthermore, 
User maintains a reference to UserType, but UserType does not have a reference to 
User. So in ejb-jar.xml, we have defined the one-to-many unidirectional relationship 
between the UserEJB and the UserTypeEJB is as follows:

 
   
 User-UserType
 
   One
   
 UserTypeEJB
   
 
 
   User-has-a-UserType
   Many
   
 UserEJB
   
   
 userTypeLocal
   
 
 UserType-has-many-Users
   
  


I have also added the following to jbosscmp-jdbc.xml:

 
 
User-UserType


  
UserType-has-many-Users


  User-has-a-UserType
   true

 
   userTypeLocal
   user_type_id
 
   

 
 


However, when the inserting the above xml fragment into jbosscmp-jdbc.xml, I get an 
error saying that there is no ejb-relationship-tag-name element.  I do not know the 
reason for this, as I have followed the dtd for jbosscmp-jdbc.xml, and confirmed that 
the ejb-relationship-role-name tags match in both jbosscmp-jdbc.xml and ejb-jar.xml.

Another modification I have tried is removing the relationships tag altogether from 
jbosscmp-jdbc.xml.  This allowed me to deploy my beans.  I also added the following 
cmp-field to the 'user' entity in jbosscmp-jdbc.xml:

   userTypeLocal
   UTL
   
 type
 user_type
 VARCHAR
 VARCHAR(20)
   

This xml fragment is in jbosscmp.xml.  The result of this is that there is a field 
called utl in the user_types table in the database. But the value being inserted into 
this field is not the foreign key integer id of the user_types table, but a serialized 
version of the UserTypeEJB. 

Please advise on the following issues described above:
1. no ejb-relationship-role-name defined error.
2. serialized UserType being stored in RDBMS table users, instead of foreign key 
integer.

Thank you.

Amar
[EMAIL PROTECTED]

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - RMI Invoker Adaptor Security

2004-06-28 Thread rufusness
anonymous wrote : A proprietary adaptor that provides an RMI interface to the JBoss 
JMX MBeanServer over any protocol for which a detached inovoker exists. The default 
configuration uses RMI/JRMP. This service can be secured by specifying the interface 
and port on which the service runs as well as by adding role based or custom security 
using an XMBean.

The above quote is from a JBoss document explaining how to secure the service used to 
communicate with JMX via RMI/JRMP.  Does anyone have an example of how to add role 
based or custom security using an XMBean?  How does one configure the acceptable 
roles?  Your help is greatly appreciated.

Thanks!

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - CVS problem getting DR4 source

2004-06-28 Thread steeqs
I'm having trouble downloading the DR4 source directly from CVS and was wondering if 
anybody can suggest a solution/workaround. The command is:

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r JBoss_4_0_0_DR4 .

After a long delay, I get this error message:

cvs checkout: inflate: invalid code lengths set
cvs [checkout aborted]: reading from server: Input/output error

BTW this command works just fine:

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r JBoss_4_0_0_DR3 .

It immediately starts updating directories. Is the problem that the DR4 release is 
labelled differently?
Thanks

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes

2004-06-28 Thread thartwig1
Sacha,

was that clustering bug new in 3.2.4 or was it also presen in the 3.2.3 release?

Thanks,
Tobias

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist

2004-06-28 Thread darranl
Are you sure that you have configured your beans to be stateless?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Forking threads in EJB

2004-06-28 Thread darranl
It isn't just that it is a bad practice, session beans are not allowed to start 
threads.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem

2004-06-28 Thread amdonov
Upgrading to JGroups 2.2.5 fixed this problem.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-28 Thread Frank Lemke
Hi,

here is the class, the PK-class extends. They are equal, except of the package name 
they are
in. So the PK-class, I posted earlier, overrides every field and method of the one, it
extends.

I deleted the phrase "extends bp.ejb.entityBeans.interfaces.SkrontoEintragPK" in the 
used
PK-Class,  packed the EAR-file once more and redeployed it: Now it's working fine. 
Seems
that JBoss has problems when the pk-class exends another pk-class !?


  | /*
  |  * Generated by XDoclet - Do not edit!
  |  */
  | package bp.ejb.entityBeans.interfaces;
  | 
  | /**
  |  * Primary key for SkrontoEintrag.
  |  * @author Frank Lemke
  |  */
  | public class SkrontoEintragPK
  |extends java.lang.Object
  |implements java.io.Serializable
  | {
  |private int _hashCode = 0;
  |private StringBuffer _toStringValue = null;
  | 
  |public java.lang.String nameAkteurPK;
  |public java.lang.String nameAktienGesellschaftPK;
  |public int skrontoNrPK;
  | 
  |public SkrontoEintragPK()
  |{
  |}
  | 
  |public SkrontoEintragPK( java.lang.String nameAkteurPK,java.lang.String 
nameAktienGesellschaftPK,int skrontoNrPK )
  |{
  |   this.nameAkteurPK = nameAkteurPK;
  |   this.nameAktienGesellschaftPK = nameAktienGesellschaftPK;
  |   this.skrontoNrPK = skrontoNrPK;
  |}
  | 
  |public java.lang.String getNameAkteurPK()
  |{
  |   return nameAkteurPK;
  |}
  |public java.lang.String getNameAktienGesellschaftPK()
  |{
  |   return nameAktienGesellschaftPK;
  |}
  |public int getSkrontoNrPK()
  |{
  |   return skrontoNrPK;
  |}
  | 
  |public void setNameAkteurPK(java.lang.String nameAkteurPK)
  |{
  |   this.nameAkteurPK = nameAkteurPK;
  |   _hashCode = 0;
  |}
  |public void setNameAktienGesellschaftPK(java.lang.String 
nameAktienGesellschaftPK)
  |{
  |   this.nameAktienGesellschaftPK = nameAktienGesellschaftPK;
  |   _hashCode = 0;
  |}
  |public void setSkrontoNrPK(int skrontoNrPK)
  |{
  |   this.skrontoNrPK = skrontoNrPK;
  |   _hashCode = 0;
  |}
  | 
  |public int hashCode()
  |{
  |   if( _hashCode == 0 )
  |   {
  |  if (this.nameAkteurPK != null) _hashCode += this.nameAkteurPK.hashCode();
  |  if (this.nameAktienGesellschaftPK != null) _hashCode += 
this.nameAktienGesellschaftPK.hashCode();
  |  _hashCode += (int)this.skrontoNrPK;
  |   }
  | 
  |   return _hashCode;
  |}
  | 
  |public boolean equals(Object obj)
  |{
  |   if( !(obj instanceof bp.ejb.entityBeans.interfaces.SkrontoEintragPK) )
  |  return false;
  | 
  |   bp.ejb.entityBeans.interfaces.SkrontoEintragPK pk = 
(bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj;
  |   boolean eq = true;
  | 
  |   if( obj == null )
  |   {
  |  eq = false;
  |   }
  |   else
  |   {
  |  if( this.nameAkteurPK == null && 
((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAkteurPK() == null )
  |  {
  | eq = true;
  |  }
  |  else
  |  {
  | if( this.nameAkteurPK == null || 
((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAkteurPK() == null )
  | {
  |eq = false;
  | }
  | else
  | {
  |eq = eq && this.nameAkteurPK.equals( pk.nameAkteurPK );
  | }
  |  }
  |  if( this.nameAktienGesellschaftPK == null && 
((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == 
null )
  |  {
  | eq = true;
  |  }
  |  else
  |  {
  | if( this.nameAktienGesellschaftPK == null || 
((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == 
null )
  | {
  |eq = false;
  | }
  | else
  | {
  |eq = eq && this.nameAktienGesellschaftPK.equals( 
pk.nameAktienGesellschaftPK );
  | }
  |  }
  |  eq = eq && this.skrontoNrPK == pk.skrontoNrPK;
  |   }
  | 
  |   return eq;
  |}
  | 
  |/** @return String representation of this pk in the form of 
[.field1.field2.field3]. */
  |public String toString()
  |{
  |   if( _toStringValue == null )
  |   {
  |  _toStringValue = new StringBuffer("[.");
  |  _toStringValue.append(this.nameAkteurPK).append('.');
  |  _toStringValue.append(this.nameAktienGesellschaftPK).append('.');
  |  _toStringValue.append(this.skrontoNrPK).append('.');
  |  _toStringValue.append(']');
  |   }
  | 
  |   return _toStringValue.toString();
  |}
  | 
  | }
  | 

With BBs you mean data dictionaries, don't you? I don't have some yet. If you still 
want it,
tell me. I will create them for you.

Did you see different named 

[JBoss-user] [HTTPD, Servlets & JSP] - UPDATE: Web app deployed in JBoss 3.2.2, won't in 3.2.4 OR 3

2004-06-28 Thread charleschr
The same thing is happening in 3.2.5 as happened in 3.2.4

Charles.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - NT Performance Monitor - Link to JBoss JMX Attributes ?

2004-06-28 Thread nickman
I have been trying a few different techniques for a few days now to try and make NT 
Performance Monitor register and display counters that reflect JBoss/JMX attributes. I 
would like to watch different JMX attributes like VM Memory usage, connection pool 
usage and some other custom bits and pieces in our MBeans. No success so far.

Has anyone done this or heard of any sort of customizable link between Java and NT 
Performance Monitor ?

Any leads appreciated.

BTW, I did try this, but I get nothing but memory dumps: 
http://www.developer.com/java/data/article.php/3087741

//Nicholas

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: getting

2004-06-28 Thread hswac
Try this: Increase max-pool-size in your-ds.xml.

Helmut

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Forking threads in EJB

2004-06-28 Thread patinouche
Is it possible to fork a new thread in a Session Stateless EJB using Thread.start() ?

It was working with JBoss 3.2.1  but it doesn't work anymore since I migrated to 3.2.4.

PS : i know this not a good practice but i need to do that ...

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Serialized Files removed while refernces to bean exist

2004-06-28 Thread togath
I am getting several instance of activation problems on stateless session beans.  It 
looks like the serialized file is being remove by JBoss while there are still objects 
that reference the bean. (JBoss 3.2.1)

I am assuming that the container is hitting some timeout on the bean and is thinking 
it needs to be removed.  Is there some setting in the standard-jboss.xml that would 
help lessen the problem?

Thanks in advance

StackTrace Below:

2004-06-23 16:42:19,003 FATAL [PlaceRequestjsp] Removal of Place Request bean failed!  
Error: Could not activate; failed to restore state; CausedByException is:

/opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser
 (No such file or directory)
2004-06-23 16:42:19,006 FATAL [PlaceRequestjsp] java.rmi.NoSuchObjectException: Could 
not activate; failed to restore state; CausedByException is:

/opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser
 (No such file or directory)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:122)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410)
at org.jboss.ejb.Container.invoke(Container.java:674)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at 
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy98.remove(Unknown Source)
at com.dynix.hip.jsp.PlaceRequestjsp.cleanup(PlaceRequestjsp.java:531)
at com.dynix.hip.jsp.PlaceRequestjsp.flush(PlaceRequestjsp.java:1145)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.dynix.hip.util.JSPHandler.removeService(JSPHandler.java:4607)
at com.dynix.hip.util.JSPHandler.flush(JSPHandler.java:1110)
at com.dynix.hip.util.JSPHandler.runThread(JSPHandler.java:1201)
at com.dynix.util.ThreadCounter.run(ThreadCounter.java:152)


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - dependant services

2004-06-28 Thread trossmy
I'm wondering how I can obtain all services that depend on a certain jboss
service? Or how can I make sure that all the dependant services are reloaded after 
(hot)redeploying a service?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR / EJB-QL problem?

2004-06-28 Thread MartinGx
I got jboss to build by ignoring the FAQ and just using my own installed version of 
ant.

So I tested again using the sql92 compiler with todays CVS version of Branch_3_2 and 
got the same result. Here is the log.

The reason it can't find "t1_hierarchy_partyGroup.HIERARCHY_FK" is because we are 
using relation-table in 
jbosscmp-jdbc.xml

16:34:29,018 DEBUG [Hierarchy#findDynamic] DYNAMIC-QL: SELECT OBJECT(hierarchy) FROM 
Hierarchy hierarchy WHERE hierarchy.partyGroup IS NULL
16:34:29,020 DEBUG [Hierarchy#findDynamic] Executing SQL: SELECT t0_hierarchy.id, 
t0_hierarchy.CODE, t0_hierarchy.TOP_LEVEL_NAME FROM cmp_hierarchy t0_hierarchy LEFT 
OUTER JOIN partygroup_hierarchys t2_hierarchy_partyGroup_RELATION ON 
t0_hierarchy.id=t2_hierarchy_partyGroup_RELATION.HIERARCHY_FK LEFT OUTER JOIN 
cmp_party_group t1_hierarchy_partyGroup ON 
t1_hierarchy_partyGroup.id=t2_hierarchy_partyGroup_RELATION.PARTY_GROUP_FK WHERE 
t1_hierarchy_partyGroup.HIERARCHY_FK IS NULL
16:34:29,025 DEBUG [Hierarchy#findDynamic] Find failed
java.sql.SQLException: Column not found,  message from server: "Unknown column 
't1_hierarchy_partyGroup.HIERARCHY_FK' in 'where clause'"


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Binding to a JNDI context path in java:comp/env

2004-06-28 Thread dannyyates
Errr... because fscontext doesn't obey the spec?! Sheesh!

Just because you've got away lucky with fscontext and Orion not obeying the spec, 
doesn't mean you should JBoss to let you be so lax!

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Binding to a JNDI context path in java:comp/env

2004-06-28 Thread pcross616
Do see that...

Thats strange then why does it work with the fscontext jar.  Which is the default JNDI 
file system implmentation.?  

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss and HTTP

2004-06-28 Thread bghcm
Yes - you can change your invoker proxy bindings in standardjboss.xml to use the http 
invoker.  For ejbs, set the invoker mbean property to jboss:service=invoker,type=http.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Jboss 3.2.5 Release Notes

2004-06-28 Thread parikhm
Can someone point me to the release notes for Jboss 3.2.5?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: deploying two identical webapps independently

2004-06-28 Thread ewbragg
We have tested deployment of multiple deployments using the same code using the 
following method:

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

You might want to check that out.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Text is cut off at far right end

2004-06-28 Thread jae77
looks good joe, thx! ie was cutting off the top portion of the text if you weren't 
logged in, but i solved that by adding a br tag. :)

this has been checked in and is tagged against RC1. 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes

2004-06-28 Thread theravednh
Thanks for that.  Clearly I was putting 2+2 and getting 5!

/david

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Shutdown Jboss server problem

2004-06-28 Thread dannyyates
Or, instead of hacking config files, you could run 'shutdown.bat' (or 'shutdown.sh') 
with no parameters and discover that there's a '-s' option which appears to solve the 
problem.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Web Console not working in JBoss 3.2.3

2004-06-28 Thread dheerajchugh
I have IE version 6.0 installed on my machine and i could not find any such option 
under Advanced tab, can you please tell me which exact option i should check.

Secondly, i think that i already have this one working for other applets, i.e. My 
Weblogic console is working fine, which is also an applet and also all other applets 
are working well without any issues.

Here i am getting an error which indicates that it is not able to find a .class file.


Any idea.



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB ACTIVE but stops consuming

2004-06-28 Thread gramani
I ve been running tests (say a message every 20 seconds) of our product in JBoss 
3.2.3, all was fine, but after 7th day, a particular MDB was not receiving messages 
from a queue, the MDB was active. The queue's  depth was showing the exact number of 
messages that were not delivered to  the MDB that were equal to the exact number of 
request that were pending in  our application. Message cache total cache size was 
equal to the same number  of undelivered messages. Can you please give me some insight 
as to why this  is happening. System health is good, the only reason I can see is that 
MessageListener thread had stopped, Is that really possible ?

Why are the messages being cached ? Why the MDB which was  perfectly consuming 
messages suddenly stopped. The queue is active, MDB is  active why is that MDB is not 
picking up the messages. Is it due to Heap  size issues ? (Heap is far above 50M)

Moment I restart the server, all the queued messages are sequentially processed by the 
MDB. Please do let me know. 

Thanks
Ganesh.

PS: Thanks Adrian, my mistake I should ve posted here before.


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - successive consume of messages

2004-06-28 Thread nort
Hello,

I need to consume the JMS messages successivly. That means if I send 10 messages to 
the queue the onMessage-method has to be called and proceeded. After finishing the 
process of the first message the next message has to be consumed. 

The actual situation is, that for each message a instance is created and all messages 
were consumed on one time. 

Is this possible with such an Singleton MDB? How to set up it in 3.2.3 (specially in 
jboss.xml)? Would this solve my problem or knows someone a better way?

Thanks,
Juraj

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss and HTTP

2004-06-28 Thread pla
I want to use JBoss only over HTTP.
I have JNDI and JMS working over HTTP. Now I want to know if it is possible to get rid 
of using the port . 
Thank you.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Shutdown Jboss server problem

2004-06-28 Thread ryo1986
Hi,

on the Shutdown.jar you can find a jndi.properties
modify this file with your good IP adress or network name and the good port.

Also i found  a solution to my problem on warpper use no delay at shutdown and wrapper 
wait for the end of the shutdown.

regards

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-06-28 Thread gtigti
I'm trying to deploy session beans and entity beans, but I dunno if I will need to 
reference them all in a jboss.xml file, my DS is working fine without that file.

So ca, I deploy without using jboss.xml ?

my ejb-jar.xml file looks like this :



http://java.sun.com/dtd/ejb-jar_2_0.dtd";>

EJBJARArchive


OPCAISSESB
com.gti.iagence.ejb.opcaisse.session.OPCAISSESBHome
com.gti.iagence.ejb.opcaisse.session.OPCAISSESB
com.gti.iagence.ejb.opcaisse.session.OPCAISSESBBean
Stateless
Bean


ejb/EXTRAIT1
Entity

com.gti.iagence.ejb.utilmetier.entity.EXTRAITHome
com.gti.iagence.ejb.utilmetier.entity.EXTRAIT
EXTRAIT



ejb/COMPTE1
Entity

com.gti.iagence.ejb.utilmetier.entity.COMPTEHome
com.gti.iagence.ejb.utilmetier.entity.COMPTE
COMPTE



ejb/CAISSE1
Entity
com.gti.iagence.ejb.opcaisse.entity.CAISSEHome
com.gti.iagence.ejb.opcaisse.entity.CAISSE
CAISSE



ejb/OPCAISSE1
Entity

com.gti.iagence.ejb.opcaisse.entity.OPCAISSEHome
com.gti.iagence.ejb.opcaisse.entity.OPCAISSE
OPCAISSE



ejb/INSTANCE1
Entity

com.gti.iagence.ejb.utilmetier.entity.INSTANCEHome
com.gti.iagence.ejb.utilmetier.entity.INSTANCE
INSTANCE



ejb/VERS_DEPL_CENTRAL1
Entity

com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRALHome
com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRAL
VERS_DEPL_CENTRAL



ejb/VERS_RET_DEPL1
Entity

com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPLHome
com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPL
VERS_RET_DEPL



ejb/CHQDELIV1
Entity

com.gti.iagence.ejb.utilspecial.entity.CHQDELIVHome
com.gti.iagence.ejb.utilspecial.entity.CHQDELIV
CHQDELIV



..

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes

2004-06-28 Thread Sacha Labourey
3.2.5 mainly fixes a single bug relative to clustering (but which blocks many users), 
which is why there is not RCx

As for J2EE certification, we are certifying the 4.0 Branch (J2EE 1.4), not the 3.2.x 
(which is an implementation of J2EE 1.3), so 3.2.5 is here to back nothing (except a 
clustering issue).

cheers,


sacha

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR / EJB-QL problem?

2004-06-28 Thread MartinGx
okay, i deleted everything and tried again in case I did something wrong before.

here is _exactly_ what I did:

[EMAIL PROTECTED] JBOSS_CVS]$ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co 
-r Branch_3_2 jboss-3.2

[*snipped long cvs output - checkout went okay*]

[EMAIL PROTECTED] JBOSS_CVS]$ cd jboss-3.2/build/
[EMAIL PROTECTED] build]$ ./build.sh
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/ant/launch/Launcher
[EMAIL PROTECTED] build]$ 

There must be something else I need to do?

Is there a jboss developer newbie list or somewhere I can ask?


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Crashing and hanging every couple of days

2004-06-28 Thread Pup99
Well I have been having a problem with our JBoss server stop responding every couple 
of days.  I think it is that we are running out of threads, but I am not certain.  I 
have done some thread dumping and noticed that we run about 100 or so threads during 
normal operations, but while it is hanging we have threads hanging all over the place. 
 Most of these seem to be Tomcat just waiting for something or another, but not sure 
why.   Anyway  the symptoms I am seeing are these

  | 14:47:53,658 WARN  [TransactionImpl] Transaction TransactionImpl:XidImpl 
  | [FormatId=257, GlobalId=triton//74009, BranchQual=] timed out. status=STATUS_ACTIVE
  | 
  | ERROR [STDERR] java.net.SocketException: Invalid argument
  | 14:37:19,189 ERROR [STDERR] at 
java.net.PlainSocketImpl.socketSetOption(Native Method)
  | 14:37:19,190 ERROR [STDERR] at 
java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)
  | 14:37:19,190 ERROR [STDERR] at 
java.net.Socket.setTcpNoDelay(Socket.java:771)
  | 14:37:19,191 ERROR [STDERR] at 
org.apache.tomcat.util.net.PoolTcpEndpoint.setSocketOptions(PoolTcpEndpoint.java:468)
  | 
we are also seeing a fair amout of IO exceptions via "java.net.SocketException: Broken 
pipe" and "java.io.InterruptedIOException"

Anyway it seems like there is no longer any resources to try and get to the stateless 
session beans that we have (fails to get a thread).  We do NOT run any database, 
instead all of our data comes from sockets that we open in our own pool.  These pools 
do not seem to be full, so that doesn's seem to be the problem.   

Other things of interest are, we started seeing this after we moved to a loadbalancer 
talking directly to Tomcat in JBoss instead of going through apache like we use to.  
We also increased the number of threads from 100 to 500 in the jboss-service.xml  
which seemed to help a little.

Thanks for your help

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Shutdown Jboss server problem

2004-06-28 Thread vamosb
My problem is the following:

Config:
RedHat ES 3.0
JBoss 3.2 with default server config

JBoss is binded to a specific IP address, not 0.0.0.0. 
I start it with 'jboss_redhat_init.sh start'.
It starts successfully and listening only that IP address what I binded to.
But if I want to stop it with 'jboss_redhat_init.sh stop' it tries to connect to 
localhost:1099, but cannot of course, because it does not listen on localhost.

Why wants shutdown process connect to localhost? How can I stop the server then?

Balazs VAMOS
 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: No class def found

2004-06-28 Thread sal.nic
adibou, 

I have a similar problem (Unexpected Error: 
java.lang.NoClassDefFoundError 
)

when my ejb try to use an inner class. 
I've look into jar and the .class file is present.
Have you any Idea ?

thanks in advance
salnic

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [EJB/JBoss] - implemting JTA

2004-06-28 Thread Dasarath Weeratunge
Can you please illaborate on what exactly your problem
is? I have used JBoss transaction manager with ejbs so
I may be able to help you.

Dasarath

--- puneetjains <[EMAIL PROTECTED]> wrote:
> Hi
> new to jboss
> 
> can any one tell me link or how to confire jta with
> jboss
> 
> thanx
> 
> 
> View the original post :
>
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840090#3840090
> 
> Reply to the post :
>
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840090
> 
> 
>
---
> This SF.Net email sponsored by Black Hat Briefings &
> Training.
> Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 - 
> digital self defense, top technical experts, no
> vendor pitches, 
> unmatched networking opportunities. Visit
> www.blackhat.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes

2004-06-28 Thread theravednh
The following article may be relevant here:

http://www.crn.com/showArticle.jhtml?articleID=22102106

It seems likely that JBoss intend to announce J2EE certification at JavaOne, which 
would imply that the 3.2.5 release is intended to back it.

So given...
The lack of Release Candidates
  | The lack of release notes
  | The timing of the release
  | 
  | 
  | ...I would guess that it is a 'Politicial Release' that may have had limited 
testing.  The above article talks about some major changes (such as CORBA security) to 
achieve certification, and in that light my team have decided to avoid this release 
until more information becomes available.
  | 
  | (Disclaimer: I may be completely wrong here - I'm just drawing conclusions from 
circumstantial evidence!)
  | 
  | /david

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - how to make MBean dependent from EAR application?

2004-06-28 Thread cigno5e5
Hi at all, I'm new here, and i hope you can helps me.
I simply need force a service start AFTER my .EAR application was started.

Can anybody helps me?

PS: I searched for previous thread but i've found anything! If there is some relevant 
topics...excuse me!

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBOSS-3.2.1 and LDAP Settings

2004-06-28 Thread mozheyko_d
Yes, i use ldap from my java programs and servlets. See docs for  javax.naming. & 
javax.naming.directory packages. 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to bind a serializable object into HA-JNDI

2004-06-28 Thread lac_raz
bind it to port 1100, not to 1099(where the local JNDI is)
props.put(javax.naming.Context.PROVIDER_URL, "localhost:1100");

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.3, Oracle-DS leaking cursors

2004-06-28 Thread jimpo
Also, check out JDBC3.0 specification 11.6.2, which states that connection.close 
always closes all (non-pooled) statements, and 14.2.5., which states that resultsets 
are automatically closed when statement is closed.

My interpretation of these is that developer should never have to include messy 

} finally {
  try {
resultset.close();
  } catch (SQLException ignore) {
  try {
statement.close();
  } catch (SQLException ignore) {


garbage in the code as long as (s)he makes sure that connection is 
closedunfortunately JBoss (and many other non-compliant implementations) compel to 
do that.
  

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.3, Oracle-DS leaking cursors

2004-06-28 Thread jimpo
This cannot be anything else than a bug. If the spec states that closing a connection 
releases JDBC resources immediately, and JBoss does not do it, it's definately a bug, 
no?

Optimizing the performance is a smart thing to do, but there should at least be a 
configuration option for enabling spec-compliant (although slower) operation.


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - SessionBean-Timeout and/or Slow-JavaClass

2004-06-28 Thread KarstenTS
Hey All!

I'm trying to write a scheduling Tool, where a MessageDriven Bean gets a hit to start 
scheduling, because it takes some time. This MDB passes the call to either a Session 
Bean or a standard JavaClass, where the logic is implemented.

The deal to assign 25 Employees recursive to about 500 activities.
When I run it with the standard JavaClass it takes about 1,5 Hours.
When I run it with the SessionBean the first assignments run about 5 times faster, but 
after nearly 5 minutes I get a timeout and another minute of errorstack.

The question is, how can I fasten the JavaClass or avoid the timeout with the 
SessionBean?

Thanks in advance for your help,
Karsten

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Accessing an EJB JNDI env from outside (e.g. from an MBean)

2004-06-28 Thread gchazalon
Hi JBoss users,

I am trying to access an EJB environment variable stored under the bean's 
java:comp/env namespace, from a custom MBean. The purpose is to make my EJB highly 
configurable, by shipping it with an associated MBean, which can change dynamically 
its JNDI env entries via the JBoss console.
But when I try to access the java:comp/env of this EJB from the MBean, I get an 
exception telling me that the env is not bound. Of course this is understable since 
I'm trying to access this env from outside the EJB, but are there any workaround to do 
so ?  How can I specify the JNDI lookup that I try an outside bean access ?
Maybe by using a more precise JNDI prefix...

Any help appreciated.

Thanks,

Gregory

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes

2004-06-28 Thread geertvds
I would also like to know, considering the fact that 3.2.5 was released without RC 
before it, and that it followed the 3.2.4 so fast.
Does 3.2.5 fix any special high priority issue of 3.2.4 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Stateful session bean failed to passivate and save state

2004-06-28 Thread darranl
When will people start to read the stack traces that they post on these forums?

java.io.NotSerializableException: javax.naming.InitialContext 

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: No UserRoles issue

2004-06-28 Thread snavjot
thanks a lot. it did help.

navjot

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Access to the requested resource has been denied - WHY??

2004-06-28 Thread snavjot
then i guess the rolesQuery should be contrained to
**select role from UserRoles where...**

why even ask for rolesgroup column when it HAS TO be "Roles"?

navjot


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - best way to lookup beans

2004-06-28 Thread snavjot
hi,

I am very confused about the beans lookup.

I mean i have a set of beans that Jboss 3.2.3 deploys like this

Started jboss.j2ee:jndiName=ejb/ProductManagerHome, service=EJB
Started jboss.j2ee:jndiName=ejb/CartHome, service=EJB

In jboss-web.xml, 
ejb/Cart maps to ejb/CartHome
ejb/ProductManager maps to ejb/ProductManagerHome

>From servlet, i lookup Cart using "java:comp/env/ejb/Cart". SUCCESS.
In my Cart bean, i lookup "java:comp/env/ejb/ProductManagerHome"

the it throws ERROR

javax.naming.NameNotFoundException: ProductManagerHome not bound

WHY??

Then i tried the following also. May be 3rd test is more relevant here.

1. I tried to look up from the standalone client like this
ic.lookup("ejb/ProductManagerHome"); and it got found. BUT if i printed the object 
found. it print "ejb/ProductManagerHomeHome" Why 1 extra Home??

2. I tried to look up from the standalone client like this
ic.lookup("java:comp/env/ejb/ProductManagerHome")

it says **javax.naming.NameNotFoundException: comp not bound**

3. I tried to look up from web client this
ic.lookup("java:comp/env/ejb/ProductManager")

It got found.

What am i doing wrong? 

Navjot

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Stateful session bean failed to passivate and save state...

2004-06-28 Thread madadi
Dear all..

I am getting a problem with statefull session bean .i am using jboss-3.2.1 after 10 
min i am getting following message.

 10:26:35,113 WARN  [AbstractInstanceCache] failed to passivate, id=dvyw0hll-5
javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException 
is:
javax.naming.InitialContext
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:378)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:156)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.release(AbstractInstanceCache.java:192)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ageOut(LRUEnterpriseContextCachePolicy.java:274)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.kickOut(LRUEnterpriseContextCachePolicy.java:446)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:405)
at java.util.TimerThread.mainLoop(Timer.java:435)
at java.util.TimerThread.run(Timer.java:385)
java.io.NotSerializableException: javax.naming.InitialContext
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:370)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:156)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.release(AbstractInstanceCache.java:192)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ageOut(LRUEnterpriseContextCachePolicy.java:274)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.kickOut(LRUEnterpriseContextCachePolicy.java:446)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:405)
at java.util.TimerThread.mainLoop(Timer.java:435)
at java.util.TimerThread.run(Timer.java:385)


 what could be the reason ?

regards
madadi

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Upgrade from 3.2.3 to 3.2.5 - Table creation check fails

2004-06-28 Thread hgsdc
Hi group.

Hope there are some gurus out there, that might have a solution for this one.
I am trying to upgrade my 3.2.3 instance of JBoss to a 3.2.5 one. I am  running 
Firebird 1.0.1 and everything is running just fione when running on the 3.2.3 instance.

However, when I start up the 3.2.5 instance I get the following error:

2004-06-28 11:15:35,842 ERROR [org.jboss.ejb.EntityContainer] Starting failed 
jboss.j2ee:jndiName=ejb/local/HousePictureEJB,service=EJB
org.jboss.deployment.DeploymentException: Error while checking if table aleady exists 
HOUSE_PRICES_PRICE_HOUSE_PRICES; - nested throwable: (java.sql.DataTruncation: Data 
truncation)
at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists
..

I assume that "HOUSE_PRICES_PRICE_HOUSE_PRICES" is a table name or alias. Problem is I 
don't have this table at all...and shouldn't have it.

I respect of the "Data Truncation Exception", I checked if there should be anything 
mysterious about the EJB complained about "HousePictureEJB"... and I really can't see 
what it should be. I guess data truncation is about a table field not being large 
enough to hold the data, right?

Anyone...have thoughts, solutions...hints...they might share.

Thanx in advance

Henrik - A developer which happens to looove JBoss


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - JTA Timed out

2004-06-28 Thread puneetjains
Hi i am calling a doa from a SF bean, i am managing transaction in SF usiong JTA, but 
it htrows following exception, what could be the reason

14:37:47,796 INFO  [STDOUT] GOT INITIALCONTEXT.
14:37:47,796 INFO  [STDOUT] GOT USER TRANSACTION.
14:37:47,796 INFO  [STDOUT] BEFGIN TRANSACTION.
14:37:47,828 FATAL [OraContributionDetailsDAO] Fatal error occured in class 
OraContributionDetailsDAO -  maintainContributionDetailsVO java.sql.SQLException: 
ORA-01722: invalid number
ORA-06512: at "SIYAYAUSER.PROC_INSERTCONTRIBUTIONDETAILS", line 33
ORA-06512: at line 1

14:37:47,828 INFO  [STDOUT] BEFORE ROLLBACK.
14:37:47,843 ERROR [STDERR] com.dol.common.exception.DAOException: 
14:37:47,843 ERROR [STDERR] at 
com.dol.siyaya.dao.contribution.OraContributionDetailsDAO.maintainContributionDetailsVO(OraContributionDetailsDAO.java:162)
14:37:47,843 ERROR [STDERR] at 
com.dol.siyaya.ejb.facade.ContributionSFBean.maintainContributionDetails(ContributionSFBean.java:214)
14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
14:37:47,843 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:37:47,843 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:37:47,843 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
14:37:47,843 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
14:37:47,843 ERROR [STDERR] at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
14:37:47,843 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700)
14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
14:37:47,843 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:37:47,843 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:37:47,843 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
14:37:47,843 ERROR [STDERR] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
14:37:47,843 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
14:37:47,843 ERROR [STDERR] at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
14:37:47,843 ERROR [STDERR] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
14:37:47,843 ERROR [STDERR] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
14:37:47,843 ERROR [STDERR] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
14:37:47,843 ERROR [STDERR] at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
14:37:47,843 ERROR [STDERR] at 
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
14:37:47,843 ERROR [STDERR] at $Proxy45.maintainContributionDetails(Unknown Source)
14:37:47,843 ERROR [STDERR] at 
com.dol.siyaya.web.bd.ContributionBD.maintainContributionDetails(ContributionBD.java:168)
14:37:47,843 ERROR [STDERR] at 
com.dol.siyaya.web.controller.ContributionController.doBackEndProcessing(ContributionController.java:2027)
14:37:47,843 ERROR [STDERR] at 
com.dol.siyaya.web.controller.ContributionController.doPost(ContributionController.java:1115)
14:37:47,843 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
14:37:47,843 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
14:37:47,843 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
14:37:47,843 ERROR [S

[JBoss-user] [Clustering/JBoss] - Re: deploy order/directories + singleton

2004-06-28 Thread Marlig
Hi,

this thread should answer your first question:

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

Cheers
Martin


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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >