[JBoss-user] [JCA/JBoss] - check-valid-connection-sql

2004-09-12 Thread praveenkushwaha
bcvb

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - check-valid-connection-sql

2004-09-12 Thread praveenkushwaha
hi

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Finder-Method for a 1:1 relation - IN operator doesn't w

2004-09-12 Thread ant
How is the relation a.binaryData defined? Please give me the definition of the getter 
and settter (XDoclet-tags).

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread seshan
The JMX console web application (http://localhost:8080/jmx-console/) problem has been 
resolved for me.  I installed the j2sdk version 1.4.2_05 under c:\ drive and reset the 
JAVA_HOME to point to the new location.   BTW, it JBoss 3.2.5 that I am running.

Thanks for the pointers I got from you.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available

2004-09-12 Thread seshan
The JMX console web application (http://localhost:8080/jmx-console/) problem has been 
resolved for me.  I installed the j2sdk version 1.4.2_05 under c:\ drive and reset the 
JAVA_HOME to point to the new location.  

Thanks for the pointers I got from you

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: javax.management.InstanceNotFoundException:

2004-09-12 Thread nohwal
Thanks Raja...it works fine now.

Regards,
Deepak.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: How to disable MEJB access?

2004-09-12 Thread jxtang
"[EMAIL PROTECTED]" wrote : They why not use the MBeanServer directly? There is not 
much point in having a wrapper on top of the MEJB if the only component that should 
access it is in the same vm as the JMX MBeanServer.

Honestly, I have been struggling for this design issue from the very beginning. The 
main consideration not using use the MBeanServer is that I want to adhere to the JSR 
77 which must be compilied by all J2EE vendors. So it is the portable issue. I assume 
that no all the J2EE product support the MeanServer and JMX and even they do, there 
are some differences among them. I have been awared that MEJB is not that powerful in 
management as MBeanServer in JBoss. The state management for almost all managed 
objects are not support in MEJB and start/stop operation can not be invoked through 
MEJB.

Frankly, I could be totally wrong for these reasons and assumptions. If you could 
correct me and help me to avoid a wrong approach, I would be very appreciated! 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available

2004-09-12 Thread seshan
Thanks very much,  I stumbled into your notes here and this certainly helped me to get 
the standalone client application to work (I was struggling with this for hours)

The JMX console web application (http://localhost:8080/jmx-console/) is still not 
working for me.  It is giving me the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\index_jsp.java:53:
 handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be 
applied to (java.lang.Throwable)
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
  ^
1 error




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Any suggestion will be appreciated.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread seshan
I changed the JAVA_HOME to the jdk under c:\ and I am still having the problem of not 
able to start up the database manager Tool.  BTW, I am running JBoss v3.2.5.  Should I 
be using an older version?

Even the standalone client application invoked by typing  "ant -f jboss-build.xml 
run-client" does not work correctly.  It just bring up a user interface window, but 
clicking on various menu on the menu bar does not do any thing.



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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Declared SQL question

2004-09-12 Thread godboles
bartvh,

Thanks a lot for your response. It explains why a single value works. 

I am not sure how should I get past this issue. I would really like to pass a comma 
separated list of counties. I guess I can play with the positioning of the quotes in 
my strings. 

Do you have any suggestions?

Once again, thanks for a quick response.

HG

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Invalidate RO+RW beans (questions)

2004-09-12 Thread pedrosalazar
Greetings,

I'm trying to  invalidate my read-only entity beans by updating the read-write mate.
But isn't working...

Can you comment the following issues:

-primary key class of read-only and read-write must be the same or not? I tested with 
the same and different ones but always pointing to the same CMP field.

- both entity beans (read-only and read write) extends the configuration "Standard CMP 
2.x EntityBean with cache invalidation" however the RO have the commit option A and 
the RW the commit option C. Is this correct?

- what kind of transaction types are required? I used the default ones (supports) but 
I tried a few other combinations of other types of transactions but without luck.

BTW, I can send a sample test case that shows my not working case (10kbytes tar file) 
if it helps to debug my problem. And if any of you have a working sample, be free to 
send it to me.

Thanks,

Regards,
Pedro Salazar.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: SOAP Message using Axis

2004-09-12 Thread tdiesler
Have a look at the saaj spec.

http://java.sun.com/xml/saaj/index.jsp

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: wsdl:arrayType=

2004-09-12 Thread tdiesler
Can you use the jboss-net.sar from 3.2.3 in 3.2.1?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: How to get an instance of a a class create with makeClas

2004-09-12 Thread bwilmot
I still have a problem understanding the answer.  Say for instance I create a new 
class with javassist named myClass and build into it three variables called x1 x2 and 
x3.

Now the answer on how to create an instance if myClass seems easy, but how do I avoid 
compiler erros on my main prorgam when attempting to access x1, x2 and x3?



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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: old version of jsp used. please help! == solved

2004-09-12 Thread madeonmoon
nevermind, for some reason i had an older file in deploy/snmp-adaptor.sar folder. this 
was loaded first. removing it solved the problem

james

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Can not deserialize complex types

2004-09-12 Thread tdiesler
Did you check the apache users guide?

http://ws.apache.org/axis/java/user-guide.html

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: How to undeploy a web service residing not on localhost

2004-09-12 Thread tdiesler
How did you get your ws to the remote server? Can't you undelpoy it the same way?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: jboss-net.sar loader-repository

2004-09-12 Thread tdiesler
Steve,

what are you trying to achieve?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread darranl
The issue regarding JDK installation is specific to the compilation of JSP pages, 
after a clean JBoss install id jmx-console will not work it is usually because of a 
space in the path or a missing JAVA_HOME.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - deployment problem

2004-09-12 Thread daSzadol
Jboss 3.2.5 and Eclipse 3.0

I have a problem with deployment: I've made .jar and .jardesc files and put them into 
/server/default/deploy/ dir of jboss.
After server start i got this :

23:23:09,187 WARN  [JARDeployer] Failed to add deployable jar: 
file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp34069build.jardesc
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at 
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:241)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:139)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:700)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)



I know ( I suppose ) that tmp34069build.jardesc is copy of by build.jardesc, it in 
temp with copy of my jar file.
Exception appears at native 'open' call.
Project ( sample from ejb book ), jar and jardesc file was made with Eclipse.

Help me please...


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Q: SecurityException for getEJBObject method

2004-09-12 Thread hildo
I haven't tried that.  I will and get back. 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread seshan
I will try moving the jdk directly under c:\ 

However, all the earlier steps in the DukeBank example that required the java 
executable ran fine.  That leads me to believe, the JAVA_HOME set to its currect 
location may be OK.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Unable to catch DuplicateKeyException

2004-09-12 Thread pgb
Hello,
I have a CMP entity bean, and a session bean with a createObject(ValueObject object) 
method as a facade to create new instances.
I want to catch a DuplicateKeyException on my createObject method, however I'm unable 
to do it... JBoss catches the exception and shows it on the console...
Does anyone know how to catch DuplicateKeyException?
I think it may be related to the transaction support I have on the beans... What 
transaction support do I need to be able to catch those exceptions?

Thanks in advance.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread darranl
I haven't tried using JBoss 3.2.5 with the JDK installed under 'Program Files', 
however I know previous versions of JBoss will not work unless the JDK is installed in 
a folder with no spaces.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error in DukBank App when running ant -f jboss-build.xml

2004-09-12 Thread seshan
Thank you very much.  That is a useful piece of information.  I must have missed 
reading that part in the manual.

Thanks

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread seshan
Yes,  JAVA_HOME is set to:
C:\Program Files\s1studio_jdk\j2sdk1.4.1_02

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank example - How do I start the JMX console (secti

2004-09-12 Thread darranl
Are you using a JDK (If so which one) and have you set the JAVA_HOME environent 
variable?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error in DukBank App when running ant -f jboss-build.xml

2004-09-12 Thread darranl
The mods do not need to be performed in both locations.

Each folder under the server folder is a different isolated JBoss configuration, if 
you start JBoss from the run script and do not pass in any arguments the default 
configuration will be started i.e The files under default will be used, the all 
configuration will not be touched.

If you execute the run command as 'run -c all' the all configuration will be used and 
the files under default will not be touched.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - DukeBank example - How do I start the JMX console (section s

2004-09-12 Thread seshan
Under the section 4.1.7.3 The HSQL Database Manager Tool, the manual says "Just as a 
quick aside at this point, start up the JMX console application..."

How do I start the JMX console?  I tried clicking the "JMX Console" link from 
http://localhost:8080.  But that gave the following error"

Any suggestins will be appreciated.
Thanks

Error Message


HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\index_jsp.java:53:
 handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be 
applied to (java.lang.Throwable)
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
  ^
1 error




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.



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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error in DukBank App when running ant -f jboss-build.xml

2004-09-12 Thread seshan
I have found the cause.  The documentation says "Open the hsqldb-ds.xml file which 
youÂll find in the deploy directory and which sets up the default datasource".  The 
problem ws there are 2 deploy directories - one under ~all and another under ~default. 
 Both these locations have a copy of the hsqldb-ds.xml file.  The mods outlined in the 
manual  have to be done in both files.  I had made the mods to the one under all/deply 
only initially.  After I made the mods to the file in default/deploy directory and 
restarterd the JBoss server, the db-create-table etc started working again.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Declared SQL question

2004-09-12 Thread bartvh
The substituted values get quoted, so the query actually will read as 
SELECT DISTINCT city 
  | FROM UsaZipCode 
  | WHERE statecode = 'NJ' AND county IN ('Morris,Essex') AND citytype = 'D' 
  | ORDER BY city;
(note the position of the quotes in the substitution of the second '?')

This explains why a single element works.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error in DukeBank App when running ant -f jboss-build.xm

2004-09-12 Thread seshan
Yes, if you are referring to the instructions in section 4.1.7.1 Enabling the HSQL 
MBean and TCP/IP Connections.  After the mods my jboss-build.xml file looks as follows:

...

   

  
  
  DefaultDS

  
  jdbc:hsqldb:hsql://localhost:1701

  
  



jboss:service=Hypersonic
   

   
 1701
 true
 default
 false
 true
   
...


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error in DukBank App when running ant -f jboss-build.xml

2004-09-12 Thread nrichards
Did you turn on external connections to the hypersonic database as the tutorial 
described?


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Error in DukBank App when running ant -f jboss-build.xml db-

2004-09-12 Thread seshan
I am getting the following error when I run ant -f jboss-build.xml db-create-table.  
Any one has a suggestion to get past this error?
Thanks

C:\jboss-3.2.5\j2eetutorial\bank>ant -f jboss-build.xml db-create-table
Buildfile: jboss-build.xml
db-create-table:
 [java] ScriptTool.init error: Connection is broken: Connection refused: con
nect
 [java] java.sql.SQLException: Connection is broken: Connection refused: con
nect
 [java] at org.hsqldb.Trace.getError(Unknown Source)
 [java] at org.hsqldb.Trace.error(Unknown Source)
 [java] at org.hsqldb.jdbcConnection.reconnectHSQL(Unknown Source)
 [java] at org.hsqldb.jdbcConnection.openHSQL(Unknown Source)
 [java] at org.hsqldb.jdbcConnection.(Unknown Source)
 [java] at org.hsqldb.jdbcDriver.connect(Unknown Source)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:512)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:171)
 [java] at org.hsqldb.util.ScriptTool.execute(Unknown Source)
 [java] at org.hsqldb.util.ScriptTool.main(Unknown Source)
 [java] java.lang.NullPointerException
 [java] at org.hsqldb.util.ScriptTool.execute(Unknown Source)
 [java] at org.hsqldb.util.ScriptTool.main(Unknown Source)
 [java] Exception in thread "main"
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 2 seconds
C:\jboss-3.2.5\j2eetutorial\bank>

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-12 Thread oferbaranes
last one:

I have found in my code a 'catch(Excetion e)' around the the code where the deadlock 
tookplace and the tx was marked for rollback,the catch has no trace inside it,and 
there for i could never know that there was a rollback as to a deadlock,in the 
followed lines i only got TransactionRollBackedException without any good explantion.

As to JBoss logs,on 3.2.5,the DeadlockDetector doesn't trace the deadlock but only 
throw it as exception ,which means that bad code of exception handling (as mine) will 
lose this very critical piece of information , that's the code

   if (set.contains(holding))
   {
  // removeWaiting should be cleaned up in acquire
  String msg = "Application deadlock detected,  
resource="+resource
 +", holder="+holder+",  
waitingResource="+waitingFor
+", waitingResourceHolder="+holding;

 //NO TRACE HERE !!!

 throw new ApplicationDeadlockException(msg, true);
   }


Adrian , this might be good to pass to developers to add a trace :-) ,
thanks

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: package name change

2004-09-12 Thread chiba
OK, I decided not to rename the packages.
I have just released 3.0RC1.  Please enjoy.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Beginner question: deployment order problem

2004-09-12 Thread skidvd
I am still struggling with this problem and am unfortunately not making much progress. 
 Is there a way that I can ensure that my EJB .jar file will not be deployed until 
after the jmx-console?  This would greatly assist with the debugging in that I could 
use the jmx-console listIncompletelyDeployed targets to see what is hanging the 
server.   However, at present , my .jar file hangs the container startup before the 
jmx-console.war is deplyed. 


I'm stuck, please help.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit

2004-09-12 Thread janilsal
Are you saying that you are running hsql as JMS store in production?   In any case, 
JBoss recommends replacement of HSQL with a 3rd party stable database for production.

We have included hsql as a small footprint database for testing purposes only.  You 
should migrate to a different database.  Look under docs/examples/jca   for datasource 
config files for various databases.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Hypersonic localDB.data file size limit

2004-09-12 Thread erahamim
Hi,
I'm using jboss 3.2.5 with default jms configuration.
I noticed that jboss-3.2.5\server\default\data\hypersonic\localDB.data file grows and 
never stop until I run out of disk space (2 giga).

Is there any way in the configuration to limit this file size ?
How can I invoke CHECKPOINT / SHUTDOWN operation while my server is still running ? 
can I do it without damage the current jms messages ?

Thanks,
Eyal

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit

2004-09-12 Thread erahamim
Hi,
I have the same problem, The localDB.data file grows with no limit.  Has anyone solved 
this yet ?
How can I invoke CHECKPOINT / SHUTDOWN operation while my server is running?

(I'm using jboss 3.2.5)


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - old version of jsp used. please help!

2004-09-12 Thread madeonmoon
hello all,

i wasted all day yesterday trying to figure this out to no avail. i am hoping someone 
can help.

so i create a new jsp which gets packaged as part of my war which in turn gets 
packaged as part of my ear. the application starts up fine and the jsp executes fine. 
now i modify the jsp, rebuild and redeploy to jboss. jsp that gets executed is the 
original one (old). i can see two versions of them in server//tmp/deploy. i tried to 
totally clean the tmp folder and work folders. as soon as i restart jboss, two 
tmp-myapp.ear-contents get generated and the once that jboss attempts to use is 
the old one. besides this location generated on the fly at jboss startup, i can't even 
find the old version of the file anywhere on my disk drive. 

what am i doing wrong? any help will be greatly appreciated!!!

james (close to going insane)


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-12 Thread oferbaranes
i guess that the second tx didn't wait at all (for sure not till timeout) since
it was marked for rollback ,and it was marked for rollback because of 
a deadlock which has no trace on the jboss log , as i get deeper in my system i found 
that deadlocks may occur (and even saw one,after 
code change)  , i assume that jboss just 'forgot' on a certain flow to trace 
the deadlock.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - In a Pickle with parent-child relationship and CMR

2004-09-12 Thread edwar64896
am getting in a pickle with a parent-child relationship and CMR. JBoss 3.2.5 is not 
wanting to deploy - claiming a CMR field error. Should I be using a finder here? Not 
sure. Please forgive newbie question...

22:51:48,467 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=ejb/pixStore/Tag,service=EJB
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT 
OBJECT(p) FROM Tag p WHERE p.Parent.id = ?1'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown cmr field in path: at 
line 1, column 43.  Encountered: "Parent" after: "p.")

TIA, Mark.


  | /*
  |  * Created on 12/09/2004
  |  *
  |  * TODO To change the template for this generated file go to
  |  * Window - Preferences - Java - Code Style - Code Templates
  |  */
  | package pixStore.ejb;
  | 
  | import java.rmi.RemoteException;
  | 
  | import javax.ejb.EJBException;
  | import javax.ejb.EntityBean;
  | import javax.ejb.EntityContext;
  | import javax.ejb.RemoveException;
  | 
  | /**
  |  * @ejb.bean name="Tag"
  |  *   display-name="Name for Tag"
  |  *   description="Description for Tag"
  |  *   jndi-name="ejb/pixStore/Tag"
  |  *   type="CMP"
  |  *   cmp-version="2.x"
  |  *   view-type="both"
  |  * 
  |  * 
  |  * 
  |  * @ejb.finder  signature = "Collection findByParent(int tag)"
  |  *  role-name = "Tag-Has-One-Parent"
  |  *  query = "SELECT OBJECT(p) FROM Tag p 
WHERE p.Parent.id = ?1"
  |  * 
  |  * 
  |  */
  | public abstract class TagBean implements EntityBean {
  | //etc...
  | /**
  |  * @ejb.pk-field 
  |  * @ejb.persistent-field
  |  * @ejb.interface-method
  |  *
  |  * @jboss.persistence auto-increment = "true"
  |  * @jboss.column-name name = "Id"
  |  *
  |  */
  | public abstract int getId();
  | public abstract void setId(int Id);
  | private int Id;
  | 
  | /**
  |  * @ejb.persistent-field
  |  * @ejb.interface-method
  |  * 
  |  * @jboss.column-name name = "Tag"
  |  */
  | public abstract String getTag();
  | public abstract void setTag(String Id);
  | private String Tag;
  | 
  | /**
  |  * @ejb.persistent-field
  |  * @ejb.interface-method
  |  * 
  |  * @ejb.relationname = "TagParentChild"
  |  *  role-name = "Tag-Has-One-Parent"
  |  *  target-ejb = "Tag"
  |  * target-multiple = "yes"
  |  * 
  |  * 
  |  * @jboss.column-name name = "Parent"
  |  */
  | public abstract pixStore.interfaces.Tag getParent();
  | public abstract void setParent(pixStore.interfaces.Tag Parent);
  | private pixStore.interfaces.Tag Parent;
  | 
  | }
  | 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - purchase doc for jboss4

2004-09-12 Thread ilays
are there any docs for jboss 4 for purchase?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - DukeBank / Hypersonic: localDB vs. server

2004-09-12 Thread krumeich
Hi,

since I've just spent 2 hours getting the DukeBank example to run, I might as well 
share an experience to save some of you the bother of finding this solution yourselves:

Upon changing the hsqldb-ds.xml file from localDB connection to server connection 
(Post 1701), as described in the tutorial, I got loads of messages in the JBoss 
console. Most of those messages said something about unfulfilled dependencies as in "I 
depend on...". The final message was:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:service=Hypersonic,database=localDB
 state: NOTYETINSTALLED
 I Depend On:
 Depends On Me:  jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

Although I could populate the database with the provided ant script, it wasn't 
possible to log in to the bank example. The exception that caused the problem was:

14:02:59,118 ERROR [LogInterceptor] EJBException:
javax.ejb.EJBException: ejbFindByCustomerId Unable to connect to database. Could not 
dereference object

It turned out that there is another setting that has to be changed in hsqldb-ds.xml: 
At the bottom of the file, just above the mbean configuration you have to change the 
line

  | jboss:service=Hypersonic,database=localDB
  | 
to 

  | jboss:service=Hypersonic
  | 
to make JBoss use the server database. After that, the example worked like a charm.

Good luck

   Alexander




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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Cache Invalidation Problem

2004-09-12 Thread neva
Hello All,

I have a problem in using cache invalidation and I was hoping that you could help me 
out.
I have several beans all of which I have added to the same cache invalidation group so 
that when data of one of the entity beans changes, all cached data of this bean and 
others in that group can be flushed.
When data of an entity bean is changed, the data of entity beans in this cache 
invalidation group is flushed. But for example if I have an entity bean called 
'membership' composed of another entity bean 'member', when I add a new member to the 
membership, the data is not flushed!! isn't that considered a change to the membership 
bean? shouldn't that cause membership and all beans in the same cache invalidation 
group to be flushed?? 
If this behaviour is normal, them how can I overcome this problem?

Thanks in advance..

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Caching Problem

2004-09-12 Thread neva
Hello All,

I have a problem in using cache invalidation and I was hoping that you could help me 
out.
I have several beans all of which I have added to the same cache invalidation group so 
that when data of one of the entity beans changes, all cached data of this bean and 
others in that group can be flushed.
When data of an entity bean is changed, the data of entity beans in this cache 
invalidation group is flushed. But for example if I have an entity bean called 
'membership' composed of another entity bean 'member', when I add a new member to the 
membership, the data is not flushed!! isn't that considered a change to the membership 
bean? shouldn't that cause membership and all beans in the same cache invalidation 
group to be flushed?? 
If this behaviour is normal, then how can I overcome this problem?

Thanks for ur help in advance...

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user