[JBoss-user] [EJB/JBoss] - Re: EJB-Table and DB-Table Mapping Problem

2004-10-21 Thread weeclub4
Thank you all who tried to solve the problem but i guess there is some problem with 
jboss 3.2.5 in this case coz the same thing is working fine in jboss 4.0.0.

Thank you once again

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

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


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


[JBoss-user] [Installation Configuration] - Re: Jboss-3.2.5 hang due to

2004-10-21 Thread nischalsharma
hi 
   IS there anyone u can provide some solution to my problem 

with regards
nischal


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

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


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


[JBoss-user] [Security JAAS/JBoss] - HTTPS plz heellp

2004-10-21 Thread kburn
hi dudes, i'm having troublez with tha https cfg..
any1 could help me on this??
cuz I looked around and I only found sone tuts 'bout tomcat4 or old stuff..
I'm currently runnin' jboss-325 with tomca5.. so, that's it..
ta 4 any reply.. :)

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

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


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


[JBoss-user] [Clustering/JBoss] - 4.0 and JBossCacheManager

2004-10-21 Thread tokobayashi
According to jbossweb-tomcat50.sar/META-INF/jboss-service.xml,
JBoss 4.0 uses org.jboss.web.tomcat.tc5.session.JBossCacheManager for 
HttpSessionReplication.

But,
http://www.jboss.org/developers/projects/jboss/tc5-clustering.html
This document says Note that current implementation will be ported to JBoss4.1 
(instead of 4.0) release in the near future.
Is this wrong?, Or JBossCacheManager of 4.0 is different from that of 3.2.6 ?

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

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


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


[JBoss-user] [Installation Configuration] - Re: I'm working with wsad 5.1.2 and want to deploy on Jboss

2004-10-21 Thread rocketarena
is it a plugin ? 
i will see it
 thnx

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

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


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


[JBoss-user] [Beginners Corner] - Re: setting up jk module. Where's mistake?

2004-10-21 Thread Lviz
hi 
post your workers2.properties file too.

cheers
Lviz

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Is there a way to specify parent ClassLoaderRepositary?

2004-10-21 Thread AKsay
In order to speed up redeployment process I split my app into several dependent 
modules without circural dependencies.  So C depends on B depends on A. 
Is there a way to chain class loaders so I can redeploy only changed module with its 
children?
Minor problem - loader-repository ignored in my standalone har module for only the 
top level deployment may specify scoping, so I have to wrap har into empty ear module.

Thanks in advance, 
Alex.

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

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


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


[JBoss-user] [Beginners Corner] - Duke tutorial JBoss 4.0 unable to create table

2004-10-21 Thread SaurabhVyas
Hi
I am using JBoss4.0 and i am getting error somewhat similar to that mentioned earlier 
in this question. This error comes when i deploy the .ear file of my project into the 
deploy folder of JBoss4.0. This .ear file works nicely with JBoss3.2.2 but with 
Jboss4.0 it is giving error shown below. I am using HSQL as database.

== my error =
17:12:57,234 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=ApplicationInfo,service=EJB
org.jboss.deployment.DeploymentException: Could not load class: 
org.jboss.ejb.plugins.cmp.jdbc.hsqldb.JDBCHsqldbCreateCommand
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:112)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:906)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:363)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)[B]EntityContainer[/B][B]org.jboss.deployment.DeploymentException[/B]

===
If someone can help me out to solve this error than i would be thankful
Saurabh 



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

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


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


[JBoss-user] [Persistence CMP/JBoss] - Deployment error in JBoss4.0 with HSQL

2004-10-21 Thread SaurabhVyas
Hi
I am new to JBoss4.0, but i tried to deploy the .ear file of my project in JBoss4.0 at 
an appropriate place and when i tried to run the jboss4.0 it gave me following error. 
My .ear file used to work nicely in JBoss3.2.2. Can anyone  plz help me regarding this 
error. I tried a lot but i don't find a solution as to how to solve this particular 
error. The portion of error is displayed below:

== my error =
17:12:57,234 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=ApplicationInfo,service=EJB
org.jboss.deployment.DeploymentException: Could not load class: 
org.jboss.ejb.plugins.cmp.jdbc.hsqldb.JDBCHsqldbCreateCommand
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:112)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:906)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:363)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)[B]EntityContainer[/B][B]org.jboss.deployment.DeploymentException[/B]

===
If someone can help me out than i would be thankful
Saurabh



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

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


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


[JBoss-user] [EJB/JBoss] - Re: NullPointerException: at org.jboss.ejb.plugins.local.Loc

2004-10-21 Thread darranl
When a java programme is executed by using the command 'java classname' a process 
called the JVM or Java Virtual Machine is started to execute the bytecode in the 
specified class.  

By starting JBoss and your application separately they are both running in their own 
JVMs and will both have their own java process running.

Local insterfaces can only be used by components running within the JBoss JVM, this is 
why your servlet is able to access them.  

Generally access to entity beans should be wrapped by session beans and your remote 
application can then call the remote interface of the session bean that will then use 
the local interface of the entity beans.  Switching to using remote interfaces for 
your entity beans will stop you from making use of CMR if you require it later.

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

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


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


[JBoss-user] [Advanced Documentation] - How up to date is the Pay-for documentation?

2004-10-21 Thread rixc
Hi all,

We currently use jboss 3.2.6 and have no immediate plans to move to Jboss 4 

We have the pay-for docs for jboss 3.2.1 and are considering renewing it. But what is 
the status of the current documents. What versions of jboss does it cover?

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

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


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


[JBoss-user] [EJB/JBoss] - Finders in Jboss 4.0

2004-10-21 Thread weeclub4
Hi Everybody,

Once again i m stuck with problem in jboss 4.0. I trying to specify finders in 
jaws.xml and ejb-jar.xml. As per jboss 3.2.5 i hv specified it but in the 
documentation (jboss 3.2.x) it says that there will be some different format to 
specify it and while running the server it say's

  | Was expecting one of:
  | IN ...
  | ABSTRACT_SCHEMA ...
  | 

If anyone hv any pdf or format of specifying the finders pls help

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

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


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


[JBoss-user] [EJB/JBoss] - Re: Finders in Jboss 4.0

2004-10-21 Thread weeclub4
Here is the code which i m putting in those xml files (jaws and ejb-jar)
finder
  |namefindMax/name
  |queryid = (select max(new_id) from njsfirst)/query
  |order/order
  |   /finder
  | 

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

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


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


[JBoss-user] [Javassist user questions] - Re: How to write new operator in function body ?

2004-10-21 Thread chiba
Thank you!
I ran your test case with javassist.jar 3.0RC1 and got a better message.


  | javassist.CannotCompileException: [source error] Field listenerList in 
skyman.jini.observer.common.MonitoringAbleInterface is private.
  | 

Does this make sense?

Chiba

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

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


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


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

2004-10-21 Thread alvlim1982
hi again,
seems like no1 answer my questions :( maybe its too simple. 

anyway, i have another doubt over here. my current situation is to generate value 
object in runtime from a set of configuration files. I tried to add a new field 
insidebut I found out that there's no CtClass.stringType or any String 
relevant type inside. So what if I wanted to add something like private String name 
inside the newly generated VO?

and how bout the modifier. How can I set the modified of the field?

Hope someone can help me. Thanks in advance.

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

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


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


[JBoss-user] [Installation Configuration] - UDP warnings in the log file

2004-10-21 Thread gubenc2
Hi all,

We installed new JBoss servers on our
company network and this caused a problem
both on the new and the old JBoss servers.
The server logs are full of UDP warnings like this:

2004-10-21 13:35:29,865 WARN  [org.jgroups.protocols.UDP] packet from /10.1.1.11:45566 
has different version (0220) from ours (0224). This may cause problems
2004-10-21 13:35:29,865 WARN  [org.jgroups.protocols.UDP] discarded message from 
different group (). Sender was HERCULES:1085 (additional data: 14 bytes)

We use JBoss in 3.2.5 and 3.2.3 severs with
the all configuration.We think the problem
is related to clustering. We do not use clustering and do not know how to configure 
it. It seems that the JBoss servers would like to discover each other for clustering. 
Is our guess right? Could someone please tell us how to turn off clustering?

Regards,
Gbor Herman
Software Developer
FlexiTon Kft


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

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


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


[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6

2004-10-21 Thread sheckler
I used the UDP bind_addr attribute in cluster-service.xml to bind JGroups to a 
different lan interface as set by -b bindaddress on JBoss startup (multihomed machine, 
two parallel networks).
This does not work with 3.2.6 (and did with 3.2.5).

Stefan Heckler
PSI AG, Germany

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

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


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


[JBoss-user] [EJB/JBoss] - Unable to instantiate org.jnp.interfaces.NamingContextFactor

2004-10-21 Thread newhorizon
Hi ,

Below is the peace of section of client side code 

import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.*;

 Properties prop=   new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
prop.put(Context.PROVIDER_URL,localhost:8080);
Context ctx =   new InitialContext(prop);
Object objref   =   ctx.lookup(First);
FirstHome home  =   
(FirstHome)javax.rmi.PortableRemoteObject.narrow(objref,FirstHome.class);
First firstejb  =   home.create();
System.out.println(Current Time: +firstejb.getTime());

I am unable to instantiate the class mention in bold letters and hence geeting the 
following error. Cannot  instantiate class: org.jnp.interfaces.NamingContextFactory 
class
I have included all the class files in client folder of jboss directory.

Can anyone please look into possible reason of the error and suggest solution.

Thanks


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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - IS there a feature for delayed messages delivery (not re-del

2004-10-21 Thread ebegoli
All,

I am trying to implement the feature where the system A gets its responses with a 
slight delay from the system B. I know that I can use delays inside 
the components that produce messages, but I would prefer to engineeer this delay onto 
a queue similar to what Oracle AQ has.

Is there a feature like this available on the JBossMQ, and if there is please 
tell me how to use it. 

Keep in mind that I am not talking about the re-delivery, but the original delivery of 
the messages.

Thank you,
Edmon 

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

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


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


[JBoss-user] [Performance Tuning] - Re: JBoss - Weblogic comparison

2004-10-21 Thread robisz
Hi jojo!

Some tips for tuning CMP entity beans:

- Mark getter methods as read-only (in your jboss.xml)
- Turn on cache (in standardjboss.xml set commit-option to A) 
  for your container (Standard CMP 2.x EntityBean)
- Read this article: 
http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html



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

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


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


[JBoss-user] [HTTPD, Servlets JSP] - Re: Session already invalidated exception

2004-10-21 Thread erezharari
but u have not called session.getAttribute(key);
would u try that?

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

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


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


[JBoss-user] [Installation Configuration] - admin tools

2004-10-21 Thread Arnen123
I was wondering if there we're any tools available for managing my JBOSS 
configuration? Specifically I want to be able to change all the ports JBOSS is 
listening/bound to without having to manually edit each configuration file. thanks.

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

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


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


[JBoss-user] [Security JAAS/JBoss] - Re: override jboss jaas?

2004-10-21 Thread selswannes
Stacktrace:
14:04:25,007 INFO  [ProxyConnectionManager] attempting logon for user 
urn:uuid:85428d8e-1bd5-473b-a8c8-b9d595f82728
  | 14:04:25,116 WARN  [ProxyConnectionManager] Logon for user 
urn:uuid:85428d8e-1bd5-473b-a8c8-b9d595f82728 failed
  | javax.xml.registry.JAXRException: javax.security.auth.login.FailedLoginException: 
Password Incorrect/Password Required
  | at 
org.freebxml.omar.client.xml.registry.ConnectionImpl.authenticate(ConnectionImpl.java:413)
  | at 
com.xti.xml.registry.registryProxy.ProxyConnectionManager.logOn(ProxyConnectionManager.java:182)
  | at 
com.xti.xml.registry.registryProxy.ebXMLrrImpl.logOn(ebXMLrrImpl.java:77)
  | at 
com.xti.xml.registry.registryProxy.ebXMLrrIF_Tie.invoke_logOn(ebXMLrrIF_Tie.java:878)
  | at 
com.xti.xml.registry.registryProxy.ebXMLrrIF_Tie.processingHook(ebXMLrrIF_Tie.java:1827)
  | at 
com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:321)
  | at 
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
  | at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:86)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
  |  

[JBoss-user] [Security JAAS/JBoss] - override jboss jaas?

2004-10-21 Thread selswannes
Hi everyone,

We've been trying to deploy a third party web application ( 
[url=http://ebxmlrr.sourceforge.net]omar[/url] ) on jboss 3.2.3, together with our own 
web application which acts as a proxy between omar and client. Omar and proxy use jaas 
to authenticate, and we have a 'custom' LoginModuleManager and CallbackHandler. 
However when trying to authenticate we get a 
#8218;#8220;javax.security.auth.login.FailedLoginException: Password 
Incorrect/Password Required#8218;#8221;.

The problem is that instead of the custom classes, the jboss Security Extensions 
classes are used, which of course causes our attempts to fail. I've looked at the 
JBoss JAAS howto, however I'm not sure which parts apply to my problem. 

How can I tell JBoss to use custom classes instead of the JBoss defaults, only for 
that specific webapplication?

Thanks in advance,

Wannes Sels

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

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


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


[JBoss-user] [Installation Configuration] - JMS problem sending to queue

2004-10-21 Thread vitin
 I am sending messages to a queue but the queue remains empty. I can see my queue in 
the jmx-console but it also shows empty. No exceptions are thrown.

java 1.4.2; jboss 3.2.6

my thread does this:

ServiceLocator locator = ServiceLocator.getInstance();
QueueConnectionFactory connFac = locator
.getQueueConnectionFactory();
Queue queue = (Queue) locator.getQueue();
conn = connFac.createQueueConnection();
QueueSession session = conn.createQueueSession(true,Session.AUTO_ACKNOWLEDGE);

for (int i = 0; i  10; i++) {
System.out.println(Sending +i+...);
TextMessage message = session.createTextMessage(Hello+i);
QueueSender sender = session.createSender(queue);
sender.send(message);
System.out.println(Sent!);

//Count queue elements
Enumeration enumer = browser.getEnumeration();
int count = 0;
while(enumer.hasMoreElements()) {
  enumer.nextElement();
  count++; 
 
}
System.out.println(Queue count: +count);

//Wait a few secs
Thread.sleep(2000);
}


The output looks like this:

Sending 0 ...
Sent!
Queue count: 0
Sending 1 ...
Sent!
Queue count: 0
...

I am using the default connection factory called /XAConnectionFactory in JNDI and I 
created a queue. These are my configuration files:

!-- begin web.xml...--
web-app
!-- JMS Connection Factories (java:comp/env/jms) --
  resource-ref
  Default Queue Connection Factory
  res-ref-namejms/QueueConnectionFactory/res-ref-name
  res-typejavax.jms.QueueConnectionFactory/res-type
  res-authContainer/res-auth
  /resource-ref
  
  !-- JMS Queues (java:comp/env/queue) --
  resource-ref
  Default Queue
  res-ref-namequeue/sfuq/res-ref-name
  res-typejavax.jms.Queue/res-type
  res-authContainer/res-auth
  /resource-ref
/web-app
!-- ...end web.xml--

!-- begin jboss-web.xml--
?xml version=1.0 encoding=UTF-8?
jboss-web
resource-ref 
The message queue 
res-ref-namequeue/sfuq/res-ref-name
res-typejavax.jms.Queue/res-type
jndi-namequeue/sfuq/jndi-name
/resource-ref
resource-ref 
The connection factory 
res-ref-namejms/QueueConnectionFactory/res-ref-name
res-typejavax.jms.QueueConnectionFactory/res-type
jndi-nameXAConnectionFactory/jndi-name
/resource-ref
/jboss-web
!-- end jboss-web.xml --

!-- begin destinations-service.xml --


queue/sfuq
depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager


!-- end destinations-service.xml --

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

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


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


[JBoss-user] [Security JAAS/JBoss] - Users/Roles managing web application

2004-10-21 Thread sbrbot
If one uses JDBSRealm or DataSourceRealm for user authentication (users/roles stored 
in database) is there any freeware web application for managing these entities? 
(Managing in terms of creation/deletion of users/roles, merging users and roles etc.)

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Why serialize object message if using jvm invocation lay

2004-10-21 Thread jhaddad
I get it.  That would probably be asking too much of the clients - knowing that they 
can't modify the object.  Maybe another way to optimize it could be calling clone() if 
Cloneable is implemented, or else take the hit with the current impl - 
(de)serialization?

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

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


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


[JBoss-user] [Clustering/JBoss] - jboss-netboot.zip gone?

2004-10-21 Thread ebende
Hi

The zip-file 
http://jboss.sf.net/demo/netboot/jboss-netboot.zip
neede for netbootin as mentioned on the site 
http://www.jboss.org/demos/netboot
appears not to exist.

Where can I find it?

Evert Bende

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

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


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


[JBoss-user] [Installation Configuration] - Connection Pooling

2004-10-21 Thread cheenu78
Hi all,
I am using JBoss3.2.2 RC3, I need to know how to set the number of connections that 
can be pooled and used by the Server. 
Is there any configuration file that i will have to modify to achieve this?
Can the no of connections increased dynamically by the programs?
thanks and regards
Srinivas

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

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


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


[JBoss-user] [Installation Configuration] - Accessing JBoss server from the WWW

2004-10-21 Thread klatif
I just installed JBoss 4 on a Linux server and now I am trying to access my 
application from outside my organization. Failing to do so when I looked at the 
startup log it was very interesting. In every place where it must have been IP address 
of the server there was 0.0.0.0 and to my surprise the working directory within in 
jboss-web folder had name localhost.

I am not sure if I have to do some extra configuration of JBoss or the OS for 
accessing my application. I have tested my application on my own laptop which is 
running Windows XP and JBoss 4

Waiting for +ve respone...

Khalid Latif

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

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


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


[JBoss-user] [Installation Configuration] - How to change value of jboss.bind.address?

2004-10-21 Thread klatif
How can I change the value of jboss.bind.address and BTW where can I find this 
variable in JBoss 4 ???

Khalid Latif

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Specify JNDI Name for Queue or Topic

2004-10-21 Thread randyott
I am trying to set the JNDI name for a queue/topic to a specific value.  Here is the 
configuration element:

  
depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
depends 
optional-attribute-name=JNDINamecom.intelliden.icos.kernel.event.EVENT_TOPIC
  


And here is the exception I get when JBoss starts up

09:35:14,472 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss/server/default/deploy/jms/jbossmq-destinations-service.xml 
java.lang.Error: Invalid ObjectName: com.intelliden.icos.kernel.event.EVENT_TOPIC; 
javax.management.MalformedObjectNameException: missing domain
at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:40)
at 
org.jboss.system.ServiceConfigurator.processDependency(ServiceConfigurator.java:487)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:364)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
at org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
more not shown

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: TimerService exception in MDB

2004-10-21 Thread eztrip
The sample MDB and stub code has been posted to sourceforge. 

Thanks
Mike

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

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


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


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

2004-10-21 Thread normanfung
CMP - failed to retrieve data from database - but NO exception..

Hi, I've developed this simple CMP to retrieve user Group information from database. 
It failed to retrieve data from database but no exception is thrown (Yes, I stepped 
through the code, nothing happenned). And now I'm kind of stuck without any error 
message to start debuggin with. So, I'm just asking for general advice/direction...

1. CLIENT side
Here's the Strut's action class ** ie. the CLIENT ** (yes, that's where they retrieve 
local proxy to CMP directly, as opposed to doing it thru a session bean):

try {
...
...
BasicConfigurator.configure();
logger.debug(PrepareLoginAction invoked);

context = new InitialContext();
Object ref = context.lookup(groupJNDI);
home = (GroupLocalHome)PortableRemoteObject.narrow(ref, GroupLocalHome.class);

 THAT's MY CMP local proxy: GroupLocal, Nothing is retrieved here by NO 
EXCEPTION 
groups=home.findAllGroups(); 
... 
return mapping.findForward(success);
...
} catch(Exception e) {
  * NO EXCEPTION CAUGHT *
}

2. The CMP GroupBean:

/**
 *  @author [EMAIL PROTECTED]
 *
 *  @ejb.bean   
 *  name=GroupEJB
 *  local-jndi-name=ejb/UserGroup
 *  display-name=User Group EJB
 *  description=User Group EJB
 *  cmp-version=2.x
 *  type=CMP
 *  view-type=local
 *  schema=Group
 *  reentrant=false
 *  primkey-field=UIN
 * 
 *  @ejb.persistence
 *  table-name=GROUPS
 * 
 *  @ejb.finder
 *  query=SELECT OBJECT(g) FROM Group AS g
 *  signature=java.util.Collection findAllGroups()
 * 
 *  @ejb.interface
 *  local-class=com.aa.samples.interfaces.GroupLocal
 * 
 *  @ejb.home
 *  local-class=com.aa.samples.interfaces.GroupLocalHome
 * 
  * @jboss.persistence 
 *  datasource=java:/jdbc/dev01
 *  datasource-mapping=mySQL
 *  create-table=False
 *  remove-table=False
 *  table-name=GROUPS
 * 
 */
public abstract class GroupBean implements EntityBean {
  
  protected EntityContext etx;
  protected Logger logger =Logger.getLogger(GroupBean.class);
  
  /*
   * 1. Implementing Home interface
   */
  
  /**
   * @param name
   * @ejb.create-method
   */
  public Integer ejbCreate(String name, String description) throws CreateException {
BasicConfigurator.configure();
logger.debug(GroupBean.ejbCreate invoked.);

if(name==null) {
throw new CreateException(name null);
}

setName(name);
setDescription(description);

return null;
  }
  
  public void ejbPostCreate(String name, String description) throws CreateException {
BasicConfigurator.configure();
logger.debug(GroupBean.ejbPostCreate invoked.);

return;
  }
  
  /*
   * 2. Persistence methods:
   */  
  
  /**
   * @ejb.persistent-field
   * @ejb.persistence
   *column-name=UIN
   *sql-type=INTEGER
   * @ejb.pk-field
   * @ejb.interface-method
   */
  public abstract   Integer getUIN();
  
  /**
   * @ejb.interface-method
   */
  public abstract void setUIN(Integer UIN);
  
  /**
   * @ejb.persistent-field
   * @ejb.persistence
   *column-name=name
   *sql-type=VARCHAR
   * @ejb.interface-method
   */
  public abstract String getName();
  
  /**
   * @ejb.interface-method
   */
  public abstract void setName(String name);
  
  /**
   * @ejb.persistent-field
   * @ejb.persistence
   *column-name=description
   *sql-type=VARCHAR
   * @ejb.interface-method
   */
  public abstract String getDescription();
  
  /**
   * @ejb.interface-method
   */
  public abstract void setDescription(String description);
  
  /**
   * @ejb.persistent-field
   * @ejb.persistence
   *column-name=isSuspended
   *sql-type=TINYINT
   * @ejb.interface-method
   */
  public abstract Boolean getIsSuspended();
  
  /**
   * @ejb.interface-method
   */
  public abstract void setIsSuspended(Boolean isSuspended);
  
  
  /*
   * 3. Implementing EntityBean interface:
   */
  public void ejbRemove() throws RemoveException {
BasicConfigurator.configure();
logger.debug(GroupBean.ejbRemove invoked.);

return;
  }  
  
  public void ejbLoad() {
BasicConfigurator.configure();
logger.debug(GroupBean.ejbLoad invoked.);

return;
  }

  public void ejbStore() {
BasicConfigurator.configure();
logger.debug(GroupBean.ejbStore invoked.);

return;
  }

  public void 

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

2004-10-21 Thread chiba
Wow, many questions! :)
anonymous wrote : 
  | 1- The ClassPool failed to locate the proper class file unless I specify the full 
path of the class location, eg - ./build/classes/com/org/solution/
  | 
Javassist uses CLASS_PATH.  The real problem in your code is not
the class path.
CtClass clas = pool.get(StringBuilder);
This is unfortunately wrong.  All the class names must be fully
qualified.  So you had needed to say com.org.solution/javaAssist/test/StringBuilder.

(I have a plan to introduce a mechanism similar to import, though.)

anonymous wrote : 
  |  is there any other way besides explicitly put the destination where I want to put 
the newly modified file by calling writeFile(java.lang.String directoryName).
  | 

... Do you really need a way to change the default root directory?
I appreciate if you are satisfied with writeFile(String)... :)

anonymous wrote : 
  | 3- Pruning and Frozen. What does these 2 mean? I know frozen means you can no 
longer modify the class whereas pruning is you can no longer read or load it. Is my 
assumption correct?
  | 

yes, frozen means you cannot modify the class.
Pruning means method bodies in CtClass has been deleted to save
memory space.  This is becaues some users said they processed a
large number of class files and thus caused memory shortage.
You can still read member signatures of pruned CtClass.

However, people including Bill Burke do not seem to like pruning.
This memory space optimization might be turned off in the next
release. :  (pruning is off in the current HEAD in CVS.)

Chiba


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

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


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


[JBoss-user] [Jobs@JBoss] - Inside Sales Representative

2004-10-21 Thread admin
Inside Sales Representative

Come join a rapidly growing enterprise software and services company and the home of 
Professional Open Source.   JBoss, Inc. has immediate openings for Inside 
Sales Representatives to join our Atlanta, Georgia based team.  This is a tremendous 
opportunity to be a part of a fast-paced, leading edge software company that is 
changing the way Middleware software is developed, sold, and supported.  This position 
will report to the Director of North American Sales.  For consideration, please email 
your resume to mailto:[EMAIL PROTECTED]


Essential Job Functions:
In this exciting position, you will - 
-   Gain extensive knowledge of the JBoss cutting edge products
-   Conduct market research to identify potential JBoss clients
-   Generate new business opportunities through outbound call and email campaigns
-   Build relationships with potential client companies
-   Identify client challenges and business needs and opportunities to sell the 
JBoss products and services
-   Drive the generation of revenue through closing business deals
-   Meet monthly sales quota goals and objectives


Required Skills and Experience:
-   1 to 3 years experience performing in an Inside Sales role is required
-   Software sales experience is required
-   Proven track record of success in meeting sales quotas
-   Well spoken with exceptional telephone communication skills
-   Customer service focus
-   High interest in technology and the drive to learn new products
-   High energy and inner drive
-   Ability to work long hours
-   Bachelors Degree required, business degree preferred


Equal Opportunity Employer / Drug Free Workplace

For consideration, please email your resume to mailto:[EMAIL PROTECTED]

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

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


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


[JBoss-user] [Jobs@JBoss] - Senior Developer JBoss Products

2004-10-21 Thread admin
Come join a rapidly growing enterprise software and services company and the home of 
Professional Open Source.  JBoss, Inc. has immediate openings for Developers to be a 
part of a fast-paced, leading edge software company that is changing the way 
Middleware software is developed, sold, and supported.  For consideration, please go 
to www.jboss.com and click on Careers in the upper right hand corner.


Essential Job Functions:
  Lead Developer of JBoss Microkernel (new product development)
  Develop Customer Support structure for JBoss products
  Help form strategy, develop, document, train on microkernel product
  Code development and QA
  Provide onsite support to customers 
  Be responsible for answering technical support questions that come down the 
support queue.  


Required Skills and Experience:
  8+ years of professional work experience.
  5+ years software testing experience using Java, Ant and Junit or similar 
testing frameworks.
  JBoss experience is essestial
  Strong analytical and troubleshooting skills with a focus on quality assurance
  Bachelors Degree in Computer Science or Engineering field is preferred.


Equal Opportunity Employer / Drug Free Workplace


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

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


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


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

2004-10-21 Thread chiba
Oops, another two questions.

anonymous wrote : 
  | but I found out that there's no CtClass.stringType or any String relevant type 
inside. So what if I wanted to add something like private String name inside the 
newly generated VO?
  | 

Use ClassPool#get.

  | ClassPool pool = ... ;
  | CtClass stringType = pool.get(java.lang.String);
  | 

Or use CtField#make.


  | CtClass cc = ... ;
  | CtField f = CtField.make(private java.lang.String name;, cc);
  | cc.addField(f);
  | 

Chiba

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

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


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


[JBoss-user] [Installation Configuration] - Re: How to change value of jboss.bind.address?

2004-10-21 Thread [EMAIL PROTECTED]
Use -b or --host on the command line passed to jboss to set this property.

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

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


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


[JBoss-user] [Security JAAS/JBoss] - Re: HTTPS plz heellp

2004-10-21 Thread jtccia1
Every ssl setup step may have problems, from your question it is a little difficult to 
identify what is wrong.
I understand you only have problem with the config stuff, but may be you did not find 
where to make the config, or your are having an error trying to configure, or 
..
Please have a look a Enabling SSl on JBoss  
http://www.theserverside.com/discussions/thread.tss?thread_id=22243;
even thou is almost a year old it works fine on jboss-3.2.5 with tomcat5.0

Regards.

Jaime Torres C.

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

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


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


[JBoss-user] [Javassist user questions] - Re: problem with xml parser

2004-10-21 Thread chiba
Due to some dark side of Java class loaders,
several classes must be loaded by the same
class loader as other jre classes.

If you're interesting, please read Section 3.2
in the Javassist tutorial.


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

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


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


[JBoss-user] [EJB/JBoss] - This may help...

2004-10-21 Thread normanfung
This may help...

23:15:41,553 INFO  [RequestProcessor] Processing a 'POST' for path 
'/prepareLoginAction'
23:15:48,368 INFO  [STDOUT] 461330 [http-0.0.0.0-8080-Processor25] DEBUG 
com.aa.samples.actions.PrepareLoginAction  - PrepareLoginAction invoked
ERROR: invalid console appender config detected, console stream is looping23:15:53,559 
INFO  [STDOUT] 466521 [http-0.0.0.0-8080-Processor25] DEBUG 
com.aa.samples.beans.GroupBean  - GroupBean.setEntityContext invoked.
23:15:53,561 INFO  [STDOUT] 466521 [http-0.0.0.0-8080-Processor25] DEBUG 
com.aa.samples.beans.GroupBean  - GroupBean.setEntityContext invoked.
23:15:53,566 INFO  [STDOUT] 466528 [http-0.0.0.0-8080-Processor25] DEBUG 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.GroupEJB#findAllGroups  - Executing SQL: 
SELECT t0_g.UIN FROM GROUPEJB t0_g
23:15:53,568 INFO  [STDOUT] 466528 [http-0.0.0.0-8080-Processor25] DEBUG 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.GroupEJB#findAllGroups  - Executing SQL: 
SELECT t0_g.UIN FROM GROUPEJB t0_g

... nothing related to JDBC/exceptions...

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

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


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


[JBoss-user] [Javassist user questions] - Re: problem with xml parser

2004-10-21 Thread chiba
And you do not have to modify Loader class.
Please call Loader#delegateLoadingOf()
instead of using the patch code above.

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

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


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


[JBoss-user] [JCA/JBoss] - ManagedConnectionFactory is null

2004-10-21 Thread hamtan
Hi

I am using jboss-3.2.3 on unix and have some problems in production with datasources. 
Everytime a database is restarted or i change something in a datasource, i have to 
restart also my JBoss nodes too.

I get following error:  

Caused by: javax.resource.ResourceException: You are trying to use a connection
factory that has been shut down: ManagedConnectionFactory is null.

I tried to stop, destroy, create and start new ManagedConnectionFactories by JMX 
console, but it didn't work. Any Ideas?

Thanks,
Hamid

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

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


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


[JBoss-user] [Installation Configuration] - Re: UDP warnings in the log file

2004-10-21 Thread [EMAIL PROTECTED]
The all configuration contains many services generally not needed, and if your not 
using clustering you should not be starting with the all configuration. What is in all 
that you need? 

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

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


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


[JBoss-user] [EJB/JBoss] - Re: NullPointerException: at org.jboss.ejb.plugins.local.Loc

2004-10-21 Thread tmike
tks for the quick reply...

I am guessing if i use local interface, I can't test it by writing a simple client 
code(since it'll be run on its own vm)but I'll able to test it through a servlet 
connection or something.

if I let my servlet use remote ejb interfaces to access ejb beans, would it be 
optimized by jboss?...for ex. jboss will notice that servlet and beans exist in same 
vm, and do something about it(make it reference locally or something?)..

tks!!

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

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


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


[JBoss-user] [Beginners Corner] - Duke? problems with Jboss 4.0 on linux

2004-10-21 Thread hotstone
I'm using the following configuration:
server is called tutorial and is equal to the standard server.

Win2K PC
16:54:19,997 INFO  [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 
date=200409200418)
16:54:19,997 INFO  [Server] Home Dir: D:\MyFiles\dev\env\jboss-4.0.0
16:54:19,997 INFO  [Server] Home URL: file:/D:/MyFiles/dev/env/jboss-4.0.0/
16:54:19,997 INFO  [Server] Library URL: file:/D:/MyFiles/dev/env/jboss-4.0.0/lib/
16:54:20,007 INFO  [Server] Patch URL: null
16:54:20,007 INFO  [Server] Server Name: tutorial
16:54:21,449 INFO  [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
16:54:21,449 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Sun 
Microsystems Inc.
16:54:21,449 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86

Linux PC
16:22:56,420 INFO  [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 
date=200409200418)
16:22:56,421 DEBUG [Server] Using config: [EMAIL PROTECTED]
16:22:56,421 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
16:22:56,421 INFO  [Server] Home Dir: /opt/jboss-4.0.0
16:22:56,422 INFO  [Server] Home URL: file:/opt/jboss-4.0.0/
16:22:56,423 INFO  [Server] Library URL: file:/opt/jboss-4.0.0/lib/
16:22:56,425 INFO  [Server] Patch URL: null
16:22:56,426 INFO  [Server] Server Name: tutorial
16:22:57,918 INFO  [ServerInfo] Java version: 1.4.2,Blackdown Java-Linux Team
16:22:57,918 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
Blackdown-1.4.2-fcs,Blackdown Java-Linux Team
16:22:57,919 INFO  [ServerInfo] OS-System: Linux 2.6.5-7.108-default,i386

The linux system doesn't run a XServer.


on win2k everything wents fine incl. the Duke example.
I can access the Duke's bank from local win2k PC as well from a Linux PC via remote 
access.


Running Jboss on linux the problems start when changing the hsqldb-ds.xml file 
according the Getting Started Docu.

  !-- for tcp connection, allowing other processes to use the hsqldb
  database. This requires the org.jboss.jdbc.HypersonicDatabase mbean.
--
  connection-urljdbc:hsqldb:hsql://localhost:1701/connection-url

  !-- for totally in-memory db, not saved when jboss stops. 
  The org.jboss.jdbc.HypersonicDatabase mbean necessary
  connection-urljdbc:hsqldb:./connection-url
--
  !-- for in-process persistent db, saved when jboss stops. The
  org.jboss.jdbc.HypersonicDatabase mbean is necessary for properly db shutdown
  
connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB/connection-url
--

   !-- This mbean should be used only when using tcp connections. Uncomment
   when the tcp based connection-url is used.
--
   
 1701
 true
 default
 true
 true
   


Doing a hot deploy of the file a get the following Exception 
16:49:05,219 ERROR [HiLoKeyGeneratorFactory] Starting failed 
jboss:service=KeyGeneratorFactory,type=HiLo
javax.naming.CommunicationException [Root exception is 
java.io.NotSerializableException: org.jboss.tm.TxManager]
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:451)
...

Restarting JBOSS gives no Errors 

Deploying the ear file on the linux PC ends up with the following
17:13:30,503 INFO  [EARDeployer] Init J2EE application: 
file:/opt/jboss-4.0.0/server/tutorial/deploy/JBossDukesBank.ear
17:13:31,898 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class 
that implements the enterprise bean's
 business methods in the ejb-class element.
Info   : Class not found on 'com.sun.ebank.ejb.customer.CustomerBean': Unexpected 
error during load of: com.sun.ebank.ej
b.customer.CustomerBean, msg=com/sun/ebank/ejb/customer/CustomerBean (Unsupported 
major.minor version 49.0)

17:13:31,902 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class 
that implements the enterprise bean's
 business methods in the ejb-class element.
Info   : Class not found on 'com.sun.ebank.ejb.account.AccountBean': Unexpected error 
during load of: com.sun.ebank.ejb.
account.AccountBean, msg=com/sun/ebank/ejb/account/AccountBean (Unsupported 
major.minor version 49.0)

17:13:31,906 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class 
that implements the enterprise bean's
 business methods in the ejb-class element.
Info   : Class not found on 'com.sun.ebank.ejb.tx.TxBean': Unexpected error during 
load of: com.sun.ebank.ejb.tx.TxBean,
 msg=com/sun/ebank/ejb/tx/TxBean (Unsupported major.minor version 49.0)

17:13:31,910 WARN  [verifier] EJB spec violation:
Bean   : AccountControllerBean
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class 
that implements the enterprise bean's
 business methods in the ejb-class element.
Info   : Class 

[JBoss-user] [Javassist user questions] - Re: Question on CtClass FieldAccess, and ExprEditor

2004-10-21 Thread chiba
anonymous wrote : 1. Methods such as getMethods, getMethod, getClassInitializer are 
not implemented functionable in CtClass. Are we expecting them to be implemented soon?

CtClass is an abstract class!  Those methods have been implemented
in CtClassType.  The implementation in CtClass is mainly for primitive
types.

anonymous wrote : 2. In FieldAccess class, why isn't there a getOpcode() function?

Do you want to know which the opcode is, getstatic, getfield, putstatic,
or putfield?  If yes, you can instead use FieldAccess#isStatic(), #isReader(),
#isWriter().

anonymous wrote : However, this does not work anymore as the static method 
ClassPool.GetDefault() does not take Translator as parameter anymore in javassist 3.

Yes, the article http://www-106.ibm.com/developerworks/java/library/j-dyn0302.html 
depends on 2.6.

I showed a modified version of Listing 3 in the article above:


  | public class Dissect
  | {
  | public static void main(String[] args) {
  | if (args.length = 1) {
  | try {
  | // set up class loader with translator
  | Translator xlat = new DissectionTranslator();
  | ClassPool pool = ClassPool.getDefault();
  | Loader loader = new Loader();
  | loader.addTranslator(pool, xlat);
  | 
  | // invoke the main method of the application class
  | String[] pargs = new String[args.length-1];
  | System.arraycopy(args, 1, pargs, 0, pargs.length);
  | loader.run(args[0], pargs);
  | } catch (Throwable ex) {
  | ex.printStackTrace();
  | }
  | } else {
  | System.out.println
  | (Usage: Dissect main-class args...);
  | }
  | }
  | 
  | public static class DissectionTranslator implements Translator
  | {
  | public void start(ClassPool pool) {}
  | public void onLoad(ClassPool pool, String cname)
  | throws NotFoundException, CannotCompileException {
  | System.out.println(Dissecting class  + cname);
  | CtClass clas = pool.get(cname);
  | clas.instrument(new VerboseEditor());
  | }
  | }

In 3.0, Translator must be passed to Loader instead of ClassPool.
Translator#onWrite() was renamed into #onLoad because of this
move.  This is for clarifying the role of ClassPool (and also to make
Javassist work better with JBoss AOP. :p)


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

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


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


[JBoss-user] [Advanced Documentation] - Re: How up to date is the Pay-for documentation?

2004-10-21 Thread [EMAIL PROTECTED]
An update for 3.2.6 is due out next week. This will be made available through the free 
online member plus docs so you can get it there.

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

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


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


[JBoss-user] [Beginners Corner] - Re: setting up jk module. Where's mistake?

2004-10-21 Thread mi1291
my workers.properties file:


  | 
  | worker.list=pippo
  | 
  | 
  | 
  | # Define pippo
  | worker.pippo.port=8009
  | worker.pippo.host=pippo.balena.homeip.net
  | worker.pippo.type=ajp13
  | worker.pippo.lbfactor=3.5
  | #worker.pippo.local_worker=1 
  | worker.pippo.cachesize=10

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

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


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


[JBoss-user] [Persistence CMP/JBoss] - JBoss and Oracle 9i r2 Problem

2004-10-21 Thread khatib
Hello , i am using Jboss 3.2.4 and Oracle 9i release 2 , when i try to create a CMP 
entity bean and invoke a create method , i get an exception , here is the 
oracle-data-source that i use

Any help ?

Thanks

Abdullah Khatib


?xml version=1.0 encoding=UTF-8?

!-- = --
!--   --
!--  JBoss Server Configuration   --
!--   --
!-- = --

!-- $Id: oracle-xa-ds.xml,v 1.1.2.14 2004/04/19 12:47:36 ejort Exp $ --

!-- = --
!-- ATTENTION:  DO NOT FORGET TO SET Pad=true IN transaction-service.xml  --
!-- = --


  xa-datasource
jndi-nameXAOracleDS/jndi-name
track-connection-by-txtrue/track-connection-by-tx
isSameRM-override-valuefalse/isSameRM-override-value
xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class
xa-datasource-property 
name=URLjdbc:oracle:thin:@amanda:1521:karak/xa-datasource-property
xa-datasource-property name=Usernew_nnh/xa-datasource-property
xa-datasource-property name=Passwordnew_nnh/xa-datasource-property
!-- Uses the pingDatabase method to check a connection is still valid before 
handing it out from the pool --

!--valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name--
!-- Checks the Oracle error codes and messages for fatal errors --

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
!-- Oracles XA datasource cannot reuse a connection outside a transaction once 
enlisted in a global transaction and vice-versa --
no-tx-separate-pools/
  /xa-datasource

  
depends 
optional-attribute-name=TransactionManagerServicejboss:service=TransactionManager
  



Here is the Exception Trace :


log4j:WARN No appenders could be found for logger (org.jboss.util.NestedThrowable).
log4j:WARN Please initialize the log4j system properly.
org.jboss.tm.JBossTransactionRolledbackException: null; nested exception is: 
org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=karak//14, BranchQual=] 
status=STATUS_NO_TRANSACTION; - nested throwable: (oracle.jdbc.xa.OracleXAException); 
- nested throwable: (org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=karak//14, BranchQual=] 
status=STATUS_NO_TRANSACTION; - nested throwable: (oracle.jdbc.xa.OracleXAException))
at 
org.jboss.ejb.plugins.TxInterceptorCMT.throwJBossException(TxInterceptorCMT.java:550)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:461)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:324)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at 

[JBoss-user] [Beginners Corner] - commons-logging inside JBoss4.0

2004-10-21 Thread zwerg-aldi
Hi all,

does anybody has an idea how to build a logger that implements 
org.apache.commons.logging.Log and that works properly inside JBoss4.0? My first guess 
was to create a DelegatingLogger which gets a reference to an org.jboss.logging.Logger 
and which delegates all logging requests to this logger. For example:


  | public class DelegatingLogger implements Log {
  | 
  | // the JBoss logger this logger should delegate all request to
  | private Logger _delegate;
  | 
  | ...
  | 
  | public void trace(Object msg) {
  | 
  |if (_delegate.isTraceEnabled()  msg != null)
  |_delegate.trace(msg);
  | }
  | 
  | ...
  | }
  | 

First everything seems to work fine. But when I tried to resolve the location where 
the logging event was triggert, always the DelegatingLogger was detected. Scanning the 
source code of  org.jboss.logging.Logger and org.jboss.logging.Log4jLoggerPlugin I 
realised that there seems to be no solution for my problem, since the JBoss-logger is 
hard-coded as triggering logger in the  Log4jLoggerPlugin.
Am I completly wrong with my approach? Does someone has a better idea how to use 
commons-logging whithin JBoss.

Thanks,
Thomas

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Specify JNDI Name for Queue or Topic

2004-10-21 Thread robisz
You should use attribute element instead of depends.

attribute name=JNDINamecom.intelliden.icos.kernel.event.EVENT_TOPIC/attribute

See these pages:
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigQueue
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigTopic

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

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


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


[JBoss-user] [Installation Configuration] - JSP Development in Jboss

2004-10-21 Thread vijaygrk
I changed the jboss-3.2.6\server\default\deploy\jbossweb-tomcat50.sar\server.xml  and 
included the following 
Context path=/facility docBase=C:\Projects\VFA7\src\facility reloadable=false 
debug=0/. The reason for doing this is to do jsp development in jboss. But when i 
access the jsp page i get the following error
org.apache.jasper.JasperException: Unable to compile class for JSP
  | 
  | Generated servlet error:
  | 
C:\jboss-3.2.6\server\default\work\jboss.web\localhost\facility\org\apache\jsp\list_jsp.java:3:
 package javax.servlet does not exist
  | import javax.servlet.*;
  | ^

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

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


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


[JBoss-user] [Installation Configuration] - Re: UDP warnings in the log file

2004-10-21 Thread gubenc2
Dear Scott,

We use the all configuration because we use 
havy clients which need RMI access to our beans.
As far as we know the default configuration does
not contain RMI. I tried the default configuration
with a session bean with remote interface and 
could not deploy it until I removed the remote
interface. There were no such problem in the
all configuration.

Regards,
Gabor Herman 
Software Developer
FlexiTon Kft.



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

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


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


[JBoss-user] [Beginners Corner] - Re: Duke Bank Example

2004-10-21 Thread stevewong
The problem was due to ANT 1.5.2 comes with Fedora Core 2, after installing a new 
version of ANT 1.6.2, those error do not appear.

Thanks

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

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


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


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

2004-10-21 Thread rburdo
Hello,

What JBoss version do you use? I consider using JBoss singleton as well over JBoss 
3.2.5 .

Thanks

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

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


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


[JBoss-user] [Clustering/JBoss] - HA-JNDI and jndi.properties

2004-10-21 Thread monocongo
I'm unable to start the NamingService when I set the java.naming.provider.url property 
in jndi.properties to the URL for the HA-JNDI tree.  When I set this property to 
anything other than localhost:1099 (or jnp://localhost:1099, or nothing at all) then 
JBoss complains when starting up the NamingService:


  | 13:30:37,596 WARN  [NamingService] Context.PROVIDER_URL in server jndi.properties, 
url=localhost:1100
  | 13:30:37,940 WARN  [NamingContext] Failed to connect to localhost:1100
  | javax.naming.CommunicationException: Failed to connect to server localhost:1100 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect to 
server localhost:1100 [Root exception is java.net.ConnectException: Connection 
refused]]
  | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
  | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
  | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:468)
  | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:461)
  | at javax.naming.InitialContext.bind(InitialContext.java:355)
  | 
  | etc...
  | 

It seems that the NamingService uses the values in this properties file, and since the 
HANamingService, which provides the HA-JNDI tree at the port I'm specifying in 
jndi.properties, hasn't been started yet (it gets started later on when 
cluster-service.xml is processed) the NamingService fails to connect.

I'm working around this by omitting the java.naming.provider.url property in 
jndi.properties, and in my Java codes specifying the HA-JNDI port in a Hashtable which 
I pass to the InitialContext constructor.  So if I need to change the port number for 
HA-JNDI I must modify all of my Java source files instead of making the change in 
jndi.properties. 

Is there a way around hard-coding these InitialContext properties in my Java sources, 
and go back to using the jndi.properties file instead ?  I'd much rather specify these 
properties in a single file than in twenty or more Java source files.

Thanks in advance for any suggestions.


--James

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

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


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


[JBoss-user] [JBoss.NET] - Help Please.... No provider type matches QName

2004-10-21 Thread sureshkt
Hi All,

I tried to tie a web serice to an EJB. I followed the sample given in the Axis 
disitribution (in samples/ejb). I have a stateless session bean and i was trying to 
deploy that as webservice...I have copied all the axis WEB-INF stuff into my 
application war file...and merged the web.xml of axis with my application 
web.xml...(the one that is given in the webapps directory of the distribution). 

However, in JBoss 4.0.0, Axis complains like this when I try to reach 
http://localhost:8080/servlet/AxisServlet (after having deployed the 
WSDD file of my service, without apparent trouble) :  I could see the 
* AdminService (wsdl) 
* AdminService 
* Version (wsdl) 
   * getVersion 

But when i deploy the service using the below WSDD through command line with 
AdminClient program ..i am getting the following exception..

Sorry, something seems to have gone wrong... here are the details:

Exception - org.apache.axis.ConfigurationException: 
org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName 
'{http://xml.apache.org/axis/wsdd/providers/java}EJB'
org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName 
'{http://xml.apache.org/axis/wsdd/providers/java}EJB'
at 
org.apache.axis.deployment.wsdd.WSDDProvider.getInstance(WSDDProvider.java:206)
.

It looks like Axis can't find the EJB provider, and I have not much clue where 
to start to look... Another thing to note is that if I /don't/ deploy my WSDD 
file, then the http://localhost.../AxisServlet page just displays fine... It 
starts to fail as soon as I deploy the WSDD. 

My WSDD is like this : 

?xml version=1.0 encoding=UTF-8?
deployment xmlns=http://xml.apache.org/axis/wsdd/; 
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
service name=MLoginService provider=java:EJB
   parameter name=beanJndiName value=com.airejb.administrator/
   parameter name=homeInterfaceName value=com.airejb.AdministratorHome/
   parameter name=remoteInterfaceName value=com.airejb.Administrator/
   parameter name=className value=AdministratorBean /
   parameter name=allowedMethods value=getParent/
   parameter name=jndiURL value=jnp://localhost:1099/
   parameter name=jndiContextClass value=org.jnp.interfaces.NamingContextFactory/
/service
/deployment

Sorry i had to remove the  in this posting otherwise the full XML is not getting 
posted.. But my WSDD has the  before parameter and service..

Thanks in Advance

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - HAJMS failover takes about 3 minutes

2004-10-21 Thread sheckler
HAJMS failover (JBoss 3.2.5) takes about 3 minutes with many exceptions
logged several times like  

[org.jboss.mq.Connection] Connection failure: 
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected: 
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
 [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not stop JMS connection
org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - 
nested throwable: (java.io.IOException: Client is not connected))
2004-10-21 20:30:13,343 INFO  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Reconnected to JMS provider
2004-10-21 20:30:13,375 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS 
provider failure detected: 
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory

[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider

At the end the web-console shows the new master.

Is this throwing of many exceptions for about 3 minutes  normal behaviour or could 
there be some misconfiguration?
Can I speed up the failover by configuration?

Thanks in advance

Stefan Heckler
PSI AG, Germany



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

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


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


[JBoss-user] [Installation Configuration] - No type mapping definition for postgreSQL in Jboss 3.2.6

2004-10-21 Thread beyarecords
Hi,
I have just downloaded the the JBoss 3.2.6 and am in the process of hooking in 
postgreSQL 7.4.1 via jndi. After reading the document,  'Getting Started with JBoss', 
I proceeded to amend standjbosscmp-jdbc.xml and standardjaws.xml so as to use 
postgreSQL types but there is no definition for postgreSQL in either file! Can someone 
tell me where I can obtain a type definition for postgreSQL which I can pace in the 
mentioned files? 

I am running Jboss on OSX.

many thanks in advance

Andrew

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - How to detect if a message is being released more than once

2004-10-21 Thread ianh
Env: JBoss 3.2.1 

is there a way within a MessageDrivenBean to detect whether
or not a JMS message has been previously released?  

We are using ContainerAck in the MDB so in the case of a failure 
the message is being resent from JMS. But within the MDB, we would
like to detect this condition and perform any necessary operations 

Is that possible? 

Thanks.


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

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


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


[JBoss-user] [JBoss.NET] - Re: NameSpace Issues

2004-10-21 Thread Sudhad
Sudhad wrote : Is there a document or article which points to configuration of 
web-service.xml ?
  | 
  | Looks like I am miss configuring things on my web-service.xml which  is pasted 
below. Aim is to expose the StudentEJB as a WebService and the Vignette Builder is 
used to expose the EJB as a Portlet Application.
  | 
  | The issue is the generated wsdl file is so complicated that there are 4 namespaces 
and I am wondering why?
  | 
  | web-service.xml:
  | !-- Example Web Service Descriptor  for Console Client HelloClient and EJB Based 
Client TestHelloClient --
  | deployment xmlns=http://xml.apache.org/axis/wsdd/; 
targetNamespace=http://net.jboss.org/hello; xmlns:hello=http://net.jboss.org/hello; 
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
  | !-- 
  |  this is an extension to the Axis deployment descriptor which allows to
  | specify the naming environment for the deployed ws logic 
  | 
  |   -- 
  | 
  |
  |
  |
  |
  |   
  |
  |   
  |   
  |
  |
  |   
  |   
  | 
  |   
  |
  |
  |   
  |
  |   
  |   
  |
  |
  |   
  | 
  |   
  |
  |
  |
  |
  | 
  | 
  |   
  | 
  |
  |   
  | Another thing is the StudentListDataBean (a value Object) extends BaseDataBean 
which implements the  serilizable interface.
  | 
  | Question is should I use type mapping for BaseDataBean too? In other words the 
inherited class too?
  | 
  | Or is some parameter/configuration I missing.
  | 
  | Any help on this is highly appreciated.
  | 
  | Sudha
  | 

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

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


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


[JBoss-user] [JBoss.NET] - NameSpace Issues

2004-10-21 Thread Sudhad
Is there a document or article which points to configuration of web-service.xml ?

Looks like I am miss configuring things on my web-service.xml which  is pasted below. 
Aim is to expose the StudentEJB as a WebService and the Vignette Builder is used to 
expose the EJB as a Portlet Application.

The issue is the generated wsdl file is so complicated that there are 4 namespaces and 
I am wondering why?

web-service.xml:
!-- Example Web Service Descriptor  for Console Client HelloClient and EJB Based 
Client TestHelloClient --
deployment xmlns=http://xml.apache.org/axis/wsdd/; 
targetNamespace=http://net.jboss.org/hello; xmlns:hello=http://net.jboss.org/hello; 
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
!-- 
 this is an extension to the Axis deployment descriptor which allows to
specify the naming environment for the deployed ws logic 

  -- 

   
   
   
   
  
   
  
  
   
   
  
  

  
   
   
  
   
  
  
   
   
  

  
   
   
   
   


  

   
  

Another thing is the StudentListDataBean (a value Object) extends BaseDataBean which 
implements the  serilizable interface.

Question is should I use type mapping for BaseDataBean too? In other words the 
inherited class too?

Or is some parameter/configuration I missing.

Any help on this is highly appreciated.

Sudha


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

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


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


[JBoss-user] [Persistence CMP/JBoss] - DeploymentException: Mappings were not provided

2004-10-21 Thread [EMAIL PROTECTED]
I'm running:
  - JBoss 3.2.3
  - Xdoclet 1.2.1
  - MySQL 4.0.21
  - Linux RedHat 9

I have what seems to be a rather classic data model:

Items:
  - itemId
  - price
  - cost
  - size
  - productId

Products:
  - productId
  - name
  - desc
  - categoryId

Category:
  - categoryId
  - name
  - desc

A category consists of a number of products, a product consists of a number of 
(individual) items.  I also need composite keys on the DB tables (to guard against 
rows containing the same ID value).  For 'Item' table, composite key is 
'itemId-productId', for 'Products' table, key is 'productId-categoryId'.

I have CMP beans for each and I can get the relationship set (and working!) between 
Items and Products (But products with only 'productId' as PK).

It seems that I have to specify a CMP field (in my ItemBean) for the 'productId' in 
order to get the 'ItemPK' class generated with a composity key.

My (abbrieviated) Xdoclet tags for ItemBean look like:

 /**  Class tag
 * @ejb.bean  name=Item  type=CMP  view-type=local
 *  schema=Item  cmp-version=2.x
 */
public abstract class ItemBean implements EntityBean {
/**
 * @ejb.pk-field
 * @ejb.persistence   column-name=itemId
 * @ejb.interface-method
 * @ejb.transaction   type=Supports
 */
public abstract String getItemId(  );
public abstract void setItemId( String ItemId );

/**
 * @ejb.pk-field
 * @ejb.persistence   column-name=productId
 * @ejb.interface-method
 * @ejb.transactiontype=Supports
 */
public abstract String getProductId(  );
public abstract void setProductId( String ProductId );

/**
 * @ejb.interface-method
 * @ejb.relation   name=product-items
 *  role-name=item-belongs_to-product
 *  cascade-delete=yes
 *
 * @jboss.relation
 *  fk-column=productId
 *  related-pk-field=productId
 *  fk-contraint=true
 *
 */
public abstract ProductLocal getProduct(  );
public abstract void setProduct( ProductLocal product );
.
}

My ProductBean class looks similar (with field names changed, of course).  If I just 
specify a single '@ejb.pk-field' (on productId) in the ProductBean, I can get the 
Item/Product stuff work just fine.  However, when I add the 'categoryId' CMP field 
(e.g., add another '@ejb.pk-field' for the 'categoryId') the deployment fails.  It 
seems I need to add this 'ejb.pk-field' in the ProductBean to get a composite key 
generated in the ProductPK class (productId-categoryId composite key).

Here's what JBoss says when I try to deploy this set of beans:

2004-10-21 15:06:07,142 INFO  [org.jboss.ejb.EjbModule] Deploying Item
2004-10-21 15:06:07,177 INFO  [org.jboss.ejb.EjbModule] Deploying Product
2004-10-21 15:06:08,023 ERROR [org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Mappings were not provided for all fields: 
unmaped fields=[categoryId] in role=product-has-items

Wha?  Why would the 'product-has-items' relationship care about the 'categoryId' 
field?  Is there a simple solution?

Thanks,
R


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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Specify JNDI Name for Queue or Topic

2004-10-21 Thread randyott
Thanks.  That did the trick.

Randy

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-21 Thread monocongo
I have worked this out and can access the RMIAdaptor from a non-master node.  Here is 
the jboss-service.xml of the jmx-invoker-adaptor-server.sar which was copied from 
deploy to deploy-hasingleton:


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | !-- $Id: jboss-service.xml,v 1.1.2.9 2004/03/15 08:19:03 ejort Exp $ --
  | server
  | 
  |!-- The JRMP invoker proxy configuration for the InvokerAdaptorService --
  |mbean code=org.jboss.invocation.jrmp.server.JRMPProxyFactory
  |   
name=jboss.jmx:type=adaptor,name=SingletonInvoker,protocol=jrmp,service=proxyFactory
  |   !-- Use the standard JRMPInvoker from conf/jboss-service.xxml --
  |   depends 
optional-attribute-name=InvokerNamejboss:service=invoker,type=jrmp/depends
  |   !-- The target MBean is the InvokerAdaptorService configured below --
  |   depends 
optional-attribute-name=TargetNamejboss.jmx:type=adaptor,name=SingletonInvoker/depends
  |   !-- Where to bind the RMIAdaptor proxy --
  |   attribute name=JndiNamejmx/invoker/SingletonRMIAdaptor/attribute
  |   !-- The RMI compabitle MBeanServer interface --
  |   attribute name=ExportedInterfacesorg.jboss.jmx.adaptor.rmi.RMIAdaptor,
  |  org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
  |   /attribute
  |   attribute name=ClientInterceptors
  |   interceptors
  |  interceptororg.jboss.proxy.ClientMethodInterceptor/interceptor
  |  interceptororg.jboss.proxy.SecurityInterceptor/interceptor
  |  
interceptororg.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor/interceptor
  |  interceptororg.jboss.invocation.InvokerInterceptor/interceptor
  |   /interceptors
  |   /attribute
  |/mbean
  | 
  |!-- This is the service that handles the RMIAdaptor invocations by routing
  |them to the MBeanServer the service is deployed under.  --
  |mbean code=org.jboss.jmx.connector.invoker.InvokerAdaptorService
  |   name=jboss.jmx:type=adaptor,name=SingletonInvoker
  |   xmbean-dd=
  |   xmbean
  |  descriptionThe JMX Detached Invoker Service/description
  |  classorg.jboss.jmx.connector.invoker.InvokerAdaptorService/class
  | 
  |  !-- Attributes --
  |  attribute access=read-only getMethod=getName
  | descriptionThe class name of the MBean/description
  | nameName/name
  | typejava.lang.String/type
  |  /attribute
  |  attribute access=read-only getMethod=getState
  | descriptionThe status of the MBean/description
  | nameState/name
  | typeint/type
  |  /attribute
  |  attribute access=read-only getMethod=getStateString
  |  descriptionThe status of the MBean in text form/description
  | nameStateString/name
  | typejava.lang.String/type
  |  /attribute
  |  attribute access=read-write getMethod=getExportedInterfaces 
setMethod=setExportedInterfaces
  | descriptionThe interfaces the invoker proxy supports/description
  | nameExportedInterfaces/name
  | type[Ljava.lang.Class;/type
  |  /attribute
  |  attribute access=read-only getMethod=getMethodMap
  | descriptionMap(Long hash, Method) of the proxy interface 
methods/description
  | nameMethodMap/name
  | typejava.util.Map/type
  |  /attribute
  |  !-- Operations --
  |  operation
  | descriptionThe start lifecycle operation/description
  | namestart/name
  |  /operation
  |  operation
  | descriptionThe stop lifecycle operation/description
  | namestop/name
  |  /operation
  |  operation
  | descriptionThe detyped lifecycle operation (for internal use 
only)/description
  | namejbossInternalLifecycle/name
  | parameter
  |descriptionThe lifecycle operation/description
  |namemethod/name
  |typejava.lang.String/type
  | /parameter
  | return-typevoid/return-type
  |  /operation
  | 
  |  operation
  | descriptionThe detached invoker entry point/description
  | nameinvoke/name
  | parameter
  |descriptionThe method invocation context/description
  |nameinvocation/name
  |typeorg.jboss.invocation.Invocation/type
  | /parameter
  | return-typejava.lang.Object/return-type
  | !-- Uncomment to require authenticated users
  | descriptors
  |interceptors
  |   interceptor 
code=org.jboss.jmx.connector.invoker.AuthenticationInterceptor
  |  securityDomain=java:/jaas/jmx-console/
  |/interceptors
  | 

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

2004-10-21 Thread monocongo
I'm using version 3.2.5 on Solaris and Linux machines.

Once I finally have everything worked out I will post a forum message or Wiki entry 
outlining all of the steps I needed to take to get this working.  Hopefully it will 
help other developers who want to use Singletons in a clustered JBoss application 
avoid the headaches I've gone through.

My advice: buy a support contract or perhaps a few hours of consulting if like me you 
go this route and don't know what you're doing.  I imagine that it would be well worth 
the expense in terms of time saved, if it's within your budget.  (Of course if we had 
that kind of cash available we might not be using a free application server in the 
first place.)


--James

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

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


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


[JBoss-user] [Beginners Corner] - HTMLAdaptor

2004-10-21 Thread b_keerthi
Can anyone show an example of how to use HTMLAdaptor to get access to the MBeanServer?

Also if I want to access the MBeanServer remotely from an application running on a 
different machine, how can I do this?

I have does the same using RMI Adaptor it is working. But I want to know how to use 
HTMLAdaptor. Let me know the step to configure and a sample code.

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

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


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


[JBoss-user] [Installation Configuration] - Re: Datasource Problem

2004-10-21 Thread ausfight
No one has seen this problem?

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

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


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


[JBoss-user] [Persistence CMP/JBoss] - Re: using hibernate in jboss-4.0.0

2004-10-21 Thread beyarecords
berkgypsy wrote : more changes to make this 4.0.0 compatible, and now it's working, 
for those interested:
  | 
  | 
  |   | server
  |   | mbean code=org.jboss.hibernate.jmx.Hibernate 
name=jboss.har:service=Hibernate
  |   | dependsjboss.jca:service=LocalTxCM,name=TxOracleDS/depends
  |   | 
  |   | attribute name=SessionFactoryNamejava:/HibernateFactory/attribute
  |   | attribute name=DatasourceNamejava:/TxOracleDS/attribute
  |   | attribute 
name=Dialectnet.sf.hibernate.dialect.Oracle9Dialect/attribute
  |   | attribute 
name=CacheProviderClassnet.sf.hibernate.cache.HashtableCacheProvider/attribute
  |   | attribute name=Hbm2ddlAutoupdate/attribute
  |   | /mbean
  |   | 
  |   | /server
  |   | 
  |   | 


Hi,
i'm at the stage you were at when wrtting this article and well and truely stuck. My 
structure thus far is:

hibernate.har

inside the .har file I have two folders
1. meta-inf - containing hibernate-service.xml

2. test - containing my *.Class and *.hbm.xml files (Is this correct ?)
Do i have to call the test folder test.war or some such name?

In what file do i specify my mapresources? is it the hibernate-service.xml file 
itself? If so how do I specify the files.

I have scaned the available resources on this issue but the solutions are for 
different incarnations of jboss which have all have different implentations, and thus 
don't work.

I am currently running JBoss 3.2.6

many thanks for your help and time


Andrew

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

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


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


[JBoss-user] [Beginners Corner] - Re: zip exception: error in opening zip file

2004-10-21 Thread Raist_Majere
Try opening the ear file with WinZip or similiar program. If winzip complains that the 
file cannot be opened, then the file is probably corrupted and you should deploy 
another working copy of that file.
If the file is not corrupted, sometimes happened to me that the temp files of previous 
deployments interfered some way with the new deployment, so another thing you can try 
is to delete all temp files (with JBoss stopped). Hope this helps, 'cause these are 
the two cases I've found when using JBoss before...


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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - load balancing MDB in 3.2.6

2004-10-21 Thread toadie
there's an article on WIKI that talks about load balancing MDB in 3.2.4RC2.   

http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA


as well as an excerpt from a post in the forums (posted by [EMAIL PROTECTED])

http://www.jboss.org/index.html?module=bbop=viewtopict=49051

anonymous wrote : I'm using 3.2.4RC2 (April 13th drop), which according to Adrian 
doesn't have load-balancing capabilities for MDBs across a cluster. So, I thought I'd 
post my solution for load-balanced, fault-tolerant MDBs that use the new HA-JMS in a 
cluster. 


Does what Jason proposed still apply for 3.2.6 or has 3.2.6 incorporated this? 




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

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


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


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

2004-10-21 Thread Raist_Majere
I've seen an error in your code: you try to retrieve a local home interface in the 
same way you retrieve a remote home interface.
Your code is:

  | context = new InitialContext();
  | Object ref = context.lookup(groupJNDI); 
  | home = (GroupLocalHome)PortableRemoteObject.narrow(ref, groupLocalHome.class);
  | 
When you use Local Interfaces, you don't need to narrow the references, just cast them 
directly, like this:

  | context = new InitialContext(); 
  | GroupLocalHome home = (GroupLocalHome) context.lookup(groupJNDI); 
  | 

I don't know why aren't you getting any exception about this, but I think that this 
was the reason your app is not working.


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

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


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


[JBoss-user] [JBoss.NET] - Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0

2004-10-21 Thread bsaravan
I have the same problem as pepite.  I tried the technique as suggested by yaaarrrgg.  
Could not get it to work.  Has anyone else encountered this problem and resolved it?

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

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


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


[JBoss-user] [Installation Configuration] - How to install Java BluePrints Solution Catalog

2004-10-21 Thread max_ten
Any reference website on how to install BluePrints Solution Catalog on JBoss 3.2.5 or 
4.0 ?

Thanks.

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

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


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


[JBoss-user] [Installation Configuration] - Re: AOP classes not found in JBoss 4

2004-10-21 Thread javapda
has this been answered yet?

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

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


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


[JBoss-user] [Management, JMX/JBoss] - HTMLAdaptor

2004-10-21 Thread b_keerthi
Can anyone show an example of how to use HTMLAdaptor to get access to the MBeanServer? 

Also if I want to access the MBeanServer remotely from an application running on a 
different machine, how can I do this? 

I have does the same using RMI Adaptor it is working. But I want to know how to use 
HTMLAdaptor. Let me know the step to configure and a sample code.

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: load balancing MDB in 3.2.6

2004-10-21 Thread [EMAIL PROTECTED]
Reread Jason's thread.

He is talking about load balancing work across multiple clients (MDBs)
where the clients pulls messages from a queue.  This has always been supported
by JBossMQ. It is called contested queues in the spec.

Not load balancing the destinations on the server (which is not support by JBossMQ),
i.e. a single client can pull messages from a queue regardless of which server it
contacts.

The advantage jboss-3.2.4 has (and it is the real point of Jason's thread)
is the failover of the JMS server to a different machine in the cluster
after the original crashes. Also called HAJMS.

Jason's JMSProvider on the WIKI doesn't work correctly. As the WIKI says,
use the hajndi version that comes with JBoss in the all configuration. 
It was enhanced with my suggestions from Jason's thread in 3.2.4.

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to detect if a message is being released more than o

2004-10-21 Thread [EMAIL PROTECTED]
Moderated: RTFJD

Message.getRedelivered();

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

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


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


[JBoss-user] [Management, JMX/JBoss] - READ THIS FIRST

2004-10-21 Thread [EMAIL PROTECTED]
Read this carefully before posting:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums

This forum is for questions on JMX and the management tools:
JBossMX - JBoss's JMX 1.2 implementation
The MicroKernel - The JMX framework that is the core of the JBoss Server
jmx-console - a web based view of the JMX MBeanServer
web-console - a rich client view of the JBoss Server
RMIAdaptor - for remote access to the MBeanServer
JSR77 - J2EE Management

Other questions will be ignored

The FAQ can be found here: http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX

The project page can be found here:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMX

Information about writing and deploying your own MBean can be found here:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossService

Information about the JMX microkernel can be found here:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMicrokernel

Detailed information can be found in chapter 2 of the free docs:
http://www.jboss.org/docs/index

Sun's management page:
http://java.sun.com/products/JavaManagement/

The JMX spec:
http://www.jcp.org/en/jsr/detail?id=3

The JSR77 spec:
http://java.sun.com/j2ee/tools/management/index.jsp

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

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


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


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

2004-10-21 Thread big_main
  Please excuse me if this has been asked before, but can someone tell me if it is ok 
to control the Principals and Roles tables (for the DatabaseLoginModule) with entity 
beans?

  My current application needs to manually change user roles quite often, so it needs 
to be done through the web.  I did a few quick tests and it looks like I can just 
create a PrincipalBean and RoleBean and everything will work- even with CMP.  This 
would be nice and easy...

  Is there any security problem with this approach?  I'm a newbie with all of this, so 
please be gentile. :)  I appreciate your help - this forum rocks!

Thanks!
Bobby

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

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


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


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

2004-10-21 Thread beyarecords
Hi,
the very issue you mention I had the same problem, still un-resolved yet, but here is 
a work around. The error is telling you that there is no datatype definition for 
psotgresql in the standardjbosscmp-jdbc.xml file, which there is not! Every other 
database but not postgresql. What I did is this:

standardjbosscmp-jdbc.xml:
   
  java:/PostgreSQL
  datasource-mappingpostgreSQL/datasource-mapping

..

   type-mappings
  type-mapping
 postgreSQL
 
  /type-mapping

So you are pointing to a postgresql datatype definition, which itself has no 
definition (until postgresql users are provided with one). Do the same for 
standardjaws.xml as well.


Andrew

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

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


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


[JBoss-user] [JBoss Getting Started Documentation] - Re: Can not start the Hypersonic Manager Tool

2004-10-21 Thread nrichards
The HSQL database manager is a local swing application, not an applet.  If you want to 
run it remotely, you will have to run it by hand on a remote machine.  I'd recommend 
doing it like that anyways, because when you exit the application, it tries to do a 
System.exit().  So, I really don't recommend messing with it anymore. 





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

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


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


[JBoss-user] [Installation Configuration] - Re: Datasource Problem

2004-10-21 Thread cheenu78
I think you can try out java:/DefaultDS instead of 
java:comp/env/DefaultDS.
regards
srinivas

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

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


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: HAJMS failover takes about 3 minutes

2004-10-21 Thread [EMAIL PROTECTED]
This was fixed in 3.2.6

It was a bug in the jboss clustering hasingleton that meant it had to wait for a 
clustered method invocation to timeout before it detected the original server had 
failed.

Please, please, please - test the latest and greatest before posting in future.

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

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


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


[JBoss-user] [Installation Configuration] - Re: What classloader for $JBOSS_HOME/server-name/default/l

2004-10-21 Thread bwallis42
bwallis42 wrote : I am working through a class loader issue and was wanting to 
change the value of jboss.server.lib.url to point to my own server lib directory that 
is not under the server/server-name directory.
  | 
  | It doesn't seem to work, I still seem to be using the lib directory under the 
server/server-name directory. I tried tracing through the code and have the 
following issues/questions
  | - the value in the jboss.server.lib.url property doesn't seem to be used, is it 
and where?
  | 

To anwer my own old question, I have resolved this. jboss.server.lib.url property is 
not used, the correct way to specify the location of the server lib directory is by 
changing or adding classpath entries in the 
${jboss.server.home.dir}/conf/jboss-service.xml file.

I submitted a bug suggesting that jboss.server.lib.url should be deprecated and 
generate a warning if used.

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

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


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


[JBoss-user] [Installation Configuration] - startup postgreSQL when JBoss is being launched

2004-10-21 Thread beyarecords
Hi,
I am currently running JBoss 3.2.6 and wanted to know whether JBoss was clever enougn 
to be able to start postgresql as a tcp-ip service while being booted up? Is there a 
command I can specify in one of the available config files? If so what file do i need 
to amend and what is the command?

many thanks


Andrew

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

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


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


[JBoss-user] [Installation Configuration] - Re: UDP warnings in the log file

2004-10-21 Thread [EMAIL PROTECTED]
The default config supports rmi using either the sun jrmp protocol or our proprietary 
socket protocol. If you need rmi with the iiop protocol that can easily be added to 
the default config by moving over the iiop-service.xml, and its jars and config.

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

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


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


[JBoss-user] [Clustering/JBoss] - Clustered Timer Service

2004-10-21 Thread siaroga
Hi guys!

Do you know, using of EJB 2.1 Timer Service implementation in the JBoss 4.0.0 is 
cluster safe or not?

Thanx in advance

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

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


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