[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem

2006-02-21 Thread sriramp_here
I guess Problem is with your JNDI naming. Please checke the JNDI naming  in 
ejb-jar.xml as well as jboss.xml

Regards
Sriram

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem

2005-06-09 Thread domingochavez
Hey, 

can you please write your ejb-jar.xml, web.xml and jboss-web.xml.

Greetings!

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: 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] [EJB/JBoss] - Re: EJB deployment problems

2005-04-08 Thread vashistvishal
This is the classical classloading problem disccused in JBoss Admin Guide under 
section.
2.2.2.1. ClassCastExceptions - I'm Not Your Type

It says and solution is provided.
anonymous wrote : This type of error is common when redeploying an application 
to which other applications are holding references to classes from the 
redeployed application. For example, a standalone WAR accessing an EJB. If you 
are redeploying an application, all dependent applications must flush their 
class references. Typically this requires that the dependent applications 
themselves be redeployed.
  | 
  | An alternate means of allowing independent deployments to interact in the 
presence of redeployment would be to isolate the deployments by configuring the 
EJB layer to use the standard call-by-value semantics rather than the 
call-by-reference JBoss will default to for components collocated in the same 
VM. An example of how to enable call-by-value semantics is presented in Chapter 
5, EJBs on JBoss 

I hope this helps.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB deployment fails in 3.2.7

2005-02-01 Thread lakr1
Case resolved. 

There was a common dependent jar that was missing.

Sorry.

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

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


---
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] [EJB/JBoss] - Re: EJB Deployment uses wrong ejb-local-ref for ejb-link

2004-12-07 Thread GreyDeath
One further thing to mention.

There is an MDB inside the ftisoft.core that references the PublishingBean via
message-driven
ejb-namePublishProxy/ejb-name
destination-jndi-nametopic/BEOUT/destination-jndi-name
ejb-local-ref 
ejb-ref-nameejb/BusinessBean/ejb-ref-name
local-jndi-nameejb/local/PublishingBean/local-jndi-name
/ejb-local-ref
/message-driven

And core seems to get deployed before publish. Could this be an order problem? 
But why does it work without the trace?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment uses wrong ejb-local-ref for ejb-link

2004-12-07 Thread [EMAIL PROTECTED]
Create a bug report with an example:
http://jira.jboss.com/jira/browse/JBAS


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Error

2004-09-08 Thread kyleyj
Is this something that is new to 4.0 (because I notice there exists a 3_2.dtd and 
4_0.dtd) or did the dependency on this change.

Thanks for your reply -- I'll give it a try.

Cheers!
Kyley

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Error

2004-09-08 Thread kabkhan
You need to create an entry in your jboss-web.xml (if you are using a web client) or 
your jboss-client.xml (if you are using an application-client)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3

2004-08-31 Thread hildo
I've finally sorted this out.  When I used UCL tracing, I found out that the class it 
couldn't find was junit.framework.TestCase.  While I included the junit.jar in the EAR 
file, I didn't update the MANIFEST.MF file in the test jar to include the junit.jar 
file in the classpath to use.  Once I did that, it worked as normal.

I can only assume that early versions of the 4 developers release had a copy of junit 
already in the classpath, and then it was removed.  So a case of pilot error. :)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread [EMAIL PROTECTED]
Add a sample deployment to the bug report.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott,

Here is what i noticedthe classes that the classloader reports as not able to find 
are exception classes thrown by business methods in a Stateless Bean. 

Actually the exception class do exist in the jar file as reported earlier...


The error message is exactly as the one reported in the above referenced bugreport #.


Let me know if u need anything else???
thx,
- Venu

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
here is the snippet of the actual original message: 

anonymous wrote : 
  | 
  | 
  | 11:12:26,546 INFO  [BlockingServer] Remoting 'async' protocol clients will connect 
to: InvokerLocator [async://192.168.0.101:8085/?compression=-1tcp.nodelay=true]
  | 11:12:27,406 WARN  [EJBDeployer] Verify failed; continuing
  | java.lang.NoClassDefFoundError: 
com/togosoft/ht/service/server/ServerControllerException
  | at java.lang.Class.getDeclaredMethods0(Native Method)
  | at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
  | at java.lang.Class.privateGetPublicMethods(Class.java:1778)
  | at java.lang.Class.getMethods(Class.java:832)
  | at 
org.jboss.verifier.strategy.EJBVerifier20.verifySessionRemote(EJBVerifier20.java:825)
  | at 
org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:98)
  | at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:162)
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:537)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:817)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy7.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:369)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:260)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:863)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:674)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
 

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread [EMAIL PROTECTED]
Yes, I need an example deployment. Attach it to the bug report.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
here is the portion of ejb-jar.xml for servercontrollerbean

  |   !-- Session Beans --
  |   session 
  |  description![CDATA[]]/description
  | 
  |  ejb-nameServerController/ejb-name
  | 
  |  homecom.togosoft.ht.service.server.ServerControllerHome/home
  |  remotecom.togosoft.ht.service.server.ServerController/remote
  |  
local-homecom.togosoft.ht.service.server.ServerControllerLocalHome/local-home
  |  localcom.togosoft.ht.service.server.ServerControllerLocal/local
  |  ejb-classcom.togosoft.ht.service.server.ServerControllerBean/ejb-class
  |  session-typeStateless/session-type
  |  transaction-typeContainer/transaction-type
  | 
  |  ejb-ref 
  | ejb-ref-nameejb/ServerController/ejb-ref-name
  | ejb-ref-typeSession/ejb-ref-type
  | homecom.togosoft.ht.service.server.ServerControllerHome/home
  | remotecom.togosoft.ht.service.server.ServerController/remote
  | ejb-linkServerController/ejb-link
  |  /ejb-ref
  | 
  |   /session

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott,
Sorry I did not understand u,... did u mean the actual jar file or the portion of the 
deployment descriptor???

thanks so much in advance

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread [EMAIL PROTECTED]
deployment means that actual jar file causing the problem attached to the bug report 
at sourceforge.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott,
I was not able to find an option to add a attachment to the bug report??

Am I missing something???

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread [EMAIL PROTECTED]
You have to check the box labeled 'Check to Upload and Attach a File:' in order for 
the attachment to be accepted.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-07-09 Thread peterb
You need to add all your beans to a jboss.xml file that maps EJB names to JNDI names. 
This is explained in the previous messages. 

Furthermore I think you are looking up ejb instead of the actual bean you want, 
which would be something like OPCAISSESB.

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-06-28 Thread gtigti
I'm trying to deploy session beans and entity beans, but I dunno if I will need to 
reference them all in a jboss.xml file, my DS is working fine without that file.

So ca, I deploy without using jboss.xml ?

my ejb-jar.xml file looks like this :


?xml version=1.0 encoding=UTF-8?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
 http://java.sun.com/dtd/ejb-jar_2_0.dtd;
ejb-jar id=EJBJar_1084196237578
display-nameEJBJARArchive/display-name
enterprise-beans

ejb-nameOPCAISSESB/ejb-name
com.gti.iagence.ejb.opcaisse.session.OPCAISSESBHome
com.gti.iagence.ejb.opcaisse.session.OPCAISSESB
ejb-classcom.gti.iagence.ejb.opcaisse.session.OPCAISSESBBean/ejb-class
session-typeStateless/session-type
transaction-typeBean/transaction-type
ejb-local-ref id=EJBLocalRef_1084197960188

ejb-ref-nameejb/EXTRAIT1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.utilmetier.entity.EXTRAITHome/local-home
com.gti.iagence.ejb.utilmetier.entity.EXTRAIT
ejb-linkEXTRAIT/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084197960172

ejb-ref-nameejb/COMPTE1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.utilmetier.entity.COMPTEHome/local-home
com.gti.iagence.ejb.utilmetier.entity.COMPTE
ejb-linkCOMPTE/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084197960203

ejb-ref-nameejb/CAISSE1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type
local-homecom.gti.iagence.ejb.opcaisse.entity.CAISSEHome/local-home
com.gti.iagence.ejb.opcaisse.entity.CAISSE
ejb-linkCAISSE/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084197960219

ejb-ref-nameejb/OPCAISSE1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.opcaisse.entity.OPCAISSEHome/local-home
com.gti.iagence.ejb.opcaisse.entity.OPCAISSE
ejb-linkOPCAISSE/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084360137141

ejb-ref-nameejb/INSTANCE1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.utilmetier.entity.INSTANCEHome/local-home
com.gti.iagence.ejb.utilmetier.entity.INSTANCE
ejb-linkINSTANCE/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084464058000

ejb-ref-nameejb/VERS_DEPL_CENTRAL1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRALHome/local-home
com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRAL
ejb-linkVERS_DEPL_CENTRAL/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084469748797

ejb-ref-nameejb/VERS_RET_DEPL1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPLHome/local-home
com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPL
ejb-linkVERS_RET_DEPL/ejb-link
/ejb-local-ref
ejb-local-ref id=EJBLocalRef_1084528627031

ejb-ref-nameejb/CHQDELIV1/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type

local-homecom.gti.iagence.ejb.utilspecial.entity.CHQDELIVHome/local-home
com.gti.iagence.ejb.utilspecial.entity.CHQDELIV
ejb-linkCHQDELIV/ejb-link
/ejb-local-ref


..

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-06-27 Thread jamesstrachan
I don't know whether you are trying to deploy a session bean or entitry bean, but here 
is an example of both xml descriptors that works.


  | 
  | Fragment from ejb-jar.xml
  | 
  |session
  |  display-nameMenu Option Use Case Session Bean/display-name
  |  ejb-namemilton/appmenu/optionmaint/ejb-name
  |  homeorg.milton.services.applicationmenu.OptionMaintHome/home
  |  remoteorg.milton.services.applicationmenu.OptionMaintRemote/remote
  |  ejb-classorg.milton.services.applicationmenu.OptionMaintBean/ejb-class
  |  session-typeStateless/session-type
  |  transaction-typeContainer/transaction-type
  |  ejb-ref
  |  ejb-ref-nameejb/milton/appmenu/menuoption/ejb-ref-name
  |  ejb-ref-typeEntity/ejb-ref-type
  |  homeorg.milton.services.applicationmenu.MenuOptionHome/home
  |  remoteorg.milton.services.applicationmenu.MenuOptionRemote/remote
  |  ejb-linkmilton/appmenu/menuoption/ejb-link
  |/ejb-ref
  |/session
  |entity
  |descriptionMenu Option Entity Bean/description
  |display-nameMenu Option EJB/display-name
  |ejb-namemilton/appmenu/menuoption/ejb-name
  |homeorg.milton.services.applicationmenu.MenuOptionHome/home
  |remoteorg.milton.services.applicationmenu.MenuOptionRemote/remote
  |ejb-classorg.milton.services.applicationmenu.MenuOptionBean/ejb-class
  |persistence-typeBean/persistence-type
  |prim-key-classjava.lang.String/prim-key-class
  |reentrantFalse/reentrant
  |primkey-fieldshortCode/primkey-field
  |resource-ref
  |  res-ref-namejdbc/MiltonDS/res-ref-name
  |  res-typejavax.sql.DataSource/res-type
  |  res-authContainer/res-auth
  |/resource-ref
  |/entity
  | 
  | 
  | Entire jboss.xml
  | 
  | ?xml version=1.0 encoding=Cp1252?
  | !DOCTYPE jboss PUBLIC -/JBoss//DTD JBOSS 3.0//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd;
  | 
  | 
  | !-- Define security domain for the Milton application. --
  | jboss
  |   security-domainjava:/jaas/Milton/security-domain
  |   unauthenticated-principalguest/unauthenticated-principal
  |   enforce-ejb-restrictionsfalse/enforce-ejb-restrictions
  |   resource-managers
  | resource-manager
  |   res-namejdbc/MiltonDS/res-name
  |   res-jndi-namejava:/DefaultDS/res-jndi-name
  | /resource-manager
  |   /resource-managers
  | /jboss
  | 
  | 

This gives a full definition of a session bean, which references an entity bean.

The entity bean in turn references a datasource defined in jboss.xml.

You can use a reference in jboss.xml of form :-


  | 
  |entity
  |ejb-namemilton/appmenu/menuoption/ejb-name
  |jndi-nameanother/jndi/name/jndi-name
  |/entity
  | 
  | 

but you only need this if you can't map your EJB names one-to-one with the JNDI names.

James


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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-06-25 Thread gtigti
No one have had problems with EJB deployment ?

Please, it's very urgent ..

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment

2004-06-25 Thread gtigti
I think I have to write this fragment for each session bean or entity bean I have :


ejb-name/ejb-name
jndi-name/jndi-name
local-jndi-name/local-jndi-name


but I don't know what values I have to put in these tags, suppose I have an entity 
bean with name OPCAISSE in com.gti.iagence.ejb.opcaisse.entity package

So the fragment will look like this ?


ejb-nameOPCAISSE/ejb-name
jndi-namecom/gti/iagence/ejb/opcaisse/entity/OPCAISSE/jndi-name
local-jndi-nameOPCAISSELocal/local-jndi-name


please help 

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3

2004-06-06 Thread hildo
FYI.

I've downloaded JBoss 4.0.0 DR4, and this exception is still thrown.

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

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


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


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3

2004-05-19 Thread hildo
OK, here are more details.

I have an EAR file (bpserver.ear) which contains two jar files:

bpserver.jar, containing the server code
bpserver-test.jar, containing JUnit test cases and a single EJB which is used to 
execute the test cases within the JBoss server

The application.xml looks like

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE Application 
1.3//EN
  | http://java.sun.com/dtd/application_1_3.dtd;
  | application
  | display-nameBPlan Server/display-name
  | descriptionServer for the BPlan system./description
  | module
  | ejbbpserver.jar/ejb
  | /module
  | module
  | ejbbpserver-test.jar/ejb
  | /module
  | /application

I can include the deployment descriptors for the two JAR files, but one is fairly 
lengthy.  So I'll provide those if asked.

When I attempt to deploy my EAR file in 4.0.0 DR3, I get the following exception:

16:08:10,462 INFO  [MainDeployer] Starting deployment of package: 
file:/D:/jboss/server/bpserver/deploy/bpserver.ear
  | 16:08:10,472 INFO  [EARDeployer] Init J2EE application: 
file:/D:/jboss/server/bpserver/deploy/bpserver.ear
  | 16:08:11,013 INFO  [EjbModule] Deploying TaskBean
  | 16:08:11,183 INFO  [EjbModule] Deploying SubtaskAssignBean
  | 16:08:11,203 INFO  [EjbModule] Deploying UserBean
  | 16:08:11,273 INFO  [EjbModule] Deploying DataBean
  | 16:08:11,293 INFO  [EjbModule] Deploying SequenceGeneratorBean
  | 16:08:11,313 INFO  [EjbModule] Deploying AdministrationBean
  | 16:08:11,654 WARN  [EJBDeployer] Verify failed; continuing
  | java.lang.NoClassDefFoundError: com/bh/bplan/ejbtest/EJBTestCase
  | at java.lang.Class.getDeclaredMethods0(Native Method)
  | at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
  | at java.lang.Class.getDeclaredMethod(Class.java:1254)
  | at 
org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:589)
  | at 
org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:1100)
  | at 
org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:92)
  | at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:162)
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:483)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:810)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:672)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
  | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | at $Proxy7.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
  | 16:08:11,744 ERROR [MainDeployer] could not create deployment: 
file:/D:/jboss/server/bpserver/tmp/deploy/tmp6446bpserver.ear-contents/bpserver-test.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, 
see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:499)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:810)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:672)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
  | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3

2004-05-18 Thread darranl
Some more information to you post is what you need to add.

What error are you getting?

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

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


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem. Help me please...

2004-04-14 Thread Vla
Sorry about my last question, it was a silly one, but I was so tired that I didn`t saw 
the bug... The specified error mentioned that afther the table u. it was a space 
(0x20) and then the rest of the querry (though I copied it right here because I 
modified, actualiy deleted, the CR/LF from the debug screen, from the command prompt)
Sorry again
But now I am facing another stupid error : Afther I have mentioned that the words : 
user, group and key; as reserved by msql and Jboss generated the table names with an X 
in front of them, at a table that relates the tables user and group, the Jboss throws 
as colum names the reserved words (with no x in front). The error is :
anonymous wrote : ERROR [EntityContainer] Starting failed 
org.jboss.deployment.DeploymentException: Error while creating table 
User_groups_Group_users; - nested throwable: (java.sql.SQLException: Syntax error or 
access violation,  message from server: You have an error in your SQL syntax.  Check 
the manual that corresponds to your MySQL server version for the right syntax to use 
near 'Group INTEGER NOT NULL, User INTEGER NOT NULL, CONSTRAINT pk_Us)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:232)
Is there any posibility to prevent Jboss from using the reserved words from the colum 
names?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem. Help me please...

2004-04-13 Thread triathlon98
In the conf/standardjbosscmp-jdbc.xml file, at the bottom, there is a list of 
reserved-words, add the extra reserved words to this list.

Joachim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem. Help me please...

2004-04-13 Thread Vla
Thanks!
It creates the table... but now it appears to be another problem... it chrashes at the 
following EJB-QL string :
anonymous wrote : ERROR [EntityContainer] Starting failed 
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT 
DISTINCT Object (u) FROM User AS u WHERE   u.name = ?1 AND u.password = ?2'; - nested 
throwable: (org.jboss.ejb.plugins.cmp.ejbql.TokenMgrError: Lexical error at line 1, 
column 53.  Encountered:   (32), after : )
(note: I have included the word user in the reserved words)
Can you give me an advice?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user