[JBoss-user] [EJB/JBoss] - ByValueInvokerInterceptor and java.naming.provider.url

2004-05-09 Thread tokobayashi
Hi,

I deploy EAR1(includes 1 EJB-JAR) and EAR2(includes 1 WAR).loader-repository is 
sepalated by using jboss-app.xml.EJB-JAR's jboss.xml is  configured with 
ByValueInvokerInterceptor for "call-by-value".

In EJBClient(=WAR), InitialContext is instantiated without any argument.

When I put jndi.properties into WAR,

### jndi.properties ###
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


works fine.

But, without jndi.properties,
(I know, it results java.naming.provider.url=null)
I get the familiar ClassCastException.

 java.lang.ClassCastException
  at 
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
  at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
  at testservlet.TestServlet.getHome(TestServlet.java:97)
  at testservlet.TestServlet.doPost(TestServlet.java:66)
  at testservlet.TestServlet.doGet(TestServlet.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
...

It looks like "java.naming.provider.url=null" forces JBoss to ignore the 
"call-by-value" setting.
Is this an expected behavior?


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - How can I start an EJB with JBoss?

2004-05-09 Thread maykell
Hi,

I have a small Session Bean develouped in Websphere I did a test using the TestServer 
of Websphere and every thing was right, but I don't know what I most to do to test my 
EJB using JBoss. 


I hope some one can help me.

Maykell.


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss 3.2.3 Admin Console Applet Behavior on Mac OS X 10.3.3

2004-05-09 Thread barryhawkins
Hello everyone,

First post.  I have been able to install JBoss on Mac OS X over the past year or so 
without any trouble.  Recently, when installing on Panther (10.3.3) with the Java 
1.4.2 update, I have begun to have an odd problem.  When the server has started and I 
navigate to the JBoss Admin Console (http://127.0.0.1:8080/web-console/index.html), 
the applet in the left pane loads but then goes blank.  I am using Safari as the 
browser.  It has worked before without issue, but I think it was prior to the Java 
1.4.2 update.  I also tested Mozilla 1.7b, and it exhibited the same behavior.  Oddly, 
Internet Explorer 5.23 shows the applet just fine.

Has anyone else seen this peculiar behavior?

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to specify a bidirectional relationship between One to M

2004-05-09 Thread DougKurtz
Hi,
  What tags do I need to use in the ejb-jar-xml file to note a relation between a 
one-to -many enitities is bidirectional?

Regards,
Doug

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - java.exe has generated errors

2004-05-09 Thread hemendra
I am running JBoss 3.2.3 with Apache/Tomcat/MySQL on Windows 2000. I am using j2sdk 
1.4.2_04. I am constantly getting an error - "java.exe has generate errors...". JBoss 
terminates after the error. I have no clue what is causing this problem. Any pointers 
to solutions are greatly appreciated.

Thanks!

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - MySQL GPL license with JBoss?

2004-05-09 Thread supernovasoftware.com
I am excited about the JBoss MySQL AB strategic alliance.  If this is the wrong place 
to post this I appologize.  Will MySQL still require GPL?  Will I have to get a 
commercial license if I do not want to open source my code?  Does anyone know the 
release schedule for the 4.1 and 5.0 branch of MySQL?  

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: stop directory listing

2004-05-09 Thread jlward4
I just tested this on jboss-3.2.3 on Linux.  It appears to work correctly, but only 
after a JBoss restart.  Here is a snippet from my jbossweb-tomcat41.sar/web.xml file:

  | 
  | default
  | 
  |   org.apache.catalina.servlets.DefaultServlet
  | 
  | 
  | debug
  | 0
  | 
  | 
  | listings
  | false
  | 
  | 1
  | 
  | 

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Does Javassist really support the parameter variables $1

2004-05-09 Thread chiba
Hmm... could you post a test case
that shows the bug?

Thanks in advance!

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss-ql in 3.2 vs 3.0

2004-05-09 Thread toaka
Yes. 

I checked it too  jbossql 3.0.x doesnt support the syntax of 3.2.x.
Even the order by clause doesnt works the same in both versions.

Thanks !

Best regards,

Thomas


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: deploying a war with a different server/lib library dire

2004-05-09 Thread tomerbd
The answer is yes, I found the solution in jboss-web.xml I specified

 

   
  some.dot.com:loader=xxx.war>
   


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss setting FK of the many side of a one-to-many relat

2004-05-09 Thread sesques
Hi,

Are you using the jboss relation tag with fk-constraint set to true ?

Pascal


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown query error on finder method

2004-05-09 Thread sesques
No ebrain13,

The missing "AS" is supported as well.
The solution is elsewhere...

Hendrik, as loubyansky says, post your code and your server log.

Pascal


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Ugly query (no joins)

2004-05-09 Thread sesques
Hi All,

Never the spec speak about SQL implementations of container managed persistence. 
I agree with you that the generated query is ugly, and can be optimized.
But for now, using the CMR getter gives this result.

This subject has been already on other topics:
See this one which gives you the solution for not hanging the database with timeouts 
or too long queries:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833636

Pascal


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve

2004-05-09 Thread momi
I used the XDoclet to generate my beans and forget to add the 
transaction-type=Container tag. When I added this tag it deployed fine. However, this 
does not seem to be your problem because you already have this specified.

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss installation!

2004-05-09 Thread raja05
Can you try with a JDK1.4+? I have seen some Hotspot errors with 1.4 as well (From 
Sun's bug database) but there are more chances it mite work with 1.4+.. Do a search in 
this forum to find similar issues.


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss setting FK of the many side of a one-to-many relat

2004-05-09 Thread ebrain13
It seems that this is the default behavious jboss has adapted. I have faced the same 
problem trying to exploit the DB Constraints was not able to as JBoss before deleting 
updates to references to null .. and then it calls the remove.

There is nothing configuration wise available right now to make JBoss understand to 
not update the foreign key references.


-Vikram.

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Ugly query (no joins)

2004-05-09 Thread ebrain13
I am facing the same problem, in my case its still worse as it brings down the 
database service, i have posted regarding this at
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49494

Please throw some light on this issue.

-Vikram

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - JBoss 4.0.0DR3: where to ccreate juddi.properties?

2004-05-09 Thread Juergen.Zimmermann
I can't find where I've to place a juddi.properties file.
Any hint is appreciated!

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Error converting data type nvarchar to datetime.

2004-05-09 Thread sesques
Hi,

java.sql.Timestamp is mapped to DATETIME in standardjbosscmp-jdbc.xml for MS 
SQLSERVER2000.
Your database field type seems to be nvarchar(X).
I think this is the problem.

Use a DATETIME field in the database and specify correctly the MS SQLSERVER2000 
databse mapping.

Pascal


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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve - Problem solved but..

2004-05-09 Thread mtedone1
Well, I put the ejb.jar and web.war in an application file (.ear) and it deployed 
fine. 

Now the question is why? Why if an EJB is defined with a class extending the real 
session/entity it doesn't deploy if hot-deployed as a jar but it does deploy as ear?

I'll investigate on this and I'll get back.

Marco

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Jboss installation!

2004-05-09 Thread aj_the_warrior
I installed JBoss 3.2.3 and Jdk1.3 When I started to run JBoss in command prompt I am 
getting the following error 

C:\jboss\bin>run 
=== 
. 
JBoss Bootstrap Environment 
. 
JBOSS_HOME: C:\jboss\bin\\.. 
. 
JAVA: c:\Jdk1.3\bin\java 
. 
JAVA_OPTS: -Dprogram.name=run.bat 
. 
CLASSPATH: ;c:\Jdk1.3\lib\tools.jar;C:\jboss\bin\\run.jar 
. 
=== 
. 
13:55:05,748 INFO [Server] Starting JBoss (MX MicroKernel)... 
13:55:05,748 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag= 
JBoss_3_2_3 date=200311301445) 
13:55:05,748 INFO [Server] Home Dir: C:\jboss 
13:55:05,748 INFO [Server] Home URL: file:/C:/jboss/ 
13:55:05,758 INFO [Server] Library URL: file:/C:/jboss/lib/ 
13:55:05,758 INFO [Server] Patch URL: null 
13:55:05,758 INFO [Server] Server Name: default 
13:55:05,768 INFO [Server] Server Home Dir: C:\jboss\server\default 
13:55:05,768 INFO [Server] Server Home URL: file:/C:/jboss/server/default/ 
13:55:05,768 INFO [Server] Server Data Dir: C:\jboss\server\default\data 
13:55:05,778 INFO [Server] Server Temp Dir: C:\jboss\server\default\tmp 
13:55:05,778 INFO [Server] Server Config URL: file:/C:/jboss/server/default/con 
f/ 
13:55:05,788 INFO [Server] Server Library URL: file:/C:/jboss/server/default/li 
b/ 
13:55:05,788 INFO [Server] Root Deployment Filename: jboss-service.xml 
13:55:05,808 INFO [Server] Starting General Purpose Architecture (GPA)... 
13:55:08,242 INFO [ServerInfo] Java version: 1.3.0,Sun Microsystems Inc. 
13:55:08,242 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun 
Microsystems Inc. 
13:55:08,252 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 
13:55:08,512 INFO [ServiceController] Controller MBean online 
13:55:08,953 INFO [MainDeployer] Started jboss.system:service=MainDeployer 
13:55:09,293 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeplo 
[EMAIL PROTECTED] 
13:55:09,293 INFO [JARDeployer] Started jboss.system:service=JARDeployer 
13:55:09,373 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeplo 
[EMAIL PROTECTED] 
13:55:09,403 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer 
13:55:09,403 INFO [Server] Core system initialized 
13:55:09,453 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss 
/server/default/conf/jboss-service.xml 
# 
# HotSpot Virtual Machine Error, Internal Error 
# Please report this error at 
# http://java.sun.com/cgi-bin/bugreport.cgi 
# 
# Error ID: 43113F32554E54494D45110E4350500290 
# 

abnormal program termination 
Press any key to continue . . . 

Please Help me.

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] error compiling ejbql (dynamicQL): EJB-QL statement '';

2004-05-09 Thread $BB
Hi all
(BI'm trying to use JBoss Dynamic-QL
(B
(BBut When I submit the following Dynamic-QL,
(BI get the following consol error msgs.
(B
(B---ConsolErrorMessages---
(BERROR [EntityContainer] Starting failed
(Borg.jboss.deployment.DeploymentException: Error compiling
(BEJB-QL statement ''; - nested throwable:
(B(org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not
(Bfound)
(B
(B
(B
(Bin jbosscmp-jdbc.xml tell JBoss that this method is
(Bdynamic. So, value is empty in the ejb-jar.xml.
(B
(Breference is 117/207Page of ejbwJboss.eBook.pdf
(Bhttp://www.univ-orleans.fr/SCIENCES/INFO/RESSOURCES/modules/sir/ejbwJboss.eBook.pdf
(B
(B
(B---ejb-jar.xml---
(B
(B
(B
(BejbSelectScreeningAbleNumFromUserResponseNum
(B
(Bjava.lang.String
(Bjava.lang.Object[]
(B
(B
(B
(B
(B
(B
(B---jbosscmp-jdbc.xml---
(B
(B
(BejbSelectScreeningAbleNumFromUserResponseNum
(B
(Bjava.lang.String
(Bjava.lang.Object[]
(B
(B
(B
(B
(B
(B
(B---CMP Xdoclet (ClassLevel)---
(B* @jboss.query 
(B* dynamic = "true"
(B* signature = "int
(BejbSelectScreeningAbleNumFromUserResponseNum(java.lang.String
(BjbossQL, java.lang.Object[] arguments)"
(B
(B
(B---CMP Xdoclet (MethodLevel)---
(B/**
(B */
(Bpublic abstract int
(BejbSelectScreeningAbleNumFromUserResponseNum(String
(BjbossQL, java.lang.Object[] arguments) throws
(BFinderException;
(B/**
(B * @ejb.home-method 
(B */
(Bpublic int ejbHomeGetScreeningAbleNumFromUserResponseNum()
(Bthrows FinderException
(B{
(BStringBuffer jbossQL = new StringBuffer();
(BjbossQL.append("SELECT count(distinct ur.monitorID) FROM
(BUserResponse As ur where ur.responseData = '0123'");
(Bjava.lang.Object[] args = null;
(Breturn
(BejbSelectScreeningAbleNumFromUserResponseNum(jbossQL.toString(),
(Bargs);
(B}
(B
(B
(Bjboss-4.0.0DR3
(B
(B
(BDoes anyone recognize what the problem could be here?
(B
(BAny help is appreciated.
(B
(B
(Bmasaru
(B
(B
(B
(B---
(BThis SF.Net email is sponsored by Sleepycat Software
(BLearn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
(Bdeliver higher performing products faster, at low TCO.
(Bhttp://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
(B___
(BJBoss-user mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] [HTTPD, Servlets & JSP] - Re: loader-repository, is it a must for me?

2004-05-09 Thread tomerbd
Its OK I think im finding the solution
I will try it i think its going to solve my problem ...

http://sourceforge.net/docman/display_doc.php?docid=16524&group_id=22866

"
Support for specifying custom loader repositories has been extended to SARs, EJB jars 
and WARs in addition to EARs. In addition the loader repository configuration allows 
for child first class loading rather than the parent delegation model. This allows 
deployments to override classes from the server level. To enable deployment first 
class loading use a configuration fragment like: 

   
  jmx-domain:prop1=value1,prop2=value2,...
  java2ParentDelegation=false
   

in the jboss-app.xml, jboss.xml, jboss-web.xml or jboss-service.xml descriptor. See 
the corresponding descriptor DTD in the docs/dtd directory for more details. 
"

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user