[JBoss-user] [EJB/JBoss] - 3.2.5 Classloader prob? - java.lang.NoClassDefFoundError: ja

2005-05-16 Thread vishwajit_pantvaidya
I am calling my deployed EJB, say E1, from a remote client. The EJB method 
tries to instantiate one of my utils classes C1 which is in the jboss classpath 
using Class.forName(). That utils class has a method C1M1 which invokes another 
EJB E2 using its Local interfaces. E2 is not currently deployed - but I presume 
that should not matter since I am not yet calling the method C1M1 which invokes 
E2. But I find that I get the java.lang.NoClassDefFoundError: 
javax/ejb/EJBLocalHome for the Class.forName statement. When I comment out the 
C1M1 method or I add the jboss-j2ee.jar in the jboss classpath, everything 
works fine.

1. Why should I get this error when I am not even calling the method C1M1 that 
has the erroneous call?

2. Why is jboss not able to find the EJBLocalHome class which I presume is 
already included in its classpath?




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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: jboss 3.2.5 - accessing adapter cnxn fact from different

2005-05-03 Thread vishwajit_pantvaidya
Sorry - I just read the Read This Second FAQ till the end and found that this 
"anti-pattern" is not recommended, and not supported in 3.2.x. Please consider 
thread closed

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - jboss 3.2.5 - accessing adapter cnxn fact from different vm

2005-05-03 Thread vishwajit_pantvaidya
Hello,

My jboss 3.2.5 adapter deployment has the jndi definition in the *-ds.xml file. 
I was having problems accessing the connection factory from a client running 
outside jboss i.e. in another VM. It seems from the FAQ that my adapter 
connection factory in jboss 3.2.5, can only be accessed using JNDI from within 
the jboss VM. Any workarounds to this or any changes that I need can do to get 
this working in jboss 3.x?

My *-ds.xml file is as follows:



eis/MyConnectionFactory
MyAdapter...




Thanks.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - App and servlet runs on standalone tomcat but not in jboss t

2005-01-27 Thread vishwajit_pantvaidya
I have an application and a servlet deployed as 2 separate war files in 
staldalone tomcat and in tomcat 5.0 within jboss 3.2.5. Both run fine within 
the standaline tomcat installation, but in jboss tomcat I find that I am not 
able to launch the application and call the servlet using the context paths 
that worked in standalone tomcat i.e. http://localhost:8080/KMAT/index.html for 
appln and and http://localhost:8080/servlet/dispatcher...  for the servlet. Is 
there any additional/different configuration required to be done to be able to 
run the application and servlet in the same manner when using tomcat within 
jboss?

Thanks.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: DeploymentException: Error compiling EJB-QL for Roster a

2004-08-26 Thread vishwajit_pantvaidya
That worked. Thanks for your help Daniels.

But now I am getting the following error :

WARN [ServiceController] Problem starting service 
jboss.j2ee:jndiName=local/LeagueEJB,service=EJBRuntimeErrorException: 
java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at 
org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99)

Possibly this is some simple problem and I may need to look into the code - but please 
let me know if you know offhand the cause and/or solution.

Again, appreciate the help.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss jdbc local resource adapter

2004-08-26 Thread vishwajit_pantvaidya
Thanks for your reply Adrian. Even the Firebird resource adapter does not seem to 
implement the CCI.

I can guess the reason - because JDBC is already a standard, it may not make sense to 
implement CCI on top of that. However, taking advantage of the J2EE pooling facilities 
and using them alongwith JDBC makes sense and that is probably what the JDBC-JCA local 
resource adapter seeks to achieve.



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Jboss jdbc local resource adapter

2004-08-24 Thread vishwajit_pantvaidya
Hello,

I am using jboss 3.2.5 and was planning to use the jdbc local resource adapter to make 
CCI calls to update the database. But as I look into the adapter including some if its 
source code, it seems that it does not implement the CCI. Is this impression correct?

If yes, it probably means that to satisfy my goal of testing CCI calls with a simple 
EIS (like a database), I probably have to install the Firebird database and use its 
adapter (which I am assuming implements CCI - I have yet to look into it).


Thanks.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-13 Thread vishwajit_pantvaidya
Thanks Alexey. I made changes as you suggested and it worked.
However I could not find a bug record at sourceforge on that problem. I did find bugs 
874163 and 828845 but these do not seem related to the problem.  Do you by any chance 
know the bug record, or want me to file a bug for the earlier problem (I have not 
tried 3.2.6 yet).

Also now I am getting the following error :

WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=local/LeagueEJB,service=EJBRuntimeErrorException: 
java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at 
org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99)

Possibly this is some simple problem and I will try to look into the code - but please 
let me know if you know offhand the cause and/or solution.

Again, appreciate the help.


- Vish.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-13 Thread vishwajit_pantvaidya
With a different search, was able to find the bug 984976 for the earlier EJB-QL 
problem.

- Vish.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - DeploymentException: Error compiling EJB-QL for Roster appli

2004-08-12 Thread vishwajit_pantvaidya
Hello,

I am using Oracle 8.1.7, jboss 3.2.5 with Sun JDK 1.4.2 . I built and deployed the 
sample roster application and expected it to create the tables like PlayerEJB, etc. 
But jboss window shows the following error:

Starting failed jboss.j2ee:jndiName=local/LeagueEJB,service=EJB
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select 
distinct object(p) from Player p
where p.salary between ?1 and ?2'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "where" at line 2, column 
1. Was expecting one of:

"," ...
)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:52)


I have
- copied the oracle classes12.zip to the lib folder

- changed the oracle-ds.xml file to contain
   
   OracleDS
  jdbc:oracle:thin:@myhost:1521:cwintl
   oracle.jdbc.driver.OracleDriver
   user...

- changed standardjbosscmp-jdbc.xml as follows:
   
  java:/OracleDS
  Oracle8
  true...

The tables teamejb, playerejb get created. But the error is probably preventing schema 
creation for leagueejb.

What could be the problem. Please help.


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-12 Thread vishwajit_pantvaidya
Actually, I checked and realized that I had left out some default settings from 
standardjbosscmp.xml. Added  and other tags and then the tables teamejb, 
playerejb got created. But now I get following error 

Starting failed jboss.j2ee:jndiName=local/LeagueEJB,service=EJB
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select 
distinct object(p) from Player p
where p.salary between ?1 and ?2'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "where" at line 2, column 
1. Was expecting one of: 
 
"," ...
)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:52)

This is probably preventing schema creation for leagueejb.



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - DeploymentException: Couldn't create entity command: ; - nes

2004-08-12 Thread vishwajit_pantvaidya
Hello,

I am using Oracle 8 and jboss 3.2.5. I build and deployed the sample roster 
application and expected it to create the tables like PlayerEJB, etc. But it jboss 
window shows the following error:

14:03:54,721 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp34753RosterApp.ear-contents/roster-ejb.jar
14:04:01,050 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=local/LeagueEJB,service=EJB
org.jboss.deployment.DeploymentException: Couldn't create entity command: ; - nested 
throwable: (java.lang.NullPointerException)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateEntityC
ommand(JDBCCommandFactory.java:159)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDB
CStoreManager.java:474)

I have copied the oracle classes12.zip to the lib folder, then changed the 
oracle-ds.xml file to contain

OracleDS
jdbc:oracle:thin:@myhost:1521:cwintl
oracle.jdbc.driver.OracleDriver
user
pwd...


Also changed standardjbosscmp-jdbc.xml as follows:

  java:/OracleDS
  Oracle8
   

Can you see any obvious problems? Please help.


Thanks,



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user