[JBoss-user] [EJB/JBoss] - Client transaction on CMB + Stateless session bean

2004-08-03 Thread samson
Here's the problem:

UserTransaction is started on client-side. Then, client performs an update on entity 
bean, follows by an execution of stateless session bean. Pseudo code:


  | utx.begin();
  | cmbA.setField(new value);
  | sessionBean.readCmbAValue();
  | utx.commit();
  | 

where readCmbAValue opens a JDBC connection and SELECT the newly-updated field and 
return it.

The code runs fine, and database is updated correctly. However, readCmbAValue always 
get the old value. Any hints?

My configuration is:
JBoss 3.2.5 with local transation for MS SQL 7.0


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Compliance] - Re: J2EE Standards supported by JBoss 3.2.5

2004-08-03 Thread [EMAIL PROTECTED]
Its the standards defined by j2ee 1.3, with jmx 1.2 and a 2.4 serlvet container.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: [newbie] jboss4.0rc1/ejb2.1 timers and JMX

2004-08-03 Thread [EMAIL PROTECTED]
Correct, you have to call a bean method to have the bean create the timer, and an 
mbean could be used to trigger this. I don't have an example, but it would be simply 
to add the ejb timer creation method call to the start method of the mbean. The mbean 
would have to depend on the ejb.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: custom security

2004-08-03 Thread [EMAIL PROTECTED]
What instance based security are you referring to? Interceptors are the basis for 
adding arbitary security checks and these may be standardized for ejb3.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-03 Thread tfk257
Thanks cbrettin for your reply,

But I cannot find any configuration in the server.xml for the Certificate Principal.

Can you please post a copy of the server.xml that has configuration for the 
CertificatePrincipal.

Thanks again

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with collection CMR field and ejb create

2004-08-03 Thread loubyansky
You are misunderstanding cascade-delete. Re-read the remove protocols in the spec. 
What you are doing is just destroying relationships. Nothing's wrong so far.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBossQL and DynamicQL

2004-08-03 Thread loubyansky
I think you should just rename the 'findGeneric' method on the home interface. As it 
is recognized as a finder method due to the 'find' prefix.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL problem - column xxx specified twice

2004-08-03 Thread loubyansky
Does the column appear only once in the statement in MySql case?

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Understanding findByPrimaryKey

2004-08-03 Thread loubyansky
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.java

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - scheduler at midnight

2004-08-03 Thread dannyb23
Hi

How can I update the following xml snippet so that it would be scheduled to every day 
at midnight ? I have tried updating InitialStartDate to midnight without success...

  
true
mypacakge.util.jmx.JMXLogScheduler


NOW
1
-1
  



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - help on using JAAS with JBoss-3.2.2 on red hat

2004-08-03 Thread heema
Hi
I am using jboss-3.2.2 for deploying EJBs on red hat OS.
Any one could pls.  send me some source code (links) where i can test ejb-security 
involving EJBs.
I require some sample examples of JAAS authentication on jboss-3.2.2,  EJB security.

Thanking in advance.



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: scheduler at midnight

2004-08-03 Thread dannyb23
opps the snipped wasnt seen correctly here it is :

  mbean code=org.jboss.varia.scheduler.Scheduler
 name=:service=Scheduler
attribute name=StartAtStartuptrue/attribute
attribute name=SchedulableClassmypackage.util.jmx.JMXLogScheduler/attribute
attribute name=SchedulableArguments/attribute
attribute name=SchedulableArgumentTypes/attribute
attribute name=InitialStartDateNOW/attribute
attribute name=SchedulePeriod1/attribute
attribute name=InitialRepetitions-1/attribute
  /mbean

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread pique
As a first step, include attribute 
 extends and local-extends 
in tag @ejb.home and @ejb.interface
like this
 * @ejb.home
 * extends=javax.ejb.EJBHome
* local-extends=

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
JBOSS: 3.2.4
PostgresDB: 7.4.2

EJB XDocLet declaration:
 * @ejb.finder  signature=java.util.Collection findByInfo(java.lang.String info)
 *  query=
 * @jboss.declared-sql signature=java.util.Collection findByInfo(java.lang.String 
info)
 *  where=idA LIKE '%{0}%'
 *  strategy=on-find 

jbosscmp-jdbc.xml
...
 query-method
  method-namefindByInfo/method-name
   method-params
method-paramjava.lang.String/method-param
/method-params
/query-method

Calling code:
BBeanUtil.getLocalHome().findByInfo(123);

Problem:
DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery.BBean#findByInfo] Executing 
SQL: SELECT id, idA, info FROM b WHERE info LIKE '%?%'
2004-08-03 10:36:11,197 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery.BBean#findByInfo] Find failed
org.postgresql.util.PSQLException: Parameter index out of range.
at 
org.postgresql.jdbc1.AbstractJdbc1Statement.bind(AbstractJdbc1Statement.java:2082)


Why I can't do a LIKE call (Postgres/JDBC-PG
admit this...)?

TIA
Roberto Colmegna


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
Post error:
where=idA LIKE '%{0}%' 
is
where=info LIKE '%{0}%' 

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread darranl
Are there any errors higher in the output?

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Service Locator 4 JBoss Cluster

2004-08-03 Thread trossmy
Before I reinvent the wheel...maybe somebody can point me to a good working 
implementation of a service locator for a jboss cluster
Thx Tilman

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - my jboss4 Clustering debug messengers.. who can help..?

2004-08-03 Thread dkdkdk
 i have set a jboss clustering . but i think have some wrong.
when a node (ip1, http://ip1/index.htm )is down, another can get the session  (ip2, 
http://ip1/index.htm ). I haven't get the clustering work well.


so who can figure the steps how to test the Jboss 4 RC1 clustering ?

thanks a lot.


Best Regards.






NODe 1:

16:58:18,989 INFO  [DefaultPartition] Initializing
16:58:19,702 INFO  [UDP] unicast sockets will use interface 192.168.1.96
16:58:19,731 INFO  [UDP] socket information:
local_addr=192.168.1.96:1041 (additional data: 14 bytes), mcast_addr=228.1.2.3:45566, 
bind_addr=/192.168.1.96, ttl=32
socket: bound to 192.168.1.96:1041, receive buffer size=65535, send buffer size=65535
multicast socket: bound to 192.168.1.96:45566, send buffer size=65535, receive buffer 
size=65535
16:58:19,742 INFO  [STDOUT]
---
GMS: address is 192.168.1.96:1041 (additional data: 14 bytes)
---
16:58:21,817 INFO  [DefaultPartition] Number of cluster members: 1
16:58:21,822 INFO  [DefaultPartition] Other members: 0
16:58:21,824 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
16:58:21,831 INFO  [DefaultPartition] New cluster view (id: 0, delta: 0) : 
[127.0.0.1:1099]
16:58:21,839 INFO  [DefaultPartition] I am (null) received membershipChanged event:
16:58:21,840 INFO  [DefaultPartition] Dead members: 0 ([])
16:58:21,840 INFO  [DefaultPartition] New Members : 0 ([])
16:58:21,841 INFO  [DefaultPartition] All Members : 1 ([127.0.0.1:1099])
16:58:22,259 INFO  [HANamingService] Listening on /0.0.0.0:1100
16:58:22,277 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
..

17:01:10,231 INFO  [Server] JBoss (MX MicroKernel) [4.0.0RC1 (build: 
CVSTag=JBoss_4_0_0_RC1 date=200407202112)] Started in 3m:36s:421ms
17:01:10,233 INFO  [Tomcat5] Saw org.jboss.system.server.started notification, 
starting connectors
17:01:13,880 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-80
17:01:16,109 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
17:01:16,127 INFO  [JkMain] Jk running ID=0 time=19/154  config=null
17:02:34,514 INFO  [DefaultPartition] New cluster view (id: 1, delta: 1) : 
[127.0.0.1:1099, 127.0.0.1:1099]
17:02:34,516 INFO  [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged 
event:
17:02:34,517 INFO  [DefaultPartition] Dead members: 0 ([])
17:02:34,520 INFO  [DefaultPartition] New Members : 0 ([])
17:02:34,521 INFO  [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 
127.0.0.1:1099])


NODE 2:

17:01:22,389 INFO  [UDP] unicast sockets will use interface 192.168.1.95
17:01:22,468 INFO  [UDP] socket information:
local_addr=192.168.1.95:1053 (additional data: 14 bytes), mcast_addr=228.1.2.3:45566, 
bind_addr=/192.168.1.95, ttl=32
socket: bound to 192.168.1.95:1053, receive buffer size=65535, send buffer size=65535
multicast socket: bound to 192.168.1.95:45566, send buffer size=65535, receive buffer 
size=65535
17:01:22,474 INFO  [STDOUT]
---
GMS: address is 192.168.1.95:1053 (additional data: 14 bytes)
---
17:01:24,882 INFO  [DefaultPartition] Number of cluster members: 2
17:01:24,883 INFO  [DefaultPartition] Other members: 1
17:01:24,883 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
17:01:24,888 INFO  [DefaultPartition] New cluster view (id: 1, delta: 0) : 
[127.0.0.1:1099, 127.0.0.1:1099]
17:01:24,893 INFO  [DefaultPartition] I am (null) received membershipChanged event:
17:01:24,894 INFO  [DefaultPartition] Dead members: 0 ([])
17:01:24,894 INFO  [DefaultPartition] New Members : 0 ([])
17:01:24,894 INFO  [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 
127.0.0.1:1099])
17:01:26,161 INFO  [HANamingService] Listening on /0.0.0.0:1100
17:01:26,166 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/0.0.0.0:1102, group=228.1.2.3, HA-JNDI address=127.0.0.1:1100

..
17:02:00,007 INFO  [Server] JBoss (MX MicroKernel) [4.0.0RC1 (build: 
CVSTag=JBoss_4_0_0_RC1 date=200407202112)] Started in 1m:3s:671ms
17:02:00,008 INFO  [Tomcat5] Saw org.jboss.system.server.started notification, 
starting connectors
17:02:00,131 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-80
17:02:00,893 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
17:02:00,900 INFO  [JkMain] Jk running ID=0 time=0/53  config=null



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? 

[JBoss-user] [Clustering/JBoss] - Re: my jboss4 Clustering debug messengers.. who can help..?

2004-08-03 Thread dkdkdk
when i use tcpdump to sniffer the packets on node 2, i found that nothing packet from 
node 1.
So i think that the real jboss clustering haven't setup correctly. i think some config 
files need to config.  so who can give me more help...?


3ks..

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - SSO Support in jboss-3.0.8_tomcat-4.1.24?

2004-08-03 Thread conor macmahon
Dear All,
Can anyone confirm that SSO is supported in jboss-3.0.8_tomcat-4.1.24? I 
ask as the official wiki on SSO mentions jboss 3.2.*, not 3.0.* (i.e. 
http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn).
Best,
Conor


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Confiuring the null values

2004-08-03 Thread preeti123
Thanks Topricana for the response.
As I am very new to programming I am still learning( almost end user till last month)

I have a page where the user enter the details in fields. As soon as I visit the page 
I see the fields as displaying null.
But if I navigate to the same page thro' some other link I am getting blank fields.
Why is it so? And I want to know wether there is any option in JBoss configuration to 
set the fields as blank before accessing it.

If I view the source in both the pages. One is showing the value of the fiels as null 
and the other as blank.
Pls clarify my doubt

Thanks and Regards
Preeti


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: LIKE problem with CMP and declared-sql

2004-08-03 Thread Roberto72
Auto-resolved!  ;)

Solution:
 * @jboss.declared-sql signature=java.util.Collection findByInfo(java.lang.String 
info)
 *  where=info LIKE '%' || {0} || '%'
 *  strategy=on-find 


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - directory structure under deploy

2004-08-03 Thread iliev
Hi,
i've a WEB application using EJB CMP, Stateless session bean, servlet, jsp 

The question is: how can i work in a non packaged environment ?

now i produce an ear that i put under deploy directory, but every times i modify 
something i need to redeploy

How can i organize my directory, and wich path i assign do to my jsp ?


hi
alex



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Http session replication not happening in clustered environm

2004-08-03 Thread vivekoswal
Hi all,
We are setting up a cluster of servers, the specifications are as follows:
 
OS: Windows 2000 Professional
JDK: jdk1.3.1_04 
JBoss version: jboss-3.2.1_tomcat-4.1.24 (on 2 nodes viz server1 and server2.)
Apache: 2.0.45(installed on server1)
 
We have included distributable/ element in the web.xml of our application 
similarly we have included entries for all the entity beans and session beans in 
jboss.xml's of all the components.
 
We have added the jvmRoute attribute  in the 
{JBOSS_HOME}\server\all\deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml file 
of both the nodes 
 
  | server1 
  | Engine jvmRoute=server1 name=MainEngine  defaultHost=localhost
  | 
  | server2 Engine jvmRoute=server2 name=MainEngine defaultHost=localhost 
We have included the following tag in the 
{JBOSS_HOME}\server\all\deploy\wsc.ear\wsc.war\jboss-web.xml file of both the nodes.
 replication-config 
  replication-triggerSET_AND_GET/replication-trigger 
  replication-typeSYNC/replication-type 
 /replication-config 
 
APACHE mod_jk2 specific Configuration is as follows:
Following lines are added at the end of  {apache_home}\conf\httpd.conf file
# Include mod_jk's specific configuration file 
Include conf/mod-jk2.conf
 # Load mod_jk module
LoadModule jk2_module modules/mod_jk2.so
  
Following are the content of  {apache_home}\conf\workers2.properties file.
 
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon
size=1048576 
 
[lb:lb]
stickySession=1
debug=1
[channel.socket:server1:8009]
port=8009
host=server1
tomcatId=server1
[channel.socket:server2:8009]
port=8009
host=server2
tomcatId=server2
[ajp13:server1:8009]
channel=channel.socket:server1:8009
group=lb
[ajp13:server2:8009]
channel=channel.socket:server2:8009
group=lb
[uri:/*]
group=lb
 
[status:]
info=Status worker, displays runtime information
 
Following are the content of  {apache_home}\conf\mod-jk2.conf  file
IfModule mod_jk2.c
  | JkSet config.file C:/Program Files/Apache Group/Apache2/conf/workers2.properties
  | /IfModuleAfter making the above configurations  the load balancing behaviour was 
achieved but the session replication does'nt seem to be happening.
We started both the nodes and observed that the cluster of 2 nodes is formed. Then we 
made a request which went to server1. We shut down the jboss-tomcat at server1 and 
made a request with the same client, we expected that server2 would take the charge 
(session will be replicated on server2)  but it does not happen and we get a session 
expired message. 

We would appreciate any help and suggestions on this.
 
Thanks and regards.
popnet.



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - DataSource Problem

2004-08-03 Thread sachin_powale
I am using jboss3.2.5 with Tomcat as web server. I want to configure the datasource 
name. But we are not using ejbs. The application is just using simple java classes, 
jsp and servlets. The DataBase is MySQL. How to configure the DataSource name in jboss 
for the application. Is it possible using server.xml from 
jboss-3.2.5\server\default\deploy\jbossweb-tomcat50.sar\server.xml ?
thanks and regards,
Sachin


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Http session replication not happening in clustered envi

2004-08-03 Thread vivekoswal
Putting some more info in the above post...there are times when we see the following 
error in the JBOSS_HOME/server/all/log/server.log file:

2004-08-03 16:55:25,328 DEBUG 
[org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] getHttpSession called 
for session: cIROaQ-rCKQpZmYvGPLR+w**.ankit
2004-08-03 16:55:25,328 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaService41] 
Loading a session out of the clustered store failed
javax.ejb.EJBException: Exception in setHttpSession: javax.ejb.FinderException: 
cIROaQ-rCKQpZmYvGPLR+w**.ankit does not exist
at 
org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.getHttpSession(ClusteredHTTPSessionService.java:141)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy211.getHttpSession(Unknown Source)
at 
org.jboss.web.catalina.session.ClusterManager.loadSession(ClusterManager.java:582)
at 
org.jboss.web.catalina.session.ClusterManager.findSession(ClusterManager.java:260)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:479)


Does this indicate something?

Regards,
Vivek

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SSO Support in jboss-3.0.8_tomcat-4.1.24?

2004-08-03 Thread kabkhan
In that case probably only from 3.2.3 onwards. 3.0 is pretty old, why not use a more 
recent version of JBoss?

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBossQL and DynamicQL

2004-08-03 Thread hmae
Thank you for your replies.  I tried both suggestions and it works now.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Rollback not removing row in DB

2004-08-03 Thread antalf
Hi,

I'm having trouble when trying to rollback a transaction when a new entity bean is 
created. The problem is that if a rollback occurs (calling the setRollbackOnly()) all 
the changes are rolled back but the row is not deleted, even though the create() call 
on the entity bean is beeing made in the same transaction (eg. in a session bean 
method first I create the entity bean then I modify its fields and do a rollback: only 
the modifications are rolled back - the row is created in the db).

I'm using CMP and CMT, and the methods of the entity  and session bean I use have the 
trasaction attribute set to Required.

Anyone has any Idea of what this might be??
Thanks in advance.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: alternative to accessing datasource from an RMI client

2004-08-03 Thread darranl
Run the code that accesses the datasource inside the application server.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - How to use Mbean to get Server Info in a java appln?

2004-08-03 Thread arunchaks
Hi all,
I am trying to write a standard Mbean that could return me the status of a server or 
any property of the server. I am able to write a sample Mbean and deploy it in Jboss 
and acess via JMX-console (ie HTML adaptor)? How do i acheive this if my client is a 
java application rather than a browser?
Also how to use operations in standard Mbean?


Thanks in advance.
Arun

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Re: Error Adminclient

2004-08-03 Thread nehring
Do you have a special need to access the AdminClient directly?
I generally put the WSDD in a web-service.xml file an build a WSR with that.   The 
WSR is laid out like:


  | mywebservice.wsr:
  |   META-INF/
  |   META-INF/MANIFEST.MF
  |   META-INF/web-service.xml
  | 

The WSR is referenced in the application.xml file in the META-INF directory of the 
enclosing EAR.When the EAR is deployed by JBoss, the WSR is then deployed and I've 
no need to access the AXIS AdminClient myself.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Re: Error Adminclient

2004-08-03 Thread jstlktht77
Thanks for the reply. I can try this. Is building wsr file similar to jar file??Also, 
can you tell me what needs to be included into application.xml?
Thanks,


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-08-03 Thread goombah
Hi all, got workbook source code, just follow links for java books , and there is a 
link to the workbook download from the book page itself.

Problem :
When I build the examples with ant  JBOSS throws an exception :

ejb-jar.xml must define a valid DOCTYPE!

Any ideas ?

Thanks in advance .

*** Full ERror message quoted below: ***

15:04:25,906 ERROR [MainDeployer] could not create deployment: file:/D:/Program 
Files/jboss/jboss-3.2.5/server/default/deploy/titan.jar
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYPE!
at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:206)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:462)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Setting CertificatePrincipal in JBoss 3.2.5

2004-08-03 Thread RolfArne
Hi,

I wonder how I can set the certificatePrincipal attribute on the JBossSecurityMgrRealm 
used for web applications in Jboss 3.2.5.

I've tried to add a Realm element inside both the Engine and Host element to the 
server.xml-file in jbossweb-tomcat50.sar, but no luck. That is, an instance of the 
JBossSecurityMgrRealm is instantiated and the certificatePrincipal is set on it, but 
this realm is never used by any of the deployed web-applications.

What is the correct way to accomplish this?



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: custom security

2004-08-03 Thread sblanc1
Hello Scott,
I agree this can be done today but looks to me this is going to be part of the J2EE 
framework in the future. I'm referring to J2EE 3.7.2 Instance-based Access  Control 
in the following document:
java.sun.com/j2ee/j2ee-1_4-pfd2-spec.pdf
Sebastien.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
please help!!
if I set :

   
   

for my HtmlBlock, simply, doesn't it mean that any other group I created that's diff 
from Anonymous and Admins won't see the block??? is there a reason why it wouldn't 
work? also, when one logs in, the html module is called, so I can forbid just a page 
by using /pathtopage/nameofpage.html:: as a pattern in html module's security, but 
how do I forbid a HtmlBlock?
I found the menu example and forum example for permissions in the Wiki and I'd DIE for 
the HtmlBlock example, pleeeaaase!

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
I mean, if I set :




sorry.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread ninus2
euh?
group= level=READ pattern=::
group=admins level=READ pattern=.*:.*:.*


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - JAAS and ServiceMBean

2004-08-03 Thread marquier
In a secured context managed by JAAS, must a JBoss ServiceMBean have to login to 
access Beans ?

Even if the service is logged by a LoginContext, I've an error: Principal==null when 
this service call the method create on the Bean Home after the authentication 
(succeded). What's the problem ?

Thanks in advance for your help !

PS: my application works well by Web after a login form validation !

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-03 Thread cuoz
I just brought up a site with nukes and needed to protect a members area.  Here is 
what I did:
1.  I defined a group that all users should be a member of to be able to read the 
members only area.
2.  I created a page with id /members/index.html and put some content on it
3.  Using the permissions module, I selected the HTML module and added read privs for 
the group that I defined in step 1.  The pattern I used was .*/members/.*::

You may also have to mess around with the priority of the rule.  I don't remember 
100%, but I may have also defined a lower priority rule that denies everybody access 
to that resource.  My intent there is that if they are in the group, they'll match and 
be granted access.  Otherwise, it will fall back to deny for everybody else.

Hope that helps,
gary.


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: custom security

2004-08-03 Thread [EMAIL PROTECTED]
Designing today for this empty statement is pointless:

anonymous wrote : 
  | J2EE.3.7.2 Instance-based Access Control
  | Some applications need to control access to their data based on the content of the
  | data, rather than simply the type of the data. We refer to this as 
instance-based
  | rather than class-based access control. We hope to address this in a future 
release.
  | 


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Setting CertificatePrincipal in JBoss 3.2.5

2004-08-03 Thread [EMAIL PROTECTED]
It can't be done because this setting was not externalized. It will be for the 
3.2.6RC2 release.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Nested Tags don't seem to work

2004-08-03 Thread shoumya
I am working on an application which uses Struts 1.1.The application uses nested tags.
nested:nest property=myProperty.childProperty
..
.
html:text property=finalPropertysize=16 maxlength=16 
The myProperty is an object  whose getter/setter is defined in the form bean and and 
it is set in Action class.
The childProperty object is initialised with data from the database views with the 
help of BC4J wrappers in a session ejb. childProperty is a transfer object which 
corresponds directly to a view and it is set to the myProperty in the same session ejb.

Now when i run the application and try to access the jsp page it gives jsp cmpilation 
error 
19:57:10,793 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for 
servlet action threw exception
javax.servlet.jsp.JspException: No getter method for property finalPropertyof bean 
MyForm
In some pages it work 1st time i.e when i fetch data 1st time it works ...but fails at 
subsequent times.

The same application work fine in weblogic and websphere. i am working to port it to 
Jboss.
Can anyone please help...??
My question is...
Is there any known issues with struts in Jboss?

Thanks in advance
Shoumya


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - What causes hrefs in response messages

2004-08-03 Thread SimonJohnMorgan
Hi,

I'm getting a response message back roughly along the lines of:

ns1:processAuthorisationRequestResponse soapenv:encodingStyle=... xmlns:ns1=...  
 
  | ns1:processAuthorisationRequestReturn href=#id0/  
  | /ns1:processAuthorisationRequestResponse  
  | 
  | multiRef id=id0 
  | soapenc:root=0 
  | soapenv:encodingStyle=... 
  | xsi:type=... 
  | xmlns:soapenc=... 
  | xmlns:ns2=...   
  | ...
  | /multiref

Please say if I taken out too much detail.

I understand what the href + multiRef is doing, however some of my web svc client code 
doesn't seem to like this. It is expecting 

processAuthorisationRequestReturn
  | ...
  | /processAuthorisationRequestReturn 

Whilst I'm assuming that generated response is a valid SOAP message, if I can alter 
how the response is generated / understand why the href occurs instead of it being put 
in directly beneath the elements, this would really be helpful.

(I am investigating get the client to parse this correctly, however I'm - as is 
everyone else in the world - under a deadline to get it working :- )

Thanks in advance for any help.

Cheers

Simon

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread darranl
From reading the XDoclet documentation you need to remove the following lines from 
the @ejb.bean section: -

 * local-business-interface=natis.interfaces.TestBeanLocalHome
  |  * business-interface=natis.interfaces.TestBeanRemoteHome

You have instructed XDoclet to use the local home interface as the local interface.



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Not using a war/ear as in Tomcat.

2004-08-03 Thread peake
I would like to deploy (loosely speaking) a simple web app that is not much more than 
a helloworld.jsp.  Under Tomcat I can create a context directory, have a WEB-INF empty 
dir there and a single JSP file in the context dir.  
How(if i can) do something similar in JBoss if I don't have a war file?

I know this it not preferred.  I'm just trying to learn and this is the first thing I 
tried that did not work as it did in Tomcat.

Thanks.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Urgent production issue regarding to jboss security

2004-08-03 Thread ms26368
Hi ,

I have jboss3.2.5 running in production with jdk 1.4.1_02. I am facing this error

java.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy576 cannot access its 
superinterface oracle.jdbc.driver.ScrollRsetStatement
at java.lang.reflect.Proxy.defineClass0(Native Method)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:475)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552)
at 
org.jboss.resource.adapter.jdbc.PrivilegedProxy$BuildProxyAction.run(PrivilegedProxy.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.jboss.resource.adapter.jdbc.PrivilegedProxy.getProxy(PrivilegedProxy.java:59)
at org.jboss.resource.adapter.jdbc.WrappedStatement.(WrappedStatement.java:47)
at 
org.jboss.resource.adapter.jdbc.WrappedConnection.createStatement(WrappedConnection.java:148)
at 
com.dbs.config.entity.ConfigurationStoreBean.ejbHomeSelectAll(ConfigurationStoreBean.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1066)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:204)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478)
at org.jboss.ejb.Container.invoke(Container.java:743)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:299)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
at $Proxy207.selectAll(Unknown Source)
at 
com.dbs.config.model.ConfigMgrBean.getAllConfigurations(ConfigMgrBean.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at 

[JBoss-user] [Security JAAS/JBoss] - JaasSecurityManager and caching of X509Certificate chains

2004-08-03 Thread RolfArne
Hi,

I have a Login module that I use with SSL client certificates. The log from the module 
suggests that it is invoked by the JaasSecurityManager on every client call, even when 
the client (and principal) is previously authenticated, and the principal is in the 
cache. Other username/password based modules do not show this behavior.

My guess is that it is the validateCache method of the JaasSecurityManager that fails 
to match the credentials, which are X509Certificate arrays.

What is the best way to get around this? Is it as simple as to change validateCache so 
that is can compare arrays of X509Certificates?



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL problem - column xxx specified twice

2004-08-03 Thread mzint
Hello Alexey,

The SQL-statement that JBoss tries to execute is:

anonymous wrote : Executing SQL: INSERT INTO COMPONENTFIELDVALUE (CONTRACT, COMPONENT, 
FIELDNAME, SEQUENCE, VALUE, contract, component)
  |  VALUES (?, ?, ?, ?, ?, ?, ?)

I switched the Datasource to Oracle in the meantime and got the same error. The error 
message is ORA-00957 and states, that the column is specified twice. 

Is the Hypersonic database case-sensitive ?? It's logical that you can't have two 
identical column names in the same table and I never really noticed this. The funny 
thing is that everything works fine in the Hypersonic database.

The database table only consists of 5 columns (Contract, Component, Fieldname, 
Sequence, Value).

The table has a compound primary key consisting of contract, component, fieldname and 
sequence -- contract and component are supposed to be foreign keys as well.

At the moment I'm pretty stuck. Maybe someone could give me a hint on how to solve 
this.

Error Messages:
2004-08-03 13:54:49,991 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.ComponentFieldValue]
  |  Executing SQL: INSERT INTO COMPONENTFIELDVALUE (CONTRACT, COMPONENT, FIELDNAME, 
SEQUENCE, VALUE, contract, component)
  |  VALUES (?, ?, ?, ?, ?, ?, ?)
  | 2004-08-03 13:54:50,021 ERROR 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.ComponentFieldValue] Could not 
create entity
  | java.sql.SQLException: ORA-00957: duplicate column name
  | 
  | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
  | at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
  | at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
  | at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
  | at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
  | at 
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
  | at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
  | at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
  | at 

ejb-jar.xml:
   enterprise-beans
  | 
  |   !-- Entity Beans --
  | 
  |   entity 
  |  description![CDATA[Table Component Field Value]]/description
  | 
  |  ejb-nameComponentFieldValue/ejb-name
  | 
  |  
local-homewebservices.interfaces.ComponentFieldValueLocalHome/local-home
  |  localwebservices.interfaces.ComponentFieldValueLocal/local
  | 
  |  ejb-classwebservices.ejb.ComponentFieldValueBean/ejb-class
  |  persistence-typeContainer/persistence-type
  |  prim-key-classwebservices.ejb.ComponentFieldValuePK/prim-key-class
  |  reentrantFalse/reentrant
  |  cmp-version2.x/cmp-version
  |  abstract-schema-namecomponentFieldValueSchema/abstract-schema-name
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecontract/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecomponent/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namefieldname/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namesequence/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namevalue/field-name
  |  /cmp-field
  | 
  |  /query
  | 
  |   /entity
  | 
  | 
  |/enterprise-beans
  | 
  |!-- Relationships --
  |relationships 
  |   ejb-relation 
  |  ejb-relation-nameContractAndCFValueRelation/ejb-relation-name
  | 
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameCFValueHasContract/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | cascade-delete/
  | relationship-role-source 
  |ejb-nameComponentFieldValue/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-namecontractCMR/cmr-field-name
  | /cmr-field
  |  /ejb-relationship-role
  | 
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameContractHasCFValues/ejb-relationship-role-name
  | multiplicityOne/multiplicity
  | relationship-role-source 
  |ejb-nameContract/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-namecomponentFieldValuesCMR/cmr-field-name
  |cmr-field-typejava.util.Collection/cmr-field-type
  | /cmr-field
  |  /ejb-relationship-role
  | 
  |   /ejb-relation
  |

[JBoss-user] [EJB/JBoss] - Re: OutOfMemoryError - Singleton PK Generator

2004-08-03 Thread john_anderson_ii
jamesstrachan wrote : 
  | As an example, if you are expecting 100,000 help desk records a year, provide for 
1,000,000 numbers before rolling round.  The system will roll round to 1 after ten 
years, and it is highly unlikely that any low numbered records will still be around.
  | 

This, I think, is what will be done.  Thank you for spending so much of your time on 
this!

John.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - log4j Starting Point

2004-08-03 Thread john_anderson_ii
I couldn't really decide which forum to put this in, so this one sounds as good as any.

I've been tooling around a bit with Jakarta's log4j, and it seems to be an awesome 
utility to have.  Needless to say, I'm now interested in using this library in 
applications.  For the most part I understand how to make the log4j configuration file 
visible to servlets by deploying it to WEB-INF/classes and using init-params from 
the descriptor to pass the path to the servlet.  However, this what about EJBs?  Is 
there an industry standard method of passing this path information to the EJBs via a 
deployment descriptor or a JBoss deployment?  Or is it just as easy to pass the 
Configurator.configure() method an absolute string to a .properties file deployed with 
an application?

Any pointers or documentation rescources would be greatly appreciated. 

Thanks!

John

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - is entity exists

2004-08-03 Thread dannyb23
Is there a better way to know whether an entity bean exists other than trying a finder 
and catching a FinderException ?  (I dont like the idea of having an exception for an 
unexceptional state)

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread john_anderson_ii
briana wrote : 
  | ?xml version=1.0?
  | !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN 
http://java.sun.com/dtd/web-app_2_3.dtd;
  | web-app
  | display-nameHR/display-name
  | HR Misc Apps
  | 
  | servlet-mapping
  | servlet-nameTestingServlet/servlet-name
  | url-pattern/test/url-pattern
  | /servlet-mapping
  | /web-app
  | 

Is this the full text of your web.xml file?  If so, you need to declare the servlet 
before you declare it's mapping.  Like this:


  | ?xml version=1.0?
  | !DOCTYPE web-app PUBLIC
  |-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  |http://java.sun.com/dtd/web-app_2_3.dtd;
  | web-app
  | 
  |servlet
  |   servlet-nameTestServlet/servlet-name
  |   display-nameTest Servlet/display-name
  |   description![CDATA[None Available]]/description
  |  servlet-classorg.yourpackage.web.TestServlet/servlet-class
  |/servlet
  | 
  |servlet-mapping
  |   servlet-nameTestServlet/servlet-name
  |   url-patterntest/url-pattern
  |/servlet-mapping
  | /web-app
  | 

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with collection CMR field and ejb create

2004-08-03 Thread drag0n2
But the relationship is not destroyed... If I run the clear statement alone and then 
commit, no changes are made to the database whatsoever 

The only way to destroy this relationship in the db is to delete the rows (because the 
relationship resides in the primary key of the child record).



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: log4j Starting Point

2004-08-03 Thread john_anderson_ii
I think I found the solution to logging seperate applications through seperate log4j 
instances vice the container wide logger. 

It is here.

I think I need an aspirin now..

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Platform support

2004-08-03 Thread aberryjr
Hello, 

Does Jboss support and is certified on z/os and zLinux mainframe systems? What 
platforms does JBoss support?

Thanks,

abj.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread briana
I tried your suggestion and it looks like we're making progress.  The server.log now 
gives the below error.  The exact web.xml is also listed below.  Do you know why this 
URL pattern would be invalid? 

2004-08-03 15:48:25,488 ERROR [org.apache.catalina.startup.ContextConfig] Parse error 
in application web.xml
java.lang.IllegalArgumentException: Invalid url-pattern test in servlet mapping


web.xml:
?xml version=1.0?
!DOCTYPE web-app PUBLIC
   -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameHR/display-name
HR Misc Apps


servlet-nameTestingServlet/servlet-name
display-nameTest Servlet/display-name
Test Servlet
servlet-classTestingServlet/servlet-class


servlet-mapping
servlet-nameTestingServlet/servlet-name
url-patterntest/url-pattern
/servlet-mapping
/web-app

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Simple Web App Deploy Fails

2004-08-03 Thread john_anderson_ii
I hope the un-tag-enclosed strings HR Misc Apps and Test Servlet are actually in 
CDATA tags like this:


  | description![CDATA[None Available]]/description
  | 

If you use the code and /code tags inside [] it will display your code properly.

The URL patter must begin with  a /   So try /test instead of test, or you could try 
/test/testservlet.  This path is relative to the context root of the webserver, so 
with /test as a URL pattern your servlet would be accessed via something like 
http://localhost:8080/test.  Using the /test/testservlet pattern your servlet would be 
accessed via http://localhost:8080/test/testservlet.

There is a possible pitfall here.  If you did not define a form with a METHOD=POST 
declaration, and use that html form to access your servlet your servlet will not work! 
 If you try to browse to http://localhost:8080/test directly you will get an error.  
The reason why is that you implemented the doPost method, and a browser's default 
action is GET.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Can a simple EJB (no app server) client start transactions?

2004-08-03 Thread claude.glauser
Hi,

we intend to call an ejb (version 2.0) from a stored procedure (java).
Here in pseudocode:

SQL statement 1
SQL statement 2
call to EJB session bean 
SQL statement 3

If SQL statement 3 fails, will all the ejb stuff (made by the session bean)  roll back 
also?
How can I demarcate transactions in a simple EJB client?

Any hints are appreciated.





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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Can a simple EJB (no app server) client start transactio

2004-08-03 Thread claude.glauser
Some more infos: In a simple ejb client, I can not call 
session_context.setRollbackOnly(); because a simple ejb client has no session_context.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Problem with the ejb-ql when i start a Entity EJB

2004-08-03 Thread feden
i have problem when deploying the EJb with the same ejb-ql.

This is the error...

ERROR [org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select 
object(o) from BprInstSubProActivityEJB o where  o.pngId = ?1 and o.insId = ?2 and  
o.versionId = ?3 and o.actId = ?4'; - nested throwable: (java.lang.NoSuchMethodError)

2004-08-03 17:25:25,273 WARN  [org.jboss.system.ServiceController] Problem starting 
service jboss.j2ee:jndiName=local/BprLogsActivityExtEJB,service=EJB
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select 
object(o) from BprInstSubProActivityEJB o where  o.pngId = ?1 and o.insId = ?2 and  
o.versionId = ?3 and o.actId = ?4'; - nested throwable: (java.lang.NoSuchMethodError)

at last the console have this message..

INFO  [org.jboss.ejb.plugins.jms.DLQHandler] Started null

if someone have the solution please, tell me abaut it...



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - jboss 3.2.3 and 3.2.5 on Redhat ES3

2004-08-03 Thread mhemling
When I start JBOSS using the LD_ASSUME_KERNEL at the top of the run.sh (which works 
fine on Redhat 9) I see about 50 JBOSS processes.  Is this normal?  When I take the 
export LD_ASSUME_KERNEL out of the run.sh then I see only 1 JBOSS process.  Either 
way, JBOSS seems to work but I was not sure if I need the LD_ASSUME_KERNEL with Redhat 
ES3.  

thanks

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Can a simple EJB (no app server) client start transactio

2004-08-03 Thread claude.glauser
I found the solution myself.
There is a UserTransaction object registered in the jndi tree (UserTransaction).

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Filtering messages (not in MDB)

2004-08-03 Thread Dzerzhinsky
Thank you very much.
The one think I can't understand it's why my cache in this situation still recieves 
messages. I don't mean that my onMessage() method being called, but when I look at 
profiling statistics for my test code I see that most part of time it's took to read 
from soket in JMS listerning thread even if no messages was received. So why it's so, 
where is performance? I don't need my cache recieve unneeded messages ever.
Any suggestions?  

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: IIS Tomcat Integration error

2004-08-03 Thread chuckharris
We had trouble with isapi_redirector2.dll also.  Large file uploads failed.  
isapi_redirector.dll has performed fine.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - verbose http log

2004-08-03 Thread jnesbitt
I'm using Jetty as the web container in my jboss installation.  How do I go about 
configuring the request log so that it prints out the entire http requests and 
response?

Thanks

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: XDoclet not generating Local interface

2004-08-03 Thread crowse
Hi pique and darranl

Thanks for the info. You may both give me a virtual kick in the pants.

DarranI, in fact, these lines should point to the business (i.e. Remote and 
((local??)) interfaces, not the homes.

A further problem is that if I point the business interface to Remote, everything is 
OK.

But if I try to point the local-business-interface to my Local interface (NOT LOcal 
Home), I get an error message (Circular inheritance).  I removed the local-business 
interface tag entirely, and all is well.

MAny many thanks

Chris

 

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: verbose http log

2004-08-03 Thread john_anderson_ii
As far as configuring Jetty to log requests and responses..I can't help you.  
However, if you need a quick solution for debugging purposes or whatever, I recommend 
Mozilla Firefox with the LiveHTTPHeaders plugin.  This combination allows you to view 
the requests your browser sends, and their response, in real time.  I use this all the 
time, very helpful, and could possibly be a faster solution if you need only 
temporarily view the req/resp.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Anyone seen this?

2004-08-03 Thread thad
I have a MDB that receives a message and then creates two messages that it delivers 
onto two different queues. This system will eventually (if I ever get it there) 
receive hundreds of thousands of messages an hour, so it's important I figure this 
out. When I put a few hundred messages onto the MDBs queue I start getting the 
following exception sporadicly:

org.jboss.mq.SpyJMSException: Could not crate tx: 640; - nested throwable: 
(java.sql.SQLException: Violation of unique index: SYS_PK_JMS_TRANSACTIONS in 
statement [INSERT INTO JMS_TRANSACTIONS (TXID) values(640)])
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.createPersistentTx(PersistenceManager.java:666)
at org.jboss.mq.pm.TxManager.createTx(TxManager.java:77)
at 
org.jboss.mq.server.JMSDestinationManager.transact(JMSDestinationManager.java:419)
at 
org.jboss.mq.server.JMSServerInterceptorSupport.transact(JMSServerInterceptorSupport.java:186)
at 
org.jboss.mq.security.ServerSecurityInterceptor.transact(ServerSecurityInterceptor.java:182)
at org.jboss.mq.server.TracingInterceptor.transact(TracingInterceptor.java:438)
at org.jboss.mq.server.JMSServerInvoker.transact(JMSServerInvoker.java:186)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:166)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:356)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Violation of unique index: SYS_PK_JMS_TRANSACTIONS 
in statement [INSERT INTO JMS_TRANSACTIONS (TXID) values(640)]
at org.hsqldb.Trace.getError(Unknown Source)
at org.hsqldb.jdbcResultSet.(Unknown Source)
at org.hsqldb.jdbcConnection.executeStandalone(Unknown Source)
at org.hsqldb.jdbcConnection.execute(Unknown Source)
at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source)
at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:335)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.createPersistentTx(PersistenceManager.java:660)
... 11 more

Any help is greatly appreciated.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Connecting with JSR160 compliant tool

2004-08-03 Thread abalan
MC4J Management Console does not support remoting for jboss.

see the requirements section in http://mc4j.sourceforge.net/usageJBoss.html

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - MDB ejbRemove() never called and OutOfMemory occurs...

2004-08-03 Thread [EMAIL PROTECTED]
The scenario:

I am using JBossMQ to hold transient data that is passed to a Queue then to an MDB, 
data is processed and the result goes to another Queue and another MDB and then the 
final result is put into a MySql db. The MDB's are pooled using the default config in 
standardjboss.xml. For a small number of transactions everything works fine but when 
load testing (running 24 transactions every 5 mins) for an extended time (24 hrs) 
Connection errors start being thrown along with OutOfMemory errors.

Connection failures like:

18:40:28,735 ERROR [SocketManager] Exiting on unexpected error in read task
  | java.lang.OutOfMemoryError: unable to create new native thread
  | at java.lang.Thread.start(Native Method)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:515)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:870)
  | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
  | at java.lang.Thread.run(Thread.java:536)

and

18:45:27,964 WARN  [Connection] Connection failure: org.jboss.mq.SpyJMSException: 
Connection Failed; - nested throwable: (java.io.IOException: ping timeout.)
  |  at org.jboss.mq.Connection.asynchFailure(Connection.java:429)
  | at org.jboss.mq.Connection$PingTask.run(Connection.java:1356)
  | at 
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
  | at java.lang.Thread.run(Thread.java:536)
  | Caused by: java.io.IOException: ping timeout.
  | at org.jboss.mq.Connection$PingTask.run(Connection.java:1348)
  | ... 2 more
  | 
  | 

occur along with OutOfMemory...

ENVIRONMENT - Duel PIII 500, Windows 2000, JBoss 4.0.0DR3, JDK 1.4.1_05, 512 ram 
(JBoss is running as a service and is basically the only app running)

From what I can tell the ejbRemove() on the MDB is never called and another MDB is 
created for the next transaction???

Question:

Is it ok to use the default MDB pooling found in standardjboss.xml?? Will it pool my 
MDB and will it clean up once the MDB has finshed its transaction? How do I ensure 
ejbRemove() is called on my MDB?

Besides the errors everything works great for a while

thanks in advance for any help,
ShadowDog.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Connecting jboss-3.2.5 to Oracle 9i

2004-08-03 Thread aalmero
you can remove other entries as they are optional. consult your DBA for the ff:
youroraclehost = can be the ip address of the oracle machine
yoursid - system identifier 
username
password



datasources
  |   local-tx-datasource
  | jndi-nameOracleDS/jndi-name
  | connection-urljdbc:oracle:thin:@youroraclehost:1521:yoursid/connection-url
  | driver-classoracle.jdbc.driver.OracleDriver/driver-class
  | user-namex/user-name
  | passwordy/password
  |   /local-tx-datasource
  | /datasources

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss ignoring jdbc-type?

2004-08-03 Thread aalmero
from the sql generated

Executing SQL: CREATE TABLE Workgroup (id VARCHAR(256) NOT NULL, name VARCHAR(256), 
CONSTRAINT pk_Workgroup PRIMARY KEY (id)) 

the error states that VARCHAR max length should only be 255.


hth

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Problem stopping JBoss: wrong port number

2004-08-03 Thread aalmero
you can use this script below.

#!/sbin/sh
  | case $1 in
  | 'start')
  | echo Starting Jboss Server
  | /usr/jboss/bin/run.sh1 | tee /var/log/jboss 
  |;;
  | 'stop')
  | echo Stopping Jboss Server
  | #PID = /usr/bin/pgrep java
  | /usr/bin/pkill -9 java
  |;;
  | *)
  | echo Usage: $0 { start | stop }
  | exit 1
  |;;
  | esac
  | exit 0
  | 


hth
aalmero


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Confiuring the null values

2004-08-03 Thread aalmero
you may initialize your value object's like String attribute to ; 


hth
aalmero

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss should give some sample applications to beginners!

2004-08-03 Thread berlinbrown
Yea, I think that is right, that is the index.jsp that has nothing in it.  Actually, I 
dont think I have any servlet-code that connects to a session bean in a full package, 
maybe somewhere on the site.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB client jar files

2004-08-03 Thread drew2002
Hello all,
I have the same problem, I know that with weblogic you get a tool for generating the 
client JAR, does anyone know of a tool to do the same thing for jboss?

Thanks,
Drew2002.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-08-03 Thread john_anderson_ii
I am by no means an authority on this subject.

This is kind of a known problem with log4j and application containers.  Or, rather, 
it's not really a problem because this is the expected behavior.  Or so I've gathered. 
 

From what I've puzzled out the problem is all about Class loading.  When you 
instatiate a new Logger, it, by default uses the Hierarchy of the logger instantiated 
above it.  Or something close to that anway.  The end result is that your 
application's logging routines are forced into the same sandbox that JBoss's logging 
routines are in, thus it uses JBoss's appenders, etc..  

This cycle can be broken, but bugger me if I've figured out how!  You have to deploy 
your own copy of the log4j.jar file (I think?) with your application.  You must then 
instatiate an instace of the Hierarchy from the context of your application, with a 
seperate configuration file!  

I do not yet have a fully working example, but I'm working hard on it.  If anyone 
beats me to it, please post your work.  

Here is the related documentation that really gave me the heads up:
  Supporting the log4j RepositorySelector in Servlet Containers

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - performance issues updating data using CMP

2004-08-03 Thread vying
Hi,all,
I am doing a project which upload a file and then insert the parsing result into 
the DB(Oracle 9i). The situation is like this,there's main lineitem table and another 
2 dependent  tables,Each mainline will have a couple of  vlaues to be inserted in the 
dependaent tables.
   The observation is that jboss will lauch select and insertion queries 1000 times if 
there's 1000 mainline to be inserted.meanwhile  jboss will insert   many times for 
each lineitem dependent value to those dependaent tables.So the performance is not 
that good:almost 0.3sec/per lineitem.
  The statisitcs are as follows:
  Total number of mainline from file parser to be put into DB: 923,
  Total Number of DB insertion operations:8359
  Total Number of related DB query operations:9317
  Total time to complete transaction:209secs
  I was trying to improve the performance for jboss,but it seems like most 
optimization is fordata loading(e.g read ahead ect..),so any good suggestion on 
improving performance for data updating using CMP?





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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to recover from failed connection

2004-08-03 Thread fgoldfain
Hey Richie, 

I have exactly the same problem as you.
Have you found an answer or a work around?

Thanks,
Francois

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Understanding findByPrimaryKey

2004-08-03 Thread astewix
Thank you for the reply Alexey!

However, I should have been more clear with my question. What I'm really trying to 
find out is the trace of the findByPrimaryKey() method. I want to understand how the 
container behaves when findByPrimaryKey() is called and which components are invoked. 
I am aware of the fact that I can turn the TRACE level on for logging detailed 
container behaviour. Which category should I specify to obtain the relavant logging?


Any help is greatly appreciated.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Re: Error Adminclient

2004-08-03 Thread nehring
Yes, building a WSR (Web Service Archive) is exactly like building a JAR.   Mine 
generally contain only the META-INF/web-service.xml file.  I don't put anything 
special in the MANIFEST.MF, I just let the jar command build one.

The EAR should reference the WSR in it's META-INF/application.xml file.
An example is:

  | ?xml version=1.0 encoding=ISO-8859-1?
  | 
  | application
  |   display-nameMy WebService/display-name
  | 
  |   module
  | ejbmySoapyBeans.jar/ejb
  |   /module
  | 
  |   module
  | javamySoapyService.wsr/java
  |   /module
  | 
  | /application
  | 

This should be all you need.   When JBoss deploys the EAR, it will deploy your defined 
EJBs and also the WSR - which will use the web-service.xml to configure the jboss-net 
adaptation of Axis.

Note that I do have problems with hot-deployment if the signature of the web services 
changes..in that case I take the lazy way out and restart JBoss.I also had 
this trouble with Axis on a standalone Tomcat 5 installation.  As I recall in that 
case, I had to use the Axis adminclient to undeploy my service and then 
redeploy..that was about a year ago, so I might not be remembering correctly.

If you want, I can put together a more complete example of this.   I'm thinking of 
doing that anyway, including the use of xdoclet with ant to use as a working example 
for reference at our company.

r,
Lance


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Problems Using DabaseServerLoginModule

2004-08-03 Thread natalia
Hi,
I'm having problems setting up JAAS security in JBoss  3.2.3. 
(I have few years experience as java programmer, but JBoss is relatively new to me). I 
would be grateful if someone can help me with this problem.
I configured DatabaseServerLoginModule, set up Principals and Roles tables in HSQL as 
described in JBoss documentation, written custom CallBack handler.
When I invoke login from servlet, Subject is found correctly as defined in database 
tables and login parameters supplied to handler. So user was authenticated: user name 
and role printed out correctly. The test code is:

  LoginContext loginContext = new LoginContext(client-login, handler);
  |   loginContext.login();
  |   Subject subject = loginContext.getSubject();
  |   System.out.println(Subject from servlet :  + subject.toString());
  |   accDelegate = new AccountDelegate();
  |   String message = accDelegate.createAccountFacade();
  |   System.out.println(message);

When I try to create AccountFacade bean (stateful session bean), from accDelegate 
object (Business Delegate and Service Locator design patterns are applied), I get 
SecurityException insufficient method permissions. Required role=[Buyer] principal 
roles=null. But servlet already confirmed that the Principal was authenticated with 
the role 'Buyer'. It looks like the authenticated Subject is not propaged by the 
container with the next method call.
The other settings are as follows:


  | login-config.xml
  | policy
  | !-- Used by clients within the application server VM such as
  | mbeans and servlets that access EJBs.
  | --
  | application-policy name = client-login
  |authentication
  |   login-module code = org.jboss.security.ClientLoginModule
  |  flag = required
  |   /login-module
  |/authentication
  | /application-policy
  | 
  | !-- 
=
  | LOG IN MODULE  added by me
  | Login module uses dabase to check user name and password --
  | 
  | application-policy name = dbAuthentication
  |authentication
  |   login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule
  |  flag = required
  |  module-option name = 
unauthenticatedIdentitynobody/module-option
  |  module-option name = dsJndiNamejava:/DefaultDS/module-option
  |   /login-module
  |/authentication
  | /application-policy
  | 
  | !-- 
=== --
  | 
  | /policy
  | 
  | auth.conf
  | other {
  |// jBoss LoginModule
  |org.jboss.security.ClientLoginModule  required
  |;
  | 
  |// Put your login modules that need jBoss here
  | };
  | 
  | client-login {
  |// jBoss LoginModule
  |org.jboss.security.ClientLoginModule  required
  |;
  | 
  |// Put your login modules that need jBoss here
  | };
  |  
  |  dbAuthentication {
  | // jBoss LoginModule added by me
  | org.jboss.security.auth.spi.DatabaseServerLoginModule  required
  | ;
  | unauthenticatedIdentity=nobody;
  | dsJndiName=java:/DefaultDS
  |  
  | // Put your login modules that need jBoss here
  | };
  | 
  | jboss.xml
  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.2//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;
  | jboss
  |   security-domainjava:/jaas/dbAuthentication/security-domain
  |   unauthenticated-principalnobody/unauthenticated-principal
  |   enterprise-beans
  | session
  |   ejb-nameAccountFacadeBean/ejb-name
  |   jndi-nameAccountFacadeBean/jndi-name
  | /session
  | session
  |   ejb-nameAccountControl/ejb-name
  |   jndi-nameAccountControl/jndi-name
  |   local-jndi-nameAccountControlLocal/local-jndi-name
  | /session
  |   /enterprise-beans
  | /jboss
  | 
  | ejb-jar.xml
  |  other tags 
  | security-role
  |   role-nameBuyer/role-name
  | /security-role
  | security-role
  |   role-nameSupplier/role-name
  | /security-role
  | method-permission
  |   role-nameBuyer/role-name
  |   method
  | ejb-nameAccountFacadeBean/ejb-name
  | method-intfHome/method-intf
  | method-namecreate/method-name
  |   /method
  |   method
  | ejb-nameAccountFacadeBean/ejb-name
  | method-intfRemote/method-intf
  | method-namegetUser/method-name
  |   /method
  | /method-permission
  | 

Thank you in advance
Natalia




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

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


---
This SF.Net email is sponsored 

[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-08-03 Thread beked
I actually did work the problem out.  I'm sorry I forgot to post back with what I 
found

In my case I did not use log4j.  Instead I'm using java.util.logging which I then add 
a custom JDBC Handler to because I am logging to a DB table rather than a file or the 
JBoss server log file.  Extra handlers where added to my logger because a bean kept 
adding handlers due to an error in my design and another class that was used kept 
adding handlers each time it was instantiated.  

To fix the problem, I just added the handler the first time the bean object was 
created.  If the bean happened to get created again in anther session, I had placed a 
check around the addHandler call to make sure the Logger object had no handlers so 
that the handler would not be added again resulting in multiple calls of the same log 
statement.

In pseudo code (since I'm not at work):

Logger logger = Logger.getLogger(new);
If (Logger.getHandlers().count == 0)
logger.addHandler(JDBCHandler);

In other words, my guess is that if you are having this problem, somewhere in your 
code logic you are adding extra handlers to your Logger object.  Therefore each time 
your log statement is multiplied and extra handler of the same type as before has been 
added to your Logger.


Josh


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - How to configure SSL for JBoss 3.2.3

2004-08-03 Thread vinayshah
I have setup JBoss 3.2.3 on Solaris 9, and I would like to know how to configure SSL 
for it.  I am novice for JBoss environment, can someone directly me to a 
walk-through(step-by-step) configuration instruction for SSL?

Thanks for your time.

-Vinay

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Can't get SSL properly configured for web app

2004-08-03 Thread techiestuff
Even I am facing the same problem. Using Jboss3.2.1(Jetty). 
Besides that I was also trying to mix protocols after login.

Any help is appreciated.
Thanx in advance

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Activation Error Stateful Session Bean: Activation failu

2004-08-03 Thread siupetpet
i have exactly the same problem, and your description of its behavior is very 
accurate. I want to find out a way to test whether the bean is still valid.

my stupid way to do it is this. i have a public void dummy() method in the home 
interface and the bean. then in the client i have

try {
home.dummy()
} catch(Exception e) {
try {
home = (BeanHome)lookup(beanName);
} catch(Exception e){}
}

i admit it's very stupid but that's the only way i can think of for now.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-03 Thread siupetpet
darranl wrote : It is not an issue it is standard J2EE behaviour as described in the 
EJB specification.
  | 
  | JBoss does have a configuration file that allows the timeouts to be changed, this 
is described in the administrators and developers guide.

darranl thanks for your input but i've seen your exact replies in other related posts. 
what we all are looking for is a solution to our problem, which is trying to recover 
the reference, or at least test for its validity. telling us this behavior is part of 
the ejb spec doesnt solve the problem at all...

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss Application Server Source Codes

2004-08-03 Thread albren
I believe JBoss AS is an open-source J2EE compliant App Server.
Can anybody tell me where I can find its source codes.

Thanks in advance.


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-03 Thread tfk257
In addition to the above,

I have upgraded to JBOSS 3.2.5-tomcat 5.0.26. still can't find where to configure for 
the certificate principal mapping class in the JbossSecurityMgrRealm. knowing that 
JbossSecurityMgrRealm is hard coded and there is no way to replace it with other 
realm. and you can revise the code of the TomcatDeployer Class. It creats a 
JbossSecurityMgrRealm object and associates it with every web application deploed on 
JBOSS.

Now what I need is to configure the JbossSecurityMgrRealm  for different certificate 
mapping class.

CAN ANYBODY HELP!!!

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Can't get SSL properly configured for web app

2004-08-03 Thread techiestuff
I seem to be missing something rather basic here. Out of curiosity, I changed the 
authentication method to BASIC and it worked perfectly fine. I am really really 
confused as to what is wrong with Form based authentication here. I can't used Basic 
auth method. 
Any suggestions or alternatives that I might look at?

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Socket Timeout whenever I change the system time on wind

2004-08-03 Thread kaypee
Hi !

I am having the same error.

Did you manage to fix it ?

Any solutions/tips/hints ?


TIA,

Kunal

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: ECPerf 1.1 Configuration - EJB Locks

2004-08-03 Thread amitskumar
The problem was fixed after we recreated the schema

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user