[JBoss-user] [Persistence CMP/JBoss] - Send working CMP to email

2004-12-07 Thread ChatBuilder
Hi,

I'm already trying a few days to get my jboss4.0 work with my MySql, but still 
with no success.  Is't it possible that somebody can send me a working CMP 
bean, that works on a Jboss 4.x, and with MySql to my email address.  That 
would be very helpfull.

My email address is Pieter(at)ChatBuilder.com

Thx in advance,
Pieter

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 3.2.6, Apache 2.0.50 for win 32 and mod_jk2

2004-12-07 Thread giordano
I read a lot of message about Apache and Jboss configuration and mod_jk12 or 
mod_jk2 but none of them for win32. 

I have the following: Jboss 3.2.6, Apache 2.0.49 win32 or Apache 2.0.50 win32 
and mod_jk2. 

What is the exact configuration procedure to run all without problems? 

Thank you very much. 

Giordano

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication ConcurrentModificationException

2004-12-07 Thread [EMAIL PROTECTED]
Seems to be a problem in IdentityLock: read_owners are updated before 
toString() is done iterating through the list. I have fixed this in CVS head.
You can backport the toString() to you 1.1.1 version and see whether this works 
(it should).

Bela

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: uuid generation

2004-12-07 Thread p_nevilleuk
Juha,
Regarding wrapping it as an MBean.  I am interested in this approach, but I am 
not entirely sure what the reason for doing so is.
I can see that the MBean would provide a service to all apps running on the 
server, but this could be achieved by adding it to the ear.  Also, the doomdark 
api does not require any persistence so does this make it less MBean 
appropriate?
Are there any other benefits of a UUID MBean? 

Thanks,
Peter

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Cannot use Digester from session bean

2004-12-07 Thread dbJav
Hi,

I'm trying to use Apache Digester for reading an XML file from a session bean. 
But I get the following error message:

09:13:38,390 ERROR [Digester] Digester.getParser: 
  | java.lang.ClassCastException
  | at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
  | at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
  | at org.apache.commons.digester.Digester.getParser(Digester.java:686)
  | at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  | 

Can someone help ?

Denis


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: how to know port is opened

2004-12-07 Thread johnhelen

Thank you
No, in my client application, I have

java.naming.provider.url=jnp://serverIP:1099 (not localhost as I will connect 
the client computer to a server that have a serverIP.



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Cannot use Digester from a session bean (XML Parser problem)

2004-12-07 Thread dbJav
I'm trying to use Apache Digester from a Session Bean.   Though it normally 
works great, when I attempt to do it from a Session Bean, I get the following 
message:

09:13:38,390 ERROR [Digester] Digester.getParser: 
  | java.lang.ClassCastException
  | at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
  | at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
  | at org.apache.commons.digester.Digester.getParser(Digester.java:686)
  | at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  | 

Could someone help me please ?

Denis


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication ConcurrentModificationException

2004-12-07 Thread koreth
Thanks, that seems to have done the trick!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Unable to deploy message driven beans in JBoss-4.0.0

2004-12-07 Thread darranl
Have you made any configuration changes to JBoss like removing the Hypersonic 
database?  

Does JBoss start without any errors when your application is not deployed?





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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: uuid generation

2004-12-07 Thread darranl
Within the EJB specification there are a number of programming restrictions, 
one of the restrictions is: -

anonymous wrote : The enterprise bean must not attempt to load a native library.

As the component you are trying to use makes use of JNI it should not be used 
directly within an EJB component.  By wrapping the component with an MBean this 
restriction no longer applies.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: uuid generation

2004-12-07 Thread p_nevilleuk
Appreciate answers to the following if possible:

What about if a POJO used JNI and the EJB called this - is this acceptable?

How is the MBean accessed? Do you normally store in on JNDI or access it using 
RMIAdaptor?

I notice that the jboss admin guide uses a NonSerializableFactory to bind it.  
I thought this was not acceptable 
(http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean)

I initially need local access, but remote access may be required later.

Which type is most suitable?

Thanks


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - PLEASE HELP [JMSContainerInvoker] JMS provider failure detec

2004-12-07 Thread craig1980
Hi all; i'm using jboss mq; i have a publisher that sends some messages on a 
Durable Topic; i have created the jboss-service.xml in this way:

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE server PUBLIC -//JBoss//DTD MBean Service 3.2//EN 
http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd;
  | server
  |   mbean code=org.jboss.mq.server.jmx.Topic 
name=jboss.mq.destination:service=Topic,name=it.eng.nikko.ibTopic
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  | depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  |   /mbean
  | /server

Now i wanto to use a MDB that is listening on this topic, the MDB will be 
placed on a remote machine; well last week i have setted every thing e all 
works very very well, today i have seen that, since some friends of mine had 
several problems with CVS repositery, they have changed my code; now when i 
deploy i have this error( it's a Warning but i have never had it):

anonymous wrote : 11:01:15,088 INFO  [EjbModule] Deploying ConsumerBean
  | 11:01:15,739 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-3.2.5/server/mySever/deploy/it.eng.nikko.IbConsumer.jar
  | 11:01:15,749 WARN  [JMSContainerInvoker] JMS provider failure detected: 
  | org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: null; - 
nested throwable: (java.lang.NullPointerException)
  | at org.jboss.mq.Connection.addConsumer(Connection.java:869) at 
org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:95)
  | at 
org.jboss.mq.SpyConnection.createDurableConnectionConsumer(SpyConnection.java:154)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:672)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
  | at $Proxy39.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:367)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:170)
  | at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:234)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
  | at $Proxy18.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:367)
  | at 

[JBoss-user] [Security JAAS/JBoss] - Re: Security risk

2004-12-07 Thread [EMAIL PROTECTED]
8080 is the default tomcat listening port for http and it has no known overflow 
issues. nessus does not know what its talking about apparently.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: custom DatabaseServerLoginModule is invoked on every sin

2004-12-07 Thread jeffko32
My caching is not disabled like below (copied from jboss-service.xml ) but the 
caching is not working at all.  Every call the web app is authenticating 
against the database. Are any other possiblities leading to this problem?

  !-- JAAS security manager and realm mapping --
  |   mbean code=org.jboss.security.plugins.JaasSecurityManagerService
  |  name=jboss.security:service=JaasSecurityManager
  | attribute name=SecurityManagerClassName
  |   org.jboss.security.plugins.JaasSecurityManager
  | /attribute
  | 
 
  |   attribute name=DefaultCacheTimeout6000/attribute
  |   /mbean
  | 
Thanks.

jeffko

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: MDB Timing Stats

2004-12-07 Thread [EMAIL PROTECTED]
These stats look fine to me for a similar configuration. Exactly where are you 
getting the stats from and what version of jboss are you talking about.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - forbid directory listing

2004-12-07 Thread hatoug
Hello,

how is it possible to forbid directory listing in jboss ?
is it in web.xml ?

I have jboss-3.2.1_tomcat-4.1.24.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - OutOfMemory / StackOverflow when a MDB create a Topic. Bug?

2004-12-07 Thread Vanei
I have this situation:
A MDB process a topic and create another topic. In that case, JBoss is 
allocating memory and never deallocating, generating a OutOfMemoryException or 
StackOverflowException.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB Deployment uses wrong ejb-local-ref for ejb-link

2004-12-07 Thread GreyDeath
hi,

This is a really strange problem. Everything works great as long as I do not 
change the log4j settings. If I add the following line:

   
  
   

Some ejb-links cannot be resolved and are replaced by others.

This is correct:
java:comp namespace of the PublishingBean bean:

  +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
  +- ORB (class: org.jacorb.orb.ORB)
  +- env (class: org.jnp.interfaces.NamingContext)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- ResourceFactory (class: java.lang.String)
  |   |   +- ServerAgentId (class: java.lang.String)
  |   |   +- PublishTypeFactory (class: java.lang.String)
  |   +- jdbc (class: org.jnp.interfaces.NamingContext)
  |   |   +- HibernateFactory[link - java:ftisoft/hibernate/Core] (class: 
javax.naming.LinkRef)
  |   +- ejb (class: org.jnp.interfaces.NamingContext)
  |   |   +- destination (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- email[link - ejb/local/destination/email] (class: 
javax.naming.LinkRef)
  |   |   +- template (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- fti-template[link - ejb/local/template/ftitemplate] (class: 
javax.naming.LinkRef)
  |   |   +- translation (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- xslt[link - ejb/local/translation/xslt] (class: 
javax.naming.LinkRef)
  |   +- translation (class: org.jnp.interfaces.NamingContext)
  |   |   +- xml-text (class: java.lang.String)
  |   |   +- xml-binary (class: java.lang.String)


This happens when I turn on trace:

 +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
  +- ORB (class: org.jacorb.orb.ORB)
  +- env (class: org.jnp.interfaces.NamingContext)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- ResourceFactory (class: java.lang.String)
  |   |   +- ServerAgentId (class: java.lang.String)
  |   |   +- PublishTypeFactory (class: java.lang.String)
  |   +- jdbc (class: org.jnp.interfaces.NamingContext)
  |   |   +- HibernateFactory[link - java:ftisoft/hibernate/Core] (class: 
javax.naming.LinkRef)
  |   +- ejb (class: org.jnp.interfaces.NamingContext)
  |   |   +- destination (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- email[link - ejb/local/LogWriterBean] (class: 
javax.naming.LinkRef)
  |   |   +- template (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- fti-template[link - ejb/local/LogWriterBean] (class: 
javax.naming.LinkRef)
  |   |   +- translation (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- xslt[link - ejb/local/LogWriterBean] (class: 
javax.naming.LinkRef)
  |   +- translation (class: org.jnp.interfaces.NamingContext)
  |   |   +- xml-text (class: java.lang.String)
  |   |   +- xml-binary (class: java.lang.String)


Additionally I see the following Warnings during deployment:
11:39:56,060 WARN  [EjbUtil] LocalHome jndi name requested for: 'QueueProxy' 
but there is no LocalHome class
11:39:56,060 WARN  [EjbUtil] LocalHome jndi name requested for: 
'TransactionWriterBean' but there is no LocalHome class
11:39:56,060 WARN  [EjbUtil] LocalHome jndi name requested for: 'TPSProxy' but 
there is no LocalHome class
11:39:56,060 WARN  [EjbUtil] LocalHome jndi name requested for: 'PublishProxy' 
but there is no LocalHome class
11:39:56,069 WARN  [EjbUtil] LocalHome jndi name requested for: 'QueueProxy' 
but there is no LocalHome class
11:39:56,069 WARN  [EjbUtil] LocalHome jndi name requested for: 
'TransactionWriterBean' but there is no LocalHome class
11:39:56,069 WARN  [EjbUtil] LocalHome jndi name requested for: 'TPSProxy' but 
there is no LocalHome class
11:39:56,069 WARN  [EjbUtil] LocalHome jndi name requested for: 'PublishProxy' 
but there is no LocalHome class
11:39:56,077 WARN  [EjbUtil] LocalHome jndi name requested for: 'QueueProxy' 
but there is no LocalHome class
11:39:56,077 WARN  [EjbUtil] LocalHome jndi name requested for: 
'TransactionWriterBean' but there is no LocalHome class
11:39:56,078 WARN  [EjbUtil] LocalHome jndi name requested for: 'TPSProxy' but 
there is no LocalHome class
11:39:56,078 WARN  [EjbUtil] LocalHome jndi name requested for: 'PublishProxy' 
but there is no LocalHome class


These are all MDB's so that is of course no home interface.

I also see the following in the server.log

004-12-07 11:39:56,060 TRACE [org.jboss.ejb.EjbUtil] Resolving absolute link, 
di: [EMAIL PROTECTED] { 
url=file:/export/home/mkopp/Server/jboss-4.0.1RC1/server/default/tmp/deploy/tmp18608ftisoft.app.ear-contents/ftisoft.core-ejb.jar
 }
  deployer: [EMAIL PROTECTED]
  status: Deployed
  state: STARTED
  watch: 
file:/export/home/mkopp/Server/jboss-4.0.1RC1/server/default/tmp/deploy/tmp18608ftisoft.app.ear-contents/ftisoft.core-ejb.jar
  altDD: null
  lastDeployed: 1102415974788
  lastModified: 1102415968000
  mbeans:
jboss.j2ee:jndiName=ejb/MessagePumpBean,service=EJB state: Started
jboss.j2ee:jndiName=ejb/FileProcessorBean,service=EJB state: Started

[JBoss-user] [Security JAAS/JBoss] - Re: custom DatabaseServerLoginModule is invoked on every sin

2004-12-07 Thread [EMAIL PROTECTED]
Not that I know of. A debugger or trace level logging of the org.jboss.security 
category is your next step.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: MDB Timing Stats

2004-12-07 Thread GreyDeath
I'm using 4.0.1RC1 and I use the jboss.management.local mbean for the MDB:
EJBModule=ftisoft.core-ejb.jar,J2EEApplication=ftisoft.app.ear,J2EEServer=Local,j2eeType=MessageDrivenBean,name=local/TPSProxy

To gather the stats

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: getUserPrincipal getName in JBoss 3.2.6

2004-12-07 Thread [EMAIL PROTECTED]
No, what is you login module configuration and user to role mapping?


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: OutOfMemory / StackOverflow when a MDB create a Topic. B

2004-12-07 Thread [EMAIL PROTECTED]
File a bug report with an example of what you are doing.
http://jira.jboss.com/jira/browse/JBAS


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment uses wrong ejb-local-ref for ejb-link

2004-12-07 Thread GreyDeath
One further thing to mention.

There is an MDB inside the ftisoft.core that references the PublishingBean via
message-driven
ejb-namePublishProxy/ejb-name
destination-jndi-nametopic/BEOUT/destination-jndi-name
ejb-local-ref 
ejb-ref-nameejb/BusinessBean/ejb-ref-name
local-jndi-nameejb/local/PublishingBean/local-jndi-name
/ejb-local-ref
/message-driven

And core seems to get deployed before publish. Could this be an order problem? 
But why does it work without the trace?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: forbid directory listing

2004-12-07 Thread [EMAIL PROTECTED]
Edit the jbossweb-tomcat.sar/web.xml and set the default servlet listings param 
to false:


  | servlet
  | servlet-namedefault/servlet-name
  | servlet-class
  |   org.apache.catalina.servlets.DefaultServlet
  | /servlet-class
  | init-param
  | param-namedebug/param-name
  | param-value0/param-value
  | /init-param
  | init-param
  | param-namelistings/param-name
  | param-valuefalse/param-value
  | /init-param
  | load-on-startup1/load-on-startup
  | /servlet
  | 


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment uses wrong ejb-local-ref for ejb-link

2004-12-07 Thread [EMAIL PROTECTED]
Create a bug report with an example:
http://jira.jboss.com/jira/browse/JBAS


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Oracle DataSource: DB shutdown detection (JBoss 3.2.3)

2004-12-07 Thread gchazalon
Hi, 

I have set up an Oracle DataSource using the oracle thin driver 
(oracle.jdbc.driver.OracleDriver) and my application uses CMP 2.0 Entity Beans.

The problem is that JBoss doesn't seem to make a difference between Bean with 
PK X doesn't exist and a brutal DB shutdown after its startup and the 
connection pool creation. I've got the same FinderException for both cases when 
a finder method on an entity bean is called.
This is a real problem for us, because the two cases have a different meaning : 
the first one could be an applicative problem whereas the second is really a 
system issue.

We've tried to use the OracleValidConnectionChecker as well as the  
check-valid-connection-sql to make JBoss distinguish the DB shutdown problem 
from the real finder issue, but it doesn't worK.

So here are my questions for the DataSource experts :

1. Is this a well-known issue ?
2. Is there a work-around or a fix available ?

Thanks for your help

Regards,

Gregory


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - ClassCastException with apache digester

2004-12-07 Thread ratheesh
We are seeing this ClassCastException from Digester, whenever we start JBOSS 
from Eclipse IDE. It works fine when started at command line. The SAR within 
which the Digester is embedded has defined a loader-repository.

Any ideas ? What could Eclipse be angry with ?

ERROR [Digester] Digester.getParser: 
java.lang.ClassCastException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
at org.apache.commons.digester.Digester.getParser(Digester.java:686)
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: MDB Timing Stats

2004-12-07 Thread [EMAIL PROTECTED]
An mdb invoking a session bean which takes 10 seconds produces the following 
stats which look good to me with the 4.0.1RC2 release.

  | org.jboss.management.j2ee.statistics.MessageDrivenBeanStatsImpl [ 
{onMessage=[ Count: 3, Min. Time: 10016, Max. Time: 10047, Total Time: 30079, 
Request Rate: 10026.0, onMessage(description: The timing information for the 
given method, units: MILLISECOND, startTime: 1102419035640, lastSampleTime: 0) 
], CreateCount=[ 0:CreateCount(description: Number of creates, units: 1, 
startTime: 1102418835859, lastSampleTime: 1102419035625) ], RemoveCount=[ 
0:RemoveCount(description: Number of removes, units: 1, startTime: 
1102418835859, lastSampleTime: 1102419035625) ], MessageCount=[ 
3:MessageCount(description: The count of messages received, units: 1, 
startTime: 1102418835859, lastSampleTime: 1102419035640) ]} ]
  | 

Create a bug report with an example that illustrates the erroneous stats:
http://jira.jboss.com/jira/browse/JBAS


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: CMP with mySql

2004-12-07 Thread darranl
Are you sure that both of the deployment descriptors are in the META-INF of 
your jar?

Also the -ds.xml goes in the deploy folder of your selected JBoss configuration 
not in the META-INF of the component.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - advice and help needed to implement authentication (servlet/

2004-12-07 Thread tbech
Hi all,
I'm currently trying to properly build in authentication into application 
servlet/struts + ejb. There are following issues:
1. entity bean should log the user in DB;
2. some urls are accessed only with authorisation;
3. some are unauthorised;
 - in this case one of the field of entity bean should be passed as user id;
4. 'create/update' operation on entity requires the role which depends on the 
data (user which has roleA can only modify the data which has value A in field 
'region', roleB when value B in field 'region' + some more heavy logic).
5. There is no need to implement security on ejb level, except logged user id 
into DB.

Currently I've done declarative security on servlet/struts. 
For the rest I have some doubts/questions:
problem 3. - i would like to use security-domain in ejb + ClientLoginModule for 
propagation from servlet + audit user field (will be set automagicaly). But how 
to deal with unauthorised user? One solution is to force him to login in.  How 
to avoid it (and login in programmaticaly for passing other field as user id)?

To have it more complex: some urls are accessed only with authorisation A, soem 
urls are accessed only wityh authorisation B (other ways of autohrisation - one 
is DatabaseLoginModule, second requires SOAP meessage to be sent - I can write 
custom login module). But what I know there is no way to have two realms for 
one web module - so I have to have two servlets separated. Also the 
security-domain is 'hardcoded' in ejb. Is there a way to tell ejb - use the 
same jndi for security as servlet? 

problem 4. Now the easiest is to do this in the struts Action. But it is 
'antipattern', I prefer to have this checking in the Business Object (pojo). 
Question: how to check userInRole in pojo object (means how to take users data 
from JAAS). 

For now the only way which I'm able to implement it is:
- pass user's data from servlet to BO inside the DTO object bypassing the JAAS;
- set the user id on entity myself;
Ugly and inefficient.
Thanks for help,
   taab


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: CMP with mySql

2004-12-07 Thread ChatBuilder
Yes yes, I'm sure

my jar consists of:

+ hotline
|-+ beheerhotline
|--+ basisbestanden
|---+ initialen
|- InitialenHomeRemote
|- InitialenRemote
|- InitialenBean
+ META-INF
|- ejb-jar.xml
|- jboss.xml
|- jbosscmp-jdbc.xml

I putted the jar in my deploy dir together with the mysql-ds.xml

Pieter


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Corrupt Forum Database

2004-12-07 Thread darranl
The forum database appears to be seriously corrupt, there are lots of post 
appearing against the wrong author and even a number of threads that do not 
make any sense as the wrong messages are chained together.

It also looks as if a number of posts have automatically moved to the wrong 
forum.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: getUserPrincipal getName in JBoss 3.2.6

2004-12-07 Thread phil92100
I found the answer to my problem.
In my database a role was attributed to the principal. This role is 
CallerPrincipal. And when this role is attributed to the principal, when you 
call the GetName from the UserPrincipal, it returns the RoleName and not the 
UserName.
So no it is working like this. But could you explain me why this behaviour ?
Thanks in advance,
Regards,
Phil92100

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: getUserPrincipal getName in JBoss 3.2.6

2004-12-07 Thread [EMAIL PROTECTED]
That is a known bug in 3.2.6 that has been fixed for 3.2.7.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Corrupt Forum Database

2004-12-07 Thread [EMAIL PROTECTED]
We know about this and until the scheduled rebuild of the database occurs in 2 
weeks there is nothing that can be done but live with it.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Hi Scott,
thanks for your reply. From reading various sources of documentation it is 
clear that I need to implement the following:

java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert 
application

Now, my confusion is this:

1. As I am running an a web application and jboss handles/controls the 
connection in my postgres-ds.xml file and the only classes I have access to are 
those in my hibernate.har file, none of which have a main(), where do I specify 
-Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert? Can I 
specify it in my postgres-ds.xml file, which to me would be the logical place 
to do it? If so, how?

regards

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - mutual authentication

2004-12-07 Thread erik003
greets,

I have a problem with the configuration of ssl with java and jboss. I've read 
thousands of posts but nothing is quite like my problem. I'm using jboss 4.0.0 
and j2ee 1.4
I want to use mutual authentication on a https server. For that cause i did the 
following:
i generated the Server KeyStore in file server.keystore
i exported the certificate from keystore to an external file server.cer
i generated the Client KeyStore in file client.keystore
i exported the certificate from keystore to external file client.cer
i imported the Client's certificate into Server's keystore
i imported Server's certificate into Client's keystore
I edited the server.xml file (standard) for ssl support and set client 
authentication on true. After that i ran the jboss standard server without 
errors. But when i go to https://localhost:8443 internet explorer shows the 
following the server requires clients to have a certificate and lets me 
choose the certificate. However, my own certificate can not be choosen. Infact, 
no certificate can be choosen. What am i doing wrong here? i really hope i get 
a reply, because its really frustrating.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Unable to deploy message driven beans in JBoss-4.0.0

2004-12-07 Thread arvind_s_79
I have not made any changes in Configuration.
JBoss starts without any errors.(When my application is not deployed)
All other beans are getting deployed except for the Message Driven Beans.These 
Message driven beans work properly on JBoss-3.2.
I am porting my application from JBoss3.2 to JBoss-4.0.0.
I need help as I am struck and unable to proceed forward with the porting.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: ClassCastException with apache digester

2004-12-07 Thread dbJav
I'm experiencing the same problem.  But I start JBoss from the IntelliJ IDEA 
plugin...
Denis

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SRP: Multiple clients

2004-12-07 Thread nmeira

First Login

12-07 12:02:59,127 TRACE [org.jboss.security.srp.SRPService] Cached SRP session 
for user={username=nmeira, sessionID=0}
2004-12-07 12:02:59,127 TRACE [org.jboss.security.srp.SRPRemoteServer] verify, 
completed {username=nmeira, sessionID=0}

Second

2004-12-07 12:23:12,190 TRACE [org.jboss.security.srp.SRPService] Cached SRP 
session for user={username=nmeira, sessionID=1}
2004-12-07 12:23:12,190 TRACE [org.jboss.security.srp.SRPRemoteServer] verify, 
completed {username=nmeira, sessionID=1}

After the Exception if i do logout of the first:

12:37:02,767 WARN  [SRPService] No SRP session found for user={username=nmeira, 
sessionID=0}



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - java.lang.NoClassDefFoundError

2004-12-07 Thread it3admin
When starting jBoss on RedHat ES 3 with jdk 1.4.2_06 I get this error

?

What am I  doing wrong here ?

=
 
  JBoss Bootstrap Environment
 
  JBOSS_HOME: /usr/jboss
 
  JAVA: /usr/java/j2sdk1.4.2_06/bin/java
 
  JAVA_OPTS: -server -Dprogram.name=run.sh
 
  CLASSPATH: /usr/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_06/lib/tools.jar
 
=
 
Exception in thread main java.lang.NoClassDefFoundError: org/jboss/Main




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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: getting port the server computer ???

2004-12-07 Thread darranl
What do you mean by 'The port has been changed'?  

Do you mean that someone has altered the configuration of the servlet container 
to listen on a different port?



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Feature-Request: optimistic lock by timestamp

2004-12-07 Thread [EMAIL PROTECTED]
This is not planned. But you are welcome to contribute.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SRP: Multiple clients

2004-12-07 Thread nmeira

There are more information that might be important to find out what is the 
problem.

On the server side i have the following configuration:

application-policy name = CustomFwRealm
  
 login-module code= org.jboss.security.srp.jaas.SRPCacheLoginModule
 flag = required
 module-option name = cacheJndiNamesrp-fw/AuthenticationCache
  /module-option
/login-module
  
 login-module code = com.security.jaas.FwServerLoginModule
 flag = required
 module-option name = 
password-stackinguseFirstPass/module-option
  /login-module
   
/application-policy

The FwServerLoginModule is a login module that creates a principal and gets the 
user roles.
The strange part is that after the the Client application 2 did the login and 
the Client application 1 calls the method, the login method of this module is 
called again.
Althought the login returns true  i've got the exception

2004-12-07 12:23:15,690 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] 
Authentication exception, principal=nmeira

and commit is never called...



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: optimistic locking conflicting update

2004-12-07 Thread [EMAIL PROTECTED]
1) no
2) there could be NoRowsAffectedException. What we know is UPDATE statement 
affected 0 rows but we don't know for what reason (and you might not use 
optimistic locking at all).

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: optimistic locking version column bug?

2004-12-07 Thread [EMAIL PROTECTED]
You will have to prove it with a testcase. There are testcases in JBoss' 
testsuite for this.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: optimistic locking conflicting update

2004-12-07 Thread abv
Why should I not use optimistic locking? In the Admin Guide CHAPTER 4 
Transactions on JBoss - The JTA Transaction Service it is mentioned as an 
alternativ to pessimistic locking. 

In my app I get sometimes deadlocks mostly on getting entities by different 
transactions. This could be solved by optimistic locking. On deadlock my app is 
hanging for a while (until timeout). An optimistic locking conflicting would 
happen immediately.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: ClassCastException with apache digester

2004-12-07 Thread dbJav
Though if I start JBoss from the command line, it does not work any better...


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment problem with a simple EJB example

2004-12-07 Thread PeaceMaker88
Hi,
I want to reproduce an EJB tutorial and want to deploy Konto.jar into JBoss 
4.0.0. So, I put it into the default/deploy directoy and I got the following 
error message:
anonymous wrote : 13:29:33,581 WARN  [verifier] EJB spec violation:
  | Bean   : KontoBean
  | Method : public abstract double abheben(int) throws RemoteException
  | Section: 6.10.5
  | Warning: The methods defined in the remote interface must have a matching 
method
  |  in the bean's class with the same name and same number and types of 
arguments.
  | 
  | 13:29:33,591 WARN  [verifier] EJB spec violation:
  | Bean   : KontoBean
  | Method : public abstract void einzahlen(int) throws RemoteException
  | Section: 6.10.5
  | Warning: The methods defined in the remote interface must have a matching 
method
  |  in the bean's class with the same name and same number and types of 
arguments.
  | 
  | 13:29:33,611 ERROR [MainDeployer] could not create deployment: 
file:/D:/jboss-4.
  | 0.0/server/default/deploy/Konto.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
faile
  | d, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  | at sun.reflect.GeneratedMethodAccessor30.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.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:119)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:305)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:481)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:204)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:277)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor2.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:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
  | ler.java:891)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor6.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:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at 

[JBoss-user] [Beginners Corner] - Re: Deployment problem with a simple EJB example

2004-12-07 Thread darranl
anonymous wrote : Warning: The methods defined in the remote interface must 
have a matching method in the bean's class with the same name and same number 
and types of arguments. 

Your remote interface methods take an int as a parameter, the methods in the 
bean implementation take a double as the parameter.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Fibo tutorial - HTTP 500 error javax.servlet.ServletExceptio

2004-12-07 Thread lsalse
Dear all,

I am new in j2ee and I tried the Fibo tutorial to experiment JBoss-Eclipse IDE.

I followed exactly step by step what is required in the pdf ; Everything 
resulted fine in Eclipse but the execution of the apps throws an HTTP 500 error 
:

javax.servlet.ServletException: Lookup of java:/comp/env/ failed
tutorial.web.ComputeServlet.init(ComputeServlet.java:54)

org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)


I wonder what is wrong in my server configuration or what is missing in the 
files web.xml or jboss-web.xml ?
Actually both files contain a lot of comments and very few tags ...

Someone could give an help ?

Kind regards,
Laurent

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Identity unknown during first call to ejb after login

2004-12-07 Thread teseling
Hello,

I am experiencing some strange security behaviour during the first call to an 
session bean after loggin in (using form based authentication and the database 
login module).

When I am trying to acces a secured web resource I am persented the login page 
and login. After this I am directed to the originally requested web resource 
(Struts action).  So the web container agrees that the logged in user has the 
correct roles for acces to this resource.

Now I make a call from this action to a stateless session bean which looks up 
the name of the logged in user to do some processing (esing 
SessionContext.getCallerPrincipal().getName()). I was very suprised that it 
returned anonymous! 

Anonymous is indeed the identity that I configured for unauthenticated users, 
but this user has allready logged in, therefore his identity should be known. 
Now when I call this method again, it DOES return the correct user identity 
erwin in this testcase???

Could you explain whether this could be a bug or what I could be doing wrong, 
because as far as I know the ejb container should return me the correct 
identity in both cases!?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Identity unknown during first call to ejb after login

2004-12-07 Thread teseling
Sorry for not putting this info in the original post, but I am using JBoss 4.0

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - problem with cascade delete and relationships

2004-12-07 Thread rajkumar10
hi all. 
i'm using jboss 3.2.3... i'm having problem relating to cascase delete.
i have two tables in which pk of one table is fk on other as well as the 
element of composite key... and i'm using mysql as a database in which
cascade delete is set... but when i delete row from parent ejb it 
does not delete from the child ejb... but it is working fine when i checks 
 from the mysql control center... i had seen everything in the deployment
descriptor ...everything seems to be fine but then also it is giving error ..

ejb-jar entries are:-

  | ejb-relation
  | ejb-relation-namePermission and SwitchPermission/ejb-relation-name
  | ejb-relationship-role
  | ejb-relationship-role-nameEach Permission has many 
SwitchPermission/ejb-relationship-role-name
  | multiplicityOne/multiplicity
  | relationship-role-source
  | ejb-namePermissionEJB/ejb-name
  | /relationship-role-source
  | cmr-field
  | cmr-field-nameswitchPermission/cmr-field-name
  | cmr-field-typejava.util.Collection/cmr-field-type
  | /cmr-field
  | /ejb-relationship-role
  | ejb-relationship-role
  | ejb-relationship-role-nameSwitchPermission to 
Permission/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | cascade-delete/
  | relationship-role-source
  | ejb-nameSwitchPermissionEJB/ejb-name
  | /relationship-role-source
  | cmr-field
  | cmr-field-namepermission/cmr-field-name
  | /cmr-field
  | /ejb-relationship-role
  | /ejb-relation
  | 

and jbosscmp-jdbc entries are:-

  | ejb-relation
  | ejb-relation-namePermission and SwitchPermission/ejb-relation-name
  | foreign-key-mapping/
  | ejb-relationship-role
  | ejb-relationship-role-nameEach Permission has many 
SwitchPermission
  | /ejb-relationship-role-name
  | key-fields
  | key-field
  | field-namepermissionID/field-name
  | column-namePermissionID/column-name
  | /key-field
  | /key-fields
  | /ejb-relationship-role
  | ejb-relationship-role
  | ejb-relationship-role-nameSwitchPermission to Permission
  | /ejb-relationship-role-name
  | key-fields/
  | batch-cascade-delete/
  | /ejb-relationship-role
  | /ejb-relation
  | 

and the trace of the error which i'm getting is:-


  |  Start method=remove
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
Current transaction in MI is TransactionImpl:XidImpl [FormatId=257, 
GlobalId=le52//117, BranchQual=]
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
TX_REQUIRED for remove
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
Thread came in with tx TransactionImpl:XidImpl [FormatId=257, 
GlobalId=le52//117, BranchQual=]
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] 
Begin invoke, key=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion, 
entry=key: 130, object: 1cfd020, entry: 6906a1
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called for ctx 
[EMAIL PROTECTED], tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=le52//117, BranchQual=]
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, [EMAIL 
PROTECTED], tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, 
BranchQual=]
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.PermissionEJB] Store 
command NOT executed. Entity is not dirty  or scheduled for *batch* cascade 
delete: pk=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.PermissionEJB.UserEJB_permission]
 Read ahead cahce load: cmrField=UserEJB_permission pk=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] load data: 
entity=PermissionEJB pk=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] No preload data 
found: entity=PermissionEJB pk=130
  | 2004-12-07 17:42:21,656 TRACE 
[org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in 
ProxyFactoryFinder
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start 
method=findByPrimaryKey
  | 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
Current transaction in MI is TransactionImpl:XidImpl [FormatId=257, 
GlobalId=le52//117, BranchQual=]
  | 2004-12-07 17:42:21,656 TRACE 

[JBoss-user] [Installation Configuration] - how to add configuration directory

2004-12-07 Thread amitgsony
Hello all,

 i am using jboss 3.2.5 on linux fedora OS and want to add new configuration 
directory like in jboss's server directory

we already have all default minimul like that i want to add new configuration 
directory for that so any one of u have solution regarding this then please 
help me.

Regards ,
Amit

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Hi,
further to my earlier post, I downloaded the source to my driver located at:

http://jdbc.postgresql.org/download.html

the source in question being pg80b1.308.src.tar.gz

located within /doc/pgjdbc.xml I came across the following snippet which 
backsup earlier comment about using postgres-ds.xml to specify the location of 
the trustStore:


  | para
  |  In addition to the standard connection parameters the driver supports a
  |  number of additional properties which can be used to specify additional
  |  driver behavior specific to productnamePostgreSQL/productname.  
These
  |  properties may be specified in either the connection
  |  acronymURL/acronym or an additional
  |  classnameProperties/classname object parameter to
  |  functionDriverManager.getConnection/function.  The following
  |  examples illustrate the use of both methods to establish a SSL
  |  connection.
  | 
  | programlisting
  | String url = jdbc:postgresql://localhost/test;
  | Properties props = new Properties();
  | props.setProperty(user,fred);
  | props.setProperty(password,secret);
  | props.setProperty(ssl,true);
  | Connection conn = DriverManager.getConnection(url, props);
  | /programlisting
  | 

So, refering back to my postgres-ds.xml file for a second while keeping the 
above in mind:


  | datasources
  |   local-tx-datasource
  | jndi-namePostgresDS/jndi-name
  | 
connection-urljdbc:postgresql://localhost:5432/beyarecords?ssl=true/connection-url
  | driver-classorg.postgresql.Driver/driver-class
  | user-namepostgres/user-name
  | passwordpostgres/password
  | max-pool-size10/max-pool-size
  | 
  |   metadata
  |  type-mappingPostgreSQL 7.2/type-mapping
  |   /metadata
  |   /local-tx-datasource
  | /datasources
  | 

I need to add the additional parameters:

System.setProperty(javax.net.ssl.trustStore, cacert);
System.setProperty(javax.net.ssl.trustStorePassword,changeit);

which in my postgres-ds.xml would be represented as:


  | 
javax.net.ssl.trustStore/library/java/home/lib/security/cacert/javax.net.ssl.trustStore
  | 
javax.net.ssl.trustStorePasswordchangeit/javax.net.ssl.trustStorePassword
  | 

or something like that. can this be done?

many thanks

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: how to add configuration directory

2004-12-07 Thread darranl
Copy one of the configurations that most closely matches your needs and give it 
a unique name.

Start JBoss with the command './run.sh -c {config-name}'

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException

2004-12-07 Thread RME
https still does not work but thanks for the help

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.3 ClassLoading Help (yet again)

2004-12-07 Thread davidakoontz
Juha, thanks for your reply.

I've just read the comments in the DTDs - and I'm still just as confused about 
how I need to configure JBoss as before.

However I now see that the class loading may be in multiple configuration files 
(so it appears much more complex than before).

This leads me to the question is the configuration of class loading 
independent, hierarchical, or something else with repect to deployed 
components?  That is to say... if a EAR contains multiple EJB jars do I need to 
configure each EJB jar for class loading or just the EAR?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Adding additional properties to postgres-ds.xml

2004-12-07 Thread beyarecords
Hi,
I have specified my postgres-ds.xml file as so:


  | datasources
  |   local-tx-datasource
  | 
connection-urljdbc:postgresql://localhost:5432/test?ssl=true/connection-url
  | driver-classorg.postgresql.Driver/driver-class
  | user-name*/user-name
  | password*/password
  | max-pool-size10/max-pool-size
  | 
  |   metadata
  |  type-mappingPostgreSQL 7.2/type-mapping
  |   /metadata
  |   /local-tx-datasource
  | /datasources
  | 

and I need to add the additional properties, which in java would say:



  | String url = jdbc:postgresql://localhost/test;
  | Properties props = new Properties();
  | props.setProperty(user,*);
  | props.setProperty(password,*);
  | props.setProperty(ssl,true);
  | props.setProperty(javax.net.ssl.trustStore, cacert); 
  | props.setProperty(javax.net.ssl.trustStorePassword,changeit); 
  | 
  | Connection conn = DriverManager.getConnection(url, props);
  | 

So, in my xml file I need to say something like:


  | 
javax.net.ssl.trustStore/library/java/home/lib/security/cacert/javax.net.ssl.trustStore
  | 
javax.net.ssl.trustStorePasswordchangeit/javax.net.ssl.trustStorePassword
  | 

Can this be done?

many thanks

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Cant even run JBOSS because of PORT 1098

2004-12-07 Thread bonthus
i think there was oracle instanse is running on the same port 

earlear i was also faced same problem 

mistake i was done was 

after starting the system i was just started oracle instance

and then started JBOSS then it was not started

again i was restarted and immediately after starting the system i was started 
JBOSS

again i was started oracle instance both were worked now


u try it once it might work

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: how to add configuration directory

2004-12-07 Thread amitgsony

HI ,darranl

and thanks very much for u r interest .

i wnat one more help is that cant i run two config. directory like default and 
other both simulteneously or not??

and if yes then at the time of shutdown which command i have to give.

so if u have any idea reagrding this then pls help me..

Regards,
Amit

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - OpenCMS Compliance

2004-12-07 Thread kumaran5
Hi All,
OpenCMS works with tomcat 5.x . dose it supports Jboss  also or  it requires 
any configuration changes.


thanks in advance
Kumaran r

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Adding additional properties to postgres-ds.xml

2004-12-07 Thread beyarecords
Hi,
was just reading some information about struts, where you can set a property on 
a datasource like so:


  |  !-- configuration for GenericDataSource wrapper --
  |  data-source
  | set-property
  |  property=driverClass
  |  value=org.postgresql.Driver/
  |set-property
  |  property=password
  |  value=mypassword/
  |set-property
  |  property=url
  |  value=jdbc:postgresql://localhost/mydatabase/
  |set-property
  |  property=user
  |  value=myusername/
  |  /data-source
  |  /data-sources
  | 

What I want to be able to say in my postgres-ds.xml file is :


  |set-property
  |  property=javax.net.ssl.trustStore
  |  value=/library/java/home/lib/security/cacert/
  |set-property
  |  property=javax.net.ssl.trustStorePassword
  |  value=changeit/
  | 

How do I go about acheiving this?

regards

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: How to stop using session cookies - jboss-web.xml isn't

2004-12-07 Thread pjaromin
Thanks for the replyunfortunately it doesn't appear to work. I changed the 
override attribute of the DefaultContext element in the server.xml file to 
falsebut still got cookies. 

I also tried putting a context.xml file in the META-INF (and WEB-INF - 
shooting in the dark here) with  based on the tomcat 5.0 docs 
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html)

Ultimately, the *only* thing that I have tried that prevents JBoss/Tomcat from 
setting a cookie is changing the DefaultContext element in jbossweb 
server.xml file (cookies=false)...although as previously stated, this is 
unacceptable since the other apps in the same server instance will now fail. 
I've even tried this in reverse - disabling in server.xml and adding a 
jboss-web.xml file to *use* cookies, but that didn't work either.

Is there an easy way to verify if JBoss is even picking up on the jboss-web.xml 
file??  

Any other thoughts? Does anyone have this working or is this a bug in JBoss 
3.2.5?

Thanks!
 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - JBoss slow after a thread creation

2004-12-07 Thread rcforte
Hi,

I'm experiencing some threading problems in my production environment. After 
some time of execution my production jboss generates a Thread consuming 99,9% 
of the CPU. The other three processors are 100% idle while this thread is 
running, decreasing the server performance.

My environment:

Red Hat Enterprise 3.0
Jboss 3.0.8
Postgresql 7.3
j2sdk1.4.2_05 (sun jvm)

Any ideas?

Thanks in advance.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error while running the application using hibernate : ja

2004-12-07 Thread nmaujean
Hi,

  I found where it comes from, they have an error in the jboss documentation, 
the jndi name to access under hibernate to the sql database is wrong,

Nicolas

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Adding additional properties to postgres-ds.xml

2004-12-07 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Identity unknown during first call to ejb after login

2004-12-07 Thread [EMAIL PROTECTED]
Its a bug that has been fixed in the 4.0.1RC2 release.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SRP: Multiple clients

2004-12-07 Thread [EMAIL PROTECTED]
Then you'll either need to create a bug report with a complete example that 
demonstrates the problem or get into the debugger and see why the 
authentication fails.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Simple question about Remote Topic

2004-12-07 Thread craig1980
Hi all; i have this scenario:
I want that several MDBs are listening on a remote and durable topic; now by 
following tips in the wiky tutorial i have been able to do this; now i have 
this problem: if i have one MDB all works fine and all is deployed 
successfully; if i have two o more MDBs i have an error in deployment; it seems 
to me that this error is due to the fact that there are two or more MDBs that 
have tha same subscriptionId and that are listening on the same topic... the 
question i want to do is: can i use a unique MDB (that is a unique .class file, 
jboss.xml and ejb-jar.xml file )for more than one pc?Or must i change for every 
one the subscriptionId and the clientId in the jboss.xml file?
Thanks to all

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException

2004-12-07 Thread RME
ok, figured out what was wrong.
It was the wrong ...

Thanks

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread [EMAIL PROTECTED]
See: http://www.jboss.org/wiki/Wiki.jsp?page=PropertiesService

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error while running the application using hibernate : ja

2004-12-07 Thread [EMAIL PROTECTED]
I see no error.  Could you be more specific about what you think is wrong?   A 
file name or a page number in the getting started guide that contains the error 
would be very helpful.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: uuid generation

2004-12-07 Thread [EMAIL PROTECTED]
Not acceptable in whose eyes, ejb spec, god, country?

For the most part the ejb spec restrictions are meaningless unless you are 
running with a security manager and have configured the server to restrict 
application deployments from access to the spec stated operations. Other 
containers run with a security manager by default so using a pojo in a seperate 
jar that can be assigned the required security permissions is the usual route 
of providing restricted functionality to the ejb.

Exposing an interface in jndi via the NonSerializableFactory does not prevent 
access via the detached invoker mechanism via the same or a different interface 
as well.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Hi Scott,

I located run.conf in /library/jboss-4.0.0/bin/. I added the following to 
JAVA_OPTS:


  | JAVA_OPTS=. 
-Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert 
-Djavax.net.ssl.trustStorePassword=changeit
  | 

So now when I do ./run.sh I get confirmation of the above amendment in the 
Jboss output:


  | =
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /library/jboss-4.0.0
  | 
  |   JAVA: java
  | 
  | JAVA_OPTS: -server -Xms128m -Xmx128m 
-Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert 
-Djavax.net.ssl.trustStorePassword=changeit -Dprogram.name=run.sh
  | 
  | 
  | 
  |   CLASSPATH: /library/jboss-4.0.0/bin/run.jar:/lib/tools.jar
  | =
  | 

But still after all that I still get the following:


  | 16:54:37,396 WARN  [JBossManagedConnectionPool] Throwable while attempting 
to get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.postgresql.util.PSQLException: The connection attempt 
failed.)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:396)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:299)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:448)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
  | at 
net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
  | at 
net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)
  | at 
net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132)
  | at 
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766)
  | at 
org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:476)
  | at 
org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:444)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
  | at 

[JBoss-user] [JCA/JBoss] - JCA 1.5 Message Inflow Tutorials/Books/Articles

2004-12-07 Thread mkural
Hello all,

I need to implement JCA 1.5 Message Inflow in an adapter project. I am trying 
to find books/tutorials/articles/etc that have hands-on information on how to 
develop a JCA 1.5 Message Inflow with code examples. I read the specification 
but it hardly has any code examples. I would greatly appreciate any resource 
that you can recommend.

Thank you very much,
Mete

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Simple question about Remote Topic

2004-12-07 Thread genman

You can have multiple MDBs for the same topic/queue.  You just have to change 
the ejb-name to something unique.  This must be unique per .ear I believe.  
You can reuse the same class as well.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Cannot use Digester from session bean

2004-12-07 Thread genman
Classpath?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Scott,
I implemented your recommendations in the properties-service.xml file which I 
placed in /server/default/deploy/:


  | attribute name=Properties
  |   javax.net.ssl.trustStore = /library/java/home/lib/security/cacert
  |   javax.net.ssl.trustStorePassword = changeit
  | /attribute
  | 

I tried the values using both quotes and no quotes, and on both times the 
result was the same as mentioned in my earlier post. I even tried it with the 
names begining with -D, and again the result was same.

Any further ideas? I think that getting hold of a self-generated certificate, 
which is what i'm using, that is known to work will have to be the next port of 
call.

regards

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread [EMAIL PROTECTED]
That truststore is automatically used by the jsse layer so this configuration 
would not be adding anything new. At this point you down to debugging the jdbc 
driver ssl configuration and how it uses jsse as I have never used postgres.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JCA 1.5 Message Inflow Tutorials/Books/Articles

2004-12-07 Thread [EMAIL PROTECTED]
See the references on the following wiki page:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossJCA


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: JBoss slow after a thread creation

2004-12-07 Thread [EMAIL PROTECTED]
Thread dumps and increased logging levels are your next action.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - HTTP Proxy Configuration

2004-12-07 Thread raghuvis
I am running a Axis Webservice Client on my JBOSS server. The Axis Client is 
trynig to access a webservice hosted on the internet. I am trying to figure out 
how to configure the http proxy that I need to get to the internet (proxy host 
name, port, proxy user and proxy password). Can you please help?

Rags

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-07 Thread genman

In 3.2.6 you can turn off soft referencing using the JMX attribute 
MakeSoftReferences on the message cache.



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-07 Thread genman

By the way, the message cache is used to page messages out of memory, 
regardless if you want to persist them or not.  This is to avoid out of memory 
conditions.

From looking at the stack trace in the bug, it seems to want to page out a 
message that hasn't been added to the server yet, which is odd.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: HTML block permission setting

2004-12-07 Thread mchinn
In the htmlblock Mbean view in the JMX Console there is a checkbox to set the 
block to show for annonymous users or not.

DisplayedWhenAnonymous   true  false


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: wiki documentation added/update

2004-12-07 Thread mchinn
Hello Permissions master,

Well looking at some of the other posting in this forum a lot of other folks 
are having trouble setting permissions for blocks so only certain groups can 
see them upon login. This seems like it shold be a simple permission (ie a 
group views it or not).

I too am having trouble doing this. I've got a wonderful grasp of permissions 
on the menus (I'm dealing with over 150 distinct groups for our support 
portal!) but the same permission settings don't work on a block, which leads me 
to think there is a bug in the permissions code for blocks.

In my htmlblock Mbean view in the JMX Console, here's what my security looks 
like:


   
   
   
   


This should allow only groups A and C to see the block, but NOT B. However, the 
block continues to display.

What da heck am I doing wrong?

Matt

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Protecting cluster from rogue nodes

2004-12-07 Thread proudchief
In the advanced JBoss training, we were told that using JGroups encryption 
would protect the cluster from rogue nodes joining the cluster. I can't start 
the cluster with encryption enabled, nor do I see how it would provide the 
desired protection, due to the fact that there is no unique key among the 
cluster that another node would not have access to.

I have followed these steps to enable encryption:

   1.  Make sure that JDK1.4 is installed, ENCRYPT will not work with any other 
version under JDK1.4.
   2. After installation JDK1.4, set $JAVA_HOME to the installation root.
   3. cd $JAVA_HOME/jre/lib/security. Open java.security file.
   4. Search for security.provider.n (where n is a digit starting from 1) in 
the opened file.
   5. At the end of the list add 
Provider.{n+1}=org.bouncycastle.jce.provider.BouncyCastleProvider.
   6. Download the BouncyCastle jar from 
http://www.bouncycastle.org/latest_releases.html  (bcprov-jdk14-125.jar), and 
copy to the $JAVA_HOME/jre/lib/ext directory
   7. Add the following line to the JGroups configuration section of the 
jboss4.0.0/server/all/deploy/cluster-service.xml file, just below the FRAG 
entry, above the pbcast.GMS entry, to produce the following:

!-- The JGroups protocol configuration --
  | attribute name=PartitionConfig
  |   Config
  | !-- UDP: if you have a multihomed machine,
  |  set the bind_addr attribute to the appropriate NIC IP address 
--
  | !-- UDP: On Windows machines, because of the media sense feature
  |  being broken with multicast (even after disabling media sense)
  |  set the loopback attribute to true --
  | !--
  | UDP mcast_addr=228.1.2.3 mcast_port=45566
  |  ip_ttl=32 ip_mcast=true
  |  mcast_send_buf_size=80 mcast_recv_buf_size=15
  |  ucast_send_buf_size=80 ucast_recv_buf_size=15
  |  loopback=false /
  | PING timeout=2000 num_initial_members=3
  |   up_thread=true down_thread=true /
  | MERGE2 min_interval=1 max_interval=2 /
  | FD shun=true up_thread=true down_thread=true
  | timeout=2500 max_tries=5 /
  | VERIFY_SUSPECT timeout=3000 num_msgs=3
  | up_thread=true down_thread=true /
  | pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
  |max_xmit_size=8192
  |up_thread=true down_thread=true /
  | UNICAST timeout=300,600,1200,2400,4800 window_size=100 
min_threshold=10
  |  down_thread=true /
  | pbcast.STABLE desired_avg_gossip=2
  |up_thread=true down_thread=true /
  | FRAG frag_size=8192
  |   down_thread=true up_thread=true /
  | ENCRYPT1_4 symInit=56 asymInit=512 
symAlgorithm=DES/ECB/PKCS5Padding asymAlgorithm=RSA/
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000
  | shun=true print_local_addr=true /
  | pbcast.STATE_TRANSFER up_thread=true down_thread=true /
  |   /Config
  | /attribute

8. Restart JBoss servers

The first node of the cluster starts successfully, but the second produces a 
stack trace like below when the cluster partition initializes:

java.security.spec.InvalidKeySpecException: Inappropriate key specification
at 
com.sun.crypto.provider.DESKeyFactory.engineGenerateSecret(DashoA6275)
at javax.crypto.SecretKeyFactory.generateSecret(DashoA6275)
at org.jgroups.protocols.ENCRYPT1_4.decodedKey(ENCRYPT1_4.java:533)
at org.jgroups.protocols.ENCRYPT1_4.up(ENCRYPT1_4.java:339)
at org.jgroups.stack.UpHandler.run(Protocol.java:59)

The only method I can see for protecting the cluster (other than using 
firewalls) is to statically define the cluster nodes, like the following:

!-- The JGroups protocol configuration --
  | attribute name=PartitionConfig
  |   Config
  | TCP start_port=7900 bind_addr=host1/
  | TCPPING initial_hosts=host1[7900],host2[7900] port_range=1 
timeout=3000
  |  num_initial_members=1 up_thread=true 
down_thread=true/
  | FD shun=true up_thread=true down_thread=true timeout=2500 
max_tries=5 /
  | VERIFY_SUSPECT timeout=1500 up_thread=false 
down_thread=false /
  | pbcast.NAKACK gc_lag=100 retransmit_timeout=3000 
up_thread=true down_thread=true /
  | pbcast.STABLE desired_avg_gossip=2 up_thread=false 
down_thread=false /
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=false print_local_addr=false down_thread=true up_thread=true /
  | pbcast.STATE_TRANSFER up_thread=true down_thread=true/
  |   /Config
  | /attribute
  |   /mbean

Has anyone successfully enabled encryption for their cluster? Are there other 
methods for protecting a cluser?

View the original post : 

[JBoss-user] [Installation Configuration] - Can't configure debugging server

2004-12-07 Thread opapo
I'm using the latest JBoss IDE and AppServer.  I am using Tutorial-1.3.0.pdf to 
get started.  I did not have a problem until I get to page 34.  I can not click 
debug as is described on that page.  I can find the directory that the server 
is at.  The server is installed and running.

What can I do to continue on with the tutorial?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Warning:WARN [TransactionImpl] Transaction TransactionImpl:

2004-12-07 Thread maox
hi you all, i dont know if this is the right place fro this question, but here 
i go:

I have an ejb app running on jboss3.2.6, and , not always, but sometimes, after 
the server has been up for a while, it starts sending me the following Warning:

WARN  [TransactionImpl] Transaction TransactionImpl:XidImpl [Format
id=257, GlobalId=aprovisionador//10969, BranchQual=] timed out. 
status=STATUS_ACTIVE

Thats it.. no StackTrace or anything, just that message printed in console over 
and over
Any ideas??

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB processing is sleeping for ten minutes (transaction

2004-12-07 Thread genman
If it's deadlocked, then even after 10 years it wouldn't work.  You can get a 
stack trace with CTRL-BREAK on Windows, or attach a debugger and see what's 
going on during those 10 minutes.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using security to end a long-running request?

2004-12-07 Thread craigdberry
Ah, now I see what you're saying.  Thanks. 

I suppose there'd be no good way to cluster the injected abort state without 
doing an mbean lookup on every call rather than injecting to a static field in 
the interceptor from the jmx manager, though.  That's dealable with, however, 
since in a cluster we'll presumably know what node the problem thread is 
running on.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - preventing jsp fragments from being viewable through web

2004-12-07 Thread howlsnnite
Hello,

I'm currently trying my hand at jsps on JBoss 3.2.6, and I have a particular 
jsp fragment that I statically include into other pages (using %@ include 
file= %).  The problem that I'm having is that the jsp fragment can be 
viewed from the web, and since it has potentially sensitive info, I need a way 
to lock it from view...


Any suggestions?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - commercial interest

2004-12-07 Thread kryptontri
Hi

I wish to use jboss minimal confi as a base server with my application built 
ontop of it. Can i sell the application as long as i state it is built on jboss 
source - offcourse the jboss source is not touch as i am dealing with the 
minimal binary server, so its my application ontop of jboss that i am selling ?

Regards
Kal

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Error during context restart

2004-12-07 Thread garym
Jboss 3,2,6 with Tomcat 5.
Trying to reploy a web app by touching the web.xml and receive the following 
error:

2004-12-07 11:33:25,387 INFO  [org.apache.catalina.startup.HostConfig] 
restartContext()
2004-12-07 11:33:25,387 INFO  [tomcat.localhost.ROOT.Context] Reloading this 
Context has started
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filters
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context]  Stopping filter 
'HeaderSetFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context]  Stopping filter 
'CommonHeadersFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context]  Stopping filter 
'SessionCheckFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context]  Stopping filter 
'PageAccessFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context]  Stopping filter 
'LoadWaitFilter'
2004-12-07 11:33:25,388 INFO  [STDOUT] LoadWaitFilter:destroy:
2004-12-07 11:33:25,400 DEBUG [tomcat.localhost.ROOT.Context] Processing 
standard container shutdown
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] Sending 
application stop events
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] resetContext 
jboss.web:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none
 [EMAIL PROTECTED]
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] Stopping complete
2004-12-07 11:33:25,428 DEBUG [tomcat.localhost.ROOT.Context] Starting 
tomcat.localhost.ROOT.Context
2004-12-07 11:33:25,626 DEBUG [tomcat.localhost.ROOT.Context] Processing 
standard container startup
2004-12-07 11:33:25,627 DEBUG [tomcat.localhost.ROOT.Context] Checking for 
jboss.web:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none
2004-12-07 11:33:25,636 WARN  [org.apache.catalina.startup.HostConfig] Error 
during context  restart
java.lang.NullPointerException
at org.jboss.web.tomcat.tc5.WebCtxLoader.start(WebCtxLoader.java:109)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4231)
at 
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3043)
at 
org.apache.catalina.startup.HostConfig.restartContext(HostConfig.java:873)
at 
org.apache.catalina.startup.HostConfig.checkContextLastModified(HostConfig.java:759)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1085)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at 
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:800)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1619)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1628)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)

Using the default context with redeployable set to true.  Using ROOT.war as a 
sym link to our web app directory.  Deploys fine restarting jBoss.

Any ideas?  Any further info needed?

Gary

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: wiki documentation added/update

2004-12-07 Thread sgwood

The block has to explicitly use the security you set. The functionality is not 
there by default. The permissions in the htmlModule are about the document, not 
whether the block displays.


Sherman

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Crystal Reports configuration

2004-12-07 Thread suzyrizzo
I'm trying to integrate some crystal reports into my application, and I can't 
seem to configure things correctly.  The crystal jars are found ok, but the 
crystal config file is not found.  Crystal tech support insists that the config 
file simply needs to be on the classpath.  I guess I'm not sure what that 
means in JBoss.

The versions I'm using are JBoss 3.2.5 and Crystal Reports 10.

Here's the most recent version of my setup:

jboss/server/all/lib (Crystal jars)
CrystalCommon.jar
CrystalFCM.jar
CrystalQueryEngine.jar
CrystalReportEngine.jar
rascore.jar
webreporting-core.jar

jboss/server/all/deploy/MyApp/WEB-INF/classes (Crystal config file)
CrystalReportsEngine-config.xml

The error I get is from crystal's report engine.  Here's a snippet of the log:
16:28:01,984 INFO  [STDOUT] Opening report: userInfo.rpt
  | 16:28:05,468 ERROR [reportengineinterface] Unable to locate 
CrystalReportEngine-config.xml
  | 16:28:05,531 INFO  [STDOUT] 
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report location is 
not specified in the configuration file Error code:-2147215356 Error code 
name:fileNotOpened

And the error is coming from the first line in the try block of this code 
(where I try to create a crystal report):
public void genReport(String report, HttpServletRequest sreq, 
HttpServletResponse sresp, ServletContext contxt) {
  | System.out.println(Opening report:  + report);
  | IReportSourceFactory2 rptSrcFactory = new 
JPEReportSourceFactory();
  | CrystalReportViewer viewer = null;
  | try{
  | IReportSource reportSource = (IReportSource) 
rptSrcFactory.createReportSource(report, Locale.US);
  | viewer = new CrystalReportViewer();
  | viewer.setReportSource(reportSource);
  | viewer.setOwnPage(true);
  | viewer.setEnableLogonPrompt(true);
  | viewer.setHasRefreshButton(true);
  | viewer.showFirstPage();
  | viewer.processHttpRequest(sreq, sresp, contxt, 
sresp.getWriter());
  | viewer.dispose();
  | }
  | catch(Exception e)
  | {
  | System.out.println(e);
  | setError(true);
  | setErrmsg(e.getMessage());
  | }
  | }
  | 
  | 

And the content of CrystalReportsEngine-config.xml:
?xml version=1.0 encoding=utf-8?
  | CrystalReportEngine-configuration
  | reportlocation/view/reportlocation
  | timeout10/timeout
  | keycodeMyLicenseKeyCodeHere/keycode
  | /CrystalReportEngine-configuration

I'd love to hear from anyone who has gotten Crystal  JBoss to work 
together...or from JBoss users who can suggest where (and why) I might put the 
config file so that it's on the classpath.

Thanks,
Sue.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Access to the Unified Class Loader

2004-12-07 Thread fredatwork
Hello,

I would lie to load a class by its name inside some EJB session code.

Since I never did that, I carefully read the Wiki documents dedicated to class 
loaders and scoped applications. I realize the classes I want need to be loaded 
by a JBoss-specific class loader (UnifiedClassLoader).

However, I'm wondering how I can get access to the class loader of my 
application. Is the following snippet correct ?

Class myClass = 
Thread.currentThread().getContextClassLoader().loadClass(org.example.myClass) 
;

Thanks for your help.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Session bean design questions

2004-12-07 Thread davout
I'm building my first complicated EJB application and I've hit a problem to do 
with declarative transaction settings. It's a subject that to date I've been 
able to ignore - now I'm hoping somebody can help me with some general guidance.

I'm using the facade pattern where a stateless session bean masks access to 
underlying CMP entity beans.

One of my more important session bean methods is a lengthy process that 
involves multiple steps, each step will itself call one or more other stateless 
session beans.  Most of the calls to other stateless session beans are to 
retrieve information, like 'getEntityX', 'findAllEntityY'. 

Occasionally one of these retrieval calls will fail, (the underlying entity may 
not exist). This is perculating up as a exception which triggers a transaction 
roll back error in the main process, which is not what I want.

So it seems that I have to declare the transaction settings for each of the 
retrieval related methods to avoid yes, right?

These leads to two general design questions on stateless session beans that act 
as facades...

a). How to handle data not found situations.

If I have a session bean method like

public EmployeeVO findEmployee(String anEmployeeCode);

... what should the method return if the employee does not exist. Should I 
allow a EJBException to be thrown, or should the session bean method capture 
the exception and return a null value object result. Both methods are possible, 
I'm just wondering what is the more popular?

b). Declarative transactions for session bean methods

Should I by default make all session bean retrieval related methods have a 'not 
supported' transaction setting?

TIA

.. davout


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >