[JBoss-user] [Nukes User] - Re: deployment

2004-06-05 Thread cooper
the thing you have to do is deploy it through the build :


  | cd nukes/mp3player
  | sh build.sh deploy
  | 

that will build and deploy the module. when we mean deploy practically that means 
build the archive (usually a .sar file) and put it in the right place 
(jboss/server/default/nukes in the case of a module)

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - deployment

2004-06-05 Thread sjaaksken
Hi,

this might sound very very noobish but that's what I am:

Is there a simple howto for deploying e.g. the mp3player module?

I've always used PNuke (where nukes is based on) but am totally not familiar with java 
=(

Let's say I have the mp3player folder, what do I do next?

I've looked on google and sun and here but don't know what I should be looking for.

I'd really like to see the mp3player in action (I'm already glad I got the nukes 
runnin)


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread tbauer
Oh, one more thing..

Thank you for your professional approach to problem solving.

Quite a refreshing difference from the JCA forum:

&op=viewtopic&t=50280

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread tbauer
Thanks Bela and Scott...I appreciate you prompt reply...
I will keep an eye out for an updated version on sourceforge (I'm not savy enough to 
build everything myself).

cheers,

tim


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread [EMAIL PROTECTED]
The sourceforge cvs server is broken right now so I can't commit this change at the 
moment. We need to add a better unit test in this area as this should not be getting 
through qa.


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: servlet 2.3 web container first class loading in JBoss 3

2004-06-05 Thread jww_xj
pls change your code 

  | protected void output() throws NamingException {
  |Context ctx = new InitialContext();
  |   String parent = "java:/";
  |   NamingEnumeration children = ctx.list(parent);
  | 
  |   System.out.println("CHILDREN of " + parent);
  |   while (children.hasMore()) {
  | NameClassPair pair = (NameClassPair)children.nextElement();
  | System.out.println("NAME: " + pair.getName() + " TYPE: " + 
pair.getClassName());
  |   } 

change as this test ,good luck

protected void output() throws NamingException {
  |
  |   Properties prop = new Properties();
  |  prop.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  |  prop.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  |  prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
  | Context ctx = new InitialContext(prop);
  |   String parent = "java:/";
  |   NamingEnumeration children = ctx.list(parent);
  | 
  |   System.out.println("CHILDREN of " + parent);
  |   while (children.hasMore()) {
  | NameClassPair pair = (NameClassPair)children.nextElement();
  | System.out.println("NAME: " + pair.getName() + " TYPE: " + 
pair.getClassName());
  |   } 
   
   

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: servlet 2.3 web container first class loading in JBoss 3

2004-06-05 Thread jww_xj
pls change your code 

protected void output() throws NamingException {
   Context ctx = new InitialContext();
  String parent = "java:/";
  NamingEnumeration children = ctx.list(parent);

  System.out.println("CHILDREN of " + parent);
  while (children.hasMore()) {
NameClassPair pair = (NameClassPair)children.nextElement();
System.out.println("NAME: " + pair.getName() + " TYPE: " + 
pair.getClassName());
  } 




change as this test ,good luck

protected void output() throws NamingException {
   
  Properties prop = new Properties();
 prop.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
 prop.put(Context.PROVIDER_URL, "jnp://localhost:1099");
 prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
Context ctx = new InitialContext(prop);
  String parent = "java:/";
  NamingEnumeration children = ctx.list(parent);

  System.out.println("CHILDREN of " + parent);
  while (children.hasMore()) {
NameClassPair pair = (NameClassPair)children.nextElement();
System.out.println("NAME: " + pair.getName() + " TYPE: " + 
pair.getClassName());
  } 


   
 

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - JBoss 4 and Tomcat 5 / Unable to load tag handler class

2004-06-05 Thread schumhan
Hi,
i deployed my webapps (war file) to Jboss 4 with tomcat5. When I access to any jsp I 
get the error like ...Unable to load tag handler class ..
But I put already the tld file everywhere and the entry in web.xml looks good. I have 
the feeling that Jboss couldnt find the tld file and so cant link the tag 
classes...but i dont know, spent already days on that feature...

Does JBoss have problems to read the tld from the war file?

thx for any help

juergen

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Custom error messages for

2004-06-05 Thread mmarconi
I've spent hours trying to find a solution to what I imagined was a common problem:

I have a custom JAAS login module that relies on a database connection.  It is 
possible that this connection is broken when users attempt to authenticate themselves.

This leads to a forward to the page specified by the  tag.  Now, how 
do I distinguish between a database failure and incorrect authentication data?

I can't simply tell the user their sign in failed.  I must let them know if we are 
experiencing databse issues or their username/password combo is incorrect!

Any way to get at those exceptions from the error JSP?

A thousand blessings to anyone with an answer...
Michael Marconi.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread bela
My mistake, I'm changing it in 3.2 and CVS head.

Oops, cannot access the CVS right now, Scott, can you change 
JGCacheInvalidationBridge.java line 64, change it to

protected final Class[] rpc_batch_invalidate_types=new 
Class[]{BatchInvalidation[].class};

The parameter is an *array* of BatchInvalidations, rather than a single object.

Bela

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: user error

2004-06-05 Thread sjaaksken
Ok, I got it working.

But it only works on my computer =/

people from the outside get 'page can not be displayed' error. I run apache 2 at the 
same time is that the problem?

Looks great tho, I'm really looking forward working with this version

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread [EMAIL PROTECTED]
I don't see this so describe what you are doing to produce this error.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: AutoGenerating PK & Oracle

2004-06-05 Thread erik777
This is a bit offtopic, jdacev, but how does XDoclet handle cases where your beans are 
subclassed from classes in a reusable library?  Particularly, what about when the 
methods aren't even overriden?  This means your project's classes don't actually have 
the methods, and thus don't have the comments for XDoclet tags.  

I'm just curious, because this is the case with all my CMP beans as well as some 
session beans.  


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Testimonials] - What is the biggest site using JBoss ?

2004-06-05 Thread creatura
Thanks for your answers.

Cretura.


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final

2004-06-05 Thread tbauer
I also discovered, possibly because of this, that the states of some records are NOT 
being updated.  Not good...will revert to 3.2.4FC2 until this is cleared up..

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - jgroups error messaged in 3.2.4 final

2004-06-05 Thread tbauer
Just migrated from 3.2.4FC2 to the final 3.2.4. When two nodes are clustered, I am now 
gettting the following message occasionally.

1.) what is it and why do I get it
2.) Is it serious, and can I turn off the reporting of it???

09:59:40,468 ERROR [MethodCall] found no method called _rpc_batchInvalidate in class 
org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge with 
([Lorg.jboss.cache.invalidation.BatchInvalidation;) formal parameters
09:59:40,470 WARN  [DefaultPartition] java.lang.NoSuchMethodException: 
org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge._rpc_batchInvalidate(org.jboss.cache.invalidation.BatchInvalidation)
10:00:52,878 ERROR [MethodCall] found no method called _rpc_batchInvalidate in class 
org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge with 
([Lorg.jboss.cache.invalidation.BatchInvalidation;) formal parameters
10:00:52,880 WARN  [DefaultPartition] java.lang.NoSuchMethodException: 
org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge._rpc_batchInvalidate(org.jboss.cache.invalidation.BatchInvalidation)


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] How do I configure JBoss (Tomcat) to talk to Apache

2004-06-05 Thread Tonté Pouncil



Do anyone know how to make 
JBoss-4.0.0DR3(Tomcat)  or JBoss-3.2.3(Tomcat) talk to 
Apache2.0.35?


[JBoss-user] [Javassist user questions] - Re: try catch in NewExpr

2004-06-05 Thread chiba
The reason of that exception is that $_ is not initialized if an OutOfMemoryError 
exception is thrown.
So the problem should be fixed if you assign some value to $_ in the catch block.

I have also modified Javassist so that $_ is automatically initialized.   If you use 
Javassist directly downloaded from the CVS head (or use an upcoming beta 3 or later), 
your code above should run without any problem.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Problem with .jar creation

2004-06-05 Thread chiba
What if using a user-defined class loader in your
appli?  It would load classes from both .jar
file and local disk.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: PM Question

2004-06-05 Thread gorano
did you read this one?

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

/Goran

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Cloning instances of EJBs in .EAR file

2004-06-05 Thread madopc
Hi 

I am trying to create multiple instances of an enterprise application, .ear file in 
JBoss 2.4.4. The application EJBs are to be called by mutiple instances of the web 
application in a standalone servlet engine Tomcat  4.03 which were developed to call a 
set of EJB deployed from in an .ear.

The code looks like:
...
  | DataSource ds = (DataSource)ctx.lookup("java:/Mydatasource");
  | 

Is it possible to add something like this in jboss.xml to redirect the datasource into 
another database?
...
  | 
  |   
  |  java:/Mydatasource
  |  javax.sql.DataSource
  |  java:/Mydatasource1
  |
  | .
  | 
I would like to create multiple instances of EJBs calling different databases with 
different connection setings in jboss.jcml. My task is to redeploy the application and 
not modify the code.

Is this achievable?

/madock

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Spaces in JBOSS_HOME

2004-06-05 Thread [EMAIL PROTECTED]
Try 3.2.4 final.


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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Getting Trying to return an unknown connection2!

2004-06-05 Thread bbrantley
Hello,

I'm having a very similar problem but with Hibernate (latest stable).  The code 
snippet in my CMT, stateless session bean looks like this:

  
  | try {  
  | session = hibernate.openSession();
  | tx=session.beginTransaction();
  | response=addStatus(session, id, statusId, userID);
  | tx.commit();
  | return;
  | } catch (HibernateException e) {
  | if(tx!=null)
  | try {
  | tx.rollback();
  | } catch(HibernateException ignore) {}
  | log.error("HibernateException thrown:", e);
  | return;
  | } finally {
  | try {
  | if(session!=null)
  | session.close(); 
  | log.debug("closed session for add_status");
  | } catch (HibernateException ignore) {}
  | }
  | 

Without fail, whenever that code hits the session.close() call in the finally block, 
JBoss spits this error.  

I'm having trouble understanding your explanation, Adrian, even though I'm sure what 
you're saying is right.  The question is, how do I correct this behavior short of 
disabling the interceptor?

Thank you,

Ben

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: 3.2.4 cluster testsuite

2004-06-05 Thread hbaxmann
Further investigation:

a) the "-b" parameter is not consistent in using hostname vs. IP, resp. getHostAddress 
vs. getHostName.

if I start "bin\run -c all -b 192.168.1.102" I will get:

"10:39:44,680 INFO  [UDP] unicast sockets will use interface 192.168.1.100"

but I will not JGroup via WLAN :)

So he is doing a reverse lookup and ends with:

"GMS: address is Tabletti:3408"

which is really wrong.

And is stumbling over his feets with:

"10:39:46,824 INFO  [DefaultPartition] New cluster view: 1 ([192.168.1.101:1099, 
192.168.1.102:1099] delta: 0)"

remember that he finds 192.168.1.100 for Tabletti

so fpr example "11:48:44,968 WARN  [UDP] discarded message from different group 
(TreeCache-Cluster). Sender was 192.168.1.100:3542" occurs

b) there are some occurences of "localhost" in the testsuite

bax

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: on-find strategy not working

2004-06-05 Thread loubyansky
This was answered today on this forum.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: on-find strategy not working

2004-06-05 Thread tfk257
Thanks for the reply, but this does not seem logic for me. I want to make the entity 
as read only and does not participate in a transaction. In the mean time I want to 
optimize the loading, 

isn't that possible?

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationship (post-table-create)

2004-06-05 Thread loubyansky
This looks like a bug. Please, submit a bug report.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-05 Thread loubyansky
The lower case should not cause any problems as the driver must have supported it. 
This check is done in the org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Exception: CMR field value is already loaded

2004-06-05 Thread loubyansky
I guess it's read-only CMR invocation causing this but still need to test it.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: on-find strategy not working

2004-06-05 Thread loubyansky
Make sure it is not read-only in jboss.xml and it is accessed in a transaction.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-06-05 Thread loubyansky
If you use commit option A then the instance won't be evicted from the cache after a 
read-only invocation.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-06-05 Thread loubyansky
Read-ahead cache is a per transaction cache. So, it makes sense to preload only the 
data that is going to be used in the transaction. If there is no transaction then 
preloaded data is thrown away after the invocation.

read-only in jboss.xml has almost the same effect as running w/o transactions. 
Read-only instance is not associated with the transaction (hence, is not synchronized 
at commit), is locked only for the duration of the invocation, and is evicted from the 
cache at the end of the invocation. It means each invocation even in the same tx will 
reload the instance from the db.
On-find read-ahead makes sense for read-only instance only if it is accessed once (one 
invocation) in the transaction: finder preloads the instance, the next invocation on 
the instance will load data from the read-ahead cache but after this invocation the 
instance will be evicted from the cache and the next invocation will reload the 
instance from the db.

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Cannot invoke get and set method after findAll()

2004-06-05 Thread hbaxmann
"[Microsoft][ODBC Microsoft Access Driver] Query is too complex"

Using MS Access thru a JDBC-ODBC bridge is even more bad than using the HSQLDB or 
kind-of DB MySQL - simply use a transactional, real DB. I would suggest MaxDB 
(formerly known as SAPDB) at http://www.mysql.com/products/maxdb. It is the easiest 
one to install and use.

bax

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - on-find strategy not working

2004-06-05 Thread tfk257
I hava an enity bean named MessageType. I have configuered it in the jbosscmp-jdbc.xml 
with the read-ahead strategy on-find. with page-size=20. 
when the findAll method is called all the n+1 standard queres are executed.
the confinguartion in jbosscmp-jdbc.xml is as follows:

MessageType
true

on-find
20
*

T_MESSAGE_TYPE

numMessageTypeID
NUM_MESSAGE_TYPE_ID


strMessageName
STR_MESSAGE_NAME


strServiceName
STR_SERVICE_NAME


numCustomerId
NUM_CUSTOMER_ID


strSchemaLocation
STR_SCHEMA_LOCATION


strReplySchemaLoc
STR_REPLY_SCHEMA_LOC


strStylesheetLocation
STR_STYLESHEET_LOCATION


strConnectionAddress
STR_CONNECTION_ADDRESS


numConnectionPort
NUM_CONNECTION_PORT


numApplyCustomerRules
BOOLEAN_APPLY_CUSTOMER_RULES


numParentMessageID
NUM_PARENT_MESSAGE_ID


numMessageType
NUM_MESSAGE_TYPE



and the logs after making the call to findAll as follows:
2004-06-05 12:02:11,519 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.MessageType#findAll] Executing SQL: 
SELECT t0_o.NUM_MESSAGE_TYPE_ID, t0_o.STR_MESSAGE_NAME, t0_o.STR_SERVICE_NAME, 
t0_o.NUM_CUSTOMER_ID, t0_o.STR_SCHEMA_LOCATION, t0_o.STR_REPLY_SCHEMA_LOC, 
t0_o.STR_STYLESHEET_LOCATION, t0_o.STR_CONNECTION_ADDRESS, t0_o.NUM_CONNECTION_PORT, 
t0_o.BOOLEAN_APPLY_CUSTOMER_RULES, t0_o.NUM_MESSAGE_TYPE_ID, 
t0_o.NUM_PARENT_MESSAGE_ID, t0_o.NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE t0_o
2004-06-05 12:02:11,753 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,222 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,269 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,550 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,597 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,644 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,722 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE 

[JBoss-user] [Persistence & CMP/JBoss] - Re: Cannot invoke get and set method after findAll()

2004-06-05 Thread loubyansky
The exception is thrown by the JDBC driver. Most probably the cause is a bad 
read-ahead configuration. How does the query look like?

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: PM Question

2004-06-05 Thread TheImmortal
According to the instructions, HSQLDB is not a good choice either (my recent exp. with 
it agrees).  I am working on the jdbc2-service for Informix (our DB of choice) as an 
alternative.  

I was really just looking for any explanation as to why the file-pm takes all the 
messages out of the queues, and the MessageCache puts them all right back (and 
possibly if there is a way to prevent that).  I have googled and search all these 
forums with no luck.  

Anyway, just so I don't go chasing my tail again; does the same thing happen with the 
jdbc2 pms ?  I am hoping that it does not remove all the messages and put them all 
back when you start JBoss ( 2 hour startup time != good ).

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: 3.2.4 cluster testsuite

2004-06-05 Thread hbaxmann
"testsuite" target from build.bat with two nodes up on one machine

bax

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user